[jboss-cvs] JBossAS SVN: r104061 - in branches/KABIR_JAVASSIST_REFLECT: build and 17 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Apr 16 10:50:41 EDT 2010


Author: kabir.khan at jboss.com
Date: 2010-04-16 10:50:34 -0400 (Fri, 16 Apr 2010)
New Revision: 104061

Added:
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml
Removed:
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml
   branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml
Modified:
   branches/KABIR_JAVASSIST_REFLECT/
   branches/KABIR_JAVASSIST_REFLECT/build/build.xml
   branches/KABIR_JAVASSIST_REFLECT/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
   branches/KABIR_JAVASSIST_REFLECT/component-matrix/pom.xml
   branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQConnectionFactoryDeployment.java
   branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQQueueDeployment.java
   branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQTopicDeployment.java
   branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf
   branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf.bat
   branches/KABIR_JAVASSIST_REFLECT/server/src/etc/conf/all/standardjboss.xml
   branches/KABIR_JAVASSIST_REFLECT/server/src/etc/deployers/metadata-deployer-jboss-beans.xml
   branches/KABIR_JAVASSIST_REFLECT/server/src/main/java/org/jboss/ejb/plugins/inflow/JBossJMSMessageEndpointFactory.java
   branches/KABIR_JAVASSIST_REFLECT/system/src/main/java/org/jboss/system/server/jmx/JMXConnector.java
   branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/sections/mdb.xml
   branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/test-jars.xml
Log:
Merged revisions 103965,103979,103981,103983-103985,103998 via svnmerge from 
https://svn.jboss.org/repos/jbossas/trunk

.......
  r103965 | smarlow at redhat.com | 2010-04-14 13:50:21 +0100 (Wed, 14 Apr 2010) | 1 line
  
  JBAS-7933  jconsole regression, no longer works.  Dont pass ClientSocketFactory when newing up RMIJRMPServerImpl
.......
  r103979 | pgier | 2010-04-14 20:15:23 +0100 (Wed, 14 Apr 2010) | 1 line
  
  Use fileset instead of property for copying hornetq jar so that version string is not included in filename.
.......
  r103981 | bstansberry at jboss.com | 2010-04-14 21:22:41 +0100 (Wed, 14 Apr 2010) | 1 line
  
  Eliminate JGroups WARN messages about deprecated 'shun' settings
.......
  r103983 | clebert.suconic at jboss.com | 2010-04-14 21:33:33 +0100 (Wed, 14 Apr 2010) | 1 line
  
  log.debug on HornetQ deployments
.......
  r103984 | bstansberry at jboss.com | 2010-04-14 22:05:53 +0100 (Wed, 14 Apr 2010) | 1 line
  
  [JBAS-7936] Add java.net.preferIPv4Stack=true to run.conf
.......
  r103985 | bstansberry at jboss.com | 2010-04-14 22:25:23 +0100 (Wed, 14 Apr 2010) | 1 line
  
  [JBAS-7936] Add java.net.preferIPv4Stack=true to run.conf.bat
.......
  r103998 | alex.loubyansky at jboss.com | 2010-04-15 14:42:16 +0100 (Thu, 15 Apr 2010) | 1 line
  
  JBAS-7911
.......



Property changes on: branches/KABIR_JAVASSIST_REFLECT
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk:1-103954
   + /trunk:1-104005

Modified: branches/KABIR_JAVASSIST_REFLECT/build/build.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/build/build.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/build/build.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1861,8 +1861,9 @@
     	  </patternset>
     	  <mapper type="flatten"/>
     </unzip>
-  	<copy file="${org.hornetq:hornetq-ra:jar}" todir="${install.all.deploy}/jms-ra.rar">
-        <mapper refid="remove-versions" />
+  	<copy todir="${install.all.deploy}/jms-ra.rar">
+      <fileset refid="org.hornetq:hornetq-ra:jar"/>
+      <mapper refid="remove-versions" />
   	</copy>
 
     <!-- The hornetq-int module output -->

Modified: branches/KABIR_JAVASSIST_REFLECT/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -57,7 +57,7 @@
           <PING timeout="2000" num_initial_members="3"/>
           <MERGE2 max_interval="100000" min_interval="20000"/>
           <FD_SOCK/>
-          <FD timeout="6000" max_tries="5" shun="true"/>
+          <FD timeout="6000" max_tries="5"/>
           <VERIFY_SUSPECT timeout="1500"/>
           <BARRIER/>
           <pbcast.NAKACK use_mcast_xmit="true" gc_lag="0"
@@ -69,7 +69,6 @@
           <VIEW_SYNC avg_send_interval="10000"/>
           <pbcast.GMS print_local_addr="true" 
                    join_timeout="3000"
-                   shun="true"
                    view_bundling="true"                   
                    view_ack_collection_timeout="5000"
                    resume_task_timeout="7500"/>
@@ -129,7 +128,7 @@
           <PING timeout="2000" num_initial_members="3"/>
           <MERGE2 max_interval="100000" min_interval="20000"/>
           <FD_SOCK/>
-          <FD timeout="6000" max_tries="5" shun="true"/>
+          <FD timeout="6000" max_tries="5"/>
           <VERIFY_SUSPECT timeout="1500"/>
           <BARRIER/>
           <pbcast.NAKACK use_mcast_xmit="true" gc_lag="0"
@@ -140,7 +139,6 @@
                    max_bytes="400000"/>          
           <VIEW_SYNC avg_send_interval="10000"/>
           <pbcast.GMS print_local_addr="true" join_timeout="3000"
-                   shun="true"
                    view_bundling="true"
                    view_ack_collection_timeout="5000"
                    resume_task_timeout="7500"/>
@@ -197,7 +195,7 @@
             <PING timeout="2000" num_initial_members="3"/>
             <MERGE2 max_interval="100000" min_interval="20000"/>
             <FD_SOCK/>
-            <FD timeout="6000" max_tries="5" shun="true"/>
+            <FD timeout="6000" max_tries="5"/>
             <VERIFY_SUSPECT timeout="1500"/>
             <BARRIER/>
             <pbcast.NAKACK use_mcast_xmit="true" gc_lag="0"
@@ -208,7 +206,6 @@
                     max_bytes="400000"/>            
             <VIEW_SYNC avg_send_interval="10000"/>
             <pbcast.GMS print_local_addr="true" join_timeout="3000"
-                    shun="true"
                     view_bundling="true"
                     view_ack_collection_timeout="5000"
                     resume_task_timeout="7500"/>
@@ -275,7 +272,7 @@
              -->
             <MERGE2 max_interval="100000" min_interval="20000"/>
             <FD_SOCK/>
-            <FD timeout="6000" max_tries="5" shun="true"/>
+            <FD timeout="6000" max_tries="5"/>
             <VERIFY_SUSPECT timeout="1500"/>
             <BARRIER/>
             <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
@@ -286,7 +283,6 @@
                            max_bytes="400000"/>            
             <VIEW_SYNC avg_send_interval="10000"/>               
             <pbcast.GMS print_local_addr="true" join_timeout="3000"
-                        shun="true"
                         view_bundling="true"
                         view_ack_collection_timeout="5000"
                         resume_task_timeout="7500"/>
@@ -354,7 +350,7 @@
             -->
             <MERGE2 max_interval="100000" min_interval="20000"/>
             <FD_SOCK/>
-            <FD timeout="6000" max_tries="5" shun="true"/>
+            <FD timeout="6000" max_tries="5"/>
             <VERIFY_SUSPECT timeout="1500"/>
             <BARRIER/>
             <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
@@ -365,7 +361,6 @@
                            max_bytes="400000"/>            
             <VIEW_SYNC avg_send_interval="10000"/>
             <pbcast.GMS print_local_addr="true" join_timeout="3000"
-                        shun="true"
                         view_bundling="true"
                         view_ack_collection_timeout="5000"
                         resume_task_timeout="7500"/>

Modified: branches/KABIR_JAVASSIST_REFLECT/component-matrix/pom.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/component-matrix/pom.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/component-matrix/pom.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -119,7 +119,7 @@
     <version.org.jboss.metadata.client>2.0.0.Alpha2</version.org.jboss.metadata.client>
     <version.org.jboss.metadata.common>2.0.0.Alpha14</version.org.jboss.metadata.common>
     <version.org.jboss.metadata.ear>2.0.0.Alpha3</version.org.jboss.metadata.ear>
-    <version.org.jboss.metadata.ejb>2.0.0-alpha-10</version.org.jboss.metadata.ejb>
+    <version.org.jboss.metadata.ejb>2.0.0-alpha-11</version.org.jboss.metadata.ejb>
     <version.org.jboss.metadata.rar>2.0.0.Alpha</version.org.jboss.metadata.rar>
     <version.org.jboss.metadata.war>2.0.0.Alpha14</version.org.jboss.metadata.war>
     <version.org.jboss.mod_cluster>1.1.0.CR1</version.org.jboss.mod_cluster>

Modified: branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQConnectionFactoryDeployment.java
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQConnectionFactoryDeployment.java	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQConnectionFactoryDeployment.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -34,7 +34,7 @@
    @Override
    public void start() throws Exception
    {
-      log.info("Deploying ConnectionFactory " + config.getName());
+      log.debug("Deploying ConnectionFactory " + config.getName());
       try
       {
          jmsServer.createConnectionFactory(false, config, config.getBindings());
@@ -52,7 +52,7 @@
    @Override
    public void stop() throws Exception
    {
-      log.info("Destroying ConnectionFactory " + config.getName());
+      log.debug("Destroying ConnectionFactory " + config.getName());
       try
       {
          unregisterControlReference(new ObjectName("org.hornetq:module=JMS,name=\"" + config.getName() + "\",type=ConnectionFactory"));

Modified: branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQQueueDeployment.java
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQQueueDeployment.java	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQQueueDeployment.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -37,7 +37,7 @@
       try
       {
          
-         log.info("Deploying Queue " + config.getName());
+         log.debug("Deploying Queue " + config.getName());
          jmsServer.createQueue(false, config.getName(), config.getSelector(), config.isDurable(), config.getBindings());
          
          // Register the Control MBean in MC
@@ -53,7 +53,7 @@
    @Override
    public void stop() throws Exception
    {
-      log.info("Undeploying queue " + config.getName());
+      log.debug("Undeploying queue " + config.getName());
       
       unregisterControlReference(ObjectNameBuilder.DEFAULT.getJMSQueueObjectName(config.getName()));
       

Modified: branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQTopicDeployment.java
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQTopicDeployment.java	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQTopicDeployment.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -34,6 +34,7 @@
    @Override
    public void start() throws Exception
    {
+      log.debug("Deploying Topic " + config.getName());
       try
       {
          jmsServer.createTopic(false, config.getName(), config.getBindings());
@@ -49,7 +50,7 @@
    @Override
    public void stop() throws Exception
    {
-      log.info("Undeploying Topic " + config.getName());
+      log.debug("Undeploying Topic " + config.getName());
       try
       {
          unregisterControlReference(ObjectNameBuilder.DEFAULT.getJMSTopicObjectName(config.getName()));

Modified: branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf	2010-04-16 14:50:34 UTC (rev 104061)
@@ -38,9 +38,12 @@
 
 #
 # Specify options to pass to the Java VM.
+# (Prefer IPv4 stack as as temporary workaround to avoid 'all' config startup 
+# issues from IPv4 multicast addresses. See JBAS-7936.)
 #
 if [ "x$JAVA_OPTS" = "x" ]; then
    JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+   JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
 fi
 
 # Sample JPDA settings for remote socket debuging

Modified: branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf.bat
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf.bat	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/main/src/bin/run.conf.bat	2010-04-16 14:50:34 UTC (rev 104061)
@@ -48,6 +48,9 @@
 rem # Warn when resolving remote XML DTDs or schemas.
 set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"
 
+rem # JBAS-7936 Avoid 'all' config startup issues from IPv4 multicast addresses
+set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true
+
 rem # Sample JPDA settings for remote socket debugging
 rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
 

Modified: branches/KABIR_JAVASSIST_REFLECT/server/src/etc/conf/all/standardjboss.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/server/src/etc/conf/all/standardjboss.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/server/src/etc/conf/all/standardjboss.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!DOCTYPE jboss PUBLIC
-      "-//JBoss//DTD JBOSS 5.0//EN"
-      "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
+      "-//JBoss//DTD JBOSS 6.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_6_0.dtd">
 
 <!-- ===================================================================== -->
 <!--  Standard JBoss EJB Configurations                                    -->
@@ -22,6 +22,8 @@
   -->
   <unauthenticated-principal>anonymous</unauthenticated-principal>
 
+  <jms-resource-adapter>jms-ra.rar</jms-resource-adapter>
+
   <invoker-proxy-bindings>
 
     <invoker-proxy-binding>

Modified: branches/KABIR_JAVASSIST_REFLECT/server/src/etc/deployers/metadata-deployer-jboss-beans.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/server/src/etc/deployers/metadata-deployer-jboss-beans.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/server/src/etc/deployers/metadata-deployer-jboss-beans.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -247,7 +247,7 @@
             <!-- JBossMetaData -->
             <entry>
                <key>jboss</key>
-               <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
+               <value>org.jboss.metadata.ejb.jboss.JBoss60DTDMetaData</value>
             </entry>            
             <entry>
                <key>jboss_3_0.dtd</key>
@@ -268,8 +268,12 @@
             <entry>
                <key>jboss_5_0.dtd</key>
                <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value>
-            </entry>            
+            </entry>
             <entry>
+               <key>jboss_6_0.dtd</key>
+               <value>org.jboss.metadata.ejb.jboss.JBoss60DTDMetaData</value>
+            </entry>
+            <entry>
                <key>jboss_5_0.xsd</key>
                <value>org.jboss.metadata.ejb.jboss.JBoss50MetaData</value>
             </entry>

Modified: branches/KABIR_JAVASSIST_REFLECT/server/src/main/java/org/jboss/ejb/plugins/inflow/JBossJMSMessageEndpointFactory.java
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/server/src/main/java/org/jboss/ejb/plugins/inflow/JBossJMSMessageEndpointFactory.java	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/server/src/main/java/org/jboss/ejb/plugins/inflow/JBossJMSMessageEndpointFactory.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -47,7 +47,10 @@
       // No resource adapter specified assume jms
       String result = super.resolveResourceAdapterName();
       if (result == null)
+      {
+         getLog().warn("Metadata is missing JMS resource adpater name. The default will be " + jmsra);
          result = jmsra;
+      }
       return result;
    }
    

Modified: branches/KABIR_JAVASSIST_REFLECT/system/src/main/java/org/jboss/system/server/jmx/JMXConnector.java
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/system/src/main/java/org/jboss/system/server/jmx/JMXConnector.java	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/system/src/main/java/org/jboss/system/server/jmx/JMXConnector.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -138,7 +138,8 @@
          HashMap env = new HashMap();
          if( securityDomain != null)
             env.put(RMIConnectorServer.AUTHENTICATOR, new JMXConnectorAuthenticator( securityDomain) );
-         rmiServer = new RMIJRMPServerImpl(rmiServerPort, clientSocketFactory, serverSocketFactory, env);
+         // note:  don't pass clientSocketFactory to RMIJRMPServerImpl ctor or JBAS-7933 regression will occur. 
+         rmiServer = new RMIJRMPServerImpl(rmiServerPort, null, serverSocketFactory, env);
          JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname);
          adapter = new RMIConnectorServer(url, env, rmiServer, wrapMBeanServer(mbeanServer));
          adapter.start();

Modified: branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/sections/mdb.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/sections/mdb.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/sections/mdb.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -83,4 +83,19 @@
       <delete file="${build.resources}/messagedriven/jar/META-INF/original-jboss.xml"/>
 
    </target>
+
+   <target name="_jars-mdbdefaultraname">
+      <mkdir dir="${build.lib}"/>
+      <jar destfile="${build.lib}/mdbdefaultraname.jar">
+        <fileset dir="${build.classes}">
+          <patternset refid="jboss.test.util.ejb.set"/>
+          <include name="org/jboss/test/mdbdefaultraname/bean/**"/>
+          <include name="org/jboss/test/jca/inflow/TestMessage*.class"/>
+        </fileset>
+        <fileset dir="${build.resources}/mdbdefaultraname">
+          <include name="**/*.xml"/>
+        </fileset>
+      </jar>
+   </target>
+
 </project>

Modified: branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/test-jars.xml
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/test-jars.xml	2010-04-16 14:38:18 UTC (rev 104060)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/imports/test-jars.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -148,6 +148,7 @@
         _jars-mdb,
         _jars-mdbsessionpoolclear,
         _jars-messagedriven,
+        _jars-mdbdefaultraname,
         _jars-naming,
         _jars-perf,
    	  _jars-profileservice,

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname)

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean)

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,63 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.bean;
-
-import javax.ejb.EJBException;
-import javax.ejb.MessageDrivenBean;
-import javax.ejb.MessageDrivenContext;
-
-import org.jboss.test.jca.inflow.TestMessage;
-import org.jboss.test.jca.inflow.TestMessageListener;
-
-/**
- * A TestMDBMessageListener.
- * 
- * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
- * @version $Revision: 67777 $
- */
-public class MDBTestMessageListener implements MessageDrivenBean, TestMessageListener
-{
-   private MessageDrivenContext ctx;
-   
-   public void deliverMessage(TestMessage message)
-   {
-      message.acknowledge();
-   }
-   
-   public void deliverMessageNoTransaction(TestMessage message)
-   {
-      deliverMessage(message);
-   }
-
-   public void ejbCreate()
-   {
-   }
-   
-   public void ejbRemove()
-   {
-   }
-
-   public void setMessageDrivenContext(MessageDrivenContext ctx)
-   {
-      this.ctx = ctx;
-   }
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MDBTestMessageListener.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.bean;
+
+import javax.ejb.EJBException;
+import javax.ejb.MessageDrivenBean;
+import javax.ejb.MessageDrivenContext;
+
+import org.jboss.test.jca.inflow.TestMessage;
+import org.jboss.test.jca.inflow.TestMessageListener;
+
+/**
+ * A TestMDBMessageListener.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 67777 $
+ */
+public class MDBTestMessageListener implements MessageDrivenBean, TestMessageListener
+{
+   private MessageDrivenContext ctx;
+   
+   public void deliverMessage(TestMessage message)
+   {
+      message.acknowledge();
+   }
+   
+   public void deliverMessageNoTransaction(TestMessage message)
+   {
+      deliverMessage(message);
+   }
+
+   public void ejbCreate()
+   {
+   }
+   
+   public void ejbRemove()
+   {
+   }
+
+   public void setMessageDrivenContext(MessageDrivenContext ctx)
+   {
+      this.ctx = ctx;
+   }
+}

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,18 +0,0 @@
-package org.jboss.test.mdbdefaultraname.bean;
-
-import org.jboss.ejb.plugins.jms.JMSContainerInvoker;
-
-
-/**
- * A MyJMSContainerInvoker.
- * 
- * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
- * @version $Revision: 1.1 $
- */
-public class MyJMSContainerInvoker extends JMSContainerInvoker
-{
-   public String getResourceAdapterName()
-   {
-      return resourceAdapterName;
-   }
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/MyJMSContainerInvoker.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,18 @@
+package org.jboss.test.mdbdefaultraname.bean;
+
+import org.jboss.ejb.plugins.jms.JMSContainerInvoker;
+
+
+/**
+ * A MyJMSContainerInvoker.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class MyJMSContainerInvoker extends JMSContainerInvoker
+{
+   public String getResourceAdapterName()
+   {
+      return resourceAdapterName;
+   }
+}

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,61 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.bean;
-
-import javax.ejb.MessageDrivenBean;
-import javax.ejb.MessageDrivenContext;
-import javax.ejb.EJBException;
-
-import javax.jms.MessageListener;
-import javax.jms.Message;
-
-
-
-/**
- * MessageBeanImpl.java
- *
- *
- * @author alex at jboss.org
- */
-public class StandardMDB implements MessageDrivenBean, MessageListener
-{
-   private MessageDrivenContext ctx = null;
-    
-   public StandardMDB()
-   {
-   }
-   
-   public void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException
-   {
-      this.ctx = ctx;
-   }
-    
-   public void ejbCreate() {}
-
-   public void ejbRemove() {ctx=null;}
-
-   public void onMessage(Message message)
-   {
-   }
-} 
-
-

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/StandardMDB.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.bean;
+
+import javax.ejb.MessageDrivenBean;
+import javax.ejb.MessageDrivenContext;
+import javax.ejb.EJBException;
+
+import javax.jms.MessageListener;
+import javax.jms.Message;
+
+
+
+/**
+ * MessageBeanImpl.java
+ *
+ *
+ * @author alex at jboss.org
+ */
+public class StandardMDB implements MessageDrivenBean, MessageListener
+{
+   private MessageDrivenContext ctx = null;
+    
+   public StandardMDB()
+   {
+   }
+   
+   public void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException
+   {
+      this.ctx = ctx;
+   }
+    
+   public void ejbCreate() {}
+
+   public void ejbRemove() {ctx=null;}
+
+   public void onMessage(Message message)
+   {
+   }
+} 
+
+

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.bean;
-
-import java.rmi.RemoteException;
-import java.util.Map;
-
-import javax.ejb.EJBObject;
-
-/**
- * Comment
- *
- * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
- * @version $Revision: 82920 $
- */
-public interface TestStatus extends EJBObject
-{
-   public Map<String, String> getResourceAdapterNames() throws RemoteException;
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatus.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.bean;
+
+import java.rmi.RemoteException;
+import java.util.Map;
+
+import javax.ejb.EJBObject;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
+ * @version $Revision: 82920 $
+ */
+public interface TestStatus extends EJBObject
+{
+   public Map<String, String> getResourceAdapterNames() throws RemoteException;
+}

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,110 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.bean;
-
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.ejb.CreateException;
-import javax.ejb.SessionBean;
-import javax.ejb.SessionContext;
-import javax.management.MBeanServer;
-import javax.management.ObjectName;
-
-import org.jboss.logging.Logger;
-import org.jboss.metadata.BeanMetaData;
-import org.jboss.ejb.Container;
-
-/**
- * Comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 82920 $
- */
-public class TestStatusBean implements SessionBean
-{
-   private static final Logger log = Logger.getLogger(TestStatusBean.class.getName());
-   
-   public TestStatusBean() {}
-   
-   public Map<String, String> getResourceAdapterNames()
-   {
-      MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locate();
-      ObjectName ejbModuleName;
-      try
-      {
-         ejbModuleName = new ObjectName("jboss.j2ee:service=EjbModule,module=\"mdbdefaultraname.jar\"");
-      }
-      catch(Exception e)
-      {
-         throw new IllegalStateException("Failed to create object name", e);
-      }
-      
-      Collection<Container> containers;
-      try
-      {
-         containers = (Collection<Container>) server.getAttribute(ejbModuleName, "Containers");
-      }
-      catch(Exception e)
-      {
-         throw new IllegalStateException("Failed to get attribute Containers", e);
-      }
-      
-      if(containers == null)
-         throw new IllegalStateException("the ejb module contains no containers");
-      if(containers.size() != 3)
-         throw new IllegalStateException("Expected one containers but got " + containers.size());
-    
-      Map<String, String> map = new HashMap<String, String>();
-      for(Container container : containers)
-      {
-         BeanMetaData metadata = container.getBeanMetaData();
-         if(!metadata.isMessageDriven())
-            continue;
-
-         String invokerBinding = null;
-         Iterator<String> bindings = metadata.getInvokerBindings();
-         if(!bindings.hasNext())
-            throw new IllegalStateException("Expected one invoker binding.");
-         while(bindings.hasNext())
-         {
-            if(invokerBinding != null)
-               throw new IllegalStateException("Expected only one invoker binding.");
-            invokerBinding = bindings.next();
-         }
-
-         MyJMSContainerInvoker invoker = (MyJMSContainerInvoker)container.lookupProxyFactory(invokerBinding);
-         map.put(metadata.getEjbName(), invoker.getResourceAdapterName());
-      }
-      return map;
-   }
-
-   // Container callbacks -------------------------------------------
-   
-   public void setSessionContext(SessionContext ctx) {}
-   public void ejbCreate() throws CreateException {}
-   public void ejbRemove() {}
-   public void ejbActivate() {}
-   public void ejbPassivate() {}
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusBean.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.bean;
+
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.ejb.CreateException;
+import javax.ejb.SessionBean;
+import javax.ejb.SessionContext;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.jboss.logging.Logger;
+import org.jboss.metadata.BeanMetaData;
+import org.jboss.ejb.Container;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 82920 $
+ */
+public class TestStatusBean implements SessionBean
+{
+   private static final Logger log = Logger.getLogger(TestStatusBean.class.getName());
+   
+   public TestStatusBean() {}
+   
+   public Map<String, String> getResourceAdapterNames()
+   {
+      MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locate();
+      ObjectName ejbModuleName;
+      try
+      {
+         ejbModuleName = new ObjectName("jboss.j2ee:service=EjbModule,module=\"mdbdefaultraname.jar\"");
+      }
+      catch(Exception e)
+      {
+         throw new IllegalStateException("Failed to create object name", e);
+      }
+      
+      Collection<Container> containers;
+      try
+      {
+         containers = (Collection<Container>) server.getAttribute(ejbModuleName, "Containers");
+      }
+      catch(Exception e)
+      {
+         throw new IllegalStateException("Failed to get attribute Containers", e);
+      }
+      
+      if(containers == null)
+         throw new IllegalStateException("the ejb module contains no containers");
+      if(containers.size() != 3)
+         throw new IllegalStateException("Expected one containers but got " + containers.size());
+    
+      Map<String, String> map = new HashMap<String, String>();
+      for(Container container : containers)
+      {
+         BeanMetaData metadata = container.getBeanMetaData();
+         if(!metadata.isMessageDriven())
+            continue;
+
+         String invokerBinding = null;
+         Iterator<String> bindings = metadata.getInvokerBindings();
+         if(!bindings.hasNext())
+            throw new IllegalStateException("Expected one invoker binding.");
+         while(bindings.hasNext())
+         {
+            if(invokerBinding != null)
+               throw new IllegalStateException("Expected only one invoker binding.");
+            invokerBinding = bindings.next();
+         }
+
+         MyJMSContainerInvoker invoker = (MyJMSContainerInvoker)container.lookupProxyFactory(invokerBinding);
+         map.put(metadata.getEjbName(), invoker.getResourceAdapterName());
+      }
+      return map;
+   }
+
+   // Container callbacks -------------------------------------------
+   
+   public void setSessionContext(SessionContext ctx) {}
+   public void ejbCreate() throws CreateException {}
+   public void ejbRemove() {}
+   public void ejbActivate() {}
+   public void ejbPassivate() {}
+}

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.bean;
-
-import java.rmi.RemoteException;
-
-import javax.ejb.CreateException;
-import javax.ejb.EJBHome;
-
-/**
- * Comment
- *
- * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
- * @version $Revision: 82920 $
- */
-public interface TestStatusHome extends EJBHome
-{
-   TestStatus create() throws RemoteException, CreateException;
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/bean/TestStatusHome.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.bean;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.CreateException;
+import javax.ejb.EJBHome;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
+ * @version $Revision: 82920 $
+ */
+public interface TestStatusHome extends EJBHome
+{
+   TestStatus create() throws RemoteException, CreateException;
+}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/test)

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,67 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.mdbdefaultraname.test;
-
-
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.naming.InitialContext;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.jboss.test.mdbdefaultraname.bean.TestStatus;
-import org.jboss.test.mdbdefaultraname.bean.TestStatusHome;
-
-import org.jboss.test.JBossJMSTestCase;
-
-/**
- * A MDBDefaultRANameUnitTestCase.
- * 
- * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
- * @version $Revision: 1.1 $
- */
-public class MDBDefaultRANameUnitTestCase extends JBossJMSTestCase
-{
-   public MDBDefaultRANameUnitTestCase(String name)
-   {
-      super(name);
-   }
-   
-   public void testMDBDefaultRAName() throws Exception
-   {
-      TestStatusHome testHome = (TestStatusHome) new InitialContext().lookup("TestStatus");
-      TestStatus test = testHome.create();
-      Map<String, String> map = new HashMap<String, String>();
-      map.put("StandardMDB", "jms-ra.rar");
-      map.put("MDBTestMessageListener", "jcainflow.rar");
-      assertEquals(map, test.getResourceAdapterNames());
-   }
-   
-   public static Test suite() throws Exception
-   {
-      Test t = getDeploySetup(MDBDefaultRANameUnitTestCase.class, "mdbdefaultraname.jar");
-      t = getDeploySetup(t, "jcainflow.rar");
-      return t;
-   }
-}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java (from rev 103998, trunk/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/main/org/jboss/test/mdbdefaultraname/test/MDBDefaultRANameUnitTestCase.java	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.mdbdefaultraname.test;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.naming.InitialContext;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jboss.test.mdbdefaultraname.bean.TestStatus;
+import org.jboss.test.mdbdefaultraname.bean.TestStatusHome;
+
+import org.jboss.test.JBossJMSTestCase;
+
+/**
+ * A MDBDefaultRANameUnitTestCase.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class MDBDefaultRANameUnitTestCase extends JBossJMSTestCase
+{
+   public MDBDefaultRANameUnitTestCase(String name)
+   {
+      super(name);
+   }
+   
+   public void testMDBDefaultRAName() throws Exception
+   {
+      TestStatusHome testHome = (TestStatusHome) new InitialContext().lookup("TestStatus");
+      TestStatus test = testHome.create();
+      Map<String, String> map = new HashMap<String, String>();
+      map.put("StandardMDB", "jms-ra.rar");
+      map.put("MDBTestMessageListener", "jcainflow.rar");
+      assertEquals(map, test.getResourceAdapterNames());
+   }
+   
+   public static Test suite() throws Exception
+   {
+      Test t = getDeploySetup(MDBDefaultRANameUnitTestCase.class, "mdbdefaultraname.jar");
+      t = getDeploySetup(t, "jcainflow.rar");
+      return t;
+   }
+}

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname (from rev 103998, trunk/testsuite/src/resources/mdbdefaultraname)

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF (from rev 103998, trunk/testsuite/src/resources/mdbdefaultraname/META-INF)

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml
===================================================================
--- trunk/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
-         http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
-         version="2.1">
-
-   <enterprise-beans>
-      <session>
-         <ejb-name>TestStatus</ejb-name>
-         <home>org.jboss.test.mdbdefaultraname.bean.TestStatusHome</home>
-         <remote>org.jboss.test.mdbdefaultraname.bean.TestStatus</remote>
-         <ejb-class>org.jboss.test.mdbdefaultraname.bean.TestStatusBean</ejb-class>
-         <session-type>Stateless</session-type>
-         <transaction-type>Container</transaction-type>        
-      </session>
-
-      <message-driven>
-         <ejb-name>MDBTestMessageListener</ejb-name>
-         <ejb-class>org.jboss.test.mdbdefaultraname.bean.MDBTestMessageListener</ejb-class>
-         <messaging-type>org.jboss.test.jca.inflow.TestMessageListener</messaging-type>
-         <transaction-type>Container</transaction-type>
-         <activation-config>
-            <activation-config-property>
-               <activation-config-property-name>name</activation-config-property-name>
-               <activation-config-property-value>testInflow</activation-config-property-value>
-            </activation-config-property>
-            <!-- Other non-String properties to test the ActivationSpec java bean -->
-            <activation-config-property>
-               <activation-config-property-name>anInt</activation-config-property-name>
-               <activation-config-property-value>5</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-               <activation-config-property-name>anInteger</activation-config-property-name>
-               <activation-config-property-value>55</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-               <activation-config-property-name>localhost</activation-config-property-name>
-               <activation-config-property-value>127.0.0.1</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-               <activation-config-property-name>props</activation-config-property-name>
-               <activation-config-property-value>
-                  key1=value1
-                  key2=value2
-                  key3=value3
-               </activation-config-property-value>
-            </activation-config-property>
-        </activation-config>
-      </message-driven>
-
-      <message-driven>
-         <ejb-name>StandardMDB</ejb-name>
-         <ejb-class>org.jboss.test.mdbdefaultraname.bean.StandardMDB</ejb-class>
-         <transaction-type>Container</transaction-type>
-         <activation-config>
-            <activation-config-property>
-               <activation-config-property-name>destination</activation-config-property-name>
-               <activation-config-property-value>queue/DLQ</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-               <activation-config-property-name>destinationType</activation-config-property-name>
-               <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-            </activation-config-property>
-         </activation-config>
-      </message-driven>
-
-   </enterprise-beans>
-</ejb-jar>

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml (from rev 103998, trunk/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/ejb-jar.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+         http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
+         version="2.1">
+
+   <enterprise-beans>
+      <session>
+         <ejb-name>TestStatus</ejb-name>
+         <home>org.jboss.test.mdbdefaultraname.bean.TestStatusHome</home>
+         <remote>org.jboss.test.mdbdefaultraname.bean.TestStatus</remote>
+         <ejb-class>org.jboss.test.mdbdefaultraname.bean.TestStatusBean</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Container</transaction-type>        
+      </session>
+
+      <message-driven>
+         <ejb-name>MDBTestMessageListener</ejb-name>
+         <ejb-class>org.jboss.test.mdbdefaultraname.bean.MDBTestMessageListener</ejb-class>
+         <messaging-type>org.jboss.test.jca.inflow.TestMessageListener</messaging-type>
+         <transaction-type>Container</transaction-type>
+         <activation-config>
+            <activation-config-property>
+               <activation-config-property-name>name</activation-config-property-name>
+               <activation-config-property-value>testInflow</activation-config-property-value>
+            </activation-config-property>
+            <!-- Other non-String properties to test the ActivationSpec java bean -->
+            <activation-config-property>
+               <activation-config-property-name>anInt</activation-config-property-name>
+               <activation-config-property-value>5</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+               <activation-config-property-name>anInteger</activation-config-property-name>
+               <activation-config-property-value>55</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+               <activation-config-property-name>localhost</activation-config-property-name>
+               <activation-config-property-value>127.0.0.1</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+               <activation-config-property-name>props</activation-config-property-name>
+               <activation-config-property-value>
+                  key1=value1
+                  key2=value2
+                  key3=value3
+               </activation-config-property-value>
+            </activation-config-property>
+        </activation-config>
+      </message-driven>
+
+      <message-driven>
+         <ejb-name>StandardMDB</ejb-name>
+         <ejb-class>org.jboss.test.mdbdefaultraname.bean.StandardMDB</ejb-class>
+         <transaction-type>Container</transaction-type>
+         <activation-config>
+            <activation-config-property>
+               <activation-config-property-name>destination</activation-config-property-name>
+               <activation-config-property-value>queue/DLQ</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+               <activation-config-property-name>destinationType</activation-config-property-name>
+               <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+            </activation-config-property>
+         </activation-config>
+      </message-driven>
+
+   </enterprise-beans>
+</ejb-jar>

Deleted: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml
===================================================================
--- trunk/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml	2010-04-15 13:42:16 UTC (rev 103998)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 6.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_6_0.dtd">
-
-<jboss>
-   <jms-resource-adapter>jcainflow.rar</jms-resource-adapter>
-
-   <enterprise-beans>
-      <session>
-         <ejb-name>TestStatus</ejb-name>
-      </session>   
-      <message-driven>
-         <ejb-name>MDBTestMessageListener</ejb-name>
-         <configuration-name>Standard Message Driven Bean</configuration-name>
-         <invoker-bindings>
-            <invoker>
-               <invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>
-            </invoker>
-         </invoker-bindings>
-         <depends>jboss.jca:service=RARDeployment,name='jcainflow.rar'</depends>
-      </message-driven>
-      <message-driven>
-         <ejb-name>StandardMDB</ejb-name>
-         <resource-adapter-name>jms-ra.rar</resource-adapter-name>
-         <configuration-name>Standard Message Driven Bean</configuration-name>
-         <invoker-bindings>
-            <invoker>
-               <invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>
-            </invoker>
-         </invoker-bindings>
-         <depends>jboss.jca:service=RARDeployment,name='jcainflow.rar'</depends>
-      </message-driven>
-   </enterprise-beans>
-
-   <invoker-proxy-bindings>
-      <invoker-proxy-binding>
-         <name>my-message-driven-bean</name>
-         <invoker-mbean>default</invoker-mbean>
-         <proxy-factory>org.jboss.test.mdbdefaultraname.bean.MyJMSContainerInvoker</proxy-factory>
-         <proxy-factory-config>
-            <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
-            <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
-            <MaximumSize>1</MaximumSize>
-            <MaxMessages>1</MaxMessages>
-            <!--ForceClearOnShutdown>true</ForceClearOnShutdown>
-            <ForceClearAttempts>5</ForceClearAttempts> 
-            <ForceClearInterval>500</ForceClearInterval-->
-            <MDBConfig>
-               <ReconnectIntervalSec>10</ReconnectIntervalSec>
-               <DLQConfig>
-                  <DestinationQueue>queue/DLQ</DestinationQueue>
-                  <MaxTimesRedelivered>10</MaxTimesRedelivered>
-                  <TimeToLive>0</TimeToLive>
-               </DLQConfig>
-            </MDBConfig>
-         </proxy-factory-config>
-      </invoker-proxy-binding>
-   </invoker-proxy-bindings>
-
-</jboss>

Copied: branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml (from rev 103998, trunk/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml)
===================================================================
--- branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml	                        (rev 0)
+++ branches/KABIR_JAVASSIST_REFLECT/testsuite/src/resources/mdbdefaultraname/META-INF/jboss.xml	2010-04-16 14:50:34 UTC (rev 104061)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 6.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_6_0.dtd">
+
+<jboss>
+   <jms-resource-adapter>jcainflow.rar</jms-resource-adapter>
+
+   <enterprise-beans>
+      <session>
+         <ejb-name>TestStatus</ejb-name>
+      </session>   
+      <message-driven>
+         <ejb-name>MDBTestMessageListener</ejb-name>
+         <configuration-name>Standard Message Driven Bean</configuration-name>
+         <invoker-bindings>
+            <invoker>
+               <invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>
+            </invoker>
+         </invoker-bindings>
+         <depends>jboss.jca:service=RARDeployment,name='jcainflow.rar'</depends>
+      </message-driven>
+      <message-driven>
+         <ejb-name>StandardMDB</ejb-name>
+         <resource-adapter-name>jms-ra.rar</resource-adapter-name>
+         <configuration-name>Standard Message Driven Bean</configuration-name>
+         <invoker-bindings>
+            <invoker>
+               <invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>
+            </invoker>
+         </invoker-bindings>
+         <depends>jboss.jca:service=RARDeployment,name='jcainflow.rar'</depends>
+      </message-driven>
+   </enterprise-beans>
+
+   <invoker-proxy-bindings>
+      <invoker-proxy-binding>
+         <name>my-message-driven-bean</name>
+         <invoker-mbean>default</invoker-mbean>
+         <proxy-factory>org.jboss.test.mdbdefaultraname.bean.MyJMSContainerInvoker</proxy-factory>
+         <proxy-factory-config>
+            <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
+            <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
+            <MaximumSize>1</MaximumSize>
+            <MaxMessages>1</MaxMessages>
+            <!--ForceClearOnShutdown>true</ForceClearOnShutdown>
+            <ForceClearAttempts>5</ForceClearAttempts> 
+            <ForceClearInterval>500</ForceClearInterval-->
+            <MDBConfig>
+               <ReconnectIntervalSec>10</ReconnectIntervalSec>
+               <DLQConfig>
+                  <DestinationQueue>queue/DLQ</DestinationQueue>
+                  <MaxTimesRedelivered>10</MaxTimesRedelivered>
+                  <TimeToLive>0</TimeToLive>
+               </DLQConfig>
+            </MDBConfig>
+         </proxy-factory-config>
+      </invoker-proxy-binding>
+   </invoker-proxy-bindings>
+
+</jboss>




More information about the jboss-cvs-commits mailing list