Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.13 KB | None | 0 0
  1. <server description="new server">
  2.  
  3. <!-- Enable features -->
  4. <featureManager>
  5. <feature>jsp-2.2</feature>
  6.  
  7. <!-- Begin of features added by IBM Worklight installer. -->
  8. <!-- The following lines will be removed when the application is uninstalled -->
  9. <feature>ssl-1.0</feature>
  10. <feature>servlet-3.0</feature>
  11. <feature>jdbc-4.0</feature>
  12. <feature>appSecurity-1.0</feature>
  13. <feature>jndi-1.0</feature>
  14. <!-- End of features added by IBM Worklight installer. -->
  15.  
  16.  
  17. <!-- Begin of features added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
  18. <!-- The following lines will be removed when the application is uninstalled -->
  19. <feature>ssl-1.0</feature>
  20. <feature>servlet-3.0</feature>
  21. <feature>jdbc-4.0</feature>
  22. <feature>jndi-1.0</feature>
  23. <feature>restConnector-1.0</feature>
  24. <feature>appSecurity-1.0</feature>
  25. <!-- End of features added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. <!-- Begin of features added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
  38. <!-- The following lines will be removed when the application is uninstalled -->
  39. <feature>ssl-1.0</feature>
  40. <feature>servlet-3.0</feature>
  41. <feature>jdbc-4.0</feature>
  42. <feature>jndi-1.0</feature>
  43. <!-- End of features added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
  44.  
  45. </featureManager>
  46.  
  47. <httpEndpoint id="defaultHttpEndpoint"
  48. host="*"
  49. httpPort="9080"
  50. httpsPort="9443" >
  51.  
  52. <!-- Option soReuseAddr added by IBM Worklight installer. -->
  53. <!-- Option soReuseAddr added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
  54.  
  55.  
  56.  
  57. <!-- Option soReuseAddr added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
  58. <tcpOptions soReuseAddr="true"/>
  59.  
  60. </httpEndpoint>
  61.  
  62.  
  63.  
  64. <basicRegistry>
  65. <!-- Worklight user.
  66. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  67. -->
  68. <user name="xxxx" password="xxxx"/>
  69.  
  70. <!-- Worklight user.
  71. [Added by IBM Worklight Installation Manager for context root 'applicationcenter']
  72. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  73. -->
  74. <user name="xxxx" password="xxxx"/>
  75.  
  76. <!-- Worklight user.
  77. [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
  78. -->
  79. <user name="xxxx" password="xxxx"/>
  80.  
  81. <!-- IBM Application Center group.
  82. [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
  83. -->
  84. <group name="appcentergroup">
  85. <!-- IBM Application Center group member.
  86. [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
  87. -->
  88. <member name="demo"/>
  89.  
  90. <!-- IBM Application Center group member.
  91. [Added by IBM Worklight Installation Manager for context root '/applicationcenter']
  92. -->
  93. <member name="appcenteradmin"/>
  94.  
  95. </group>
  96.  
  97. </basicRegistry>
  98.  
  99. <!-- Begin of configuration added by IBM Worklight installer. -->
  100.  
  101. <!-- Declare the IBM Application Center Console application. -->
  102. <application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" type="war">
  103. <application-bnd>
  104. <security-role name="appcenteradmin">
  105. <group name="appcentergroup"/>
  106. </security-role>
  107. </application-bnd>
  108. </application>
  109.  
  110. <!-- Declare the IBM Application Center Services application. -->
  111. <application id="applicationcenter" name="applicationcenter" location="applicationcenter.war" type="war">
  112. <application-bnd>
  113. <security-role name="appcenteradmin">
  114. <group name="appcentergroup"/>
  115. </security-role>
  116. </application-bnd>
  117. <classloader delegation="parentLast">
  118. <commonLibrary>
  119. <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
  120. </commonLibrary>
  121. </classloader>
  122. </application>
  123.  
  124. <!-- Declare the JNDI properties for the IBM Application Center. -->
  125.  
  126. <!-- Define the AppCenter services endpoint in order for the AppCenter console to be able to invoke the REST service.
  127. You need to enable this property if the server is behind a reverse proxy
  128. or if the context root of the Application Center Services application is different from '/applicationcenter'. -->
  129. <!-- <jndiEntry jndiName="ibm.appcenter.services.endpoint" value='"http://proxyhost:proxyport/applicationcenter"'/> -->
  130. <!-- The directory with binaries of the 'aapt' program, from the Android SDK's platform-tools package. -->
  131. <jndiEntry jndiName="android.aapt.dir" value='"C:/Program Files/IBM/MobileFirst_Platform_Server/ApplicationCenter/tools/android-sdk"'/>
  132. <!-- 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. -->
  133. <!-- <jndiEntry jndiName="ibm.appcenter.proxy.protocol" value='"http"'/> -->
  134. <!-- The hostname of the application resources URI. -->
  135. <!-- <jndiEntry jndiName="ibm.appcenter.proxy.host" value='"proxyhost"'/> -->
  136. <!-- The port of the application resources URI. This property is optional. -->
  137. <!-- <jndiEntry jndiName="ibm.appcenter.proxy.port" value="proxyport"/> -->
  138.  
  139. <!-- Declare the jar files for MySQL access through JDBC. -->
  140. <library id="MySQLLib">
  141. <fileset dir="${shared.resource.dir}/mysql" includes="*.jar"/>
  142. </library>
  143.  
  144. <!-- Declare the IBM Application Center database. -->
  145. <dataSource jndiName="jdbc/AppCenterDS" transactional="false">
  146. <jdbcDriver libraryRef="MySQLLib"/>
  147. <properties URL="jdbc:mysql://x.x.x.x:3306/APPCNTR" user="sigmamaster" xxxx="sigmam1234"/>
  148. </dataSource>
  149.  
  150. <!-- End of configuration added by IBM Worklight installer. -->
  151.  
  152. <!--
  153. IBM Worklight requires SSL and declared the "defaultKeyStore" default keystore.
  154. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  155. This configuration is the minimum one that you need to create an SSL configuration.
  156. With this configuration, the Liberty server creates the keystore and the certificate,
  157. if it does not exist yet, during the SSL initialization.
  158. The created certificate is a self-signed certificate that is valid for 365 days.
  159. Do not use the certificates that the Liberty server created for production use.
  160. For more information see http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.wlp.core.doc/ae/twlp_sec_ssl.html
  161. -->
  162. <keyStore id="defaultKeyStore" password="xxxx"/>
  163.  
  164. <administrator-role>
  165. <!-- Worklight JMX User.
  166. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  167. -->
  168. <user>WorklightRESTUser</user>
  169.  
  170. </administrator-role>
  171. <!-- Worklight JNDI property for JMX connection.
  172. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  173. -->
  174. <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="localhost"/>
  175. <!-- Worklight JNDI property for JMX connection.
  176. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  177. -->
  178. <jndiEntry jndiName="ibm.worklight.admin.jmx.port" value="9443"/>
  179. <!-- Worklight JNDI property for JMX connection.
  180. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  181. -->
  182. <jndiEntry jndiName="ibm.worklight.admin.jmx.user" value="WorklightRESTUser"/>
  183. <!-- Worklight JNDI property for JMX connection.
  184. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  185. -->
  186. <jndiEntry jndiName="ibm.worklight.admin.jmx.pwd" value="UPa7xVLXftDV"/>
  187. <!-- Worklight JNDI property for JMX connection.
  188. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  189. -->
  190. <jndiEntry jndiName="ibm.worklight.topology.platform" value="Liberty"/>
  191. <!-- Worklight JNDI property for JMX connection.
  192. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  193. -->
  194. <jndiEntry jndiName="ibm.worklight.topology.clustermode" value="Standalone"/>
  195.  
  196. <!-- WebContainer statement.
  197. [Added by IBM Worklight <installWorklightAdmin> Ant task for context root '/wladmin']
  198. [Added by IBM Worklight <configureApplicationServer> Ant task for context root '/worklight']
  199. -->
  200. <webContainer invokeFlushAfterService="false" deferServletLoad="false"/>
  201.  
  202. <!-- Element <executor> added by IBM Worklight <installWorklightAdmin> ant task for id 'wladmin'. -->
  203. <executor id="default" name="LargeThreadPool"
  204. coreThreads="200" maxThreads="400" keepAlive="60s"
  205. stealPolicy="STRICT" rejectedWorkPolicy="CALLER_RUNS"/>
  206.  
  207.  
  208. <!-- Begin of configuration added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
  209.  
  210. <!-- Declare the Worklight Administration Service application. -->
  211. <application id="wladmin" name="wladmin" location="worklightadmin.war" type="war">
  212. <application-bnd>
  213. <security-role name="worklightadmin">
  214. <user name="demo"/>
  215.  
  216. </security-role>
  217.  
  218. <security-role name="worklightdeployer">
  219. </security-role>
  220.  
  221. <security-role name="worklightmonitor">
  222. </security-role>
  223.  
  224. <security-role name="worklightoperator">
  225. </security-role>
  226.  
  227. </application-bnd>
  228.  
  229. <classloader delegation="parentLast">
  230. <commonLibrary id="worklightlib_wladmin">
  231.  
  232. <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
  233. </commonLibrary>
  234. </classloader>
  235. </application>
  236.  
  237. <!-- Declare the JNDI properties for the Worklight Administration Service. -->
  238. <jndiEntry jndiName="wladmin/ibm.worklight.admin.environmentid" value='"sigma_dev"'/>
  239.  
  240.  
  241. <!-- Declare the jar files for MySQL access through JDBC. -->
  242. <library id="wladmin/MySQLLib">
  243. <fileset dir="${shared.resource.dir}/wladmin/mysql" includes="mysql-connector-java-5.1.34-bin.jar"/>
  244. </library>
  245.  
  246. <!-- Declare the IBM Worklight Administration database. -->
  247. <dataSource jndiName="wladmin/jdbc/WorklightAdminDS" transactional="false">
  248. <jdbcDriver libraryRef="wladmin/MySQLLib"/>
  249. <properties URL="jdbc:mysql://x.x.x.x:3306/WLADMIN" user="xxxx" password="xxxx"/>
  250. </dataSource>
  251.  
  252. <!-- Declare the Worklight Administration Console application. -->
  253. <application id="worklightconsole" name="worklightconsole" location="worklightconsole.war" type="war">
  254. <application-bnd>
  255. <security-role name="worklightadmin">
  256. <user name="demo"/>
  257.  
  258. </security-role>
  259.  
  260. <security-role name="worklightdeployer">
  261. </security-role>
  262.  
  263. <security-role name="worklightmonitor">
  264. </security-role>
  265.  
  266. <security-role name="worklightoperator">
  267. </security-role>
  268.  
  269. </application-bnd>
  270.  
  271. </application>
  272.  
  273. <!-- Declare the JNDI properties for the Worklight Administration Console. -->
  274. <jndiEntry jndiName="worklightconsole/ibm.worklight.admin.endpoint" value='"*://*:*/wladmin"'/>
  275.  
  276.  
  277. <!-- End of configuration added by IBM Worklight <installWorklightAdmin> ant task for context root '/wladmin'. -->
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289. <!-- Begin of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
  290.  
  291. <!-- Declare the IBM Worklight project runtime application. -->
  292. <application id="worklight" name="worklight" location="lol.war" type="war">
  293. <classloader delegation="parentLast">
  294. <privateLibrary id="worklightlib_worklight">
  295. <fileset dir="${shared.resource.dir}/worklight/lib" includes="worklight-jee-library.jar"/>
  296. <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
  297. </privateLibrary>
  298. </classloader>
  299. </application>
  300.  
  301. <!-- Declare the JNDI properties for the IBM Worklight project runtime. -->
  302. <jndiEntry jndiName="worklight/publicWorkLightProtocol" value='"http"'/>
  303. <jndiEntry jndiName="worklight/publicWorkLightPort" value='"9080"'/>
  304. <jndiEntry jndiName="worklight/ibm.worklight.admin.environmentid" value='"sigma_dev"'/>
  305.  
  306.  
  307. <!-- Declare the jar files for MySQL access through JDBC. -->
  308. <library id="worklight/MySQLLib">
  309. <fileset dir="${shared.resource.dir}/worklight/mysql" includes="mysql-connector-java-5.1.34-bin.jar"/>
  310. </library>
  311.  
  312. <!-- Declare the IBM Worklight Server database. -->
  313. <dataSource jndiName="worklight/jdbc/WorklightDS" transactional="false">
  314. <jdbcDriver libraryRef="worklight/MySQLLib"/>
  315. <properties URL="jdbc:mysql://x.x.x.x:3306/WRKLGHT" user="xxxx" password="xxxx"/>
  316. </dataSource>
  317.  
  318. <!-- Declare the IBM Worklight Server reports database. -->
  319. <dataSource jndiName="worklight/jdbc/WorklightReportsDS" transactional="false">
  320. <jdbcDriver libraryRef="worklight/MySQLLib"/>
  321. <properties URL="jdbc:mysql://x.x.x.x:3306/WLREPORT" user="xxxx" password="xxxx"/>
  322. </dataSource>
  323.  
  324. <!-- End of configuration added by IBM Worklight <configureApplicationServer> ant task for context root '/worklight'. -->
  325.  
  326. </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement