User: d_jencks
Date: 01/11/18 22:59:13
Modified: src/resources/jmx test-service.xml
Log:
Fixed broken jmx deployment tests and added some new ones
Revision Changes Path
1.3 +13 -19 jbosstest/src/resources/jmx/test-service.xml
Index: test-service.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/jmx/test-service.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- test-service.xml 2001/10/13 18:54:52 1.2
+++ test-service.xml 2001/11/19 06:59:13 1.3
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- This is where you can add and configure your MBeans
- ATTENTION: The order of the listing here is the same order as
- the MBeans are loaded. Therefore if a MBean depends on another
- MBean to be loaded and started it has to be listed after all
- the MBeans it depends on.
+<!-- Test *service.xml file, deploying a ConnectionFactoryLoader.
-->
<server>
@@ -13,30 +9,28 @@
<!--This ds goes with hypersonic, so will work with default installation-->
<mbean code="org.jboss.resource.ConnectionFactoryLoader"
name="TestDomain:service=ConnectionFactoryLoader,name=DeployTestDS">
- <attribute
name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc\:hsqldb\:hsql\://localhost\:1476
+ <attribute
name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:hsqldb:hsql://localhost:1476
DriverClass=org.hsqldb.jdbcDriver</attribute>
<attribute name="JndiName">DeployTestDS</attribute>
<attribute name="TransactionManagerName">java:/TransactionManager</attribute>
- <attribute name="ResourceAdapterName">Minerva JDBC LocalTransaction
ResourceAdapter</attribute>
- <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
- <attribute
name="ConnectionManagerFactoryName">MinervaSharedLocalCMFactory</attribute>
+
+ <!--Anonymous mbean-ref to database being started -->
+ <mbean-ref>JBOSS-SYSTEM:service=Hypersonic</mbean-ref>
+
+ <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva
JDBC LocalTransaction ResourceAdapter</mbean-ref>
+ <mbean-ref
name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref>
<attribute name="ConnectionManagerProperties">#
#Wed Aug 15 16:17:29 EDT 2001
- InvalidateOnError=false
- Blocking=true
- IdleTimeoutMillis=1800000
- MaxSize=10
- TimestampUsed=false
- IdleTimeoutEnabled=false
- CleanupIntervalMillis=120000
MinSize=0
- GCMinIdleMillis=1200000
- CleanupEnabled=false
+ MaxSize=10
+ BlockingTimeoutMillis=5000
+ IdleTimeoutMinutes=30
+ CleanupIntervalMinutes=10
MaxIdleTimeoutPercent=1.0
</attribute>
<attribute name="PrincipalMappingClass">
org.jboss.resource.security.ManyToOnePrincipalMapping
- </attribute>
+ </attribute>
<attribute name="PrincipalMappingProperties">userName=sa</attribute>
</mbean>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development