Guest User

Untitled

a guest
Oct 4th, 2017
569
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version='1.0' encoding='UTF-8'?>
  2.  
  3. <server xmlns="urn:jboss:domain:4.2">
  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.jsr77"/>
  17. <extension module="org.jboss.as.logging"/>
  18. <extension module="org.jboss.as.mail"/>
  19. <extension module="org.jboss.as.naming"/>
  20. <extension module="org.jboss.as.pojo"/>
  21. <extension module="org.jboss.as.remoting"/>
  22. <extension module="org.jboss.as.sar"/>
  23. <extension module="org.jboss.as.security"/>
  24. <extension module="org.jboss.as.transactions"/>
  25. <extension module="org.jboss.as.webservices"/>
  26. <extension module="org.jboss.as.weld"/>
  27. <extension module="org.wildfly.extension.batch.jberet"/>
  28. <extension module="org.wildfly.extension.bean-validation"/>
  29. <extension module="org.wildfly.extension.io"/>
  30. <extension module="org.wildfly.extension.messaging-activemq"/>
  31. <extension module="org.wildfly.extension.request-controller"/>
  32. <extension module="org.wildfly.extension.security.manager"/>
  33. <extension module="org.wildfly.extension.undertow"/>
  34. <extension module="org.wildfly.iiop-openjdk"/>
  35. </extensions>
  36.  
  37.  
  38. <management>
  39. <security-realms>
  40. <security-realm name="ManagementRealm">
  41. <authentication>
  42. <local default-user="$local" skip-group-loading="true"/>
  43. <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
  44. </authentication>
  45. <authorization map-groups-to-roles="false">
  46. <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
  47. </authorization>
  48. </security-realm>
  49. <security-realm name="ApplicationRealm">
  50. <server-identities>
  51. <ssl>
  52. <keystore path="application.keystore" relative-to="jboss.server.config.dir" keystore-password="password" alias="server" key-password="password" generate-self-signed-certificate-host="localhost"/>
  53. </ssl>
  54. </server-identities>
  55. <authentication>
  56. <local default-user="$local" allowed-users="*" skip-group-loading="true"/>
  57. <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
  58. </authentication>
  59. <authorization>
  60. <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
  61. </authorization>
  62. </security-realm>
  63. </security-realms>
  64. <audit-log>
  65. <formatters>
  66. <json-formatter name="json-formatter"/>
  67. </formatters>
  68. <handlers>
  69. <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
  70. </handlers>
  71. <logger log-boot="true" log-read-only="false" enabled="false">
  72. <handlers>
  73. <handler name="file"/>
  74. </handlers>
  75. </logger>
  76. </audit-log>
  77. <management-interfaces>
  78. <http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">
  79. <socket-binding http="management-http"/>
  80. </http-interface>
  81. </management-interfaces>
  82. <access-control provider="simple">
  83. <role-mapping>
  84. <role name="SuperUser">
  85. <include>
  86. <user name="$local"/>
  87. </include>
  88. </role>
  89. </role-mapping>
  90. </access-control>
  91. </management>
  92.  
  93. <profile>
  94. <subsystem xmlns="urn:jboss:domain:logging:3.0">
  95. <console-handler name="CONSOLE">
  96. <level name="INFO"/>
  97. <formatter>
  98. <named-formatter name="COLOR-PATTERN"/>
  99. </formatter>
  100. </console-handler>
  101. <periodic-rotating-file-handler name="FILE" autoflush="true">
  102. <formatter>
  103. <named-formatter name="PATTERN"/>
  104. </formatter>
  105. <file relative-to="jboss.server.log.dir" path="server.log"/>
  106. <suffix value=".yyyy-MM-dd"/>
  107. <append value="true"/>
  108. </periodic-rotating-file-handler>
  109. <logger category="com.arjuna">
  110. <level name="WARN"/>
  111. </logger>
  112. <logger category="org.jboss.as.config">
  113. <level name="DEBUG"/>
  114. </logger>
  115. <logger category="sun.rmi">
  116. <level name="WARN"/>
  117. </logger>
  118. <root-logger>
  119. <level name="INFO"/>
  120. <handlers>
  121. <handler name="CONSOLE"/>
  122. <handler name="FILE"/>
  123. </handlers>
  124. </root-logger>
  125. <formatter name="PATTERN">
  126. <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
  127. </formatter>
  128. <formatter name="COLOR-PATTERN">
  129. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
  130. </formatter>
  131. </subsystem>
  132. <subsystem xmlns="urn:jboss:domain:batch-jberet:1.0">
  133. <default-job-repository name="in-memory"/>
  134. <default-thread-pool name="batch"/>
  135. <job-repository name="in-memory">
  136. <in-memory/>
  137. </job-repository>
  138. <thread-pool name="batch">
  139. <max-threads count="10"/>
  140. <keepalive-time time="30" unit="seconds"/>
  141. </thread-pool>
  142. </subsystem>
  143. <subsystem xmlns="urn:jboss:domain:bean-validation:1.0"/>
  144. <subsystem xmlns="urn:jboss:domain:datasources:4.0">
  145. <datasources>
  146. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  147. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
  148. <driver>h2</driver>
  149. <security>
  150. <user-name>sa</user-name>
  151. <password>sa</password>
  152. </security>
  153. </datasource>
  154. <drivers>
  155. <driver name="h2" module="com.h2database.h2">
  156. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  157. </driver>
  158. </drivers>
  159. </datasources>
  160. </subsystem>
  161. <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
  162. <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>
  163. </subsystem>
  164. <subsystem xmlns="urn:jboss:domain:ee:4.0">
  165. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  166. <concurrent>
  167. <context-services>
  168. <context-service name="default" jndi-name="java:jboss/ee/concurrency/context/default" use-transaction-setup-provider="true"/>
  169. </context-services>
  170. <managed-thread-factories>
  171. <managed-thread-factory name="default" jndi-name="java:jboss/ee/concurrency/factory/default" context-service="default"/>
  172. </managed-thread-factories>
  173. <managed-executor-services>
  174. <managed-executor-service name="default" jndi-name="java:jboss/ee/concurrency/executor/default" context-service="default" hung-task-threshold="60000" keepalive-time="5000"/>
  175. </managed-executor-services>
  176. <managed-scheduled-executor-services>
  177. <managed-scheduled-executor-service name="default" jndi-name="java:jboss/ee/concurrency/scheduler/default" context-service="default" hung-task-threshold="60000" keepalive-time="3000"/>
  178. </managed-scheduled-executor-services>
  179. </concurrent>
  180. <default-bindings context-service="java:jboss/ee/concurrency/context/default" datasource="java:jboss/datasources/ExampleDS" jms-connection-factory="java:jboss/DefaultJMSConnectionFactory" managed-executor-service="java:jboss/ee/concurrency/executor/default" managed-scheduled-executor-service="java:jboss/ee/concurrency/scheduler/default" managed-thread-factory="java:jboss/ee/concurrency/factory/default"/>
  181. </subsystem>
  182. <subsystem xmlns="urn:jboss:domain:ejb3:4.0">
  183. <session-bean>
  184. <stateless>
  185. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  186. </stateless>
  187. <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>
  188. <singleton default-access-timeout="5000"/>
  189. </session-bean>
  190. <mdb>
  191. <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/>
  192. <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
  193. </mdb>
  194. <pools>
  195. <bean-instance-pools>
  196. <strict-max-pool name="slsb-strict-max-pool" derive-size="from-worker-pools" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  197. <strict-max-pool name="mdb-strict-max-pool" derive-size="from-cpu-count" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  198. </bean-instance-pools>
  199. </pools>
  200. <caches>
  201. <cache name="simple"/>
  202. <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
  203. </caches>
  204. <passivation-stores>
  205. <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
  206. </passivation-stores>
  207. <async thread-pool-name="default"/>
  208. <timer-service thread-pool-name="default" default-data-store="default-file-store">
  209. <data-stores>
  210. <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
  211. </data-stores>
  212. </timer-service>
  213. <remote connector-ref="http-remoting-connector" thread-pool-name="default"/>
  214. <thread-pools>
  215. <thread-pool name="default">
  216. <max-threads count="10"/>
  217. <keepalive-time time="100" unit="milliseconds"/>
  218. </thread-pool>
  219. </thread-pools>
  220. <iiop enable-by-default="false" use-qualified-name="false"/>
  221. <default-security-domain value="other"/>
  222. <default-missing-method-permissions-deny-access value="true"/>
  223. <log-system-exceptions value="true"/>
  224. </subsystem>
  225. <subsystem xmlns="urn:jboss:domain:io:1.1">
  226. <worker name="default"/>
  227. <buffer-pool name="default"/>
  228. </subsystem>
  229. <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
  230. <cache-container name="server" default-cache="default" module="org.wildfly.clustering.server">
  231. <local-cache name="default">
  232. <transaction mode="BATCH"/>
  233. </local-cache>
  234. </cache-container>
  235. <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">
  236. <local-cache name="passivation">
  237. <locking isolation="REPEATABLE_READ"/>
  238. <transaction mode="BATCH"/>
  239. <file-store passivation="true" purge="false"/>
  240. </local-cache>
  241. <local-cache name="persistent">
  242. <locking isolation="REPEATABLE_READ"/>
  243. <transaction mode="BATCH"/>
  244. <file-store passivation="false" purge="false"/>
  245. </local-cache>
  246. <local-cache name="concurrent">
  247. <file-store passivation="true" purge="false"/>
  248. </local-cache>
  249. </cache-container>
  250. <cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
  251. <local-cache name="passivation">
  252. <locking isolation="REPEATABLE_READ"/>
  253. <transaction mode="BATCH"/>
  254. <file-store passivation="true" purge="false"/>
  255. </local-cache>
  256. <local-cache name="persistent">
  257. <locking isolation="REPEATABLE_READ"/>
  258. <transaction mode="BATCH"/>
  259. <file-store passivation="false" purge="false"/>
  260. </local-cache>
  261. </cache-container>
  262. <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
  263. <local-cache name="entity">
  264. <transaction mode="NON_XA"/>
  265. <eviction strategy="LRU" max-entries="10000"/>
  266. <expiration max-idle="100000"/>
  267. </local-cache>
  268. <local-cache name="local-query">
  269. <eviction strategy="LRU" max-entries="10000"/>
  270. <expiration max-idle="100000"/>
  271. </local-cache>
  272. <local-cache name="timestamps"/>
  273. </cache-container>
  274. </subsystem>
  275. <subsystem xmlns="urn:jboss:domain:iiop-openjdk:1.0">
  276. <orb socket-binding="iiop" ssl-socket-binding="iiop-ssl"/>
  277. <initializers security="identity" transactions="spec"/>
  278. </subsystem>
  279. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  280. <subsystem xmlns="urn:jboss:domain:jca:4.0">
  281. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  282. <bean-validation enabled="true"/>
  283. <default-workmanager>
  284. <short-running-threads>
  285. <core-threads count="50"/>
  286. <queue-length count="50"/>
  287. <max-threads count="50"/>
  288. <keepalive-time time="10" unit="seconds"/>
  289. </short-running-threads>
  290. <long-running-threads>
  291. <core-threads count="50"/>
  292. <queue-length count="50"/>
  293. <max-threads count="50"/>
  294. <keepalive-time time="10" unit="seconds"/>
  295. </long-running-threads>
  296. </default-workmanager>
  297. <cached-connection-manager/>
  298. </subsystem>
  299. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  300. <subsystem xmlns="urn:jboss:domain:jmx:1.3">
  301. <expose-resolved-model/>
  302. <expose-expression-model/>
  303. <remoting-connector/>
  304. </subsystem>
  305. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  306. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  307. </subsystem>
  308. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  309. <subsystem xmlns="urn:jboss:domain:jsr77:1.0"/>
  310. <subsystem xmlns="urn:jboss:domain:mail:2.0">
  311. <mail-session name="default" jndi-name="java:jboss/mail/Default">
  312. <smtp-server outbound-socket-binding-ref="mail-smtp" ssl="true" username="guillaume5524@gmail.com" password="" />
  313. </mail-session>
  314. </subsystem>
  315. <subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">
  316. <server name="default">
  317. <security-setting name="#">
  318. <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/>
  319. </security-setting>
  320. <address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760" page-size-bytes="2097152" message-counter-history-day-limit="10"/>
  321. <http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/>
  322. <http-connector name="http-connector-throughput" socket-binding="http" endpoint="http-acceptor-throughput">
  323. <param name="batch-delay" value="50"/>
  324. </http-connector>
  325. <in-vm-connector name="in-vm" server-id="0"/>
  326. <http-acceptor name="http-acceptor" http-listener="default"/>
  327. <http-acceptor name="http-acceptor-throughput" http-listener="default">
  328. <param name="batch-delay" value="50"/>
  329. <param name="direct-deliver" value="false"/>
  330. </http-acceptor>
  331. <in-vm-acceptor name="in-vm" server-id="0"/>
  332. <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/>
  333. <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/>
  334. <jms-topic name="MailTopic" entries="java:/jms/topic/Mail java:jboss/exported/jms/topic/Mail"/>
  335. <jms-topic name="NotificationTopic" entries="java:/jms/topic/Notification java:jboss/exported/jms/topic/Notification"/>
  336. <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/>
  337. <connection-factory name="RemoteConnectionFactory" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="http-connector"/>
  338. <pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm" transaction="xa"/>
  339. </server>
  340. </subsystem>
  341. <subsystem xmlns="urn:jboss:domain:naming:2.0">
  342. <remote-naming/>
  343. </subsystem>
  344. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  345. <subsystem xmlns="urn:jboss:domain:remoting:3.0">
  346. <endpoint/>
  347. <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
  348. </subsystem>
  349. <subsystem xmlns="urn:jboss:domain:resource-adapters:4.0"/>
  350. <subsystem xmlns="urn:jboss:domain:request-controller:1.0"/>
  351. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  352. <subsystem xmlns="urn:jboss:domain:security-manager:1.0">
  353. <deployment-permissions>
  354. <maximum-set>
  355. <permission class="java.security.AllPermission"/>
  356. </maximum-set>
  357. </deployment-permissions>
  358. </subsystem>
  359. <subsystem xmlns="urn:jboss:domain:security:1.2">
  360. <security-domains>
  361. <security-domain name="other" cache-type="default">
  362. <authentication>
  363. <login-module code="Remoting" flag="optional">
  364. <module-option name="password-stacking" value="useFirstPass"/>
  365. </login-module>
  366. <login-module code="RealmDirect" flag="required">
  367. <module-option name="password-stacking" value="useFirstPass"/>
  368. </login-module>
  369. </authentication>
  370. </security-domain>
  371. <security-domain name="jboss-web-policy" cache-type="default">
  372. <authorization>
  373. <policy-module code="Delegating" flag="required"/>
  374. </authorization>
  375. </security-domain>
  376. <security-domain name="jboss-ejb-policy" cache-type="default">
  377. <authorization>
  378. <policy-module code="Delegating" flag="required"/>
  379. </authorization>
  380. </security-domain>
  381. <security-domain name="jaspitest" cache-type="default">
  382. <authentication-jaspi>
  383. <login-module-stack name="dummy">
  384. <login-module code="Dummy" flag="optional"/>
  385. </login-module-stack>
  386. <auth-module code="Dummy"/>
  387. </authentication-jaspi>
  388. </security-domain>
  389. <security-domain name="filestore" cache-type="default">
  390. <authentication>
  391. <login-module code="UsersRoles" flag="sufficient">
  392. <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
  393. <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>
  394. <module-option name="hashUserPassword" value="false"/>
  395. </login-module>
  396. <login-module code="Identity" flag="required">
  397. <module-option name="principal" value="guest"/>
  398. <module-option name="roles" value="guest"/>
  399. </login-module>
  400. </authentication>
  401. </security-domain>
  402. </security-domains>
  403. </subsystem>
  404. <subsystem xmlns="urn:jboss:domain:transactions:3.0">
  405. <core-environment>
  406. <process-id>
  407. <uuid/>
  408. </process-id>
  409. </core-environment>
  410. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  411. </subsystem>
  412. <subsystem xmlns="urn:jboss:domain:undertow:3.1">
  413. <buffer-cache name="default"/>
  414. <server name="default-server">
  415. <http-listener name="default" socket-binding="http" max-post-size="25485760000" redirect-socket="https" enable-http2="true"/>
  416. <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
  417. <host name="default-host" alias="localhost">
  418. <location name="/" handler="welcome-content"/>
  419. <filter-ref name="server-header"/>
  420. <filter-ref name="x-powered-by-header"/>
  421. </host>
  422. </server>
  423. <servlet-container name="default">
  424. <jsp-config/>
  425. <websockets/>
  426. </servlet-container>
  427. <handlers>
  428. <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
  429. </handlers>
  430. <filters>
  431. <response-header name="server-header" header-name="Server" header-value="WildFly/10"/>
  432. <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
  433. </filters>
  434. </subsystem>
  435. <subsystem xmlns="urn:jboss:domain:webservices:2.0">
  436. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  437. <endpoint-config name="Standard-Endpoint-Config"/>
  438. <endpoint-config name="Recording-Endpoint-Config">
  439. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  440. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  441. </pre-handler-chain>
  442. </endpoint-config>
  443. <client-config name="Standard-Client-Config"/>
  444. </subsystem>
  445. <subsystem xmlns="urn:jboss:domain:weld:3.0"/>
  446. </profile>
  447.  
  448. <interfaces>
  449. <interface name="management">
  450. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  451. </interface>
  452. <interface name="public">
  453. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  454. </interface>
  455. <interface name="unsecure">
  456. <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  457. </interface>
  458. </interfaces>
  459.  
  460. <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
  461. <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
  462. <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
  463. <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
  464. <socket-binding name="http" port="${jboss.http.port:8080}"/>
  465. <socket-binding name="https" port="${jboss.https.port:8443}"/>
  466. <socket-binding name="iiop" interface="unsecure" port="3528"/>
  467. <socket-binding name="iiop-ssl" interface="unsecure" port="3529"/>
  468. <socket-binding name="txn-recovery-environment" port="4712"/>
  469. <socket-binding name="txn-status-manager" port="4713"/>
  470. <outbound-socket-binding name="mail-smtp">
  471. <remote-destination host="localhost" port="465"/>
  472. </outbound-socket-binding>
  473. </socket-binding-group>
  474.  
  475. </server>
RAW Paste Data