standalone.xml error
vpolakis Jan 21, 2013 9:33 AMHi,
i have a (probably siily) problem, sorry i a newbie in Jboss.
I am trying to migrate from jboss 4to 7 so i choose to declare one module for each jar that were included in JBOSS_HOME\lib dir.
i have created the path ...\modules\itil\foo\main\module.xml
<module xmlns="urn:jboss:module:1.1" name="itil.foo">
<resources>
<resource-root path="commons-codec.jar"/>
<!-- Insert resources here -->
</resources>
</module>
and want to add (as global) in standalone.xml
<subsystem xmlns="urn:jboss:domain:ee:1.0" > | ||
<global-modules> | ||
<module name="itil.foo" slot="main" /> | ||
</global-modules> | ||
</subsystem> |
but i get a Message: JBAS014660: Duplicate subsystem declaration in the line that my new subsystem starts (in standalone.xml)
when i comment out the :
<subsystem xmlns="urn:jboss:domain:ee:1.0"/> | |
<subsystem xmlns="urn:jboss:domain:ejb3:1.2"> | |
<session-bean> | |
<stateless> | |
<bean-instance-pool-ref pool-name="slsb-strict-max-pool"/> | |
</stateless> | |
<stateful default-access-timeout="5000" cache-ref="simple"/> | |
<singleton default-access-timeout="5000"/> | |
</session-bean> | |
<pools> | |
<bean-instance-pools> | |
<strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> | |
<strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> | |
</bean-instance-pools> | |
</pools> | |
<caches> | |
<cache name="simple" aliases="NoPassivationCache"/> | |
<cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/> | |
</caches> | |
<passivation-stores> | |
<file-passivation-store name="file"/> | |
</passivation-stores> | |
<async thread-pool-name="default"/> | |
<timer-service thread-pool-name="default"> | |
<data-store path="timer-service-data" relative-to="jboss.server.data.dir"/> | |
</timer-service> | |
<remote connector-ref="remoting-connector" thread-pool-name="default"/> | |
<thread-pools> | |
<thread-pool name="default"> | |
<max-threads count="10"/> | |
<keepalive-time time="100" unit="milliseconds"/> | |
</thread-pool> | |
</thread-pools> | |
</subsystem> |
Jboss starts but i guess i am doing something wrong??
thx in advance