Bugs item #549775, was opened at 2002-04-28 12:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=549775&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Coy (scoy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Running testsuite twice has many errors

Initial Comment:
Running the full JBoss test suite twice in a row 
without restarting anything results in many test 
failures and/or errors on the second pass.

The problem seems to be security related, as you 
will see a swathe of exceptions reported to the 
console like:

13:58:01,405 ERROR [MainDeployer] Couldn't 
deploy URL file:/Users/steve/EnterpriseJava/
jboss-all/testsuite/output/lib/idgen.jar
13:58:01,406 ERROR [STDERR] 
java.sql.SQLException: ResourceException 
javax.resource.ResourceException: No matching 
credentials in Subject!
13:58:01,408 ERROR [STDERR]     at 
org.jboss.resource.adapter.jdbc.local.LocalDataS
ource.getConnection(LocalDataSource.java:105)
13:58:01,410 ERROR [STDERR]     at 
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.g
etConnection(JDBCCommand.java:694)
13:58:01,411 ERROR [STDERR]     at 
org.jboss.ejb.plugins.jaws.jdbc.JDBCInitComman
d.execute(JDBCInitCommand.java:120)
13:58:01,413 ERROR [STDERR]     at 
org.jboss.ejb.plugins.jaws.JAWSPersistenceMana
ger.create(JAWSPersistenceManager.java:130)
13:58:01,415 ERROR [STDERR]     at 
org.jboss.ejb.plugins.CMPPersistenceManager.cr
eate(CMPPersistenceManager.java:155)
13:58:01,417 ERROR [STDERR]     at 
org.jboss.ejb.EntityContainer.create(EntityContain
er.java:337)
13:58:01,418 ERROR [STDERR]     at 
org.jboss.ejb.Container.invoke(Container.java:790
)
13:58:01,420 ERROR [STDERR]     at 
org.jboss.ejb.EntityContainer.invoke(EntityContain
er.java:1055)
13:58:01,425 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBe
anServerImpl.java:491)
13:58:01,427 ERROR [STDERR]     at 
org.jboss.system.ServiceController$ServiceProxy.i
nvoke(ServiceController.java:867)
13:58:01,428 ERROR [STDERR]     at 
$Proxy19.create(Unknown Source)
13:58:01,430 ERROR [STDERR]     at 
org.jboss.system.ServiceController.create(Service
Controller.java:271)
13:58:01,432 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Native Method)
13:58:01,459 ERROR [STDERR]     at 
org.jboss.mx.capability.ReflectedMBeanDispatche
r.invoke(ReflectedMBeanDispatcher.java:284)
13:58:01,460 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBe
anServerImpl.java:491)
13:58:01,464 ERROR [STDERR]     at 
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.
java:174)
13:58:01,464 ERROR [STDERR]     at 
$Proxy860.create(Unknown Source)
13:58:01,464 ERROR [STDERR]     at 
org.jboss.ejb.EjbModule.createService(EjbModule.
java:392)
13:58:01,465 ERROR [STDERR]     at 
org.jboss.system.ServiceMBeanSupport.create(Se
rviceMBeanSupport.java:134)
13:58:01,465 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Native Method)
13:58:01,465 ERROR [STDERR]     at 
org.jboss.mx.capability.ReflectedMBeanDispatche
r.invoke(ReflectedMBeanDispatcher.java:284)
13:58:01,466 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBe
anServerImpl.java:491)
13:58:01,466 ERROR [STDERR]     at 
org.jboss.system.ServiceController$ServiceProxy.i
nvoke(ServiceController.java:867)
13:58:01,467 ERROR [STDERR]     at 
$Proxy19.create(Unknown Source)
13:58:01,467 ERROR [STDERR]     at 
org.jboss.system.ServiceController.create(Service
Controller.java:271)
13:58:01,474 ERROR [STDERR]     at 
org.jboss.system.ServiceController.create(Service
Controller.java:211)
13:58:01,474 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Native Method)
13:58:01,475 ERROR [STDERR]     at 
org.jboss.mx.capability.ReflectedMBeanDispatche
r.invoke(ReflectedMBeanDispatcher.java:284)
13:58:01,476 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBe
anServerImpl.java:491)
13:58:01,476 ERROR [STDERR]     at 
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.
java:174)
13:58:01,476 ERROR [STDERR]     at 
$Proxy5.create(Unknown Source)
13:58:01,477 ERROR [STDERR]     at 
org.jboss.ejb.EJBDeployer.create(EJBDeployer.jav
a:376)
13:58:01,477 ERROR [STDERR]     at 
org.jboss.deployment.MainDeployer.create(MainD
eployer.java:651)
13:58:01,477 ERROR [STDERR]     at 
org.jboss.deployment.MainDeployer.deploy(MainD
eployer.java:526)
13:58:01,478 ERROR [STDERR]     at 
org.jboss.deployment.MainDeployer.deploy(MainD
eployer.java:490)
13:58:01,478 ERROR [STDERR]     at 
org.jboss.deployment.MainDeployer.deploy(MainD
eployer.java:472)
13:58:01,508 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Native Method)
13:58:01,509 ERROR [STDERR]     at 
org.jboss.mx.capability.ReflectedMBeanDispatche
r.invoke(ReflectedMBeanDispatcher.java:284)
13:58:01,510 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBe
anServerImpl.java:491)
13:58:01,510 ERROR [STDERR]     at 
org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(
RMIAdaptorImpl.java:283)
13:58:01,510 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Native Method)
13:58:01,511 ERROR [STDERR]     at 
sun.rmi.server.UnicastServerRef.dispatch(Unicast
ServerRef.java:241)
13:58:01,511 ERROR [STDERR]     at 
sun.rmi.transport.Transport$1.run(Transport.java:1
52)
13:58:01,511 ERROR [STDERR]     at 
java.security.AccessController.doPrivileged(Native 
Method)
13:58:01,512 ERROR [STDERR]     at 
sun.rmi.transport.Transport.serviceCall(Transport.j
ava:148)
13:58:01,512 ERROR [STDERR]     at 
sun.rmi.transport.tcp.TCPTransport.handleMessa
ges(TCPTransport.java:465)
13:58:01,512 ERROR [STDERR]     at 
sun.rmi.transport.tcp.TCPTransport$ConnectionH
andler.run(TCPTransport.java:706)
13:58:01,556 ERROR [STDERR]     at 
java.lang.Thread.run(Thread.java:496)

I could attach the server.log, but its around 15MB in 
size, and I think that this should be easy to 
replicate.



----------------------------------------------------------------------

>Comment By: David Jencks (d_jencks)
Date: 2002-04-30 19:26

Message:
Logged In: YES 
user_id=60525

Most of the errors are fixed now I think, they were caused
by not being able to stop and restart a ConnectionManager. 
Last night with the fixes I got 10 failures, 4 errors on a
4th run (Branch_3_0, with the fixes committed a few minutes
ago).  Of these 9 are probably due to the problems with
trying to reload the CompressionSocketFactory Scott noted.
I'm looking at the rest.

I'm thinking of test targets for run-once and run-twice, the
ones that can only be run one in the run-once.

----------------------------------------------------------------------

Comment By: Georg Schmid (giorgio42)
Date: 2002-04-30 15:37

Message:
Logged In: YES 
user_id=437570


FYI: 
JB 3.1.0alpha, CVS Head (NT, JDK1.3.1_02)
Success rate on second run:
Tests Fail. Errs.  Succ.Rate  Time (PIII, 733MHz, 256MB)
578   16    146    71.97%     703.239 

Seems that something with binding into JNDI is broken.
The exceptions say: Account not bound! or EJBTestRunner not 
bound etc.

What about throwing away the results of the first run
and only taking those from second run for real ;-)

So nothing's working any more after redeploy?

Regards
Georg

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=549775&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to