root/coldbox/trunk/src/config/coldbox.xml.cfm @ 867

Revision 867, 3.6 kB (checked in by lmajano, 6 years ago)

updates.

Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="../system/config/config.xsd">
4        <Settings>
5                <Setting name="AppName"                                         value="coldbox tester"/>
6                <Setting name="AppMapping"                                      value="/coldbox" />
7                <Setting name="DebugMode"                                       value="true"/>
8                <Setting name="DebugPassword"                           value="coldbox"/>
9                <Setting name="ReinitPassword"                          value=""/>
10                <Setting name="EventName"                                       value="do"/>
11                <!--This feature is enabled, by default-->
12                <Setting name="EnableDumpVar"                           value="true"/>
13                <Setting name="EnableColdfusionLogging"         value="false"/>
14                <Setting name="EnableColdboxLogging"            value="true"/>
15                <!--Absolute path to where you want your log files to be stored-->
16                <Setting name="ColdboxLogsLocation"                     value="logs" />
17                <Setting name="DefaultEvent"                            value="ehGeneral.dspHello"/>
18                <Setting name="RequestStartHandler"             value=""/>
19                <Setting name="RequestEndHandler"                       value=""/>
20                <Setting name="ApplicationStartHandler"         value="ehGeneral.onApplicationStart" />
21                <Setting name="OwnerEmail"                                      value="info@luismajano.com"/>
22                <Setting name="EnableBugReports"                        value="true"/>
23                <Setting name="UDFLibraryFile"                          value="includes/udf.cfm" />
24                <Setting name="CustomErrorTemplate"                     value="includes/MyBugReport.cfm" />
25                <Setting name="MessageboxStyleOverride"         value="true" />
26                <Setting name="HandlersIndexAutoReload"         value="false" />
27                <Setting name="ConfigAutoReload"                        value="false" />
28                <Setting name="ExceptionHandler"                value="" />
29                <Setting name="onInvalidEvent"                          value="" />
30                <!--Base Path to plugins, as if to instantiate them. -->
31                <Setting name="MyPluginsLocation"                       value="coldbox.myplugins"/>
32                <Setting name="HandlerCaching"                          value="true"/>
33                <Setting name="IOCFramework"                            value="coldspring"/>
34                <Setting name="IOCDefinitionFile"                       value="config/coldspring.xml.cfm"/>
35                <Setting name="IOCObjectCaching"                        value="false"/>
36        </Settings>
37
38        <YourSettings>
39                <Setting name="MyArray"  value="[1,2,3,4,5,6]"/>
40                <Setting name="MyStruct" value="{ name: 'luis majano', email: 'info@email.com', active= true }"/>
41        </YourSettings>
42
43        <!--Optional,if blank it will use the CFMX administrator settings.-->
44        <MailServerSettings />
45
46        <BugTracerReports>
47                <BugEmail>lmajano@gmail.com</BugEmail>
48        </BugTracerReports>
49
50        <DevEnvironments>
51                <url>dev</url>
52                <url>lmajano</url>
53        </DevEnvironments>
54
55        <WebServices >
56                <WebService URL="http://www.test.com/test.cfc?wsdl" name="TestWS"/>
57                <WebService URL="http://www.coldbox.com/testit.cfc?wsdl" name="AnotherTestWS" DevURL="http://test.coldbox.com/test.cfm?wsdl"/>
58        </WebServices>
59
60        <Layouts>
61                <DefaultLayout>Layout.Main.cfm</DefaultLayout>
62                <DefaultView>vwHello</DefaultView>
63                <Layout file="Layout.Login.cfm" name="login">
64                        <View>vwLogin</View>
65                </Layout>
66        </Layouts>
67
68        <i18N>
69                <!--Default Resource Bundle without locale and properties extension-->
70                <DefaultResourceBundle>includes/main</DefaultResourceBundle>
71                <!--Java Standard Locale-->
72                <DefaultLocale>en_US</DefaultLocale>
73                <!--session or client-->
74                <LocaleStorage>session</LocaleStorage>
75        </i18N>
76
77        <Datasources>
78                <Datasource alias="mysite" name="mysite" dbtype="mysql"  username="root" password="pass" />
79                <Datasource alias="blog_dsn" name="myblog" dbtype="oracle" username="root" password="pass" />
80        </Datasources>
81       
82        <Cache>
83                <ObjectDefaultTimeout>15</ObjectDefaultTimeout>
84                <ObjectDefaultLastAccessTimeout>5</ObjectDefaultLastAccessTimeout>
85                <ReapFrequency>1</ReapFrequency>
86                <MaxObjects>15</MaxObjects>
87                <FreeMemoryPercentageThreshold>15</FreeMemoryPercentageThreshold>
88        </Cache>
89
90</Config>
Note: See TracBrowser for help on using the browser.