Hello, I see nobody replied to this post and since we still have this issue I decided to insist.

We changed the layout of the classes, no now there's only one global Logger wrapper for the whole project (which inherits from the JBoss Logger), which adds some functionality specific to our project. I still get exceptions when running the tests after having deployed the application the first time, run the tests, and redeployed it after a while, right when our child Logger is initialized - like this(for example):

static OurLogger logger = (OurLogger) OurLogger.getLogger(XXX.class.getName());

- in whichever class gets loaded first. Has anybody used classes that extend the JBoss Logger? If yes, do these issues sound familiar? If I use the JBoss Logger everything's fine, but we need to have our own Logger so that isn't satisfying.

At first the errors where ClassCastExceptions, now there's a stupid error message about a test class which the error message / stack trace said it didn't find (which is the class being run). I've attached a sample of JUnit output with the full stack trace. I'm using JUnitEJB to run the tests (test classes inherit from EJBTestCase), and yes, I redeploy the junit/junitejb jars every time I redeploy the application, otherwise I'd get class loader-related exceptions.

Please help me with this, it's really uncofortable having to restart the JBoss server every time I want to run tests, I'm using JBoss 3.2.1 on Mandrake Linux 9.1 (like by the time of the original message, only we upgraded to the 1.4.2 Sun JDK) and starting the JBoss server takes around 1 minute...



Stefan Puiu wrote:


Hello, I'm using JBoss 3.2.1 on Mandrake Linux 9.1 and I'm running it using the 1.4.1 JDK from Sun.


When I try to deploy an ear which includes a sar and a jar file. I get a ClassCastException and the line the error message points me to involves instantiating a CALogger class:

// CertUpdateAgent.java excerpt

private static CALogger logger = (CALogger) CALogger.getLogger(CertUpdateAgent.class);

If I delete this line from my code everything works, but I need to use this class to write logging messages. Btw this works for a co-worker. Any ideas?


CALogger is a subclass of org.apache.log4j.Logger. With JBoss 3.0.7 we had some trouble because the log4j in the JBoss distribution was older than the one we had used, now it's this, it's clearly a pain the neck.


17:00:05,657 ERROR [MainDeployer] could not create deployment: file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar-contents/eupki-ca.sar

org.jboss.deployment.DeploymentException: create operation failed for package file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar-contents/eupki-ca.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)


at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)


at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
... 17 more
Caused by: java.lang.ClassCastException
at org.eupki.ca.ejb.services.CertUpdateAgent.<clinit>(CertUpdateAgent.java:85)


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:844)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)


at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)

... 26 more
17:00:05,664 ERROR [MainDeployer] could not create deployment: file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar


org.jboss.deployment.DeploymentException: create operation failed for package file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar-contents/eupki-ca.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)


at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)


at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
... 17 more
Caused by: java.lang.ClassCastException
at org.eupki.ca.ejb.services.CertUpdateAgent.<clinit>(CertUpdateAgent.java:85)


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:844)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)


at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)

... 26 more
17:00:05,711 ERROR [MainDeployer] could not create deployment: file:/home/fane/builds/jboss-3.2.1/server/default/deploy/eupki-ca.ear
org.jboss.deployment.DeploymentException: create operation failed for package file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar-contents/eupki-ca.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)


at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)


at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
... 17 more
Caused by: java.lang.ClassCastException
at org.eupki.ca.ejb.services.CertUpdateAgent.<clinit>(CertUpdateAgent.java:85)


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:844)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)


at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)

... 26 more
17:00:05,718 ERROR [URLDeploymentScanner] Failed to deploy: [EMAIL PROTECTED] url=file:/home/fane/builds/jboss-3.2.1/server/default/deploy/eupki-ca.ear, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: create operation failed for package file:/home/fane/builds/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/eupki-ca.ear/49.eupki-ca.ear-contents/eupki-ca.jar-contents/eupki-ca.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)


at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.ClassCastException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)


at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)


at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
... 17 more
Caused by: java.lang.ClassCastException
at org.eupki.ca.ejb.services.CertUpdateAgent.<clinit>(CertUpdateAgent.java:85)


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:844)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)


at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)

... 26 more




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user


ra-setup:
    [junit] .E
    [junit] Time: 1.14
    [junit] There was 1 error:
    [junit] 1) testSetUp(org.eupki.ra.test.RASetup)java.rmi.ServerException: 
RemoteException occurred in server thread; nested exception is:
    [junit]     java.rmi.ServerException: EJBException:; nested exception is:
    [junit]     javax.ejb.EJBException: Test class not found : 
org.eupki.ra.test.RASetup
    [junit]     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    [junit]     at sun.rmi.transport.Transport$1.run(Transport.java:148)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    [junit]     at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    [junit]     at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    [junit]     at java.lang.Thread.run(Thread.java:534)
    [junit]     at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    [junit]     at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    [junit]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    [junit]     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
    [junit]     at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
    [junit]     at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:87)
    [junit]     at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    [junit]     at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
    [junit]     at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
    [junit]     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
    [junit]     at $Proxy1.run(Unknown Source)
    [junit]     at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:110)
    [junit]     at net.sourceforge.junitejb.EJBTestCase.run(EJBTestCase.java:95)
    [junit] Caused by: java.rmi.ServerException: EJBException:; nested exception is:
    [junit]     javax.ejb.EJBException: Test class not found : 
org.eupki.ra.test.RASetup
    [junit]     at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:346)
    [junit]     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
    [junit]     at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    [junit]     at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
    [junit]     at org.jboss.ejb.Container.invoke(Container.java:674)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    [junit]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
    [junit]     at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    [junit]     at sun.rmi.transport.Transport$1.run(Transport.java:148)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    [junit]     at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    [junit]     at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    [junit]     at java.lang.Thread.run(Thread.java:534)
    [junit] Caused by: javax.ejb.EJBException: Test class not found : 
org.eupki.ra.test.RASetup
    [junit]     at 
net.sourceforge.junitejb.EJBTestRunnerBean.getTestInstance(EJBTestRunnerBean.java:167)
    [junit]     at 
net.sourceforge.junitejb.EJBTestRunnerBean.run(EJBTestRunnerBean.java:38)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
    [junit]     at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    [junit]     at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    [junit]     at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)
    [junit]     at 
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
    [junit]     at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    [junit]     at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
    [junit]     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    [junit]     ... 21 more
    [junit] FAILURES!!!
    [junit] Tests run: 1,  Failures: 0,  Errors: 1

Reply via email to