[jboss-cvs] JBossAS SVN: r64973 - in trunk/ejb3: src/resources/test/statelesscreation and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 30 13:44:58 EDT 2007
Author: wolfc
Date: 2007-08-30 13:44:58 -0400 (Thu, 30 Aug 2007)
New Revision: 64973
Removed:
trunk/ejb3/src/resources/test-configs/statelesscreation/
Modified:
trunk/ejb3/build-test.xml
trunk/ejb3/src/resources/test/statelesscreation/statelesscreation-connectors-service.xml
trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/DestroyStatelessBean.java
trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/ThreadLocalPoolStatelessBean.java
trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/unit/MetricsUnitTestCase.java
Log:
Fixed regression in statelesscreation and iiop
Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml 2007-08-30 17:35:10 UTC (rev 64972)
+++ trunk/ejb3/build-test.xml 2007-08-30 17:44:58 UTC (rev 64973)
@@ -3621,7 +3621,7 @@
</copy>
</target>
- <target name="jars" depends="statelesscreation, defaultremotebindings, localfromremote, clusteredjms, entityoptimisticlocking, concurrentnaming, propertyreplacement, persistenceunits, appclient, tck5sec, invalidtxmdb, descriptortypo, libdeployment, homeinterface, timestampentity, arjuna, mdbtransactions, unauthenticatedprincipal, clusteredservice, invoker, classloader,
+ <target name="jars" depends="defaultremotebindings, localfromremote, clusteredjms, entityoptimisticlocking, concurrentnaming, propertyreplacement, persistenceunits, appclient, tck5sec, invalidtxmdb, descriptortypo, libdeployment, homeinterface, timestampentity, arjuna, mdbtransactions, unauthenticatedprincipal, clusteredservice, invoker, classloader,
circulardependency, jsp, timerdependency, servicedependency, servlet, stateless14, webservices, ear, ejbthree440,
ejbthree454, ejbthree653, ejbthree670, ejbthree712, ejbthree724, ejbthree751, ejbthree832, ejbthree921, ejbthree936,
ejbthree939,
@@ -3725,10 +3725,10 @@
<sysproperty key="java.naming.provider.url" value="${test.jndi.url}"/>
- <!--
<jvmarg line="${jvmargs}" />
+ <!--
<jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=/dt_socket,address=8787,server=y,suspend=y"/>
- -->
+ -->
<classpath>
<path refid="hibernate.hibernate.classpath"/>
@@ -4230,7 +4230,6 @@
<antcall target="invoker-test" inheritRefs="true"/>
<antcall target="iiop-tests" inheritRefs="true"/>
<antcall target="libdeployment-test" inheritRefs="true"/>
- <antcall target="statelesscreation-test" inheritRefs="true"/>
<!--antcall target="multi-instance-localfromremote-test" inheritRefs="true"/-->
</target>
Modified: trunk/ejb3/src/resources/test/statelesscreation/statelesscreation-connectors-service.xml
===================================================================
--- trunk/ejb3/src/resources/test/statelesscreation/statelesscreation-connectors-service.xml 2007-08-30 17:35:10 UTC (rev 64972)
+++ trunk/ejb3/src/resources/test/statelesscreation/statelesscreation-connectors-service.xml 2007-08-30 17:44:58 UTC (rev 64973)
@@ -8,12 +8,12 @@
<mbean code="org.jboss.remoting.transport.Connector"
name="jboss.remoting:type=Connector,name=StatelessCreationConnector,handler=ejb3">
- <!--attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute-->
+ <!--attribute name="InvokerLocator">socket://${jboss.bind.address}:3875</attribute-->
<attribute name="Configuration">
<config>
<invoker transport="socket">
<attribute name="numAcceptThreads">1</attribute>
- <attribute name="maxPoolSize">30</attribute>
+ <attribute name="maxPoolSize">20</attribute>
<attribute name="clientMaxPoolSize" isParam="true">50</attribute>
<attribute name="timeout" isParam="true">60000</attribute>
<attribute name="serverBindAddress">${jboss.bind.address}</attribute>
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/DestroyStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/DestroyStatelessBean.java 2007-08-30 17:35:10 UTC (rev 64972)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/DestroyStatelessBean.java 2007-08-30 17:44:58 UTC (rev 64973)
@@ -26,7 +26,9 @@
import javax.ejb.Stateless;
import javax.ejb.Remote;
+import org.jboss.annotation.ejb.PoolClass;
import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.ejb3.ThreadlocalPool;
import org.jboss.logging.Logger;
/**
@@ -34,7 +36,8 @@
*/
@Stateless
@Remote(DestroyRemote.class)
- at RemoteBinding(clientBindUrl="socket://0.0.0.0:3873")
+ at RemoteBinding(clientBindUrl="socket://0.0.0.0:3875")
+ at PoolClass(value=ThreadlocalPool.class, maxSize=20, timeout=10000)
public class DestroyStatelessBean implements DestroyRemote
{
private static final Logger log = Logger.getLogger(DestroyStatelessBean.class);
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/ThreadLocalPoolStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/ThreadLocalPoolStatelessBean.java 2007-08-30 17:35:10 UTC (rev 64972)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/ThreadLocalPoolStatelessBean.java 2007-08-30 17:44:58 UTC (rev 64973)
@@ -24,6 +24,9 @@
import javax.ejb.Stateless;
import javax.ejb.Remote;
+import org.jboss.annotation.ejb.PoolClass;
+import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.ejb3.ThreadlocalPool;
import org.jboss.logging.Logger;
/**
@@ -31,6 +34,8 @@
*/
@Stateless
@Remote(StatelessRemote.class)
+ at RemoteBinding(clientBindUrl="socket://0.0.0.0:3875")
+ at PoolClass(value=ThreadlocalPool.class, maxSize=20, timeout=10000)
public class ThreadLocalPoolStatelessBean implements StatelessRemote
{
private static final Logger log = Logger.getLogger(ThreadLocalPoolStatelessBean.class);
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/unit/MetricsUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/unit/MetricsUnitTestCase.java 2007-08-30 17:35:10 UTC (rev 64972)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/statelesscreation/unit/MetricsUnitTestCase.java 2007-08-30 17:44:58 UTC (rev 64973)
@@ -257,6 +257,6 @@
public static Test suite() throws Exception
{
- return getDeploySetup(MetricsUnitTestCase.class, "statelesscreation-test.jar");
+ return getDeploySetup(MetricsUnitTestCase.class, "statelesscreation-connectors-service.xml,statelesscreation-test.jar");
}
}
More information about the jboss-cvs-commits
mailing list