Advertisement
Guest User

Untitled

a guest
Aug 1st, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.90 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2.  
  3. <server xmlns="urn:jboss:domain:1.4">
  4.  
  5. <extensions>
  6. <extension module="org.jboss.as.clustering.infinispan"/>
  7. <extension module="org.jboss.as.connector"/>
  8. <extension module="org.jboss.as.deployment-scanner"/>
  9. <extension module="org.jboss.as.ee"/>
  10. <extension module="org.jboss.as.ejb3"/>
  11. <extension module="org.jboss.as.jaxrs"/>
  12. <extension module="org.jboss.as.jdr"/>
  13. <extension module="org.jboss.as.jmx"/>
  14. <extension module="org.jboss.as.jpa"/>
  15. <extension module="org.jboss.as.jsf"/>
  16. <extension module="org.jboss.as.logging"/>
  17. <extension module="org.jboss.as.mail"/>
  18. <extension module="org.jboss.as.naming"/>
  19. <extension module="org.jboss.as.pojo"/>
  20. <extension module="org.jboss.as.remoting"/>
  21. <extension module="org.jboss.as.sar"/>
  22. <extension module="org.jboss.as.security"/>
  23. <extension module="org.jboss.as.threads"/>
  24. <extension module="org.jboss.as.transactions"/>
  25. <extension module="org.jboss.as.web"/>
  26. <extension module="org.jboss.as.webservices"/>
  27. <extension module="org.jboss.as.weld"/>
  28. <extension module="org.camunda.bpm.jboss.camunda-jboss-subsystem"/>
  29. </extensions>
  30.  
  31.  
  32. <management>
  33. <security-realms>
  34. <security-realm name="ManagementRealm">
  35. <authentication>
  36. <local default-user="$local"/>
  37. <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
  38. </authentication>
  39. </security-realm>
  40. <security-realm name="ApplicationRealm">
  41. <authentication>
  42. <local default-user="$local" allowed-users="*"/>
  43. <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
  44. </authentication>
  45. <authorization>
  46. <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
  47. </authorization>
  48. </security-realm>
  49. </security-realms>
  50. <management-interfaces>
  51. <native-interface security-realm="ManagementRealm">
  52. <socket-binding native="management-native"/>
  53. </native-interface>
  54. <http-interface security-realm="ManagementRealm">
  55. <socket-binding http="management-http"/>
  56. </http-interface>
  57. </management-interfaces>
  58. </management>
  59.  
  60. <profile>
  61. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  62. <console-handler name="CONSOLE">
  63. <level name="INFO"/>
  64. <formatter>
  65. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  66. </formatter>
  67. </console-handler>
  68. <periodic-rotating-file-handler name="FILE" autoflush="true">
  69. <formatter>
  70. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  71. </formatter>
  72. <file relative-to="jboss.server.log.dir" path="server.log"/>
  73. <suffix value=".yyyy-MM-dd"/>
  74. <append value="true"/>
  75. </periodic-rotating-file-handler>
  76. <logger category="com.arjuna">
  77. <level name="WARN"/>
  78. </logger>
  79. <logger category="org.apache.tomcat.util.modeler">
  80. <level name="WARN"/>
  81. </logger>
  82. <logger category="org.jboss.as.config">
  83. <level name="DEBUG"/>
  84. </logger>
  85. <logger category="sun.rmi">
  86. <level name="WARN"/>
  87. </logger>
  88. <logger category="jacorb">
  89. <level name="WARN"/>
  90. </logger>
  91. <logger category="jacorb.config">
  92. <level name="ERROR"/>
  93. </logger>
  94. <root-logger>
  95. <level name="INFO"/>
  96. <handlers>
  97. <handler name="CONSOLE"/>
  98. <handler name="FILE"/>
  99. </handlers>
  100. </root-logger>
  101. </subsystem>
  102. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  103. <datasources>
  104. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  105. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  106. <driver>h2</driver>
  107. <security>
  108. <user-name>sa</user-name>
  109. <password>sa</password>
  110. </security>
  111. </datasource>
  112. <datasource jta="true" jndi-name="java:jboss/datasources/ProcessEngine" pool-name="ProcessEngine" enabled="true" use-java-context="true" use-ccm="true">
  113. <connection-url>jdbc:h2:./camunda-h2-dbs/process-engine;DB_CLOSE_DELAY=-1;MVCC=TRUE;DB_CLOSE_ON_EXIT=FALSE</connection-url>
  114. <driver>h2</driver>
  115. <security>
  116. <user-name>sa</user-name>
  117. <password>sa</password>
  118. </security>
  119. </datasource>
  120. <drivers>
  121. <driver name="h2" module="com.h2database.h2">
  122. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  123. </driver>
  124. </drivers>
  125. </datasources>
  126. </subsystem>
  127. <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
  128. <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>
  129. </subsystem>
  130. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  131. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  132. <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
  133. </subsystem>
  134. <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
  135. <session-bean>
  136. <stateless>
  137. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  138. </stateless>
  139. <stateful default-access-timeout="5000" cache-ref="simple"/>
  140. <singleton default-access-timeout="5000"/>
  141. </session-bean>
  142. <pools>
  143. <bean-instance-pools>
  144. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  145. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  146. </bean-instance-pools>
  147. </pools>
  148. <caches>
  149. <cache name="simple" aliases="NoPassivationCache"/>
  150. <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
  151. </caches>
  152. <passivation-stores>
  153. <file-passivation-store name="file"/>
  154. </passivation-stores>
  155. <async thread-pool-name="default"/>
  156. <timer-service thread-pool-name="default">
  157. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  158. </timer-service>
  159. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  160. <thread-pools>
  161. <thread-pool name="default">
  162. <max-threads count="10"/>
  163. <keepalive-time time="100" unit="milliseconds"/>
  164. </thread-pool>
  165. </thread-pools>
  166. <default-security-domain value="other"/>
  167. <default-missing-method-permissions-deny-access value="true"/>
  168. </subsystem>
  169. <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
  170. <cache-container name="web" aliases="standard-session-cache" default-cache="local-web" module="org.jboss.as.clustering.web.infinispan">
  171. <local-cache name="local-web" batching="true">
  172. <file-store passivation="false" purge="false"/>
  173. </local-cache>
  174. </cache-container>
  175. <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
  176. <local-cache name="entity">
  177. <transaction mode="NON_XA"/>
  178. <eviction strategy="LRU" max-entries="10000"/>
  179. <expiration max-idle="100000"/>
  180. </local-cache>
  181. <local-cache name="local-query">
  182. <transaction mode="NONE"/>
  183. <eviction strategy="LRU" max-entries="10000"/>
  184. <expiration max-idle="100000"/>
  185. </local-cache>
  186. <local-cache name="timestamps">
  187. <transaction mode="NONE"/>
  188. <eviction strategy="NONE"/>
  189. </local-cache>
  190. </cache-container>
  191. </subsystem>
  192. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  193. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  194. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  195. <bean-validation enabled="true"/>
  196. <default-workmanager>
  197. <short-running-threads>
  198. <core-threads count="50"/>
  199. <queue-length count="50"/>
  200. <max-threads count="50"/>
  201. <keepalive-time time="10" unit="seconds"/>
  202. </short-running-threads>
  203. <long-running-threads>
  204. <core-threads count="50"/>
  205. <queue-length count="50"/>
  206. <max-threads count="50"/>
  207. <keepalive-time time="10" unit="seconds"/>
  208. </long-running-threads>
  209. </default-workmanager>
  210. <cached-connection-manager/>
  211. </subsystem>
  212. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  213. <subsystem xmlns="urn:jboss:domain:jmx:1.2">
  214. <expose-resolved-model/>
  215. <expose-expression-model/>
  216. <remoting-connector/>
  217. </subsystem>
  218. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  219. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  220. </subsystem>
  221. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  222. <subsystem xmlns="urn:jboss:domain:mail:1.1">
  223. <mail-session jndi-name="java:jboss/mail/Default">
  224. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  225. </mail-session>
  226. <mail-session jndi-name="java:jboss/mail/gmail">
  227. <smtp-server ssl="true" outbound-socket-binding-ref="mail-gmail-smtp">
  228. <login name="adaklima@gmail.com" password="Kun_ma_2_nohy"/>
  229. </smtp-server>
  230. </mail-session>
  231. <mail-session jndi-name="java:jboss/mail/anafra">
  232. <smtp-server ssl="true" outbound-socket-binding-ref="mail-gmail-smtp">
  233. <login name="adaklima@gmail.com" password="Kun_ma_2_nohy"/>
  234. </smtp-server>
  235. </mail-session>
  236. </subsystem>
  237. <subsystem xmlns="urn:jboss:domain:naming:1.3">
  238. <remote-naming/>
  239. </subsystem>
  240. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  241. <subsystem xmlns="urn:jboss:domain:remoting:1.1">
  242. <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
  243. </subsystem>
  244. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1"/>
  245. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  246. <subsystem xmlns="urn:jboss:domain:security:1.2">
  247. <security-domains>
  248. <security-domain name="other" cache-type="default">
  249. <authentication>
  250. <login-module code="Remoting" flag="optional">
  251. <module-option name="password-stacking" value="useFirstPass"/>
  252. </login-module>
  253. <login-module code="RealmDirect" flag="required">
  254. <module-option name="password-stacking" value="useFirstPass"/>
  255. </login-module>
  256. </authentication>
  257. </security-domain>
  258. <security-domain name="jboss-web-policy" cache-type="default">
  259. <authorization>
  260. <policy-module code="Delegating" flag="required"/>
  261. </authorization>
  262. </security-domain>
  263. <security-domain name="jboss-ejb-policy" cache-type="default">
  264. <authorization>
  265. <policy-module code="Delegating" flag="required"/>
  266. </authorization>
  267. </security-domain>
  268. </security-domains>
  269. </subsystem>
  270. <subsystem xmlns="urn:jboss:domain:threads:1.1">
  271. <bounded-queue-thread-pool name="job-executor-tp" allow-core-timeout="true">
  272. <core-threads count="3"/>
  273. <queue-length count="3"/>
  274. <max-threads count="10"/>
  275. <keepalive-time time="10" unit="seconds"/>
  276. </bounded-queue-thread-pool>
  277. </subsystem>
  278. <subsystem xmlns="urn:jboss:domain:transactions:1.3">
  279. <core-environment>
  280. <process-id>
  281. <uuid/>
  282. </process-id>
  283. </core-environment>
  284. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  285. <coordinator-environment default-timeout="300"/>
  286. </subsystem>
  287. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
  288. <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
  289. <virtual-server name="default-host" enable-welcome-root="true">
  290. <alias name="localhost"/>
  291. <alias name="example.com"/>
  292. </virtual-server>
  293. </subsystem>
  294. <subsystem xmlns="urn:jboss:domain:webservices:1.2">
  295. <modify-wsdl-address>true</modify-wsdl-address>
  296. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  297. <endpoint-config name="Standard-Endpoint-Config"/>
  298. <endpoint-config name="Recording-Endpoint-Config">
  299. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  300. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  301. </pre-handler-chain>
  302. </endpoint-config>
  303. <client-config name="Standard-Client-Config"/>
  304. </subsystem>
  305. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  306. <subsystem xmlns="urn:org.camunda.bpm.jboss:1.1">
  307. <process-engines>
  308. <process-engine name="default" default="true">
  309. <datasource>
  310. java:jboss/datasources/ProcessEngine
  311. </datasource>
  312. <history-level>
  313. full
  314. </history-level>
  315. <configuration>
  316. org.camunda.bpm.container.impl.jboss.config.ManagedJtaProcessEngineConfiguration
  317. </configuration>
  318. <properties>
  319. <property name="jobExecutorAcquisitionName">
  320. default
  321. </property>
  322. <property name="isAutoSchemaUpdate">
  323. true
  324. </property>
  325. <property name="authorizationEnabled">
  326. true
  327. </property>
  328. <property name="jobExecutorDeploymentAware">
  329. true
  330. </property>
  331. </properties>
  332. <plugins>
  333. <plugin>
  334. <class>
  335. org.camunda.bpm.application.impl.event.ProcessApplicationEventListenerPlugin
  336. </class>
  337. </plugin>
  338. <plugin>
  339. <class>
  340. org.camunda.spin.plugin.impl.SpinProcessEnginePlugin
  341. </class>
  342. </plugin>
  343. <plugin>
  344. <class>
  345. org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin
  346. </class>
  347. </plugin>
  348. <plugin>
  349. <class>
  350. cz.fel.cvut.cz.processengineformfieldmodule.FileTypeFieldPlugin
  351. </class>
  352. </plugin>
  353. </plugins>
  354. </process-engine>
  355. </process-engines>
  356. <job-executor>
  357. <thread-pool-name>
  358. job-executor-tp
  359. </thread-pool-name>
  360. <job-acquisitions>
  361. <job-acquisition name="default">
  362. <acquisition-strategy>
  363. SEQUENTIAL
  364. </acquisition-strategy>
  365. <properties>
  366. <property name="lockTimeInMillis">
  367. 300000
  368. </property>
  369. <property name="waitTimeInMillis">
  370. 5000
  371. </property>
  372. <property name="maxJobsPerAcquisition">
  373. 3
  374. </property>
  375. </properties>
  376. </job-acquisition>
  377. </job-acquisitions>
  378. </job-executor>
  379. </subsystem>
  380. </profile>
  381.  
  382. <interfaces>
  383. <interface name="management">
  384. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  385. </interface>
  386. <interface name="public">
  387. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  388. </interface>
  389. <interface name="unsecure">
  390. <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  391. </interface>
  392. </interfaces>
  393.  
  394. <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
  395. <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
  396. <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
  397. <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
  398. <socket-binding name="ajp" port="8009"/>
  399. <socket-binding name="http" port="8081"/>
  400. <socket-binding name="https" port="8443"/>
  401. <socket-binding name="remoting" port="4447"/>
  402. <socket-binding name="txn-recovery-environment" port="4712"/>
  403. <socket-binding name="txn-status-manager" port="4713"/>
  404. <outbound-socket-binding name="mail-smtp">
  405. <remote-destination host="localhost" port="25"/>
  406. </outbound-socket-binding>
  407. <outbound-socket-binding name="mail-gmail-smtp" source-port="0" fixed-source-port="false">
  408. <remote-destination host="smtp.gmail.com" port="465"/>
  409. </outbound-socket-binding>
  410. </socket-binding-group>
  411.  
  412. </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement