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>
- <!-- Begin of features added by IBM Worklight installer. -->
- <!-- The following lines will be removed when the application is uninstalled -->
- <feature>ssl-1.0</feature>
- <feature>servlet-3.0</feature>
- <feature>jdbc-4.0</feature>
- <feature>appSecurity-1.0</feature>
- <feature>jndi-1.0</feature>
- <!-- End of features added by IBM Worklight installer. -->
- <!-- Begin of features added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- The following lines will be removed when the application is uninstalled -->
- <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-1.0</feature>
- <!-- End of features added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- Begin of features added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
- <!-- The following lines will be removed when the application is uninstalled -->
- <feature>ssl-1.0</feature>
- <feature>servlet-3.0</feature>
- <feature>jdbc-4.0</feature>
- <feature>jndi-1.0</feature>
- <!-- End of features added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
- </featureManager>
- <httpEndpoint id="defaultHttpEndpoint"
- host="*"
- httpPort="9080"
- httpsPort="9443" >
- <!-- Option soReuseAddr added by IBM Worklight installer. -->
- <!-- Option soReuseAddr added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- Option soReuseAddr added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
- <tcpOptions soReuseAddr="true"/>
- </httpEndpoint>
- <basicRegistry>
- <!-- Worklight user.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <user name="WorklightRESTUser" password="xxxx"/>
- <!-- Worklight user.
- [Added by IBM Worklight Installation Manager for context root 'applicationcenter']
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <user name="xxxx" password="xxxx"/>
- <!-- Worklight user.
- [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
- -->
- <user name="xxxxxx" password="xxxxx"/>
- <!-- IBM Application Center group.
- [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
- -->
- <group name="appcentergroup">
- <!-- IBM Application Center group member.
- [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
- -->
- <member name="demo"/>
- <!-- IBM Application Center group member.
- [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
- -->
- <member name="appcenteradmin"/>
- </group>
- </basicRegistry>
- <!-- Begin of configuration added by IBM Worklight installer. -->
- <!-- Declare the IBM Application Center Console application. -->
- <application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" 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" name="applicationcenter" location="applicationcenter.war" type="war">
- <application-bnd>
- <security-role name="appcenteradmin">
- <group name="appcentergroup"/>
- </security-role>
- </application-bnd>
- <classloader delegation="parentLast">
- <commonLibrary>
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
- </commonLibrary>
- </classloader>
- </application>
- <!-- 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='"C:/Program Files/IBM/MobileFirst_Platform_Server/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 MySQL access through JDBC. -->
- <library id="MySQLLib">
- <fileset dir="${shared.resource.dir}/mysql" includes="*.jar"/>
- </library>
- <!-- Declare the IBM Application Center database. -->
- <dataSource jndiName="jdbc/AppCenterDS" transactional="false">
- <jdbcDriver libraryRef="MySQLLib"/>
- <properties URL="jdbc:mysql://x.x.x.x:3306/APPCNTR" user="xxxx" password="xxxx"/>
- </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="xxxx"/>
- <administrator-role>
- <!-- Worklight JMX User.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <user>WorklightRESTUser</user>
- </administrator-role>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="localhost"/>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.admin.jmx.port" value="9443"/>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.admin.jmx.user" value="WorklightRESTUser"/>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.admin.jmx.pwd" value="UPa7xVLXftDV"/>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.topology.platform" value="Liberty"/>
- <!-- Worklight JNDI property for JMX connection.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- -->
- <jndiEntry jndiName="ibm.worklight.topology.clustermode" value="Standalone"/>
- <!-- WebContainer statement.
- [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
- [Added by IBM Worklight <configureApplicationServer> Ant task for context root '/worklight']
- -->
- <webContainer invokeFlushAfterService="false" deferServletLoad="false"/>
- <!-- Element <executor> added by IBM Worklight <installWorklightAdmin> ant task for id 'wladmin'. -->
- <executor id="default" name="LargeThreadPool"
- coreThreads="200" maxThreads="400" keepAlive="60s"
- stealPolicy="STRICT" rejectedWorkPolicy="CALLER_RUNS"/>
- <!-- Begin of configuration added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- Declare the Worklight Administration Service application. -->
- <application id="wladmin" name="wladmin" location="worklightadmin.war" type="war">
- <application-bnd>
- <security-role name="worklightadmin">
- <user name="demo"/>
- </security-role>
- <security-role name="worklightdeployer">
- </security-role>
- <security-role name="worklightmonitor">
- </security-role>
- <security-role name="worklightoperator">
- </security-role>
- </application-bnd>
- <classloader delegation="parentLast">
- <commonLibrary id="worklightlib_wladmin">
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
- </commonLibrary>
- </classloader>
- </application>
- <!-- Declare the JNDI properties for the Worklight Administration Service. -->
- <jndiEntry jndiName="wladmin/ibm.worklight.admin.environmentid" value='"sigma_dev"'/>
- <!-- Declare the jar files for MySQL access through JDBC. -->
- <library id="wladmin/MySQLLib">
- <fileset dir="${shared.resource.dir}/wladmin/mysql" includes="mysql-connector-java-5.1.34-bin.jar"/>
- </library>
- <!-- Declare the IBM Worklight Administration database. -->
- <dataSource jndiName="wladmin/jdbc/WorklightAdminDS" transactional="false">
- <jdbcDriver libraryRef="wladmin/MySQLLib"/>
- <properties URL="jdbc:mysql://x.x.x.x:3306/WLADMIN" user="xxxx" password="xxxx"/>
- </dataSource>
- <!-- Declare the Worklight Administration Console application. -->
- <application id="worklightconsole" name="worklightconsole" location="worklightconsole.war" type="war">
- <application-bnd>
- <security-role name="worklightadmin">
- <user name="demo"/>
- </security-role>
- <security-role name="worklightdeployer">
- </security-role>
- <security-role name="worklightmonitor">
- </security-role>
- <security-role name="worklightoperator">
- </security-role>
- </application-bnd>
- </application>
- <!-- Declare the JNDI properties for the Worklight Administration Console. -->
- <jndiEntry jndiName="worklightconsole/ibm.worklight.admin.endpoint" value='"*://*:*/wladmin"'/>
- <!-- End of configuration added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
- <!-- Begin of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
- <!-- Declare the IBM Worklight project runtime application. -->
- <application id="Round" name="Round" location="round.war" type="war">
- <classloader delegation="parentLast">
- <privateLibrary id="worklightlib_worklight">
- <fileset dir="${shared.resource.dir}/worklight/lib" includes="worklight-jee-library.jar"/>
- <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
- </privateLibrary>
- </classloader>
- </application>
- <!-- Declare the JNDI properties for the IBM Worklight project runtime. -->
- <jndiEntry jndiName="worklight/publicWorkLightProtocol" value='"http"'/>
- <jndiEntry jndiName="worklight/publicWorkLightPort" value='"9080"'/>
- <jndiEntry jndiName="worklight/ibm.worklight.admin.environmentid" value='"sigma_dev"'/>
- <!-- Declare the jar files for MySQL access through JDBC. -->
- <library id="worklight/MySQLLib">
- <fileset dir="${shared.resource.dir}/worklight/mysql" includes="mysql-connector-java-5.1.34-bin.jar"/>
- </library>
- <!-- Declare the IBM Worklight Server database. -->
- <dataSource jndiName="worklight/jdbc/WorklightDS" transactional="false">
- <jdbcDriver libraryRef="worklight/MySQLLib"/>
- <properties URL="jdbc:mysql://x.x.x.x:3306/WRKLGHT" user="xxxx" password="xxxx"/>
- </dataSource>
- <!-- Declare the IBM Worklight Server reports database. -->
- <dataSource jndiName="worklight/jdbc/WorklightReportsDS" transactional="false">
- <jdbcDriver libraryRef="worklight/MySQLLib"/>
- <properties URL="jdbc:mysql://x.x.x.x:3306/WLREPORT" user="xxxx" password="xxxx"/>
- </dataSource>
- <!-- End of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
- </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement