All but the WebIntegrationUnitTestCase are passing for me and the only
InstanceNotFoundException are those that occur during shutdown. The
WebIntegrationUnitTestCase issue is another lifecycle problem with the
tomcat deployer I'm looking at. The only time I have seen a shutdown
issue is when jrockit itself had crashed. With the sun jdk I have not
seen any crashes or shutdown failures.
tests-security-manager:
[echo] Starting default with policy
/home/svn/JBossHead/jboss-head/testsuite/output/resources/securitymgr/server.policy
[echo]
jboss.home.dir=/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta
[echo]
jboss.server.home.dir=/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default
[server:start] Starting server "securitymgr" with command:
[server:start] /usr/java/jdk1.5.0_08/bin/java -cp
/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/bin/run.jar:/usr/java/jdk1.5.0_08/lib/tools.jar
-Xmx64m
-Djboss.home.dir=/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta
-Djboss.server.home.dir=/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default
-Djboss.test.deploy.dir=/home/svn/JBossHead/jboss-head/testsuite/output/lib
-Djava.security.manager
-Djava.security.policy==/home/svn/JBossHead/jboss-head/testsuite/output/resources/securitymgr/server.policy
-Djava.security.debug=failure org.jboss.Main -c default -b localhost
[junit] Running org.jboss.test.securitymgr.test.BMPUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 11.274 sec
[junit] Test org.jboss.test.securitymgr.test.BMPUnitTestCase FAILED
[junit] Running org.jboss.test.securitymgr.test.CMPUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.273 sec
[junit] Running org.jboss.test.securitymgr.test.EJBSpecUnitTestCase
[junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.253 sec
[junit] Running org.jboss.test.securitymgr.test.MDBUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.728 sec
[junit] Running org.jboss.test.securitymgr.test.SecurityUnitTestCase
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.137 sec
[junit] Running
org.jboss.test.securitymgr.test.StatefulSessionUnitTestCase
[junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 141.777 sec
[junit] Running
org.jboss.test.securitymgr.test.StatelessSessionUnitTestCase [junit]
Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 26.395 sec
[junit] Running
org.jboss.test.securitymgr.test.WarPermissionsUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.432 sec
[junit] Running
org.jboss.test.securitymgr.test.WebIntegrationUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 2.731 sec
[junit] Test
org.jboss.test.securitymgr.test.WebIntegrationUnitTestCase FAILED
[echo] Waiting for server to shutdown...
[server:stop] Shutting down server: securitymgr
Brian Stansberry wrote:
May be related to some of the service lifecycle issues that have
been
getting discussed lately. During shutdown of the securitymgr server you
get a bunch of logging like this:
2006-08-22 03:45:26,279 DEBUG [org.jboss.system.server.Server] Shutting
down all services
2006-08-22 03:45:26,281 DEBUG [org.jboss.system.ServiceController]
Stopping 66 services
2006-08-22 03:45:26,282 DEBUG [org.jboss.system.ServiceCreator] Removing
mbean from server:
jboss.j2ee:service=EJB,plugin=pool,jndiName=SessionBean
2006-08-22 03:45:26,282 DEBUG [org.jboss.system.ServiceCreator] Error
unregistering mbean
jboss.j2ee:service=EJB,plugin=pool,jndiName=SessionBean
javax.management.InstanceNotFoundException:
jboss.j2ee:service=EJB,plugin=pool,jndiName=SessionBean is not
registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.j
ava:527)
at
org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java
:383)
at org.jboss.system.ServiceCreator.uninstall(ServiceCreator.java:309)
at
org.jboss.system.microcontainer.OnlyUnregisterAction.uninstallAction(Onl
yUnregisterAction.java:45)
at
org.jboss.system.microcontainer.ServiceControllerContextAction$2.run(Ser
viceControllerContextAction.java:97)
at
org.jboss.system.microcontainer.ServiceControllerContextAction.uninstall
(ServiceControllerContextAction.java:101)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(
AbstractControllerContextActions.java:58)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(Abstrac
tControllerContext.java:236)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractContro
ller.java:723)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(Abstrac
tController.java:685)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(Abstrac
tController.java:613)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractContro
ller.java:223)
at
org.jboss.system.ServiceController.shutdown(ServiceController.java:549)
at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja
va.lang.Object;)Ljava.lang.Object;(Unknown Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
java.lang.Object;(Unknown Source)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownServices(ServerI
mpl.java:1070)
at
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java
:1028)
at
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:987)
Followed by:
2006-08-22 03:45:26,288 DEBUG
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Stopping
jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiNa
me=local/SubclassMDB@5595271
2006-08-22 03:45:26,290 DEBUG
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Stop requested for
recovery thread: null
2006-08-22 03:45:26,292 DEBUG
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] innerStop
2006-08-22 03:45:26,292 DEBUG
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] unset exception listener
2006-08-22 03:45:26,293 DEBUG
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] connection stopped
2006-08-22 03:45:26,293 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler]
Stopping DLQHandler
2006-08-22 03:45:26,293 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler]
Stopped DLQHandler
Thereafter nothing more about shutdown; just the
LRUEnterpriseContextCachePolicy remover task kicking in periodically.
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
________________________________
From: jboss-development-bounces(a)lists.jboss.org
[mailto:jboss-development-bounces@lists.jboss.org] On Behalf Of Scott M
Stark
Sent: Tuesday, August 22, 2006 7:52 PM
To:
JBoss.org development list
Subject: Re: [JBoss-dev] RE: jboss-head-testsuite-1.5 Build
Failed
Just running the tests-security-manager target I'm not seeing
the server fail to shutdown. I would suspect that there are multiple
runs conflicting with each other.
Brian Stansberry wrote:
It looks like the testsuite is failing because the
server instance used by tests-security-manager is not shutting down.
The server used by the clustering tests then fails to start due to port
conflicts. (The "default" config logs show the securitymgr server still
alive 5 mins after the clustering server tries to start.)
Can someone take a look at why the securitymgr server is
not shutting down?
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development