Commit 5d48046aea1050a5f50216fde59703d484b75457

Authored by Krzysztof Miksa
0 parents

created trunk directory and moved whole repo to it

Showing 100 changed files with 3282 additions and 0 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

  1 +#Fri Feb 23 14:56:36 CET 2007
  2 +default.configuration=seamTestInAction
  3 +eclipse.preferences.version=1
  4 +hibernate3.enabled=true
... ...
  1 +#Wed Aug 06 19:35:32 BST 2008
  2 +action.package=pl.labno.bernard.seamTestInAction
  3 +action.sources=/seamTestInAction/src/hot
  4 +eclipse.preferences.version=1
  5 +model.package=pl.labno.bernard.seamTestInAction
  6 +model.sources=/seamTestInAction/src/main
  7 +seam.ejb.project=seamTestInAction
  8 +seam.project.connection.profile=
  9 +seam.project.deployment.type=war
  10 +seam.project.settings.version=1.1
  11 +seam.project.web.root.folder=/seamTestInAction/view
  12 +seam.runtime.name=
  13 +seam.test.creating=true
  14 +seam.test.project=seamTestInAction
  15 +test.package=pl.labno.bernard.seamTestInAction.test
  16 +test.sources=/seamTestInAction/src/test
... ...
  1 +hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
  2 +#hibernate.connection.release_mode=after_statement
  3 +#hibernate.transaction.flush_before_completion=false
  4 +#hibernate.transaction.auto_close_session=false
  5 +#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
  6 +#hibernate.hbm2ddl.auto=create-drop
  7 +#hibernate.hbm2ddl.auto=create
  8 +hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
  9 +# Clustered cache with TreeCache
  10 +#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
  11 +#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
  12 +#hibernate.dialect=org.hibernate.dialect.HSQLDialect
  13 +hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  14 +hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  15 +hibernate.bytecode.use_reflection_optimizer=false
  16 +# I don't think this is honored, but EJB3Deployer uses it
  17 +hibernate.bytecode.provider=javassist
\ No newline at end of file
... ...
  1 +# The Sun JSF RI bundles and wraps commons-logging, which, for unknown reasons, disables any other
  2 +# commons-logging (my guess: the LogFactoryImpl detection routine is broken). This configuration
  3 +# file makes it work again (also for unknown reasons).
  4 +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
  5 +org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
\ No newline at end of file
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + The bootstrap of the server
  5 +-->
  6 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  7 +
  8 + <bean name="SystemProperties" class="org.jboss.embedded.util.SystemProperties">
  9 + <property name="properties">
  10 + <map keyClass="java.lang.String" valueClass="java.lang.String">
  11 + <entry>
  12 + <key>jboss.bind.address</key>
  13 + <value>127.0.0.1</value>
  14 + </entry>
  15 + <entry>
  16 + <key>com.arjuna.ats.arjuna.common.propertiesFile</key>
  17 + <value>${jboss.home.dir}/conf/jbossjta-properties.xml</value>
  18 + </entry>
  19 + <entry>
  20 + <key>com.arjuna.ats.arjuna.objectstore.objectStoreDir</key>
  21 + <value>${jboss.server.data.dir}/ObjectStore</value>
  22 + </entry>
  23 + </map>
  24 + </property>
  25 + </bean>
  26 +
  27 + <!-- The legacy JMX kernel -->
  28 + <bean name="JMXKernel" class="org.jboss.embedded.adapters.JMXKernel">
  29 + <property name="kernel">
  30 + <inject bean="jboss.kernel:service=Kernel"/>
  31 + </property>
  32 + <property name="serverConfig">
  33 + <inject bean="ServerConfig"/>
  34 + </property>
  35 + </bean>
  36 +
  37 + <!-- The MainDeployer -->
  38 + <bean name="MainDeployer" class="org.jboss.deployers.plugins.main.MainDeployerImpl">
  39 + <property name="structuralDeployers"><inject bean="StructuralDeployers"/></property>
  40 + <property name="deployers"><inject bean="Deployers"/></property>
  41 + </bean>
  42 +
  43 + <!-- The holder for deployers that determine structure -->
  44 + <bean name="StructuralDeployers" class="org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl">
  45 + <property name="structureBuilder">
  46 + <!-- The consolidator of the structure information -->
  47 + <bean name="StructureBuilder" class="org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder"/>
  48 + </property>
  49 + <!-- Accept any implementor of structure deployer -->
  50 + <incallback method="addDeployer"/>
  51 + <uncallback method="removeDeployer"/>
  52 + </bean>
  53 +
  54 + <!-- The holder for deployers that do real deployment -->
  55 + <bean name="Deployers" class="org.jboss.deployers.plugins.deployers.DeployersImpl">
  56 + <constructor><parameter><inject bean="jboss.kernel:service=KernelController"/></parameter></constructor>
  57 + <!-- Accept any implementor of deployer -->
  58 + <incallback method="addDeployer"/>
  59 + <uncallback method="removeDeployer"/>
  60 + </bean>
  61 +
  62 + <!-- A declared structure descriptor deployer -->
  63 + <bean name="DeclaredStructure" class="org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure"></bean>
  64 +
  65 + <!-- JAR Structure -->
  66 + <bean name="JARStructure" class="org.jboss.deployers.vfs.plugins.structure.jar.JARStructure">
  67 + <!-- Unless specified the default list of suffixes is .zip, .ear, .jar, ,.rar, .war, .sar, .har, .aop -->
  68 + <constructor>
  69 + <parameter>
  70 + <set elementClass="java.lang.String">
  71 + <value>.zip</value>
  72 + <value>.ear</value>
  73 + <value>.jar</value>
  74 + <value>.rar</value>
  75 + <value>.war</value>
  76 + <value>.sar</value>
  77 + <value>.har</value>
  78 + <value>.aop</value>
  79 + <value>.deployer</value>
  80 + <value>.beans</value>
  81 + </set>
  82 + </parameter>
  83 + </constructor>
  84 + <property name="candidateStructureVisitorFactory">
  85 + <!-- Any file that is not an ordinary directory is a candidate -->
  86 + <bean name="JARStructureCandidates" class="org.jboss.deployers.vfs.spi.structure.helpers.DefaultCandidateStructureVisitorFactory">
  87 + <!-- A filter to exclude some obvious non-subdeployments -->
  88 + <property name="filter">
  89 + <bean name="JARFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixesExcludeFilter">
  90 + <constructor><parameter>
  91 + <list elementClass="java.lang.String">
  92 + <!-- Exclude class files as subdeployments -->
  93 + <value>.class</value>
  94 + </list>
  95 + </parameter></constructor>
  96 + </bean>
  97 + </property>
  98 + </bean>
  99 + </property>
  100 + </bean>
  101 +
  102 + <!-- File Structure -->
  103 + <bean name="FileStructure" class="org.jboss.deployers.vfs.plugins.structure.file.FileStructure">
  104 + <!-- Unless specified the default list of suffixes is -service.xml, -beans.xml, -ds.xml, -aop.xml -->
  105 + <constructor>
  106 + <parameter>
  107 + <set elementClass="java.lang.String">
  108 + <value>-service.xml</value>
  109 + <value>-beans.xml</value>
  110 + <value>-ds.xml</value>
  111 + <value>-aop.xml</value>
  112 + </set>
  113 + </parameter>
  114 + </constructor>
  115 + </bean>
  116 +
  117 + <!-- POJO Deployment -->
  118 + <bean name="BeanDeployer" class="org.jboss.deployers.vfs.deployer.kernel.BeanDeployer">
  119 + <property name="type">beans</property>
  120 + </bean>
  121 + <bean name="KernelDeploymentDeployer" class="org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer">
  122 + <property name="type">beans</property>
  123 + </bean>
  124 + <bean name="BeanMetaDataDeployer" class="org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer">
  125 + <constructor><parameter><inject bean="jboss.kernel:service=Kernel"/></parameter></constructor>
  126 + <property name="type">beans</property>
  127 + </bean>
  128 +
  129 + <!-- JMX Deployment -->
  130 + <bean name="SARDeployer" class="org.jboss.system.deployers.SARDeployer">
  131 + <property name="type">sar</property>
  132 + </bean>
  133 + <bean name="ServiceClassLoaderDeployer" class="org.jboss.embedded.ClassLoaderDeployer"/>
  134 + <bean name="ServiceDeploymentDeployer" class="org.jboss.system.deployers.ServiceDeploymentDeployer">
  135 + <property name="type">sar</property>
  136 + </bean>
  137 + <bean name="ServiceDeployer" class="org.jboss.system.deployers.ServiceDeployer">
  138 + <constructor><parameter><inject bean="JMXKernel" property="serviceController"/></parameter></constructor>
  139 + <property name="type">sar</property>
  140 + </bean>
  141 +
  142 + <!-- A filter for excluding files from the scanner -->
  143 + <bean name="DeploymentFilter" class="org.jboss.virtual.plugins.vfs.helpers.ExtensibleFilter">
  144 + <!-- Files starting with theses strings are ignored -->
  145 + <property name="prefixes">#,%,\,,.,_$</property>
  146 + <!-- Files ending with theses strings are ignored -->
  147 + <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
  148 + <!-- Files matching with theses strings are ignored -->
  149 + <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
  150 + </bean>
  151 +
  152 + <!--
  153 + JNDI Initialization of basic beans (NO REMOTING)
  154 + -->
  155 + <bean name="Naming" class="org.jnp.server.SingletonNamingServer"/>
  156 + <bean name="java:comp" class="org.jboss.naming.JavaCompInitializer"/>
  157 +
  158 + <!-- register Naming bean with dispatcher just in case we want to have a remote JNDI connection -->
  159 + <bean name="JndiRegistration" class="org.jboss.aspects.remoting.DispatcherRegistration">
  160 + <property name="oid">JNDI</property>
  161 + <property name="target"><inject bean="Naming"/></property>
  162 + </bean>
  163 +
  164 + <!--
  165 + Bootstrap old JMX-based core services
  166 + setup deployers
  167 + setup deploy/ directory
  168 + -->
  169 + <bean name="ResourcesToDeploy" class="org.jboss.embedded.DeploymentScanner">
  170 + <property name="filter">
  171 + <inject bean="DeploymentFilter"/>
  172 + </property>
  173 + <property name="mainDeployer">
  174 + <inject bean="MainDeployer"/>
  175 + </property>
  176 + <property name="kernel">
  177 + <inject bean="jboss.kernel:service=Kernel"/>
  178 + </property>
  179 + <property name="resources">
  180 + <list elementClass="java.lang.String">
  181 + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml</value>
  182 + </list>
  183 + </property>
  184 + </bean>
  185 +
  186 + <bean name="UserTransaction" class="org.jboss.embedded.adapters.LocalOnlyUserTransaction"/>
  187 +
  188 + <bean name="UserTransactionBinding" class="org.jboss.naming.JndiBinder">
  189 + <property name="target">
  190 + <inject bean="UserTransaction"/>
  191 + </property>
  192 + <property name="bindTo">UserTransaction</property>
  193 + <property name="serializable">false</property>
  194 + </bean>
  195 +
  196 + <!-- FIXME EMB-2 -->
  197 + <bean name="UserTransactionBinding2" class="org.jboss.naming.JndiBinder">
  198 + <property name="target">
  199 + <inject bean="UserTransaction"/>
  200 + </property>
  201 + <property name="bindTo">java:comp/UserTransaction</property>
  202 + <property name="serializable">false</property>
  203 + </bean>
  204 +
  205 +
  206 + <bean name="ResourcesToDeploy2" class="org.jboss.embedded.DeploymentScanner">
  207 + <property name="filter">
  208 + <inject bean="DeploymentFilter"/>
  209 + </property>
  210 + <property name="mainDeployer">
  211 + <inject bean="MainDeployer"/>
  212 + </property>
  213 + <property name="kernel">
  214 + <inject bean="jboss.kernel:service=Kernel"/>
  215 + </property>
  216 + <property name="directoriesByResource">
  217 + <list elementClass="java.lang.String">
  218 + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml/../deployers</value>
  219 + </list>
  220 + </property>
  221 + </bean>
  222 + <bean name="ResourcesToDeploy3" class="org.jboss.embedded.DeploymentScanner">
  223 + <property name="filter">
  224 + <inject bean="DeploymentFilter"/>
  225 + </property>
  226 + <property name="mainDeployer">
  227 + <inject bean="MainDeployer"/>
  228 + </property>
  229 + <property name="kernel">
  230 + <inject bean="jboss.kernel:service=Kernel"/>
  231 + </property>
  232 + <property name="directoriesByResource">
  233 + <list elementClass="java.lang.String">
  234 + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml/../deploy</value>
  235 + </list>
  236 + </property>
  237 + </bean>
  238 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!-- $Id: jboss-service.xml 6916 2007-12-05 17:53:00Z pmuir $ -->
  4 +
  5 +<!-- ===================================================================== -->
  6 +<!-- JBoss Server Configuration -->
  7 +<!-- ===================================================================== -->
  8 +
  9 +<server>
  10 +
  11 + <!-- ==================================================================== -->
  12 + <!-- Main Deployer -->
  13 + <!-- ==================================================================== -->
  14 + <mbean code="org.jboss.deployment.MainDeployer"
  15 + name="jboss.system:service=MainDeployer">
  16 + <!-- This is used to delegate the deployment handling -->
  17 + <attribute name="KernelMainDeployer"><inject bean="MainDeployer" /></attribute>
  18 + </mbean>
  19 +
  20 + <!-- ==================================================================== -->
  21 + <!-- SAR Deployer -->
  22 + <!-- ==================================================================== -->
  23 + <mbean code="org.jboss.deployment.SARDeployer"
  24 + name="jboss.system:service=ServiceDeployer">
  25 + <depends>jboss.system:service=MainDeployer</depends>
  26 + </mbean>
  27 +
  28 + <!-- ==================================================================== -->
  29 + <!-- Security -->
  30 + <!-- ==================================================================== -->
  31 +
  32 + <mbean code="org.jboss.security.plugins.SecurityConfig"
  33 + name="jboss.security:service=SecurityConfig">
  34 + <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
  35 + <depends>jboss.security:service=XMLLoginConfig</depends>
  36 + </mbean>
  37 + <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
  38 + name="jboss.security:service=XMLLoginConfig">
  39 + <attribute name="ConfigResource">${jboss.embedded.bootstrap.resource.path}conf/login-config.xml</attribute>
  40 + </mbean>
  41 +
  42 + <!-- JAAS security manager and realm mapping -->
  43 + <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
  44 + name="jboss.security:service=JaasSecurityManager">
  45 + <!-- A flag which indicates whether the SecurityAssociation server mode
  46 + is set on service creation. This is true by default since the
  47 + SecurityAssociation should be thread local for multi-threaded server
  48 + operation.
  49 + -->
  50 + <attribute name="ServerMode">true</attribute>
  51 + <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
  52 + <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
  53 + <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
  54 + in seconds.
  55 + If you want to disable caching of security credentials, set this to 0 to
  56 + force authentication to occur every time. This has no affect if the
  57 + AuthenticationCacheJndiName has been changed from the default value.
  58 + -->
  59 + <attribute name="DefaultCacheTimeout">1800</attribute>
  60 + <!-- DefaultCacheResolution: Specifies the default timed cache policy
  61 + resolution in seconds. This controls the interval at which the cache
  62 + current timestamp is updated and should be less than the DefaultCacheTimeout
  63 + in order for the timeout to be meaningful. This has no affect if the
  64 + AuthenticationCacheJndiName has been changed from the default value.
  65 + -->
  66 + <attribute name="DefaultCacheResolution">60</attribute>
  67 + <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
  68 + security managers to be deep copies that makes copies of the subject
  69 + principals and credentials if they are cloneable. It should be set to
  70 + true if subject include mutable content that can be corrupted when
  71 + multiple threads have the same identity and cache flushes/logout clearing
  72 + the subject in one thread results in subject references affecting other
  73 + threads.
  74 + -->
  75 + <attribute name="DeepCopySubjectMode">false</attribute>
  76 + </mbean>
  77 +
  78 + <!-- Authorization manager-->
  79 + <mbean code="org.jboss.security.plugins.AuthorizationManagerService"
  80 + name="jboss.security:service=AuthorizationManager">
  81 + <attribute name="AuthorizationManagerClassName">org.jboss.security.plugins.JBossAuthorizationManager</attribute>
  82 + </mbean>
  83 +
  84 + <!-- ==================================================================== -->
  85 + <!-- Transactions -->
  86 + <!-- ==================================================================== -->
  87 +
  88 + <!-- JBossTS JTA -->
  89 + <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
  90 + name="jboss:service=TransactionManager">
  91 + <attribute name="TransactionTimeout">300</attribute>
  92 + <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
  93 + </mbean>
  94 +
  95 + <mbean code="org.jboss.util.threadpool.BasicThreadPool"
  96 + name="jboss.jca:service=WorkManagerThreadPool">
  97 + <!-- The name that appears in thread names -->
  98 + <attribute name="Name">WorkManager</attribute>
  99 + <!-- The maximum amount of work in the queue -->
  100 + <attribute name="MaximumQueueSize">1024</attribute>
  101 + <!-- The maximum number of active threads -->
  102 + <attribute name="MaximumPoolSize">100</attribute>
  103 + <!-- How long to keep threads alive after their last work (default one minute) -->
  104 + <attribute name="KeepAliveTime">60000</attribute>
  105 + </mbean>
  106 +
  107 + <mbean code="org.jboss.resource.work.JBossWorkManager"
  108 + name="jboss.jca:service=WorkManager">
  109 + <depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
  110 + <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
  111 + </mbean>
  112 +
  113 + <!--
  114 + | The CachedConnectionManager is used partly to relay started UserTransactions to
  115 + | open connections so they may be enrolled in the new tx.
  116 + -->
  117 + <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
  118 + name="jboss.jca:service=CachedConnectionManager">
  119 + <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
  120 +
  121 + <!-- Enable connection close debug monitoring -->
  122 + <attribute name="Debug">true</attribute>
  123 +
  124 + </mbean>
  125 +
  126 + <mbean code="org.jboss.naming.JNDIView"
  127 + name="jboss:service=JNDIView">
  128 + <!-- The HANamingService service name -->
  129 + <attribute name="HANamingService">jboss:service=HAJNDI</attribute>
  130 + </mbean>
  131 +
  132 +</server>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transaction-service>
  3 + <properties depends="common" name="arjuna">
  4 + <!--
  5 + Transaction Reaper Timeout (default is 120000 ms).
  6 + -->
  7 + <property
  8 + name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="120000"/>
  9 + <!--
  10 + Transaction Reaper Mode, can be: NORMAL or DYNAMIC (default is NORMAL).
  11 + -->
  12 + <property name="com.arjuna.ats.arjuna.coordinator.txReaperMode" value="DYNAMIC"/>
  13 + <!--
  14 + Transaction Reaper Cancel Wait Period (default is 500 ms, min is 10 msecs).
  15 + -->
  16 + <property
  17 + name="com.arjuna.ats.arjuna.coordinator.txReaperCancelWaitPeriod" value="500"/>
  18 + <!--
  19 + Transaction Reaper Cancel Fail Wait Period (default is 500 ms, min is 10 msecs).
  20 + -->
  21 + <property
  22 + name="com.arjuna.ats.arjuna.coordinator.txReaperCancelFailWaitPeriod" value="500"/>
  23 + <!--
  24 + Transaction Reaper Zombie Max (default is 8).
  25 + -->
  26 + <property
  27 + name="com.arjuna.ats.arjuna.coordinator.txReaperZombieMax" value="8"/>
  28 + <!--
  29 + (default is NO)
  30 + -->
  31 + <property name="com.arjuna.ats.arjuna.coordinator.asyncCommit" value="NO"/>
  32 + <!--
  33 + (default is NO)
  34 + -->
  35 + <property name="com.arjuna.ats.arjuna.coordinator.asyncPrepare" value="NO"/>
  36 + <!--
  37 + (default is YES)
  38 + -->
  39 + <property
  40 + name="com.arjuna.ats.arjuna.coordinator.commitOnePhase" value="YES"/>
  41 + <!--
  42 + (default is defaultStore)
  43 + -->
  44 + <property name="com.arjuna.ats.arjuna.objectstore.localOSRoot" value="defaultStore"/>
  45 + <!--
  46 + default is under user.home - must be writeable!)
  47 + -->
  48 + <property
  49 + name="com.arjuna.ats.arjuna.objectstore.objectStoreDir" value="PutObjectStoreDirHere"/>
  50 + <!--
  51 + (default is ON)
  52 + -->
  53 + <property
  54 + name="com.arjuna.ats.arjuna.objectstore.objectStoreSync" value="ON"/>
  55 + <!--
  56 + (default is ShadowNoFileLockStore)
  57 + -->
  58 + <property
  59 + name="com.arjuna.ats.arjuna.objectstore.objectStoreType" value="ShadowNoFileLockStore"/>
  60 + <!--
  61 + (default is 255)
  62 + -->
  63 + <property
  64 + name="com.arjuna.ats.arjuna.objectstore.hashedDirectories" value="255"/>
  65 + <!--
  66 + (default is ON)
  67 + -->
  68 + <property
  69 + name="com.arjuna.ats.arjuna.objectstore.transactionSync" value="ON"/>
  70 + <!--
  71 + (Must be unique across all Arjuna instances.)
  72 + -->
  73 + <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="1"/>
  74 + <!-- property
  75 + name="com.arjuna.ats.arjuna.coordinator.actionStore"
  76 + value="HashedActionStore"
  77 + value="JDBCActionStore"
  78 + -->
  79 + <!-- property
  80 + name="com.arjuna.ats.arjuna.objectstore.jdbcTxDbAccess"
  81 + value="JDBCAccess"
  82 + -->
  83 + <!-- property
  84 + name="com.arjuna.ats.arjuna.objectstore.objectStoreType"
  85 + value="ShadowNoFileLockStore"
  86 + value="JDBCStore"
  87 + -->
  88 + <!-- property
  89 + name="com.arjuna.ats.arjuna.objectstore.jdbcUserDbAccess"
  90 + value="JDBCAccess"
  91 + -->
  92 + <!-- property
  93 + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeInitial"
  94 + value="1"
  95 + -->
  96 + <!-- property
  97 + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeMaximum"
  98 + value="1"
  99 + -->
  100 + <!-- property
  101 + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolPutConnections"
  102 + value="false"
  103 + -->
  104 + <!-- property
  105 + name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.size"
  106 + value=""
  107 + -->
  108 + <!-- property
  109 + name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.period"
  110 + value=""
  111 + -->
  112 + <!--
  113 + The location for creating temporary files, e.g., Uids.
  114 + Default is under user.home.
  115 + IMPORTANT: make sure the directory is lockable, e.g., /tmp on Unix
  116 + may not be!
  117 + -->
  118 + <!--
  119 + <property
  120 + name="com.arjuna.ats.arjuna.common.varDir"
  121 + value="var"/>
  122 + -->
  123 + </properties>
  124 + <properties name="common">
  125 + <!-- CLF 2.0 properties -->
  126 + <property name="com.arjuna.common.util.logging.DebugLevel"
  127 + type="System" value="0x00000000"/>
  128 + <property name="com.arjuna.common.util.logging.FacilityLevel"
  129 + type="System" value="0xffffffff"/>
  130 + <property name="com.arjuna.common.util.logging.VisibilityLevel"
  131 + type="System" value="0xffffffff"/>
  132 + <property name="com.arjuna.common.util.logger" type="System" value="log4j"/>
  133 + </properties>
  134 + <properties depends="arjuna" name="txoj">
  135 + <!--
  136 + (default is LockStore of installation - must be writeable!)
  137 + -->
  138 + <!--
  139 + <property
  140 + name="com.arjuna.ats.txoj.lockstore.lockStoreDir"
  141 + value="LockStore"/>
  142 + -->
  143 + <!--
  144 + (default is BasicLockStore)
  145 + -->
  146 + <property name="com.arjuna.ats.txoj.lockstore.lockStoreType" value="BasicLockStore"/>
  147 + <!--
  148 + (default is NO)
  149 + -->
  150 + <property name="com.arjuna.ats.txoj.lockstore.multipleLockStore" value="NO"/>
  151 + <!--
  152 + (default is YES)
  153 + -->
  154 + <property name="com.arjuna.ats.txoj.lockstore.singleLockStore" value="YES"/>
  155 + <!--
  156 + (default is YES)
  157 + -->
  158 + <property
  159 + name="com.arjuna.ats.txoj.lockstore.allowNestedLocking" value="YES"/>
  160 + </properties>
  161 + <properties depends="arjuna" name="jta">
  162 + <!--
  163 + Support subtransactions in the JTA layer?
  164 + Default is NO.
  165 + -->
  166 + <property name="com.arjuna.ats.jta.supportSubtransactions" value="NO"/>
  167 + <property name="com.arjuna.ats.jta.jtaTMImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple"/>
  168 + <!--
  169 + com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple
  170 + -->
  171 + <property name="com.arjuna.ats.jta.jtaUTImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple"/>
  172 + <!--
  173 + com.arjuna.ats.internal.jta.transaction.jts.UserTransactionImple
  174 + -->
  175 + </properties>
  176 + <properties depends="arjuna,txoj,jta" name="recoverymanager">
  177 + <!--
  178 + Properties used only by the RecoveryManager.
  179 + -->
  180 + <!--
  181 + Periodic recovery settings.
  182 + Time values in this section are in seconds.
  183 + -->
  184 + <!--
  185 + Interval in seconds between initiating the periodic recovery modules.
  186 + Default is 120 seconds.
  187 + -->
  188 + <property
  189 + name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="120"/>
  190 + <!--
  191 + Interval in seconds between first and second pass of periodic recovery.
  192 + Default is 10 seconds.
  193 + -->
  194 + <property
  195 + name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="10"/>
  196 + <!--
  197 + Periodic recovery modules to use. Invoked in sort-order of names.
  198 + -->
  199 + <property
  200 + name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"/>
  201 + <property
  202 + name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"/>
  203 + <property
  204 + name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"/>
  205 + <!--
  206 + Expired entry removal
  207 + -->
  208 + <!--
  209 + Expiry scanners to use (order of invocation is random).
  210 + Names must begin with "com.arjuna.ats.arjuna.recovery.expiryScanner"
  211 + -->
  212 + <property
  213 + name="com.arjuna.ats.arjuna.recovery.expiryScannerTransactionStatusManager" value="com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner"/>
  214 + <!--
  215 + Interval, in hours, between running the expiry scanners.
  216 + This can be quite long. The absolute value determines the interval -
  217 + if the value is negative, the scan will NOT be run until after one
  218 + interval has elapsed. If positive the first scan will be immediately
  219 + after startup. Zero will prevent any scanning.
  220 + Default = 12 = run immediately, then every 12 hours.
  221 + -->
  222 + <property
  223 + name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/>
  224 + <!--
  225 + Age, in hours, for removal of transaction status manager item.
  226 + This should be longer than any ts-using process will remain running.
  227 + Zero = Never removed. Default is 12.
  228 + -->
  229 + <property
  230 + name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
  231 + <!--
  232 + Use this to fix the port on which the TransactionStatusManager listens,
  233 + The default behaviour is to use any free port.
  234 + -->
  235 + <property
  236 + name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerPort" value="0"/>
  237 + </properties>
  238 + <properties depends="jta" name="jdbc">
  239 + <!--
  240 + property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_SERIALIZABLE"/>
  241 + -->
  242 + </properties>
  243 +</transaction-service>
... ...
  1 +<?xml version='1.0'?>
  2 +
  3 +<!DOCTYPE policy PUBLIC
  4 + "-//JBoss//DTD JBOSS Security Config 3.0//EN"
  5 + "http://www.jboss.org/j2ee/dtd/security_config.dtd">
  6 +
  7 +<!-- The XML based JAAS login configuration read by the
  8 +org.jboss.security.auth.login.XMLLoginConfig mbean. Add
  9 +an application-policy element for each security domain.
  10 +
  11 +The outline of the application-policy is:
  12 +<application-policy name="security-domain-name">
  13 + <authentication>
  14 + <login-module code="login.module1.class.name" flag="control_flag">
  15 + <module-option name = "option1-name">option1-value</module-option>
  16 + <module-option name = "option2-name">option2-value</module-option>
  17 + ...
  18 + </login-module>
  19 +
  20 + <login-module code="login.module2.class.name" flag="control_flag">
  21 + ...
  22 + </login-module>
  23 + ...
  24 + </authentication>
  25 +</application-policy>
  26 +
  27 +$Revision: 6916 $
  28 +-->
  29 +
  30 +<policy>
  31 + <application-policy name="HsqlDbRealm">
  32 + <authentication>
  33 + <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule"
  34 + flag="required">
  35 + <module-option name="principal">sa</module-option>
  36 + <module-option name="userName">sa</module-option>
  37 + <module-option name="password"></module-option>
  38 + <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
  39 + </login-module>
  40 + </authentication>
  41 + </application-policy>
  42 +
  43 + <application-policy name="messaging">
  44 + <authentication>
  45 + <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
  46 + <module-option name="unauthenticatedIdentity">guest</module-option>
  47 + <module-option name="usersProperties">conf/props/messaging-users.properties</module-option>
  48 + <module-option name="rolesProperties">conf/props/messaging-roles.properties</module-option>
  49 + </login-module>
  50 + </authentication>
  51 + </application-policy>
  52 +
  53 +
  54 + <!-- Used by clients within the application server VM such as
  55 + mbeans and servlets that access EJBs.
  56 + -->
  57 + <application-policy name="client-login">
  58 + <authentication>
  59 + <login-module code="org.jboss.security.ClientLoginModule"
  60 + flag="required">
  61 + <!-- Any existing security context will be restored on logout -->
  62 + <module-option name="restore-login-identity">true</module-option>
  63 + </login-module>
  64 + </authentication>
  65 + </application-policy>
  66 +
  67 + <application-policy name="other">
  68 + <!-- A simple server login module, which can be used when the number
  69 + of users is relatively small. It uses two properties files:
  70 + users.properties, which holds users (key) and their password (value).
  71 + roles.properties, which holds users (key) and a comma-separated list of
  72 + their roles (value).
  73 + The unauthenticatedIdentity property defines the name of the principal
  74 + that will be used when a null username and password are presented as is
  75 + the case for an unuathenticated web client or MDB. If you want to
  76 + allow such users to be authenticated add the property, e.g.,
  77 + unauthenticatedIdentity="nobody"
  78 + -->
  79 + <authentication>
  80 + <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
  81 + flag="required"/>
  82 + </authentication>
  83 + </application-policy>
  84 +
  85 +</policy>
  86 +
... ...
  1 +#
  2 +# user=role1,role2,...
  3 +#
  4 +guest=guest
... ...
  1 +#
  2 +# user=password
  3 +#
  4 +guest=guest
... ...
  1 +/*C3*/SET SCHEMA PUBLIC
  2 +CONNECT USER SA
  3 +/*C4*/SET SCHEMA PUBLIC
  4 +CONNECT USER SA
  5 +SET AUTOCOMMIT FALSE
  6 +INSERT INTO JBM_DUAL VALUES(1)
  7 +COMMIT
  8 +DELETE FROM JBM_COUNTER WHERE NAME='MESSAGE_ID'
  9 +INSERT INTO JBM_COUNTER VALUES('MESSAGE_ID',20480)
  10 +COMMIT
  11 +DELETE FROM JBM_COUNTER WHERE NAME='CHANNEL_ID'
  12 +INSERT INTO JBM_COUNTER VALUES('CHANNEL_ID',50)
  13 +COMMIT
  14 +DELETE FROM JBM_COUNTER WHERE NAME='TRANSACTION_ID'
  15 +INSERT INTO JBM_COUNTER VALUES('TRANSACTION_ID',5120)
  16 +COMMIT
  17 +SET AUTOCOMMIT TRUE
  18 +drop table TAG if exists
  19 +create table TAG (ID bigint generated by default as identity (start with 1), NAME varchar(20) not null, VERSION integer, primary key (ID))
  20 +drop table TAG if exists
  21 +create table TAG (ID bigint generated by default as identity (start with 1), NAME varchar(20) not null, VERSION integer, primary key (ID))
  22 +SET AUTOCOMMIT FALSE
  23 +INSERT INTO TAG VALUES(1,'My new legal act',0)
  24 +COMMIT
... ...
  1 +#HSQL Database Engine 1.8.0.8
  2 +#Wed Sep 23 12:01:20 CEST 2009
  3 +hsqldb.script_format=0
  4 +runtime.gc_interval=0
  5 +sql.enforce_strict_size=false
  6 +hsqldb.cache_size_scale=8
  7 +readonly=false
  8 +hsqldb.nio_data_file=true
  9 +hsqldb.cache_scale=14
  10 +version=1.8.0
  11 +hsqldb.default_table_type=memory
  12 +hsqldb.cache_file_scale=1
  13 +hsqldb.log_size=200
  14 +modified=yes
  15 +hsqldb.cache_version=1.7.0
  16 +hsqldb.original_version=1.8.0
  17 +hsqldb.compatible_version=1.8.0
... ...
  1 +CREATE SCHEMA PUBLIC AUTHORIZATION DBA
  2 +CREATE MEMORY TABLE JBM_DUAL(DUMMY INTEGER)
  3 +CREATE MEMORY TABLE JBM_MSG_REF(CHANNEL_ID BIGINT NOT NULL,MESSAGE_ID BIGINT NOT NULL,TRANSACTION_ID BIGINT,STATE CHAR(1),ORD BIGINT,PAGE_ORD BIGINT,DELIVERY_COUNT INTEGER,SCHED_DELIVERY BIGINT,PRIMARY KEY(CHANNEL_ID,MESSAGE_ID))
  4 +CREATE INDEX JBM_MSG_REF_TX ON JBM_MSG_REF(TRANSACTION_ID)
  5 +CREATE INDEX JBM_MSG_REF_ORD ON JBM_MSG_REF(ORD)
  6 +CREATE INDEX JBM_MSG_REF__PAGE_ORD ON JBM_MSG_REF(PAGE_ORD)
  7 +CREATE INDEX JBM_MSG_REF_MESSAGE_ID ON JBM_MSG_REF(MESSAGE_ID)
  8 +CREATE INDEX JBM_MSG_REF_SCHED_DELIVERY ON JBM_MSG_REF(SCHED_DELIVERY)
  9 +CREATE MEMORY TABLE JBM_MSG(MESSAGE_ID BIGINT NOT NULL PRIMARY KEY,RELIABLE CHAR(1),EXPIRATION BIGINT,TIMESTAMP BIGINT,PRIORITY TINYINT,TYPE TINYINT,INS_TIME BIGINT,HEADERS LONGVARBINARY,PAYLOAD LONGVARBINARY)
  10 +CREATE INDEX JBM_MSG_REF_TIMESTAMP ON JBM_MSG(TIMESTAMP)
  11 +CREATE MEMORY TABLE JBM_TX(NODE_ID INTEGER,TRANSACTION_ID BIGINT NOT NULL PRIMARY KEY,BRANCH_QUAL VARBINARY(254),FORMAT_ID INTEGER,GLOBAL_TXID VARBINARY(254))
  12 +CREATE MEMORY TABLE JBM_COUNTER(NAME VARCHAR(255) NOT NULL PRIMARY KEY,NEXT_ID BIGINT)
  13 +CREATE MEMORY TABLE JBM_USER(USER_ID VARCHAR(32) NOT NULL PRIMARY KEY,PASSWD VARCHAR(32) NOT NULL,CLIENTID VARCHAR(128))
  14 +CREATE MEMORY TABLE JBM_ROLE(ROLE_ID VARCHAR(32) NOT NULL,USER_ID VARCHAR(32) NOT NULL,PRIMARY KEY(USER_ID,ROLE_ID))
  15 +CREATE MEMORY TABLE JBM_POSTOFFICE(POSTOFFICE_NAME VARCHAR(255) NOT NULL,NODE_ID INTEGER NOT NULL,QUEUE_NAME VARCHAR(255) NOT NULL,CONDITION VARCHAR(1023),SELECTOR VARCHAR(1023),CHANNEL_ID BIGINT,CLUSTERED CHAR(1),ALL_NODES CHAR(1),PRIMARY KEY(POSTOFFICE_NAME,NODE_ID,QUEUE_NAME))
  16 +CREATE MEMORY TABLE TAG(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,NAME VARCHAR(20) NOT NULL,VERSION INTEGER)
  17 +ALTER TABLE TAG ALTER COLUMN ID RESTART WITH 2
  18 +CREATE USER SA PASSWORD ""
  19 +GRANT DBA TO SA
  20 +SET WRITE_DELAY 10
  21 +SET SCHEMA PUBLIC
  22 +INSERT INTO JBM_DUAL VALUES(1)
  23 +INSERT INTO JBM_DUAL VALUES(1)
  24 +INSERT INTO JBM_DUAL VALUES(1)
  25 +INSERT INTO JBM_DUAL VALUES(1)
  26 +INSERT INTO JBM_COUNTER VALUES('CHANNEL_ID',40)
  27 +INSERT INTO JBM_COUNTER VALUES('MESSAGE_ID',16384)
  28 +INSERT INTO JBM_COUNTER VALUES('TRANSACTION_ID',4096)
  29 +INSERT INTO JBM_USER VALUES('dynsub','dynsub',NULL)
  30 +INSERT INTO JBM_USER VALUES('guest','guest',NULL)
  31 +INSERT INTO JBM_USER VALUES('j2ee','j2ee',NULL)
  32 +INSERT INTO JBM_USER VALUES('john','needle','DurableSubscriberExample')
  33 +INSERT INTO JBM_USER VALUES('nobody','nobody',NULL)
  34 +INSERT INTO JBM_ROLE VALUES('durpublisher','dynsub')
  35 +INSERT INTO JBM_ROLE VALUES('publisher','dynsub')
  36 +INSERT INTO JBM_ROLE VALUES('guest','guest')
  37 +INSERT INTO JBM_ROLE VALUES('j2ee','guest')
  38 +INSERT INTO JBM_ROLE VALUES('john','guest')
  39 +INSERT INTO JBM_ROLE VALUES('durpublisher','john')
  40 +INSERT INTO JBM_ROLE VALUES('publisher','john')
  41 +INSERT INTO JBM_ROLE VALUES('subscriber','john')
  42 +INSERT INTO JBM_ROLE VALUES('noacc','nobody')
  43 +INSERT INTO JBM_POSTOFFICE VALUES('JMS post office',0,'DLQ','queue.DLQ',NULL,0,'N','N')
  44 +INSERT INTO JBM_POSTOFFICE VALUES('JMS post office',0,'ExpiryQueue','queue.ExpiryQueue',NULL,1,'N','N')
  45 +INSERT INTO TAG VALUES(1,'My new legal act',0)
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE aop PUBLIC
  3 + "-//JBoss//DTD JBOSS AOP 1.0//EN"
  4 + "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd">
  5 +
  6 +<aop>
  7 + <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/>
  8 + <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/>
  9 + <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/>
  10 + <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/>
  11 + <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/>
  12 +
  13 + <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
  14 +
  15 + <stack name="ServiceClientInterceptors">
  16 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  17 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  18 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  19 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  20 + </stack>
  21 +
  22 + <stack name="AsynchronousStatelessSessionClientInterceptors">
  23 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  24 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  25 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  26 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  27 + </stack>
  28 +
  29 + <stack name="AsynchronousStatefulSessionClientInterceptors">
  30 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  31 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  32 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  33 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  34 + </stack>
  35 +
  36 + <stack name="StatelessSessionClientInterceptors">
  37 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  38 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  39 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  40 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  41 + </stack>
  42 +
  43 + <stack name="StatefulSessionClientInterceptors">
  44 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  45 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  46 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  47 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  48 + </stack>
  49 +
  50 + <stack name="ClusteredStatelessSessionClientInterceptors">
  51 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  52 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  53 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  54 + <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
  55 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  56 + </stack>
  57 +
  58 + <stack name="ClusteredStatefulSessionClientInterceptors">
  59 + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
  60 + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
  61 + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
  62 + <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
  63 + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
  64 + </stack>
  65 +
  66 + <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/>
  67 + <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/>
  68 + <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
  69 + <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/>
  70 + <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
  71 + <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
  72 + <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/>
  73 + <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
  74 + <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/>
  75 + <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/>
  76 + <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/>
  77 + <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/>
  78 + <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/>
  79 + <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
  80 + <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
  81 + <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/>
  82 + <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
  83 + <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/>
  84 + <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
  85 +
  86 + <domain name="Stateless Bean">
  87 + <bind pointcut="execution(public * *->*(..))">
  88 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  89 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  90 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  91 + </bind>
  92 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  93 + <interceptor-ref name="Basic Authorization"/>
  94 + </bind>
  95 + <bind pointcut="execution(public * *->*(..))">
  96 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  97 + </bind>
  98 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))">
  99 + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
  100 + </bind>
  101 + <bind pointcut="execution(public * *->*(..))">
  102 + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
  103 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  104 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  105 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  106 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  107 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  108 + </bind>
  109 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  110 + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000)
  111 + </annotation>
  112 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  113 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  114 + </annotation>
  115 + </domain>
  116 +
  117 + <domain name="JACC Stateless Bean">
  118 + <bind pointcut="execution(public * *->*(..))">
  119 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  120 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  121 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  122 + </bind>
  123 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  124 + <interceptor-ref name="JACC Authorization"/>
  125 + </bind>
  126 + <bind pointcut="execution(public * *->*(..))">
  127 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  128 + </bind>
  129 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))">
  130 + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
  131 + </bind>
  132 + <bind pointcut="execution(public * *->*(..))">
  133 + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
  134 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  135 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  136 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  137 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  138 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  139 + </bind>
  140 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  141 + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000)
  142 + </annotation>
  143 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  144 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  145 + </annotation>
  146 + </domain>
  147 +
  148 + <domain name="Base Stateful Bean">
  149 + <bind pointcut="execution(public * *->*(..))">
  150 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  151 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  152 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  153 + </bind>
  154 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  155 + <interceptor-ref name="Basic Authorization"/>
  156 + </bind>
  157 + <bind pointcut="execution(public * *->*(..))">
  158 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  159 + </bind>
  160 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))">
  161 + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
  162 + </bind>
  163 + <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
  164 + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
  165 + </bind>
  166 + <bind pointcut="execution(public * *->*(..))">
  167 + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
  168 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  169 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  170 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  171 + </bind>
  172 + <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
  173 + <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
  174 + </bind>
  175 + <bind pointcut="execution(public * *->*(..))">
  176 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  177 + <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
  178 + </bind>
  179 +
  180 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
  181 + <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
  182 + </bind>
  183 +
  184 + <bind pointcut="execution(public * *->*(..))">
  185 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  186 + </bind>
  187 +
  188 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  189 + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000)
  190 + </annotation>
  191 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  192 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  193 + </annotation>
  194 + </domain>
  195 +
  196 + <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
  197 + <!-- NON Clustered cache configuration -->
  198 + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  199 + @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache")
  200 + </annotation>
  201 + <annotation expr="!class(@org.jboss.ejb3.annotation.PersistenceManager) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  202 + @org.jboss.ejb3.annotation.PersistenceManager ("StatefulSessionFilePersistenceManager")
  203 + </annotation>
  204 + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  205 + @org.jboss.ejb3.annotation.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  206 + </annotation>
  207 +
  208 + <!-- Clustered cache configuration -->
  209 + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND class(@org.jboss.ejb3.annotation.Clustered)">
  210 + @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache")
  211 + </annotation>
  212 + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND class(@org.jboss.ejb3.annotation.Clustered)">
  213 + @org.jboss.ejb3.annotation.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  214 + </annotation>
  215 + </domain>
  216 +
  217 + <domain name="JACC Stateful Bean">
  218 + <bind pointcut="execution(public * *->*(..))">
  219 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  220 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  221 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  222 + </bind>
  223 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  224 + <interceptor-ref name="JACC Authorization"/>
  225 + </bind>
  226 + <bind pointcut="execution(public * *->*(..))">
  227 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  228 + </bind>
  229 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))">
  230 + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
  231 + </bind>
  232 + <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
  233 + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
  234 + </bind>
  235 + <bind pointcut="execution(public * *->*(..))">
  236 + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
  237 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  238 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  239 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  240 + </bind>
  241 + <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
  242 + <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
  243 + </bind>
  244 + <bind pointcut="execution(public * *->*(..))">
  245 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  246 + <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
  247 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  248 + </bind>
  249 +
  250 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
  251 + <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
  252 + </bind>
  253 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  254 + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000)
  255 + </annotation>
  256 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  257 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  258 + </annotation>
  259 +
  260 + <!-- NON Clustered cache configuration -->
  261 + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  262 + @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache")
  263 + </annotation>
  264 + <annotation expr="!class(@org.jboss.ejb3.annotation.PersistenceManager) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  265 + @org.jboss.ejb3.annotation.PersistenceManager ("StatefulSessionFilePersistenceManager")
  266 + </annotation>
  267 + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND !class(@org.jboss.ejb3.annotation.Clustered)">
  268 + @org.jboss.ejb3.annotation.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  269 + </annotation>
  270 +
  271 + <!-- Clustered cache configuration -->
  272 + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND class(@org.jboss.ejb3.annotation.Clustered)">
  273 + @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache")
  274 + </annotation>
  275 + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND class(@org.jboss.ejb3.annotation.Clustered)">
  276 + @org.jboss.ejb3.annotation.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  277 + </annotation>
  278 + </domain>
  279 +
  280 + <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
  281 + <!-- NON Clustered cache configuration -->
  282 + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache)">
  283 + @org.jboss.ejb3.annotation.Cache ("NoPassivationCache")
  284 + </annotation>
  285 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  286 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  287 + </annotation>
  288 +
  289 + </domain>
  290 +
  291 + <domain name="Message Driven Bean">
  292 + <bind pointcut="execution(public * *->*(..))">
  293 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  294 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  295 + </bind>
  296 + <!-- TODO: Authorization? -->
  297 + <bind pointcut="execution(public * *->*(..))">
  298 + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
  299 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  300 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  301 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  302 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  303 + </bind>
  304 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  305 + @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=15, timeout=10000)
  306 + </annotation>
  307 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  308 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  309 + </annotation>
  310 + </domain>
  311 +
  312 + <domain name="Consumer Bean">
  313 + <bind pointcut="execution(public * *->*(..))">
  314 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  315 + </bind>
  316 + <bind pointcut="execution(public * *->*(..))">
  317 + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
  318 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  319 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  320 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  321 + </bind>
  322 + <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.ejb3.annotation.CurrentMessage(..)) OR hasfield(* *->@org.jboss.ejb3.annotation.CurrentMessage))">
  323 + <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
  324 + </bind>
  325 + <bind pointcut="execution(public * *->*(..))">
  326 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  327 + </bind>
  328 + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  329 + @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=15, timeout=10000)
  330 + </annotation>
  331 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  332 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  333 + </annotation>
  334 + </domain>
  335 +
  336 + <domain name="Service Bean">
  337 + <bind pointcut="execution(public * *->*(..))">
  338 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  339 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  340 + </bind>
  341 + <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
  342 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  343 + </bind>
  344 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  345 + <interceptor-ref name="Basic Authorization"/>
  346 + </bind>
  347 + <bind pointcut="execution(public * *->*(..))">
  348 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  349 + </bind>
  350 + <bind pointcut="execution(public * *->*(..))">
  351 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  352 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  353 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  354 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  355 + </bind>
  356 + <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
  357 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  358 + </bind>
  359 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  360 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  361 + </annotation>
  362 + </domain>
  363 +
  364 + <domain name="JACC Service Bean">
  365 + <bind pointcut="execution(public * *->*(..))">
  366 + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
  367 + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
  368 + </bind>
  369 + <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
  370 + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
  371 + </bind>
  372 + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))">
  373 + <interceptor-ref name="Basic Authorization"/>
  374 + </bind>
  375 + <bind pointcut="execution(public * *->*(..))">
  376 + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
  377 + </bind>
  378 + <bind pointcut="execution(public * *->*(..))">
  379 + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
  380 + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
  381 + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
  382 + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
  383 + </bind>
  384 + <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
  385 + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
  386 + </bind>
  387 + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
  388 + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  389 + </annotation>
  390 + </domain>
  391 +
  392 +</aop>
\ No newline at end of file
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!-- The Hypersonic embedded database JCA connection factory config -->
  4 +
  5 +<!-- $Id: hsqldb-ds.xml 6916 2007-12-05 17:53:00Z pmuir $ -->
  6 +
  7 +<datasources>
  8 + <local-tx-datasource>
  9 +
  10 + <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
  11 + <!-- Datasources are not available outside the virtual machine -->
  12 + <jndi-name>DefaultDS</jndi-name>
  13 +
  14 + <!-- For server mode db, allowing other processes to use hsqldb over tcp.
  15 + This requires the org.jboss.jdbc.HypersonicDatabase mbean.
  16 + <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
  17 + -->
  18 + <!-- For totally in-memory db, not saved when jboss stops.
  19 + The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
  20 + <connection-url>jdbc:hsqldb:.</connection-url>
  21 + -->
  22 + <!-- For in-process persistent db, saved when jboss stops.
  23 + The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
  24 + -->
  25 + <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
  26 +
  27 + <!-- The driver class -->
  28 + <driver-class>org.hsqldb.jdbcDriver</driver-class>
  29 +
  30 + <!-- The login and password -->
  31 + <user-name>sa</user-name>
  32 + <password></password>
  33 +
  34 + <!--example of how to specify class that determines if exception means connection should be destroyed-->
  35 + <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
  36 +
  37 + <!-- this will be run before a managed connection is removed from the pool for use by a client-->
  38 + <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
  39 +
  40 + <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
  41 + <min-pool-size>0</min-pool-size>
  42 +
  43 + <!-- The maximum connections in a pool/sub-pool -->
  44 + <max-pool-size>20</max-pool-size>
  45 +
  46 + <!-- The time before an unused connection is destroyed -->
  47 + <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
  48 + <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
  49 + <idle-timeout-minutes>0</idle-timeout-minutes>
  50 +
  51 + <!-- sql to call when connection is created
  52 + <new-connection-sql>some arbitrary sql</new-connection-sql>
  53 + -->
  54 +
  55 + <!-- sql to call on an existing pooled connection when it is obtained from pool
  56 + <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
  57 + -->
  58 +
  59 + <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
  60 + <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
  61 + -->
  62 +
  63 + <!-- Whether to check all statements are closed when the connection is returned to the pool,
  64 + this is a debugging feature that should be turned off in production -->
  65 + <track-statements/>
  66 +
  67 + <!-- Use the getConnection(user, pw) for logins
  68 + <application-managed-security/>
  69 + -->
  70 +
  71 + <!-- Use the security domain defined in conf/login-config.xml -->
  72 + <security-domain>HsqlDbRealm</security-domain>
  73 +
  74 + <!-- Use the security domain defined in conf/login-config.xml or the
  75 + getConnection(user, pw) for logins. The security domain takes precedence.
  76 + <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
  77 + -->
  78 +
  79 + <!-- HSQL DB benefits from prepared statement caching -->
  80 + <prepared-statement-cache-size>32</prepared-statement-cache-size>
  81 +
  82 + <!-- When using in-process (standalone) mode -->
  83 + <depends>jboss:service=Hypersonic,database=localDB</depends>
  84 + <!-- Uncomment when using hsqldb in server mode
  85 + <depends>jboss:service=Hypersonic</depends>
  86 + -->
  87 + </local-tx-datasource>
  88 +
  89 + <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
  90 + <mbean code="org.jboss.jdbc.HypersonicDatabase"
  91 + name="jboss:service=Hypersonic">
  92 + <attribute name="Port">1701</attribute>
  93 + <attribute name="BindAddress">${jboss.bind.address}</attribute>
  94 + <attribute name="Silent">true</attribute>
  95 + <attribute name="Database">default</attribute>
  96 + <attribute name="Trace">false</attribute>
  97 + <attribute name="No_system_exit">true</attribute>
  98 + </mbean>
  99 + -->
  100 +
  101 + <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
  102 + <mbean code="org.jboss.jdbc.HypersonicDatabase"
  103 + name="jboss:service=Hypersonic,database=localDB">
  104 + <attribute name="Database">localDB</attribute>
  105 + <attribute name="InProcessMode">true</attribute>
  106 + </mbean>
  107 +
  108 +</datasources>
... ...
No preview for this file type
No preview for this file type
No preview for this file type
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Messaging Connection Factories deployment descriptor.
  5 +
  6 + $Id: connection-factories-service.xml 6916 2007-12-05 17:53:00Z pmuir $
  7 + -->
  8 +
  9 +<server>
  10 +
  11 + <!-- The default connection factory does not support automatic failover or load balancing-
  12 + this is so we can maintain compatiblity with applications written for JBoss MQ which use this
  13 + connection factory.
  14 + -->
  15 + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
  16 + name="jboss.messaging.connectionfactory:service=ConnectionFactory"
  17 + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
  18 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  19 + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
  20 + <depends>jboss.messaging:service=PostOffice</depends>
  21 +
  22 + <attribute name="JNDIBindings">
  23 + <bindings>
  24 + <binding>/ConnectionFactory</binding>
  25 + <binding>/XAConnectionFactory</binding>
  26 + <binding>java:/ConnectionFactory</binding>
  27 + <binding>java:/XAConnectionFactory</binding>
  28 + </bindings>
  29 + </attribute>
  30 + </mbean>
  31 +
  32 + <!-- A clustered connection factory that supports automatic failover and load balancing of created
  33 + connections.
  34 + This factory is not suitable to be used by MDBs.
  35 + -->
  36 + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
  37 + name="jboss.messaging.connectionfactory:service=ClusteredConnectionFactory"
  38 + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
  39 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  40 + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
  41 + <depends>jboss.messaging:service=PostOffice</depends>
  42 +
  43 + <attribute name="JNDIBindings">
  44 + <bindings>
  45 + <binding>/ClusteredConnectionFactory</binding>
  46 + <binding>/ClusteredXAConnectionFactory</binding>
  47 + <binding>java:/ClusteredConnectionFactory</binding>
  48 + <binding>java:/ClusteredXAConnectionFactory</binding>
  49 + </bindings>
  50 + </attribute>
  51 +
  52 + <attribute name="SupportsFailover">true</attribute>
  53 + <attribute name="SupportsLoadBalancing">true</attribute>
  54 + </mbean>
  55 +
  56 + <!-- A connection factory with no JNDI bindings that is used in clustering to create the connections that
  57 + pull messages from one node to another
  58 + -->
  59 + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
  60 + name="jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory"
  61 + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
  62 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  63 + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
  64 + <depends>jboss.messaging:service=PostOffice</depends>
  65 + <attribute name="SupportsFailover">false</attribute>
  66 + <attribute name="SupportsLoadBalancing">false</attribute>
  67 + </mbean>
  68 +
  69 + <!-- An example connection factory with all attributes shown
  70 +
  71 + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
  72 + name="jboss.messaging.connectionfactory:service=MyExampleConnectionFactory"
  73 + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
  74 +
  75 + <constructor>
  76 +
  77 + <!- - You can specify the default Client ID to use for connections created using this factory - ->
  78 +
  79 + <arg type="java.lang.String" value="MyClientID"/>
  80 +
  81 + </constructor>
  82 +
  83 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  84 +
  85 + <!- - The transport to use - can be bisocket, sslbisocket or http - ->
  86 +
  87 + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=http</depends>
  88 +
  89 + <depends>jboss.messaging:service=PostOffice</depends>
  90 +
  91 + <!- - PrefetchSize determines the approximate maximum number of messages the client consumer will buffer locally - ->
  92 +
  93 + <attribute name="PrefetchSize">150</attribute>
  94 +
  95 + <!- - Paging params to be used for temporary queues - ->
  96 +
  97 + <attribute name="DefaultTempQueueFullSize">200000</attribute>
  98 +
  99 + <attribute name="DefaultTempQueuePageSizeSize">2000</attribute>
  100 +
  101 + <attribute name="DefaultTempQueueDownCacheSize">2000</attribute>
  102 +
  103 + <!- - The batch size to use when using the DUPS_OK_ACKNOWLEDGE acknowledgement mode - ->
  104 +
  105 + <attribute name="DupsOKBatchSize">5000</attribute>
  106 +
  107 + <!- - Does this connection factory support automatic failover? - ->
  108 +
  109 + <attribute name="SupportsFailover">false</attribute>
  110 +
  111 + <!- - Does this connection factory support automatic client side load balancing? - ->
  112 +
  113 + <attribute name="SupportsLoadBalancing">false</attribute>
  114 +
  115 + <!- - The class name of the factory used to create the load balancing policy to use on the client side - ->
  116 +
  117 + <attribute name="LoadBalancingFactory">org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory</attribute>
  118 +
  119 + <!- - Whether we should be strict TCK compliant, i.e. how we deal with foreign messages, defaults to false- ->
  120 +
  121 + <attribute name="StrictTck">false</attribute>
  122 +
  123 + <!- - Disable JBoss Remoting Connector sanity checks - There is rarely a good reason to set this to true - ->
  124 +
  125 + <attribute name="DisableRemotingChecks">false</attribute>
  126 +
  127 + <!- - The connection factory will be bound in the following places in JNDI - ->
  128 +
  129 + <attribute name="JNDIBindings">
  130 +
  131 + <bindings>
  132 +
  133 + <binding>/acme/MyExampleConnectionFactory</binding>
  134 +
  135 + <binding>/acme/MyExampleConnectionFactoryDupe</binding>
  136 +
  137 + <binding>java:/xyz/CF1</binding>
  138 +
  139 + <binding>java:/connectionfactories/acme/connection_factory</binding>
  140 +
  141 + </bindings>
  142 +
  143 + </attribute>
  144 +
  145 + </mbean>
  146 +
  147 + -->
  148 +
  149 +</server>
\ No newline at end of file
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Messaging Destinations deployment descriptor.
  5 +
  6 + $Id: destinations-service.xml 6916 2007-12-05 17:53:00Z pmuir $
  7 + -->
  8 +
  9 +<server>
  10 +
  11 + <!--
  12 + The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
  13 + -->
  14 +
  15 + <mbean code="org.jboss.jms.server.destination.QueueService"
  16 + name="jboss.messaging.destination:service=Queue,name=DLQ"
  17 + xmbean-dd="xmdesc/Queue-xmbean.xml">
  18 + <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
  19 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  20 + <depends>jboss.messaging:service=PostOffice</depends>
  21 + </mbean>
  22 +
  23 + <!--
  24 + The Default Expiry Queue.
  25 + -->
  26 +
  27 + <mbean code="org.jboss.jms.server.destination.QueueService"
  28 + name="jboss.messaging.destination:service=Queue,name=ExpiryQueue"
  29 + xmbean-dd="xmdesc/Queue-xmbean.xml">
  30 + <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
  31 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  32 + <depends>jboss.messaging:service=PostOffice</depends>
  33 + </mbean>
  34 +
  35 +
  36 +</server>
\ No newline at end of file
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Hypersonic persistence deployment descriptor.
  5 +
  6 + DO NOT USE HYPERSONIC IN PRODUCTION or in a clustered environment- Hypersonic does not have transaction isolation
  7 +
  8 + $Id: hsqldb-persistence-service.xml 6916 2007-12-05 17:53:00Z pmuir $
  9 + -->
  10 +
  11 +<server>
  12 +
  13 + <!-- Persistence Manager MBean configuration
  14 + ======================================= -->
  15 +
  16 + <mbean code="org.jboss.messaging.core.jmx.JDBCPersistenceManagerService"
  17 + name="jboss.messaging:service=PersistenceManager"
  18 + xmbean-dd="xmdesc/JDBCPersistenceManager-xmbean.xml">
  19 +
  20 + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  21 +
  22 + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
  23 +
  24 + <!-- The datasource to use for the persistence manager -->
  25 +
  26 + <attribute name="DataSource">java:/DefaultDS</attribute>
  27 +
  28 + <!-- If true will attempt to create tables and indexes on every start-up -->
  29 +
  30 + <attribute name="CreateTablesOnStartup">true</attribute>
  31 +
  32 + <!-- If true then will use JDBC batch updates -->
  33 +
  34 + <attribute name="UsingBatchUpdates">false</attribute>
  35 +
  36 + <!-- The maximum number of parameters to include in a prepared statement -->
  37 +
  38 + <attribute name="MaxParams">500</attribute>
  39 + </mbean>
  40 +
  41 + <!-- Messaging Post Office MBean configuration
  42 + ========================================= -->
  43 +
  44 + <mbean code="org.jboss.messaging.core.jmx.MessagingPostOfficeService"
  45 + name="jboss.messaging:service=PostOffice"
  46 + xmbean-dd="xmdesc/MessagingPostOffice-xmbean.xml">
  47 +
  48 + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  49 +
  50 + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  51 +
  52 + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
  53 +
  54 + <!-- The name of the post office -->
  55 +
  56 + <attribute name="PostOfficeName">JMS post office</attribute>
  57 +
  58 + <!-- The datasource used by the post office to access it's binding information -->
  59 +
  60 + <attribute name="DataSource">java:/DefaultDS</attribute>
  61 +
  62 + <!-- If true will attempt to create tables and indexes on every start-up -->
  63 +
  64 + <attribute name="CreateTablesOnStartup">true</attribute>
  65 +
  66 + <!-- This post office is NON CLUSTERED - do not use clustering with Hypersonic!! -->
  67 +
  68 + <attribute name="Clustered">false</attribute>
  69 + </mbean>
  70 +
  71 + <!-- Messaging JMS User Manager MBean config
  72 + ======================================= -->
  73 +
  74 + <mbean code="org.jboss.jms.server.plugin.JDBCJMSUserManagerService"
  75 + name="jboss.messaging:service=JMSUserManager"
  76 + xmbean-dd="xmdesc/JMSUserManager-xmbean.xml">
  77 +
  78 + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  79 +
  80 + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
  81 +
  82 + <attribute name="DataSource">java:/DefaultDS</attribute>
  83 +
  84 + <attribute name="CreateTablesOnStartup">true</attribute>
  85 +
  86 + <attribute name="SqlProperties"><![CDATA[
  87 +POPULATE.TABLES.1 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('guest', 'guest')
  88 +POPULATE.TABLES.2 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('j2ee', 'j2ee')
  89 +POPULATE.TABLES.3 = INSERT INTO JBM_USER (USER_ID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample')
  90 +POPULATE.TABLES.4 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('nobody', 'nobody')
  91 +POPULATE.TABLES.5 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('dynsub', 'dynsub')
  92 +POPULATE.TABLES.6 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('guest','guest')
  93 +POPULATE.TABLES.7 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('j2ee','guest')
  94 +POPULATE.TABLES.8 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('john','guest')
  95 +POPULATE.TABLES.9 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('subscriber','john')
  96 +POPULATE.TABLES.10 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','john')
  97 +POPULATE.TABLES.11 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','dynsub')
  98 +POPULATE.TABLES.12 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','john')
  99 +POPULATE.TABLES.13 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','dynsub')
  100 +POPULATE.TABLES.14 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('noacc','nobody')
  101 + ]]></attribute>
  102 + </mbean>
  103 +
  104 +</server>
\ No newline at end of file
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<connection-factories>
  4 +
  5 + <!-- ==================================================================== -->
  6 + <!-- JMS Stuff -->
  7 + <!-- ==================================================================== -->
  8 +
  9 + <!--
  10 + The JMS provider loader. Currently pointing to a non-clustered ConnectionFactory. Need to
  11 + be replaced with a clustered non-load-balanced ConnectionFactory when it becomes available.
  12 + See http://jira.jboss.org/jira/browse/JBMESSAGING-843.
  13 + -->
  14 + <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
  15 + name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
  16 + <attribute name="ProviderName">DefaultJMSProvider</attribute>
  17 + <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
  18 + <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
  19 + <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
  20 + <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
  21 + </mbean>
  22 +
  23 + <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
  24 + <tx-connection-factory>
  25 + <jndi-name>JmsXA</jndi-name>
  26 + <xa-transaction/>
  27 + <rar-name>jms-ra.rar</rar-name>
  28 + <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
  29 + <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
  30 + <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
  31 + <max-pool-size>20</max-pool-size>
  32 + <security-domain-and-application>JmsXARealm</security-domain-and-application>
  33 + <depends>jboss.messaging:service=ServerPeer</depends>
  34 + </tx-connection-factory>
  35 +
  36 +</connection-factories>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Messaging Destinations deployment descriptor.
  4 +
  5 + $Id: legacy-service.xml 6916 2007-12-05 17:53:00Z pmuir $
  6 +-->
  7 +
  8 +<server>
  9 + <mbean code="org.jboss.mq.server.jmx.DummyDestMgr"
  10 + name="jboss.mq:service=DestinationManager">
  11 + <depends>jboss.messaging:service=ServerPeer</depends>
  12 + </mbean>
  13 + <mbean code="org.jboss.mq.server.jmx.DummySecurityMgr"
  14 + name="jboss.mq:service=SecurityManager" />
  15 +
  16 +</server>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + The JBoss Messaging service deployment descriptor.
  5 +
  6 + $Id: messaging-service.xml 7115 2008-01-10 23:23:32Z pmuir $
  7 + -->
  8 +
  9 +<server>
  10 +
  11 + <!-- ServerPeer MBean configuration
  12 + ============================== -->
  13 +
  14 + <mbean code="org.jboss.jms.server.ServerPeer"
  15 + name="jboss.messaging:service=ServerPeer"
  16 + xmbean-dd="xmdesc/ServerPeer-xmbean.xml">
  17 +
  18 + <!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer -->
  19 +
  20 + <attribute name="ServerPeerID">0</attribute>
  21 +
  22 + <!-- The default JNDI context to use for queues when they are deployed without specifying one -->
  23 +
  24 + <attribute name="DefaultQueueJNDIContext">/queue</attribute>
  25 +
  26 + <!-- The default JNDI context to use for topics when they are deployed without specifying one -->
  27 +
  28 + <attribute name="DefaultTopicJNDIContext">/topic</attribute>
  29 +
  30 + <attribute name="PostOffice">jboss.messaging:service=PostOffice</attribute>
  31 +
  32 + <!-- The JAAS security domain to use for JBoss Messaging -->
  33 +
  34 + <attribute name="SecurityDomain">java:/jaas/messaging</attribute>
  35 +
  36 + <!-- The default security configuration to apply to destinations - this can be overridden on a per destination basis -->
  37 +
  38 + <attribute name="DefaultSecurityConfig">
  39 + <security>
  40 + <role name="Administrator" read="true" write="true" create="true"/>
  41 + <role name="Manager" read="true" write="true" create="true"/>
  42 + <role name="guest" read="true" write="true" create="true"/>
  43 + </security>
  44 + </attribute>
  45 +
  46 + <!-- The default Dead Letter Queue (DLQ) to use for destinations.
  47 + This can be overridden on a per destinatin basis -->
  48 +
  49 + <attribute name="DefaultDLQ">jboss.messaging.destination:service=Queue,name=DLQ</attribute>
  50 +
  51 + <!-- The default maximum number of times to attempt delivery of a message before sending to the DLQ (if configured).
  52 + This can be overridden on a per destinatin basis -->
  53 +
  54 + <attribute name="DefaultMaxDeliveryAttempts">10</attribute>
  55 +
  56 + <!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis -->
  57 +
  58 + <attribute name="DefaultExpiryQueue">jboss.messaging.destination:service=Queue,name=ExpiryQueue</attribute>
  59 +
  60 + <!-- The default redelivery delay to impose. This can be overridden on a per destination basis -->
  61 +
  62 + <attribute name="DefaultRedeliveryDelay">0</attribute>
  63 +
  64 + <!-- The periodicity of the message counter manager enquiring on queues for statistics -->
  65 +
  66 + <attribute name="MessageCounterSamplePeriod">5000</attribute>
  67 +
  68 + <!-- The maximum amount of time for a client to wait for failover to start on the server side after
  69 + it has detected failure -->
  70 +
  71 + <attribute name="FailoverStartTimeout">60000</attribute>
  72 +
  73 + <!-- The maximum amount of time for a client to wait for failover to complete on the server side after
  74 + it has detected failure -->
  75 +
  76 + <attribute name="FailoverCompleteTimeout">300000</attribute>
  77 +
  78 + <attribute name="StrictTck">false</attribute>
  79 +
  80 + <!-- The maximum number of days results to maintain in the message counter history -->
  81 +
  82 + <attribute name="DefaultMessageCounterHistoryDayLimit">-1</attribute>
  83 +
  84 + <!-- The name of the connection factory to use for creating connections between nodes to pull messages -->
  85 +
  86 + <attribute name="ClusterPullConnectionFactoryName">jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory</attribute>
  87 +
  88 + <!-- Use XA when pulling persistent messages from a remote node to this one. -->
  89 +
  90 + <!-- <attribute name="UseXAForMessagePull">false</attribute>-->
  91 +
  92 + <!-- When redistributing messages in the cluster. Do we need to preserve the order of messages received
  93 + by a particular consumer from a particular producer? -->
  94 +
  95 + <attribute name="DefaultPreserveOrdering">false</attribute>
  96 +
  97 + <!-- Max. time to hold previously delivered messages back waiting for clients to reconnect after failover -->
  98 +
  99 + <attribute name="RecoverDeliveriesTimeout">300000</attribute>
  100 +
  101 + <!-- The password used by the message sucker connections to create connections.
  102 + THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM
  103 + <attribute name="SuckerPassword"></attribute>
  104 + -->
  105 +
  106 + <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends>
  107 +
  108 + <depends optional-attribute-name="JMSUserManager">jboss.messaging:service=JMSUserManager</depends>
  109 +
  110 + <depends>jboss.messaging:service=Connector,transport=bisocket</depends>
  111 +
  112 + </mbean>
  113 +
  114 +</server>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Standard bisocket-based Remoting service deployment descriptor.
  5 +
  6 + $Id: remoting-service.xml 8448 2008-07-13 12:40:54Z pete.muir@jboss.org $
  7 + -->
  8 +
  9 +<server>
  10 +
  11 + <!-- Standard bisocket connector - the bisocket transport only opens connection from client->server
  12 + so can be used with firewalls where only outgoing connections are allowed.
  13 + For examples of HTTP and SSL transports see docs/examples -->
  14 + <mbean code="org.jboss.remoting.transport.Connector"
  15 + name="jboss.messaging:service=Connector,transport=bisocket"
  16 + display-name="Bisocket Transport Connector">
  17 + <attribute name="Configuration">
  18 + <config>
  19 + <invoker transport="bisocket">
  20 +
  21 + <!-- There should be no reason to change these parameters - warning!
  22 + Changing them may stop JBoss Messaging working correctly -->
  23 + <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  24 + <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  25 + <attribute name="dataType" isParam="true">jms</attribute>
  26 + <attribute name="socket.check_connection" isParam="true">false</attribute>
  27 + <attribute name="timeout" isParam="true">0</attribute>
  28 + <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  29 + <attribute name="serverBindPort">4458</attribute>
  30 + <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
  31 + <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
  32 + <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  33 + <attribute name="pingFrequency" isParam="true">214748364</attribute>
  34 + <attribute name="pingWindowFactor" isParam="true">10</attribute>
  35 + <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  36 + <!-- End immutable parameters -->
  37 +
  38 + <!-- Periodicity of client pings. Server window by default is twice this figure -->
  39 + <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  40 +
  41 + <!-- Number of seconds to wait for a connection in the client pool to become free -->
  42 + <attribute name="numberOfRetries" isParam="true">10</attribute>
  43 +
  44 + <!-- Max Number of connections in client pool. This should be significantly higher than
  45 + the max number of sessions/consumers you expect -->
  46 + <attribute name="clientMaxPoolSize" isParam="true">200</attribute>
  47 +
  48 + <!-- Use these parameters to specify values for binding and connecting control connections to
  49 + work with your firewall/NAT configuration
  50 + <attribute name="secondaryBindPort">xyz</attribute>
  51 + <attribute name="secondaryConnectPort">abc</attribute>
  52 + -->
  53 +
  54 + </invoker>
  55 + <handlers>
  56 + <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  57 + </handlers>
  58 + </config>
  59 + </attribute>
  60 + </mbean>
  61 +
  62 +</server>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Connector for both EJB3 and JNDI
  4 +-->
  5 +<server>
  6 + <mbean code="org.jboss.remoting.transport.Connector"
  7 + name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
  8 + <attribute name="InvokerLocator">socket://${jboss.bind.address}:3883</attribute>
  9 + <attribute name="Configuration">
  10 + <handlers>
  11 + <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
  12 + </handlers>
  13 + </attribute>
  14 + </mbean>
  15 +</server>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Aspect Deployer
  5 +-->
  6 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  7 + <bean name="AOPJBossIntegration" class="org.jboss.aop.asintegration.embedded.JBossEmbeddedUCLIntegration"/>
  8 + <!--
  9 + Valid values for the AspectManager bean for use with enableTransformer=true are:
  10 + * org.jboss.aop.deployers.AspectManagerJDK5 - works with the -javaagent:pluggable-instrumentor.jar switch
  11 + * org.jboss.aop.deployers.AspectManagerJRockit - works with JRockit and the -Xmanagement:class=org.jboss.aop.hook.JRockitPluggableClassPreProcessor switch
  12 + -->
  13 + <bean name="AspectManager" class="org.jboss.aop.deployers.AspectManagerJDK5">
  14 + <constructor>
  15 + <parameter><![CDATA[
  16 + <aop>
  17 + </aop>]]>
  18 + </parameter>
  19 + </constructor>
  20 + <property name="jbossIntegration"><inject bean="AOPJBossIntegration"/></property>
  21 + <property name="enableLoadtimeWeaving">false</property>
  22 + <!-- only relevant when EnableLoadtimeWeaving is true.
  23 + When transformer is on, every loaded class gets
  24 + transformed. If AOP can't find the class, then it
  25 + throws an exception. Sometimes, classes may not have
  26 + all the classes they reference. So, the Suppressing
  27 + is needed. (i.e. Jboss cache in the default configuration -->
  28 + <property name="suppressTransformationErrors">true</property>
  29 + <property name="prune">true</property>
  30 + <property name="include">org.jboss.test., org.jboss.injbossaop.</property>
  31 + <property name="exclude">org.jboss.</property>
  32 + <!-- This avoids instrumentation of hibernate cglib enhanced proxies
  33 + <property name="ignore">*$$EnhancerByCGLIB$$*</property> -->
  34 + <property name="optimized">true</property>
  35 + <property name="verbose">false</property>
  36 + <!--
  37 + Available choices for this attribute are:
  38 + org.jboss.aop.instrument.ClassicInstrumentor (default)
  39 + org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
  40 + <property name="instrumentor">org.jboss.aop.instrument.ClassicInstrumentor</property>
  41 + -->
  42 + </bean>
  43 +
  44 + <!-- Aspect Deployment -->
  45 + <bean name="AspectDeployer" class="org.jboss.aop.deployers.AspectDeployer">
  46 + <property name="type">aop</property>
  47 + <property name="aspectManager"><inject bean="AspectManager" property="aspectManager"/></property>
  48 + </bean>
  49 +
  50 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + EJB 2.x Deployer
  4 +-->
  5 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  6 +
  7 + <!-- ejb-jar.xml parsing deployer -->
  8 + <bean name="Ejb2ParsingDeployer" class="org.jboss.deployment.EjbParsingDeployer">
  9 + <property name="type">ejb2x</property>
  10 + <property name="useSchemaValidation">false</property>
  11 + <property name="relativeOrder">3000</property>
  12 + </bean>
  13 + <bean name="JBossEjb2ParsingDeployer" class="org.jboss.deployment.JBossEjbParsingDeployer">
  14 + <property name="type">ejb2x</property>
  15 + <property name="relativeOrder">3001</property>
  16 + <property name="useSchemaValidation">false</property>
  17 + <property name="ignoreMissingStandardJBossXml">true</property>
  18 + </bean>
  19 +
  20 + <bean name="EJB2xDeployer" class="org.jboss.ejb.deployers.EjbDeployer">
  21 + <!-- The EJBDeployer needs the JTA transaction manager service -->
  22 + <property name="transactionManagerServiceName">jboss:service=TransactionManager</property>
  23 + <!-- The dynamic class loading simple web server -->
  24 + <property name="webServiceName">jboss:service=WebService</property>
  25 + <!-- The CachedConnectionManager service used by the CachedConnectionInterceptor -->
  26 + <property name="cachedConnectionManagerName">jboss.jca:service=CachedConnectionManager</property>
  27 + <!-- The ejb timer service -->
  28 + <property name="timerServiceName">jboss.ejb:service=EJBTimerService</property>
  29 + <!-- A flag indicating if the ejb components should have in VM call
  30 + optimization disabled.
  31 + -->
  32 + <property name="callByValue">false</property>
  33 +
  34 + <!-- Specify an unauthenticated identity -->
  35 + <property name="unauthenticatedIdentity">anonymous</property>
  36 +
  37 + <!-- Specify a SecurityManagement Wrapper -->
  38 + <property name="securityManagement">
  39 + <inject bean="JNDIBasedSecurityManagement"/>
  40 + </property>
  41 + <!-- Specify a SecurityContext FQN class name -->
  42 + <property name="securityContextClassName">org.jboss.security.plugins.JBossSecurityContext</property>
  43 +
  44 + <!-- Specify a SecurityDomain as fallback -->
  45 + <property name="defaultSecurityDomain">jboss-ejb-policy</property>
  46 +
  47 + <depends>SecurityDeployer</depends>
  48 + </bean>
  49 +
  50 + <bean name="MergedJBossMetaDataDeployer" class="org.jboss.ejb.deployers.MergedJBossMetaDataDeployer">
  51 + </bean>
  52 + <bean name="StandardJBossMetaDataDeployer" class="org.jboss.ejb.deployers.StandardJBossMetaDataDeployer">
  53 + </bean>
  54 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + JCA Deployers
  5 +-->
  6 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  7 +
  8 + <!-- TODO this should be removed later on when ENC gets changed -->
  9 + <bean name="java:comp/Initializer" class="org.jboss.ejb3.embedded.JavaCompInitializer"/>
  10 + <bean name="DefaultPersistenceProperties" class="org.jboss.ejb3.DefaultPersistenceProperties"/>
  11 +
  12 + <bean name="Ejb3Deployer" class="org.jboss.ejb3.deployers.Ejb3Deployer">
  13 + <property name="type">ejb3x</property>
  14 + <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
  15 + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
  16 + <property name="defaultPersistenceProperties"><inject bean="DefaultPersistenceProperties" property="properties"/></property>
  17 + <property name="cacheFactoryRegistry"><inject bean="EJB3CacheFactoryRegistry" /></property>
  18 + <property name="poolFactoryRegistry"><inject bean="EJB3PoolFactoryRegistry" /></property>
  19 + <property name="remoteProxyFactoryRegistry"><inject bean="EJB3RemoteProxyFactoryRegistry" /></property>
  20 + <property name="persistenceManagerFactoryRegistry"><inject bean="EJB3PersistenceManagerFactoryRegistry" /></property>
  21 +
  22 + <!--
  23 +
  24 + Configure the deployer to optionally require a deployment
  25 + descriptor for deployable units. By turning this switch to "true",
  26 + "META-INF/jboss.xml" or the EJB3 Deployment Descriptor "META-INF/ejb-jar.xml"
  27 + will be required for deployment, enabling a performance increace in deployment by
  28 + not scanning for annotations in non-deployable EJB3 JARs.
  29 +
  30 + Default for this value is "false".
  31 +
  32 + -->
  33 + <property name="deploymentDescriptorRequired">false</property>
  34 +
  35 + <property name="ignoredJarsSet">
  36 + <set elementClass="java.lang.String">
  37 + <value>snmp-adaptor.jar</value>
  38 + <value>otherimages.jar</value>
  39 + <value>applet.jar</value>
  40 + <value>jcommon.jar</value>
  41 + <value>console-mgr-classes.jar</value>
  42 + <value>jfreechart.jar</value>
  43 + <value>juddi-service.jar</value>
  44 + <value>wsdl4j.jar</value>
  45 + <value>commons-collections.jar</value>
  46 + <value>commons-pool.jar</value>
  47 + <value>juddi.jar</value>
  48 + <value>commons-discovery.jar</value>
  49 + <value>uddi4j.jar</value>
  50 + <value>axis.jar</value>
  51 + <value>commons-dbcp.jar</value>
  52 + <value>jboss-juddiaxis.jar</value>
  53 + <value>trove.jar</value>
  54 + <value>javassist.jar</value>
  55 + <value>jboss-aop-jdk50.jar</value>
  56 + <value>jboss-aspect-library-jdk50.jar</value>
  57 + <value>ejb3-persistence.jar</value>
  58 + <value>commons-validator-1.1.3.jar</value>
  59 + <value>commons-collections.jar</value>
  60 + <value>commons-fileupload.jar</value>
  61 + <value>commons-pool.jar</value>
  62 + <value>hibernate-entitymanager.jar</value>
  63 + <value>jboss-ejb3x.jar</value>
  64 + <value>commons-digester-1.6.jar</value>
  65 + <value>cglib-2.1.1.jar</value>
  66 + <value>commons-discovery.jar</value>
  67 + <value>jboss-annotations-ejb3.jar</value>
  68 + <value>jaxen-1.1-beta-4.jar</value>
  69 + <value>hibernate-annotations.jar</value>
  70 + <value>commons-httpclient.jar</value>
  71 + <value>commons-logging.jar</value>
  72 + <value>commons-vfs.jar</value>
  73 + <value>hibernate3.jar</value>
  74 + <value>commons-logging-api.jar</value>
  75 + <value>asm.jar</value>
  76 + <value>asm-attrs.jar</value>
  77 + <value>commons-lang-2.0.jar</value>
  78 + <value>commons-beanutils.jar</value>
  79 + <value>jboss-ejb3.jar</value>
  80 + <value>dom4j.jar</value>
  81 + <value>commons-codec-1.2.jar</value>
  82 + <value>wsdl4j.jar</value>
  83 + <value>xmlsec.jar</value>
  84 + <value>jbossws.jar</value>
  85 + <value>jboss-bean-deployer.jar</value>
  86 + <value>jboss-microcontainer.jar</value>
  87 + <value>jboss-dependency.jar</value>
  88 + <value>jboss-container.jar</value>
  89 + <value>tomcat-coyote.jar</value>
  90 + <value>commons-collections.jar</value>
  91 + <value>myfaces.jar</value>
  92 + <value>jstl.jar</value>
  93 + <value>commons-digester-1.6.jar</value>
  94 + <value>myfaces-impl.jar</value>
  95 + <value>commons-beanutils.jar</value>
  96 + <value>myfaces-jsf-api.jar</value>
  97 + <value>commons-codec-1.2.jar</value>
  98 + <value>catalina-optional.jar</value>
  99 + <value>tomcat-util.jar</value>
  100 + <value>jasper-compiler.jar</value>
  101 + <value>commons-el.jar</value>
  102 + <value>jasper-compiler-jdt.jar</value>
  103 + <value>tomcat-http.jar</value>
  104 + <value>catalina-manager.jar</value>
  105 + <value>jasper-runtime.jar</value>
  106 + <value>tomcat55-service.jar</value>
  107 + <value>servlets-invoker.jar</value>
  108 + <value>catalina.jar</value>
  109 + <value>naming-resources.jar</value>
  110 + <value>servlets-default.jar</value>
  111 + <value>tomcat-ajp.jar</value>
  112 + <value>commons-modeler.jar</value>
  113 + <value>tomcat-apr.jar</value>
  114 + <value>servlets-webdav.jar</value>
  115 + </set>
  116 + </property>
  117 + <depends>AspectLibrary</depends>
  118 + </bean>
  119 + <bean name="EJBStage2Deployer" class="org.jboss.ejb3.deployers.EJBStage2Deployer">
  120 + <depends>AspectLibrary</depends>
  121 + </bean>
  122 +
  123 + <bean name="AppClientParsingDeployer" class="org.jboss.ejb3.deployers.AppClientParsingDeployer">
  124 + <property name="type">car</property>
  125 + <!-- TODO: check depends -->
  126 + <depends>AspectLibrary</depends>
  127 + </bean>
  128 +
  129 + <bean name="JBossClientParsingDeployer" class="org.jboss.ejb3.deployers.JBossClientParsingDeployer">
  130 + <property name="type">car</property>
  131 + <depends>AppClientParsingDeployer</depends>
  132 + </bean>
  133 +
  134 + <bean name="AppClientScanningDeployer" class="org.jboss.ejb3.deployers.AppClientScanningDeployer">
  135 + <depends>JBossClientParsingDeployer</depends>
  136 + </bean>
  137 +
  138 + <bean name="Ejb3ClientDeployer" class="org.jboss.ejb3.deployers.Ejb3ClientDeployer">
  139 + <property name="type">car</property>
  140 + <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
  141 + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
  142 + <!-- TODO: check depends -->
  143 + <depends>AspectLibrary</depends>
  144 + <depends>AppClientScanningDeployer</depends>
  145 + </bean>
  146 +
  147 + <!-- EJB3 Cache Factory Registry -->
  148 + <bean name="EJB3CacheFactoryRegistry" class="org.jboss.ejb3.cache.CacheFactoryRegistry">
  149 + <property name="factories">
  150 + <!-- Define each of the registered factories -->
  151 + <map class="java.util.HashMap" keyClass="java.lang.String"
  152 + valueClass="java.lang.Class">
  153 + <!-- NoPassivationCache -->
  154 + <entry>
  155 + <key>NoPassivationCache</key>
  156 + <value>org.jboss.ejb3.cache.NoPassivationCacheFactory</value>
  157 + </entry>
  158 + <!-- SimpleStatefulCache -->
  159 + <entry>
  160 + <key>SimpleStatefulCache</key>
  161 + <value>org.jboss.ejb3.cache.simple.SimpleStatefulCacheFactory</value>
  162 + </entry>
  163 + <!-- StatefulTreeCache -->
  164 + <entry>
  165 + <key>StatefulTreeCache</key>
  166 + <value>org.jboss.ejb3.cache.tree.StatefulTreeCacheFactory</value>
  167 + </entry>
  168 + </map>
  169 + </property>
  170 + </bean>
  171 +
  172 + <!-- EJB3 Pool Factory Registry -->
  173 + <bean name="EJB3PoolFactoryRegistry" class="org.jboss.ejb3.pool.PoolFactoryRegistry">
  174 + <property name="factories">
  175 + <!-- Define each of the registered factories -->
  176 + <map class="java.util.HashMap" keyClass="java.lang.String"
  177 + valueClass="java.lang.Class">
  178 + <!-- ThreadlocalPool -->
  179 + <entry>
  180 + <key>ThreadlocalPool</key>
  181 + <value>org.jboss.ejb3.pool.ThreadlocalPoolFactory</value>
  182 + </entry>
  183 + <!-- StrictMaxPool -->
  184 + <entry>
  185 + <key>StrictMaxPool</key>
  186 + <value>org.jboss.ejb3.pool.StrictMaxPoolFactory</value>
  187 + </entry>
  188 + </map>
  189 + </property>
  190 + </bean>
  191 +
  192 + <!-- Remoting Proxy Factory Registry -->
  193 + <bean name="EJB3RemoteProxyFactoryRegistry" class="org.jboss.ejb3.remoting.RemoteProxyFactoryRegistry">
  194 + <property name="factories">
  195 + <!-- Define each of the registered factories -->
  196 + <map class="java.util.HashMap" keyClass="java.lang.String"
  197 + valueClass="java.lang.Class">
  198 + <!-- RemoteProxyFactory -->
  199 + <entry>
  200 + <key>RemoteProxyFactory</key>
  201 + <value>org.jboss.ejb3.remoting.RemoteProxyFactory</value>
  202 + </entry>
  203 + <!-- IORFactory -->
  204 + <entry>
  205 + <key>IORFactory</key>
  206 + <value>org.jboss.ejb3.iiop.IORFactory</value>
  207 + </entry>
  208 + <!-- ServiceRemoteProxyFactory -->
  209 + <entry>
  210 + <key>ServiceRemoteProxyFactory</key>
  211 + <value>org.jboss.ejb3.service.ServiceRemoteProxyFactory</value>
  212 + </entry>
  213 + <!-- StatefulClusterProxyFactory -->
  214 + <!-- <entry>
  215 + <key>StatefulClusterProxyFactory</key>
  216 + <value>org.jboss.ejb3.stateful.StatefulClusterProxyFactory</value>
  217 + </entry>-->
  218 + <!-- StatefulRemoteProxyFactory -->
  219 + <entry>
  220 + <key>StatefulRemoteProxyFactory</key>
  221 + <value>org.jboss.ejb3.stateful.StatefulRemoteProxyFactory</value>
  222 + </entry>
  223 + <!-- StatelessClusterProxyFactory -->
  224 + <!-- <entry>
  225 + <key>StatelessClusterProxyFactory</key>
  226 + <value>org.jboss.ejb3.stateless.StatelessClusterProxyFactory</value>
  227 + </entry>-->
  228 + <!-- StatelessRemoteProxyFactory -->
  229 + <entry>
  230 + <key>StatelessRemoteProxyFactory</key>
  231 + <value>org.jboss.ejb3.stateless.StatelessRemoteProxyFactory</value>
  232 + </entry>
  233 + </map>
  234 + </property>
  235 + </bean>
  236 +
  237 + <!-- EJB3 Persistence Manager Factory Registry -->
  238 + <bean name="EJB3PersistenceManagerFactoryRegistry" class="org.jboss.ejb3.cache.persistence.PersistenceManagerFactoryRegistry">
  239 + <property name="factories">
  240 + <!-- Define each of the registered factories -->
  241 + <map class="java.util.HashMap" keyClass="java.lang.String"
  242 + valueClass="java.lang.Class">
  243 + <!-- StatefulSessionFilePersistenceManager -->
  244 + <entry>
  245 + <key>StatefulSessionFilePersistenceManager</key>
  246 + <value>org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManagerFactory</value>
  247 + </entry>
  248 + </map>
  249 + </property>
  250 + </bean>
  251 +
  252 + <bean name="JNDIKernelRegistryPlugin" class="org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin"/>
  253 +
  254 + <!-- Persistence Unit deployers -->
  255 + <bean name="PersistenceUnitParsingDeployer" class="org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer">
  256 + <property name="type">car</property>
  257 + </bean>
  258 +
  259 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Aspect Deployer
  5 +-->
  6 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  7 +
  8 + <!-- Aspect Library -->
  9 + <bean name="AspectLibrary" class="org.jboss.aop.deployers.JBossAspectLibrary">
  10 + <property name="aspectManager"><inject bean="AspectManager"/></property>
  11 + </bean>
  12 +
  13 + <!-- Add the JMX -->
  14 + <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
  15 + name="JMXAdvice"
  16 + class="org.jboss.aop.microcontainer.aspects.jmx.JMXLifecycleCallback"
  17 + classes="@org.jboss.aop.microcontainer.aspects.jmx.JMX"
  18 + manager-bean="AspectManager"
  19 + manager-property="aspectManager">
  20 + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
  21 + </aop:lifecycle-configure>
  22 +
  23 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + JCA Deployers
  5 + $Id: jca-deployers-beans.xml 7115 2008-01-10 23:23:32Z pmuir $
  6 +-->
  7 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  8 +
  9 + <bean name="JCAMetaDataRepository" class="org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository"/>
  10 +
  11 + <!-- RAR Deployment -->
  12 + <bean name="RARParserDeployer" class="org.jboss.resource.deployers.RARParserDeployer">
  13 + <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property>
  14 + <property name="type">rar</property>
  15 + </bean>
  16 +
  17 + <bean name="RARDeployer" class="org.jboss.resource.deployers.RARDeployer">
  18 + <property name="workManagerName">jboss.jca:service=WorkManager</property>
  19 + <property name="XATerminatorName">jboss:service=TransactionManager</property>
  20 + <property name="type">rar</property>
  21 + </bean>
  22 +
  23 +
  24 +
  25 + <!-- ConnectionFactory Deployment - ->
  26 +
  27 + <bean name="ConnectionFactoryDeployer" class="org.jboss.system.deployers.ServiceXSLDeployer">
  28 + <property name="suffix">-ds.xml</property>
  29 + <property name="XSLPath">stylesheets/ConnectionFactoryTemplate.xsl</property>
  30 + <property name="type">jca-ds</property>
  31 + </bean>
  32 +
  33 + -->
  34 +
  35 + <bean name="MCFBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionFactoryBuilder">
  36 + <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property>
  37 + </bean>
  38 +
  39 + <bean name="PoolBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionPoolBuilder"/>
  40 + <bean name="ConnectionManagerBuilder" class="org.jboss.resource.deployers.builder.ConnectionManagerBuilder"/>
  41 + <bean name="ConnectionFactoryBindingBuilder" class="org.jboss.resource.deployers.builder.ConnectionFactoryBindingBuilder"/>
  42 + <bean name="MetaDataTypeMappingBuilder" class="org.jboss.resource.deployers.builder.MetaDataTypeMappingBuilder"/>
  43 +
  44 + <bean name="ManagedConnectionFactoryParserDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer">
  45 + <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property>
  46 + <property name="suffix">-ds.xml</property>
  47 + <property name="type">jca-ds</property>
  48 + </bean>
  49 +
  50 + <bean name="ManagedConnectionFactoryDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryDeployer">
  51 + <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property>
  52 + <property name="builders">
  53 + <list>
  54 + <inject bean="MCFBuilder"/>
  55 + <inject bean="PoolBuilder"/>
  56 + <inject bean="ConnectionManagerBuilder"/>
  57 + <inject bean="ConnectionFactoryBindingBuilder"/>
  58 + <inject bean="MetaDataTypeMappingBuilder"/>
  59 + </list>
  60 + </property>
  61 + <property name="type">jca-ds</property>
  62 + </bean>
  63 +
  64 + <!-- The template for creating a datasource -->
  65 + <bean name="LocalTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
  66 + <property name="info"><inject bean="LocalTxDataSourceTemplateInfo"/></property>
  67 + </bean>
  68 + <bean name="LocalTxDataSourceTemplateInfo"
  69 + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
  70 + <constructor>
  71 + <parameter>LocalTxDataSourceTemplate</parameter>
  72 + <parameter>A template for datasource *-ds.xml deployments</parameter>
  73 + <parameter>local-tx-datasource</parameter>
  74 + </constructor>
  75 + </bean>
  76 + <bean name="XADataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
  77 + <property name="info"><inject bean="XADataSourceTemplateInfo"/></property>
  78 + </bean>
  79 + <bean name="XADataSourceTemplateInfo"
  80 + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
  81 + <constructor>
  82 + <parameter>XADataSourceTemplate</parameter>
  83 + <parameter>A template for xa-datasource *-ds.xml deployments</parameter>
  84 + <parameter>xa-datasource</parameter>
  85 + </constructor>
  86 + </bean>
  87 + <bean name="NoTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
  88 + <property name="info"><inject bean="NoTxDataSourceTemplateInfo"/></property>
  89 + </bean>
  90 + <bean name="NoTxDataSourceTemplateInfo"
  91 + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
  92 + <constructor>
  93 + <parameter>NoTxDataSourceTemplate</parameter>
  94 + <parameter>A template for no-tx-datasource *-ds.xml deployments</parameter>
  95 + <parameter>no-tx-datasource</parameter>
  96 + </constructor>
  97 + </bean>
  98 + <bean name="TxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
  99 + <property name="info"><inject bean="TxConnectionFactoryTemplateInfo"/></property>
  100 + </bean>
  101 + <bean name="TxConnectionFactoryTemplateInfo"
  102 + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
  103 + <constructor>
  104 + <parameter>TxConnectionFactoryTemplate</parameter>
  105 + <parameter>A template for tx-connection-factory *-ds.xml deployments</parameter>
  106 + <parameter>tx-connection-factory</parameter>
  107 + </constructor>
  108 + </bean>
  109 + <bean name="NoTxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
  110 + <property name="info"><inject bean="NoTxConnectionFactoryTemplateInfo"/></property>
  111 + </bean>
  112 + <bean name="NoTxConnectionFactoryTemplateInfo"
  113 + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
  114 + <constructor>
  115 + <parameter>NoTxConnectionFactoryTemplate</parameter>
  116 + <parameter>A template for no-tx-connection-factory *-ds.xml deployments</parameter>
  117 + <parameter>no-tx-connection-factory</parameter>
  118 + </constructor>
  119 + </bean>
  120 +
  121 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + MetaData configuration
  5 + $Id: metadata-beans.xml 6916 2007-12-05 17:53:00Z pmuir $
  6 +-->
  7 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  8 +
  9 + <!-- The reference metdata resolving deployer
  10 + -->
  11 + <bean name="ReferenceMetaDataResolverDeployer"
  12 + class="org.jboss.deployment.ReferenceMetaDataResolverDeployer">
  13 + </bean>
  14 + <bean name="AnnotationMetaDataDeployer"
  15 + class="org.jboss.deployment.AnnotationMetaDataDeployer">
  16 + <property name="metaDataCompleteIsDefault">true</property>
  17 + </bean>
  18 +
  19 + <!-- The schema location to JBossXB binding class mappings. We specify the dtd/xsd name
  20 + of the schema as the location to work with legacy dtd as well as namespace based
  21 + documents.
  22 + -->
  23 + <bean name="SchemaResolverConfig"
  24 + class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
  25 +
  26 + <!-- schemaLocation to JBossXBuilder binding classes -->
  27 + <property name="bindingClassesByLocations">
  28 + <map keyClass="java.lang.String" valueClass="java.lang.String">
  29 + <!-- EarMetaData -->
  30 + <entry>
  31 + <key>application</key>
  32 + <value>org.jboss.metadata.ear.spec.Ear14MetaData</value>
  33 + </entry>
  34 + <entry>
  35 + <key>application_1_2.dtd</key>
  36 + <value>org.jboss.metadata.ear.spec.Ear13DTDMetaData</value>
  37 + </entry>
  38 + <entry>
  39 + <key>application_1_3.dtd</key>
  40 + <value>org.jboss.metadata.ear.spec.Ear13DTDMetaData</value>
  41 + </entry>
  42 + <entry>
  43 + <key>application_1_4.xsd</key>
  44 + <value>org.jboss.metadata.ear.spec.Ear14MetaData</value>
  45 + </entry>
  46 + <entry>
  47 + <key>application_5.xsd</key>
  48 + <value>org.jboss.metadata.ear.spec.Ear50MetaData</value>
  49 + </entry>
  50 + <!-- JBossAppMetaData -->
  51 + <entry>
  52 + <key>jboss-app</key>
  53 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  54 + </entry>
  55 + <entry>
  56 + <key>jboss-app_3_0.dtd</key>
  57 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  58 + </entry>
  59 + <entry>
  60 + <key>jboss-app_3_2.dtd</key>
  61 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  62 + </entry>
  63 + <entry>
  64 + <key>jboss-app_4_0.dtd</key>
  65 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  66 + </entry>
  67 + <entry>
  68 + <key>jboss-app_4_2.dtd</key>
  69 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  70 + </entry>
  71 + <entry>
  72 + <key>jboss-app_5_0.dtd</key>
  73 + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value>
  74 + </entry>
  75 + <entry>
  76 + <key>jboss-app_5_0.xsd</key>
  77 + <value>org.jboss.metadata.ear.jboss.JBoss50AppMetaData</value>
  78 + </entry>
  79 +
  80 + <!-- ApplicationClientMetaData -->
  81 + <entry>
  82 + <key>application-client</key>
  83 + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value>
  84 + </entry>
  85 + <entry>
  86 + <key>application-client_1_2.dtd</key>
  87 + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value>
  88 + </entry>
  89 + <entry>
  90 + <key>application-client_1_3.dtd</key>
  91 + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value>
  92 + </entry>
  93 + <entry>
  94 + <key>application-client_1_4.xsd</key>
  95 + <value>org.jboss.metadata.client.spec.ApplicationClient14MetaData</value>
  96 + </entry>
  97 + <entry>
  98 + <key>application-client_5.xsd</key>
  99 + <value>org.jboss.metadata.client.spec.ApplicationClient5MetaData</value>
  100 + </entry>
  101 + <!-- ApplicationClientMetaData -->
  102 + <entry>
  103 + <key>jboss-client</key>
  104 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  105 + </entry>
  106 + <entry>
  107 + <key>jboss-client_3_0.dtd</key>
  108 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  109 + </entry>
  110 + <entry>
  111 + <key>jboss-client_3_2.dtd</key>
  112 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  113 + </entry>
  114 + <entry>
  115 + <key>jboss-client_4_0.dtd</key>
  116 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  117 + </entry>
  118 + <entry>
  119 + <key>jboss-client_4_2.dtd</key>
  120 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  121 + </entry>
  122 + <entry>
  123 + <key>jboss-client_5_0.dtd</key>
  124 + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value>
  125 + </entry>
  126 + <entry>
  127 + <key>jboss-client_5_0.xsd</key>
  128 + <value>org.jboss.metadata.client.jboss.JBossClient5MetaData</value>
  129 + </entry>
  130 +
  131 + <!-- EjbJarMetaData -->
  132 + <entry>
  133 + <key>ejb-jar</key>
  134 + <value>org.jboss.metadata.ejb.spec.EjbJar20MetaData</value>
  135 + </entry>
  136 + <entry>
  137 + <key>ejb-jar_1_1.dtd</key>
  138 + <value>org.jboss.metadata.ejb.spec.EjbJar1xMetaData</value>
  139 + </entry>
  140 + <entry>
  141 + <key>ejb-jar_2_0.dtd</key>
  142 + <value>org.jboss.metadata.ejb.spec.EjbJar20MetaData</value>
  143 + </entry>
  144 + <entry>
  145 + <key>ejb-jar_2_1.xsd</key>
  146 + <value>org.jboss.metadata.ejb.spec.EjbJar21MetaData</value>
  147 + </entry>
  148 + <entry>
  149 + <key>ejb-jar_3_0.xsd</key>
  150 + <value>org.jboss.metadata.ejb.spec.EjbJar30MetaData</value>
  151 + </entry>
  152 +
  153 + <!-- JBossMetaData -->
  154 + <entry>
  155 + <key>jboss</key>
  156 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  157 + </entry>
  158 + <entry>
  159 + <key>jboss_3_0.dtd</key>
  160 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  161 + </entry>
  162 + <entry>
  163 + <key>jboss_3_2.dtd</key>
  164 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  165 + </entry>
  166 + <entry>
  167 + <key>jboss_4_0.dtd</key>
  168 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  169 + </entry>
  170 + <entry>
  171 + <key>jboss_4_2.dtd</key>
  172 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  173 + </entry>
  174 + <entry>
  175 + <key>jboss_5_0.dtd</key>
  176 + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
  177 + </entry>
  178 + <entry>
  179 + <key>jboss_5_0.xsd</key>
  180 + <value>org.jboss.metadata.ejb.jboss.JBoss50MetaData</value>
  181 + </entry>
  182 +
  183 + <!-- WebMetaData -->
  184 + <entry>
  185 + <key>web-app</key>
  186 + <value>org.jboss.metadata.web.spec.Web23MetaData</value>
  187 + </entry>
  188 + <entry>
  189 + <key>web-app_2_2.dtd</key>
  190 + <value>org.jboss.metadata.web.spec.Web23MetaData</value>
  191 + </entry>
  192 + <entry>
  193 + <key>web-app_2_3.dtd</key>
  194 + <value>org.jboss.metadata.web.spec.Web23MetaData</value>
  195 + </entry>
  196 + <entry>
  197 + <key>web-app_2_4.xsd</key>
  198 + <value>org.jboss.metadata.web.spec.Web24MetaData</value>
  199 + </entry>
  200 + <entry>
  201 + <key>web-app_2_5.xsd</key>
  202 + <value>org.jboss.metadata.web.spec.Web25MetaData</value>
  203 + </entry>
  204 + <!-- JBossWebMetaData -->
  205 + <entry>
  206 + <key>jboss-web</key>
  207 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  208 + </entry>
  209 + <entry>
  210 + <key>jboss-web_3_0.dtd</key>
  211 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  212 + </entry>
  213 + <entry>
  214 + <key>jboss-web_3_2.dtd</key>
  215 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  216 + </entry>
  217 + <entry>
  218 + <key>jboss-web_4_0.dtd</key>
  219 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  220 + </entry>
  221 + <entry>
  222 + <key>jboss-web_4_2.dtd</key>
  223 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  224 + </entry>
  225 + <entry>
  226 + <key>jboss-web_5_0.dtd</key>
  227 + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value>
  228 + </entry>
  229 + <entry>
  230 + <key>jboss-web_5_0.xsd</key>
  231 + <value>org.jboss.metadata.web.jboss.JBoss50WebMetaData</value>
  232 + </entry>
  233 + </map>
  234 + </property>
  235 + </bean>
  236 +
  237 +</deployment>
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + Security Deployer
  5 +-->
  6 +<deployment xmlns="urn:jboss:bean-deployer:2.0">
  7 + <bean name="SecurityDeployer" class="org.jboss.deployment.security.SecurityDeployer">
  8 + <property name="type">security</property>
  9 + <property name="ignoreSuffixes">
  10 + <set elementClass="java.lang.String">
  11 + <value>xml</value>
  12 + <value>beans</value>
  13 + <value>deployer</value>
  14 + <value>rar</value>
  15 + <value>properties</value>
  16 + </set>
  17 + </property>
  18 + </bean>
  19 +
  20 + <!-- JNDI Object Factory to establish SecurityDomainContext objects -->
  21 + <bean name="SecurityDomainObjectFactory" class="org.jboss.security.integration.SecurityDomainObjectFactory" />
  22 +
  23 + <!-- JNDI Context legacy establishment of java:/jaas/securityDomain -->
  24 + <bean name="JBossSecurityJNDIContextEstablishment" class="org.jboss.security.integration.JNDIContextEstablishment"/>
  25 +
  26 + <!-- JNDI Based Security Management -->
  27 + <bean name="JNDIBasedSecurityManagement" class="org.jboss.security.integration.JNDIBasedSecurityManagement">
  28 + </bean>
  29 +
  30 +</deployment>
... ...
  1 +# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
  2 +#
  3 +java.naming.factory.initial=org.jboss.naming.JBossRemotingContextFactory
  4 +java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  2 +
  3 +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
  4 +
  5 + <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
  6 + <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  7 + <param name="Target" value="System.out"/>
  8 + <layout class="org.apache.log4j.PatternLayout">
  9 + <!-- The default pattern: Date Priority [Category] Message\n -->
  10 + <param name="ConversionPattern" value="%-5p [%c{6}] %m%n"/>
  11 + </layout>
  12 + </appender>
  13 +
  14 + <!-- ############### Embedded JBoss AS ################# -->
  15 + <category name="org.jboss">
  16 + <priority value="ERROR"/>
  17 + </category>
  18 + <category name="com.arjuna">
  19 + <priority value="ERROR"/>
  20 + </category>
  21 +
  22 + <!-- EMB-6, JMS activation throws an error due to deployment ordering, but as there is a timeout
  23 + and retry the tests pass. Hide the error message -->
  24 + <category name="jboss.resource.adapter.jms.inflow.JmsActivation">
  25 + <priority value="ERROR"/>
  26 + </category>
  27 +
  28 + <!-- ############### Hibernate logging ################# -->
  29 +
  30 + <category name="org.hibernate">
  31 + <priority value="ERROR"/>
  32 + </category>
  33 +
  34 + <!--
  35 + <category name="org.hibernate.SQL">
  36 + <priority value="TRACE"/>
  37 + </category>
  38 + <category name="org.hibernate.type">
  39 + <priority value="TRACE"/>
  40 + </category>
  41 + <category name="org.hibernate.loader">
  42 + <priority value="TRACE"/>
  43 + </category>
  44 + <category name="org.hibernate.cache">
  45 + <priority value="TRACE"/>
  46 + </category>
  47 + -->
  48 +
  49 + <!-- Ajax4jsf is too noisy -->
  50 + <category name="org.ajax4jsf.cache">
  51 + <priority value="WARN"/>
  52 + </category>
  53 +
  54 +
  55 + <!-- ############### Seam logging ################### -->
  56 + <category name="org.jboss.seam">
  57 + <priority value="WARN"/>
  58 + </category>
  59 +
  60 +
  61 +
  62 + <!-- These things are too noisy
  63 + <category name="org.jboss.seam.jsf.SeamVariableResolver">
  64 + <priority value="INFO"/>
  65 + </category>
  66 + <category name="org.jboss.seam.contexts.Contexts">
  67 + <priority value="INFO"/>
  68 + </category>
  69 + <category name="org.jboss.seam.Component">
  70 + <priority value="INFO"/>
  71 + </category>
  72 + <category name="org.jboss.seam.deployment.Scanner">
  73 + <priority value="INFO"/>
  74 + </category>
  75 + <category name="org.jboss.seam.util.Naming">
  76 + <priority value="INFO"/>
  77 + </category>
  78 + <category name="org.jboss.seam.debug.hot">
  79 + <priority value="INFO"/>
  80 + </category>
  81 + <category name="org.jboss.seam.core.Events">
  82 + <priority value="INFO"/>
  83 + </category>
  84 + -->
  85 +
  86 + <!-- Debugging conversations and persistence contexts
  87 + <category name="org.jboss.seam.core.Manager">
  88 + <priority value="DEBUG"/>
  89 + </category>
  90 + <category name="org.jboss.seam.core.ManagedPersistenceContext">
  91 + <priority value="DEBUG"/>
  92 + </category>
  93 + <category name="org.jboss.seam.jsf.AbstractSeamPhaseListener">
  94 + <priority value="DEBUG"/>
  95 + </category>
  96 + <category name="org.jboss.seam.interceptors.ConversationInterceptor">
  97 + <priority value="DEBUG"/>
  98 + </category>
  99 + <category name="org.jboss.seam.contexts.Lifecycle">
  100 + <priority value="DEBUG"/>
  101 + </category>
  102 + <category name="org.hibernate.impl.SessionImpl">
  103 + <priority value="DEBUG"/>
  104 + </category>
  105 + <category name="org.hibernate.event.def.AbstractFlushingEventListener">
  106 + <priority value="DEBUG"/>
  107 + </category>
  108 + -->
  109 +
  110 + <root>
  111 + <priority value="INFO"/>
  112 + <appender-ref ref="CONSOLE"/>
  113 + </root>
  114 +
  115 +</log4j:configuration>
... ...
  1 +debug=true
  2 +action.dir=/WEB-INF/dev
... ...
  1 +debug=false
  2 +
  3 +
  4 +
... ...
  1 +jboss.home = /home/bernard/jboss-4.2.2.GA
  2 +jboss.domain = default
... ...
  1 +<?xml version="1.0"?>
  2 +<project name="seamTestInAction" default="deploy" basedir=".">
  3 +
  4 + <!-- Give user a chance to override without editing this file or typing -D -->
  5 + <property file="${basedir}/build.properties" />
  6 +
  7 + <property name="profile" value="dev" />
  8 + <property file="build-${profile}.properties" />
  9 +
  10 + <!-- set global properties for this build -->
  11 + <property name="project.name" value="seamTestInAction"/>
  12 + <property name="dist.dir" value="dist" />
  13 + <property name="src.model.dir" value="src/main" />
  14 + <property name="src.action.dir" value="src/hot" />
  15 + <property name="src.test.dir" value="src/test" />
  16 + <property name="lib.dir" value="lib" />
  17 + <property name="endorsed.dir" value="${lib.dir}/endorsed" />
  18 + <property name="war.dir" value="exploded-archives/${project.name}.war" />
  19 + <property name="classes.model.dir" value="${war.dir}/WEB-INF/classes" />
  20 + <property name="action.dir" value="WEB-INF/classes" />
  21 + <property name="classes.action.dir" value="${war.dir}/${action.dir}" />
  22 + <property name="test.dir" value="test-build" />
  23 + <property name="bootstrap.dir" value="${basedir}/bootstrap" />
  24 + <property name="jboss.domain" value="default"/>
  25 + <property name="deploy.dir" value="${jboss.home}/server/${jboss.domain}/deploy" />
  26 + <property name="war.deploy.dir" value="${deploy.dir}/${project.name}.war" />
  27 + <property name="testng.jar" value="${basedir}/lib/testng.jar" />
  28 + <property name="javac.debug" value="true" />
  29 + <property name="javac.deprecation" value="false" />
  30 + <property name="debug" value="false" />
  31 +
  32 + <!--Properties for validating configuration files -->
  33 + <property name="validate.resources.dir" value="${basedir}/exploded-archives"/>
  34 + <property name="schema.dir" value="${basedir}/exploded-archives/schemas"/>
  35 + <property name="src.schema.dir" value="${schema.dir}/org/jboss/seam"/>
  36 + <property name="schema.version" value="2.1"/>
  37 +
  38 + <fileset id="lib" dir="${lib.dir}">
  39 + <include name="*.jar" />
  40 + </fileset>
  41 +
  42 + <path id="build.classpath">
  43 + <fileset refid="lib" />
  44 + </path>
  45 +
  46 + <target name="init" description="Initialize the build">
  47 +
  48 + <taskdef name="groovyc"
  49 + classname ="org.codehaus.groovy.ant.Groovyc"
  50 + classpathref="build.classpath"/> <!-- really only the groovy jar is necessary -->
  51 +
  52 + <mkdir dir="${classes.model.dir}" />
  53 + <mkdir dir="${classes.action.dir}" />
  54 + <mkdir dir="${dist.dir}" />
  55 + <!-- if a .groovy file is in model or action, set groovy.present -->
  56 + <available property="groovy.present" value="true" file="" searchparents="true">
  57 + <filepath>
  58 + <fileset dir="${src.action.dir}">
  59 + <include name="**/*.groovy"/>
  60 + </fileset>
  61 + <fileset dir="${src.model.dir}">
  62 + <include name="**/*.groovy"/>
  63 + </fileset>
  64 + </filepath>
  65 + </available>
  66 + <condition property="groovy.test.present" value="true">
  67 + <or>
  68 + <isset property="groovy.present"/>
  69 + <available file="" searchparents="true">
  70 + <filepath>
  71 + <fileset dir="${src.test.dir}">
  72 + <include name="**/*.groovy"/>
  73 + </fileset>
  74 + </filepath>
  75 + </available>
  76 + </or>
  77 + </condition>
  78 + <condition property="groovy.dynamic" value="true">
  79 + <and>
  80 + <isset property="groovy.present"/>
  81 + <istrue value="${debug}"/>
  82 + </and>
  83 + </condition>
  84 + <condition property="groovy.static" value="true">
  85 + <and>
  86 + <isset property="groovy.present"/>
  87 + <isfalse value="${debug}"/>
  88 + </and>
  89 + </condition>
  90 + </target>
  91 +
  92 + <target name="compilemodel" depends="init,groovy.compilemodel"
  93 + description="Compile the Java source code"
  94 + unless="eclipse.running">
  95 + <javac classpathref="build.classpath"
  96 + destdir="${classes.model.dir}"
  97 + debug="${javac.debug}"
  98 + deprecation="${javac.deprecation}"
  99 + nowarn="on">
  100 + <src path="${src.model.dir}" />
  101 + </javac>
  102 + </target>
  103 +
  104 + <target name="groovy.compilemodel" if="groovy.present">
  105 + <!-- model is always compiled -->
  106 + <groovyc classpathref="build.classpath"
  107 + destdir="${classes.model.dir}"
  108 + srcdir="${src.model.dir}" >
  109 + </groovyc>
  110 + </target>
  111 +
  112 + <target name="compileactions" depends="init,groovy.compileactions,groovy.copyactions"
  113 + description="Compile the Java source code"
  114 + unless="eclipse.running">
  115 + <javac classpathref="build.classpath"
  116 + destdir="${classes.action.dir}"
  117 + debug="${javac.debug}"
  118 + deprecation="${javac.deprecation}"
  119 + nowarn="on">
  120 + <classpath path="${classes.model.dir}"/>
  121 + <src path="${src.action.dir}" />
  122 + </javac>
  123 + </target>
  124 +
  125 + <target name="groovy.compileactions" if="groovy.static">
  126 + <path id="groovy.action.classpath">
  127 + <path refid="build.classpath"/>
  128 + <dirset dir="${classes.model.dir}"/>
  129 + </path>
  130 + <groovyc classpathref="groovy.action.classpath"
  131 + destdir="${classes.action.dir}"
  132 + srcdir="${src.action.dir}" >
  133 + </groovyc>
  134 + </target>
  135 +
  136 + <target name="groovy.copyactions" if="groovy.dynamic">
  137 + <!-- copy the action groovy files into action if not compiled -->
  138 + <copy todir="${classes.action.dir}">
  139 + <fileset dir="${src.action.dir}">
  140 + <include name="**/*.groovy"/>
  141 + </fileset>
  142 + </copy>
  143 + </target>
  144 +
  145 + <target name="copyclasses" depends="init,groovy.copyactions"
  146 + description="Copy the classes that were compiled by eclipse"
  147 + if="eclipse.running">
  148 + <!-- TODO check how the groovy eclipse plugin works, does it compile? -->
  149 + <copy todir="${classes.model.dir}">
  150 + <fileset dir="classes/main">
  151 + <include name="**/*.class"/>
  152 + </fileset>
  153 + </copy>
  154 + <copy todir="${classes.action.dir}">
  155 + <fileset dir="classes/hot">
  156 + <include name="**/*.class"/>
  157 + </fileset>
  158 + </copy>
  159 + </target>
  160 +
  161 + <target name="compile" depends="compilemodel,compileactions,copyclasses"
  162 + description="Compile the various source paths"/>
  163 +
  164 + <target name="war" depends="compile"
  165 + description="Build the WAR structure in a staging directory">
  166 +
  167 + <copy todir="${war.dir}/WEB-INF/classes">
  168 + <fileset dir="${basedir}/resources">
  169 + <include name="seam.properties" />
  170 + <include name="*.drl" />
  171 + </fileset>
  172 + <fileset dir="${src.model.dir}">
  173 + <include name="**/*.component.xml" />
  174 + </fileset>
  175 + </copy>
  176 +
  177 + <copy tofile="${war.dir}/WEB-INF/classes/components.properties"
  178 + file="${basedir}/resources/components-${profile}.properties"
  179 + overwrite="true"/>
  180 +
  181 + <copy tofile="${war.dir}/WEB-INF/classes/META-INF/persistence.xml"
  182 + file="${basedir}/resources/META-INF/persistence-${profile}-war.xml"
  183 + overwrite="true"/>
  184 +
  185 + <copy tofile="${war.dir}/WEB-INF/classes/import.sql"
  186 + file="${basedir}/resources/import-${profile}.sql"
  187 + overwrite="true"/>
  188 +
  189 + <copy todir="${war.dir}">
  190 + <fileset dir="${basedir}/view" />
  191 + </copy>
  192 +
  193 + <copy todir="${war.dir}/WEB-INF">
  194 + <fileset dir="${basedir}/resources/WEB-INF">
  195 + <include name="*.*"/>
  196 + <include name="classes/**/*.*"/>
  197 + <exclude name="classes/**/*.class"/>
  198 + <exclude name="classes/**/*.groovy"/>
  199 + </fileset>
  200 + </copy>
  201 +
  202 + <copy todir="${war.dir}/WEB-INF">
  203 + <fileset dir="${basedir}/resources/WEB-INF">
  204 + <include name="lib/*.*"/>
  205 + <include name="classes/**/*.class"/>
  206 + </fileset>
  207 + </copy>
  208 +
  209 + <copy todir="${war.dir}/WEB-INF/lib">
  210 + <fileset dir="${lib.dir}">
  211 + <includesfile name="deployed-jars.list"/>
  212 + <exclude name="jboss-seam-gen.jar"/>
  213 + <include name="groovy-*.jar" if="groovy.present"/>
  214 + </fileset>
  215 + </copy>
  216 +
  217 + <copy todir="${war.dir}/WEB-INF/classes">
  218 + <fileset dir="${basedir}/resources">
  219 + <include name="**/*.xcss"/>
  220 + </fileset>
  221 + <!-- move XCSS into classpath for now
  222 + loading from web context only works in JBoss AS 4 -->
  223 + <fileset dir="${basedir}/view">
  224 + <include name="**/*.xcss"/>
  225 + </fileset>
  226 + </copy>
  227 +
  228 + <copy todir="${war.dir}/WEB-INF/classes">
  229 + <fileset dir="${basedir}/resources">
  230 + <include name="messages*.properties"/>
  231 + <include name="*.skin.properties"/>
  232 + <include name="*_theme.properties"/>
  233 + </fileset>
  234 + </copy>
  235 +
  236 + <copy todir="${war.dir}/WEB-INF/classes">
  237 + <fileset dir="${basedir}/resources">
  238 + <include name="*jpdl.xml" />
  239 + <include name="*hibernate.cfg.xml" />
  240 + <include name="jbpm.cfg.xml" />
  241 + <include name="META-INF/orm.xml" />
  242 + </fileset>
  243 + </copy>
  244 +
  245 + </target>
  246 +
  247 + <target name="stage" depends="war"/>
  248 +
  249 + <target name="archive" depends="stage"
  250 + description="Package the WAR archive">
  251 + <jar jarfile="${dist.dir}/${project.name}.war" basedir="${war.dir}"/>
  252 + </target>
  253 +
  254 + <target name="datasource">
  255 + <fail unless="jboss.home">jboss.home not set</fail>
  256 + <copy file="${basedir}/resources/${project.name}-${profile}-ds.xml"
  257 + tofile="${deploy.dir}/${project.name}-ds.xml"
  258 + overwrite="true"/>
  259 + </target>
  260 +
  261 + <target name="explode" depends="stage,datasource"
  262 + description="Deploy the exploded archive">
  263 + <fail unless="jboss.home">jboss.home not set</fail>
  264 +
  265 + <mkdir dir="${war.deploy.dir}"/>
  266 + <copy todir="${war.deploy.dir}">
  267 + <fileset dir="${war.dir}"/>
  268 + </copy>
  269 + </target>
  270 +
  271 + <target name="unexplode" description="Undeploy the exploded archive">
  272 + <delete failonerror="no">
  273 + <fileset dir="${war.deploy.dir}">
  274 + <exclude name="**/*.jar"/>
  275 + </fileset>
  276 + </delete>
  277 + <delete file="${deploy.dir}/${project.name}-ds.xml" failonerror="no"/>
  278 + <delete dir="${war.deploy.dir}" failonerror="no"/>
  279 + </target>
  280 +
  281 + <target name="reexplode" depends="unexplode,clean,explode"
  282 + description="Undeploy the exploded archive, clean, then deploy the exploded archive"/>
  283 +
  284 + <target name="check-deployed" description="Check to see if packaged archive is currently deployed">
  285 + <fail unless="jboss.home">jboss.home not set</fail>
  286 + <condition property="archive.deployed" value="true">
  287 + <available file="${war.deploy.dir}" type="file"/>
  288 + </condition>
  289 + </target>
  290 +
  291 + <target name="restart-exploded" unless="archive.deployed" description="Deploy exploded archive if not deployed as packaged archive">
  292 + <antcall target="explode"/>
  293 + <touch file="${war.deploy.dir}/WEB-INF/web.xml"/>
  294 + </target>
  295 +
  296 + <target name="restart-deployed" if="archive.deployed" description="Deploy packaged archive if deployed as packaged archive">
  297 + <antcall target="deploy"/>
  298 + </target>
  299 +
  300 + <target name="restart" depends="check-deployed,restart-exploded,restart-deployed" description="Restart the exploded archive"/>
  301 +
  302 + <target name="deploy" depends="archive,datasource" description="Deploy the packaged archive">
  303 + <fail unless="jboss.home">jboss.home not set</fail>
  304 + <copy todir="${deploy.dir}" file="${dist.dir}/${project.name}.war" />
  305 + </target>
  306 +
  307 + <target name="undeploy" description="Undeploy the packaged archive">
  308 + <delete file="${deploy.dir}/${project.name}.war" />
  309 + <delete file="${deploy.dir}/${project.name}-ds.xml" />
  310 + </target>
  311 +
  312 + <target name="redeploy" depends="undeploy,clean,deploy"
  313 + description="Undeploy the packaged archive, clean, then deploy the packaged archive"/>
  314 +
  315 + <target name="clean" description="Clean out the staging directory">
  316 + <delete dir="${dist.dir}"/>
  317 + <delete dir="${basedir}/exploded-archives"/>
  318 + <delete dir="${basedir}/test-report"/>
  319 + <delete dir="${basedir}/test-output"/>
  320 + <delete failonerror="no" includeemptydirs="true">
  321 + <fileset dir="${test.dir}">
  322 + <exclude name="**/*.class" if="eclipse.running"/>
  323 + </fileset>
  324 + </delete>
  325 + </target>
  326 +
  327 + <target name="compiletest" depends="groovy.compiletest" unless="eclipse.running" description="Compile the Java source code for the tests">
  328 + <mkdir dir="${test.dir}"/>
  329 + <javac classpathref="build.classpath"
  330 + destdir="${test.dir}"
  331 + debug="${javac.debug}"
  332 + deprecation="${javac.deprecation}"
  333 + nowarn="on">
  334 + <src path="${src.action.dir}" />
  335 + <src path="${src.model.dir}" />
  336 + <src path="${src.test.dir}" />
  337 + </javac>
  338 + </target>
  339 +
  340 + <target name="groovy.compiletest" if="groovy.test.present" description="Compile the Groovy source code for the tests">
  341 + <mkdir dir="${test.dir}"/>
  342 + <groovyc classpathref="build.classpath"
  343 + destdir="${test.dir}">
  344 + <src path="${src.action.dir}"/>
  345 + <src path="${src.model.dir}"/>
  346 + <src path="${src.test.dir}"/>
  347 + </groovyc>
  348 + </target>
  349 +
  350 + <target name="copytestclasses" if="eclipse.running" description="Copy classes compiled by eclipse to the test dir">
  351 + <mkdir dir="${test.dir}"/>
  352 + <copy todir="${test.dir}">
  353 + <fileset dir="classes/main">
  354 + <include name="**/*.class"/>
  355 + </fileset>
  356 + </copy>
  357 + <copy todir="${test.dir}">
  358 + <fileset dir="classes/hot">
  359 + <include name="**/*.class"/>
  360 + </fileset>
  361 + </copy>
  362 + <copy todir="${test.dir}">
  363 + <fileset dir="classes/test">
  364 + <include name="**/*.class"/>
  365 + </fileset>
  366 + </copy>
  367 + </target>
  368 +
  369 + <target name="buildtest" depends="init,compiletest,copytestclasses" description="Build the tests">
  370 + <copy todir="${test.dir}">
  371 + <fileset dir="${basedir}/resources">
  372 + <exclude name="META-INF/persistence*.xml"/>
  373 + <exclude name="import*.sql"/>
  374 + <exclude name="${project.name}-*-ds.xml"/>
  375 + <exclude name="components-*.properties"/>
  376 + </fileset>
  377 + <fileset dir="${basedir}/view"/>
  378 + </copy>
  379 + <copy tofile="${test.dir}/META-INF/persistence.xml"
  380 + file="${basedir}/resources/META-INF/persistence-test-war.xml"
  381 + overwrite="true"/>
  382 + <copy tofile="${test.dir}/import.sql"
  383 + file="${basedir}/resources/import-test.sql"
  384 + overwrite="true"/>
  385 + <copy tofile="${test.dir}/components.properties"
  386 + file="${basedir}/resources/components-test.properties"
  387 + overwrite="true"/>
  388 + <copy todir="${test.dir}" flatten="true">
  389 + <fileset dir="${src.test.dir}">
  390 + <include name="**/*Test.xml" />
  391 + </fileset>
  392 + </copy>
  393 + </target>
  394 +
  395 + <target name="test" depends="buildtest" description="Run the tests">
  396 + <condition property="incompatible.jdk">
  397 + <and>
  398 + <equals arg1="${ant.java.version}" arg2="1.6"/>
  399 + <not><available classname="javax.xml.bind.JAXB"/></not>
  400 + </and>
  401 + </condition>
  402 + <fail if="incompatible.jdk">You are using an incompatible JDK 6. Please use Sun JDK 6 Update 4 (1.6.0_04) or newer or use Open JDK 6.</fail>
  403 + <taskdef resource="testngtasks" classpath="${testng.jar}" />
  404 + <path id="test.path">
  405 + <path path="${test.dir}" />
  406 + <fileset dir="${lib.dir}/test">
  407 + <include name="*.jar"/>
  408 + </fileset>
  409 + <path path="${bootstrap.dir}" />
  410 + <path refid="build.classpath" />
  411 + </path>
  412 + <testng outputdir="${basedir}/test-report">
  413 + <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}"/>
  414 + <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
  415 + <classpath refid="test.path" />
  416 + <xmlfileset dir="${test.dir}" includes="*Test.xml" />
  417 + </testng>
  418 + </target>
  419 +
  420 + <target name="javadoc" depends="compile">
  421 + <mkdir dir="${dist.dir}/apidoc" />
  422 + <javadoc classpathref="build.classpath" destdir="${dist.dir}/apidoc" use="true" protected="true" version="true" windowtitle="${project.name} API Documentation" doctitle="${project.name} API Documentation" link="http://java.sun.com/j2se/5.0/docs/api">
  423 +
  424 + <packageset dir="${src.action.dir}" defaultexcludes="yes">
  425 + <include name="*/**" />
  426 + </packageset>
  427 +
  428 + <packageset dir="${src.model.dir}" defaultexcludes="yes">
  429 + <include name="*/**" />
  430 + </packageset>
  431 +
  432 + </javadoc>
  433 + </target>
  434 +
  435 + <target name="validate" depends="stage" description="Validate the XML configuration files">
  436 + <mkdir dir="${schema.dir}"/>
  437 + <unjar src="${lib.dir}/jboss-seam.jar" dest="${schema.dir}">
  438 + <patternset>
  439 + <include name="org/jboss/seam/*.xsd"/>
  440 + <include name="org/jboss/seam/*.dtd"/>
  441 + </patternset>
  442 + </unjar>
  443 + <ant antfile="validate.xml" target="validateConfiguration"/>
  444 + </target>
  445 +
  446 +</project>
... ...
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<launchConfiguration type="org.eclipse.jdt.launching.remoteJavaApplication">
  3 +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
  4 +<listEntry value="/seamTestInAction"/>
  5 +</listAttribute>
  6 +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
  7 +<listEntry value="4"/>
  8 +</listAttribute>
  9 +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
  10 +<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
  11 +</listAttribute>
  12 +<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/>
  13 +<mapAttribute key="org.eclipse.jdt.launching.CONNECT_MAP">
  14 +<mapEntry key="port" value="8787"/>
  15 +<mapEntry key="hostname" value="localhost"/>
  16 +</mapAttribute>
  17 +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="seamTestInAction"/>
  18 +<stringAttribute key="org.eclipse.jdt.launching.VM_CONNECTOR_ID" value="org.eclipse.jdt.launching.socketAttachConnector"/>
  19 +</launchConfiguration>
... ...
  1 +antlr-runtime.jar
  2 +commons-beanutils.jar
  3 +commons-digester.jar
  4 +core.jar
  5 +drools-compiler.jar
  6 +drools-core.jar
  7 +janino.jar
  8 +jboss-el.jar
  9 +jboss-seam.jar
  10 +jboss-seam-*.jar
  11 +jbpm-jpdl.jar
  12 +jsf-facelets.jar
  13 +jxl.jar
  14 +mvel14.jar
  15 +richfaces-api.jar
  16 +richfaces-impl.jar
  17 +richfaces-ui.jar
... ...
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
  3 + <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
  4 + <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
  5 + <booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
  6 + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,unexplode,restart,buildtest,"/>
  7 + <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/>
  8 + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
  9 + <listEntry value="1"/>
  10 + </listAttribute>
  11 + <booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
  12 + <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
  13 + <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
  14 + <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
  15 + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="clean,unexplode,restart,buildtest,"/>
  16 + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="explode,buildtest,"/>
  17 + <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="seamTestInAction"/>
  18 + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
  19 + <listEntry value="/seamTestInAction/build.xml"/>
  20 + </listAttribute>
  21 + <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/seamTestInAction/build.xml}"/>
  22 +</launchConfiguration>
... ...
  1 +#File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
  2 +hibernate.connection.password=
  3 +hibernate.connection.username=sa
  4 +hibernate.connection.driver_class=org.hsqldb.jdbcDriver
  5 +hibernate.dialect=org.hibernate.dialect.HSQLDialect
  6 +hibernate.connection.url=jdbc:hsqldb:.
  7 +
  8 +hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
  9 +hibernate.datasource=
  10 +hibernate.transaction.manager_lookup_class=
... ...
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Please register or login to post a comment