Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <server description="new server">
- <!-- Enable features -->
- <featureManager>
- <feature>jsp-2.2</feature>
- <feature>ssl-1.0</feature>
- <feature>servlet-3.0</feature>
- <feature>jdbc-4.0</feature>
- <feature>jndi-1.0</feature>
- <feature>restConnector-1.0</feature>
- <feature>appSecurity-2.0</feature>
- <feature>localConnector-1.0</feature>
- </featureManager>
- <httpEndpoint host="*" httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint">
- <tcpOptions soReuseAddr="true"/>
- </httpEndpoint>
- <!-- Declare the IBM Application Center Console application. -->
- <application id="appcenterconsole" location="appcenterconsole.war" name="appcenterconsole" type="war">
- <application-bnd>
- <security-role name="appcenteradmin">
- <group name="appcentergroup"/>
- </security-role>
- </application-bnd>
- </application>
- <!-- Declare the IBM Application Center Services application. -->
- <application id="applicationcenter" location="applicationcenter.war" name="applicationcenter" type="war">
- <application-bnd>
- <security-role name="appcenteradmin">
- <group name="appcentergroup"/>
- </security-role>
- <security-role name="appcenterdownloaders">
- <group name="appcenterdownloadersgroup"/>
- </security-role>
- </application-bnd>
- <classloader delegation="parentLast">
- <commonLibrary>
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.jar"/>
- </commonLibrary>
- </classloader>
- </application>
- <!-- Declare the user registry for the IBM Application Center. -->
- <basicRegistry id="applicationcenter-registry" realm="worklightRealm">
- <user name="ptiwari" password="ptiwari"/>
- <!-- The users defined here are members of group "appcentergroup",
- thus have role "appcenteradmin", and can therefore perform
- administrative tasks through the IBM Application Center Console. -->
- <user name="appcenteradmin" password="admin"/>
- <group name="appcentergroup">
- <member name="appcenteradmin"/>
- <member name="ptiwari"/>
- <member name="avetter"/>
- <member name="sbhandari"/>
- <member name="rchauhan"/>
- </group>
- <user name="demo" password="demo"/>
- <user name="monitor" password="demo"/>
- <user name="deployer" password="demo"/>
- <user name="operator" password="demo"/>
- <user name="admin" password="admin"/>
- <user name="avetter" password="avetter"/>
- <user name="sbhandari" password="sbhandari"/>
- <user name="rchauhan" password="rchauhan"/>
- </basicRegistry>
- <!-- Declare the JNDI properties for the IBM Application Center. -->
- <!-- Define the AppCenter services endpoint in order for the AppCenter console to be able to invoke the REST service.
- You need to enable this property if the server is behind a reverse proxy
- or if the context root of the Application Center Services application is different from '/applicationcenter'. -->
- <!-- <jndiEntry jndiName="ibm.appcenter.services.endpoint" value='"http://proxyhost:proxyport/applicationcenter"'/> -->
- <!-- The directory with binaries of the 'aapt' program, from the Android SDK's platform-tools package. -->
- <jndiEntry jndiName="android.aapt.dir" value=""/opt/IBM/Worklight/ApplicationCenter/tools/android-sdk""/>
- <!-- The protocol of the application resources URI. This property is optional. It is only needed if the protocol of the external and internal URI are different. -->
- <!-- <jndiEntry jndiName="ibm.appcenter.proxy.protocol" value='"http"'/> -->
- <!-- The hostname of the application resources URI. -->
- <!-- <jndiEntry jndiName="ibm.appcenter.proxy.host" value='"proxyhost"'/> -->
- <!-- The port of the application resources URI. This property is optional. -->
- <!-- <jndiEntry jndiName="ibm.appcenter.proxy.port" value="proxyport"/> -->
- <!-- Declare the jar files for DB2 access through JDBC. -->
- <library id="DB2Lib">
- <fileset dir="${shared.resource.dir}/db2" includes="*.jar"/>
- </library>
- <!-- Declare the IBM Application Center database. -->
- <dataSource jndiName="jdbc/AppCenterDS" transactional="false">
- <jdbcDriver libraryRef="DB2Lib"/>
- <properties.db2.jcc databaseName="APPCNTR" driverType="4" password="**********" portNumber="60006" serverName="1.2.3.4" user="username"/>
- </dataSource>
- <!-- End of configuration added by IBM Worklight installer. -->
- <!--
- IBM Worklight requires SSL and declared the "defaultKeyStore" default keystore.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- This configuration is the minimum one that you need to create an SSL configuration.
- With this configuration, the Liberty server creates the keystore and the certificate,
- if it does not exist yet, during the SSL initialization.
- The created certificate is a self-signed certificate that is valid for 365 days.
- Do not use the certificates that the Liberty server created for production use.
- For more information see http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.wlp.core.doc/ae/twlp_sec_ssl.html
- -->
- <keyStore id="defaultKeyStore" password="{xor}KDAtNDM2ODcrCh4L"/>
- <!-- <keyStore id="defaultKeyStore" password="**********"/> -->
- <administrator-role>
- <user>ptiwari</user>
- </administrator-role>
- <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="1.2.3.4"/>
- <jndiEntry jndiName="ibm.worklight.admin.jmx.port" value="9443"/>
- <jndiEntry jndiName="ibm.worklight.admin.jmx.user" value="ptiwari"/>
- <jndiEntry jndiName="ibm.worklight.admin.jmx.pwd" value="**********"/>
- <jndiEntry jndiName="ibm.worklight.topology.platform" value="Liberty"/>
- <jndiEntry jndiName="ibm.worklight.topology.clustermode" value="Standalone"/>
- <!-- Declare the IBM Worklight Administration database. -->
- <dataSource jndiName="jdbc/WorklightAdminDS" transactional="false">
- <jdbcDriver libraryRef="DB2Lib"/>
- <properties.db2.jcc currentSchema="WLADMIN" databaseName="WRKLGHT" driverType="4" password="**********" portNumber="60006" serverName="1.2.3.4" user="username"/>
- </dataSource>
- <!-- Declare the Worklight Administration Console application. -->
- <application id="worklightconsole" location="worklightconsole.war" name="worklightconsole" type="war">
- <application-bnd>
- <security-role name="worklightadmin">
- <user name="ptiwari"/>
- </security-role>
- <security-role name="worklightdeployer">
- <user name="ptiwari"/>
- </security-role>
- <security-role name="worklightmonitor">
- <user name="ptiwari"/>
- </security-role>
- <security-role name="worklightoperator">
- <user name="ptiwari"/>
- </security-role>
- </application-bnd>
- </application>
- <!-- Declare web container custom properties for the Worklight Administration Console application. -->
- <webContainer deferServletLoad="false" invokeFlushAfterService="false"/>
- <!-- Declare the JNDI properties for the Worklight Administration Console. -->
- <!-- <jndiEntry jndiName="worklightconsole/ibm.worklight.admin.environmentid" value="WL_UAT_Server_Config"/> -->
- <!-- End of configuration added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- <basicRegistry id="worklight" realm="worklightRealm"/> -->
- <webContainer com.ibm.ws.webcontainer.suppressLoggingServiceRuntimeExcep="true" deferServletLoad="false" invokeFlushAfterService="false"/>
- <!--
- change Worklight server side logging:
- change consoleLogLevel to INFO to see Worklight JavaScript Logger API output
- (for example: in Worklight Adapters).
- -->
- <logging consoleLogLevel="AUDIT" copySystemStreams="false"/>
- <logging maxFileSize="20" maxFiles="10" traceFileName="trace.log" traceFormat="BASIC" traceSpecification="com.worklight.*=all"/>
- <applicationMonitor updateTrigger="mbean"/>
- <!--
- Disabling security integration
- -->
- <httpSession securityIntegrationEnabled="false"/>
- <!--
- Declare the IBM Worklight Admin Services application.
- -->
- <application context-root="worklightadmin" id="worklight-management-service" location="worklight-management-service.war" name="WorklightServices" type="war">
- <application-bnd>
- <security-role name="worklightadmin">
- <user name="ptiwari"/>
- <user name="admin"/>
- </security-role>
- <security-role name="worklightdeployer">
- <user name="ptiwari"/>
- <user name="deployer"/>
- </security-role>
- <security-role name="worklightmonitor">
- <user name="ptiwari"/>
- <user name="monitor"/>
- </security-role>
- <security-role name="worklightoperator">
- <user name="ptiwari"/>
- <user name="operator"/>
- </security-role>
- </application-bnd>
- <classloader delegation="parentLast">
- <privateLibrary>
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil*.jar"/>
- </privateLibrary>
- </classloader>
- </application>
- <!--
- Declare the IBM Worklight Admin Console application.
- -->
- <!--
- ... Worklight Console settings END
- -->
- <library id="worklight-6.2.0">
- <fileset dir="${wlp.user.dir}/shared/resources" includes="worklight-jee-library-6.2.0.jar"/>
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil*.jar"/>
- </library>
- <application context-root="/_analytics" id="_analytics" location="_analytics.war" name="_analytics" type="war">
- <classloader delegation="parentLast"/>
- </application>
- <!-- Declare the IBM Worklight Server database. -->
- <!-- <dataSource jndiName="MyProject/jdbc/WorklightDS" transactional="false">
- <jdbcDriver libraryRef="DB2Lib"/>
- <properties.db2.jcc currentSchema="WRKLGHT" databaseName="WRKLGHT" driverType="4" password="**********" portNumber="60006" serverName="1.2.3.4" user="username"/>
- </dataSource> -->
- <!-- Declare the IBM Worklight Server reports database.-->
- <!-- <dataSource jndiName="MyProject/jdbc/WorklightReportsDS" transactional="false">
- <jdbcDriver libraryRef="DB2Lib"/>
- <properties.db2.jcc currentSchema="WLREPORT" databaseName="WRKLGHT" driverType="4" password="**********" portNumber="60006" serverName="1.2.3.4" user="username"/>
- </dataSource> -->
- <jndiEntry jndiName="MyProject/wl.analytics.queue.size" value="1"/>
- <jndiEntry jndiName="MyProject/wl.analytics.url" value="http://localhost:9080/_ana lytics/data"/>
- <!-- <application context-root="/MyProject" id="MyProject" location="MyProject.war" name="MyProject" type="war">
- <classloader commonLibraryRef="worklight-6.2.0">
- <privateLibrary>
- <fileset dir="${wlp.user.dir}/shared/resources" includes="org.hsqldb.hsqldb_2.2.5.jar"/>
- </privateLibrary>
- </classloader>
- </application> -->
- <application id="_MobileBrowserSimulator" location="_MobileBrowserSimulator.war" name="_MobileBrowserSimulator" type="war"/>
- <!-- Begin of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/MyProject'. -->
- <!-- Declare the IBM Worklight project runtime application. -->
- <application id="MyProject" name="MyProject" location="MyProject.war" type="war">
- <classloader delegation="parentLast">
- <privateLibrary>
- <fileset dir="${shared.resource.dir}/MyProject/lib" includes="worklight-jee-library.jar"/>
- </privateLibrary>
- </classloader>
- </application>
- <!-- Declare the JNDI properties for the IBM Worklight project runtime. -->
- <jndiEntry jndiName="MyProject/publicWorkLightProtocol" value='"http"'/>
- <jndiEntry jndiName="MyProject/publicWorkLightPort" value='"9080"'/>
- <jndiEntry jndiName="MyProject/ibm.worklight.admin.environmentid" value='"WL_UAT_Config1"'/>
- <!-- Declare the jar files for DB2 access through JDBC. -->
- <library id="MyProject/DB2Lib">
- <fileset dir="${shared.resource.dir}/MyProject/db2" includes="db2jcc4.jar,db2jcc_license_cu.jar"/>
- </library>
- <!-- Declare the IBM Worklight Server database. -->
- <dataSource jndiName="MyProject/jdbc/WorklightDS" transactional="false">
- <jdbcDriver libraryRef="MyProject/DB2Lib"/>
- <properties.db2.jcc databaseName="WRKLGHT" serverName="1.2.3.4" portNumber="60006" user="username" password="**********" currentSchema="WRKLGHT"/>
- </dataSource>
- <!-- Declare the IBM Worklight Server reports database. -->
- <dataSource jndiName="MyProject/jdbc/WorklightReportsDS" transactional="false">
- <jdbcDriver libraryRef="MyProject/DB2Lib"/>
- <properties.db2.jcc databaseName="WRKLGHT" serverName="1.2.3.4" portNumber="60006" user="username" password="**********" currentSchema="WLREPORT"/>
- </dataSource>
- <!-- End of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/MyProject'. -->
- </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement