Bugs item #967939, was opened at 2004-06-07 14:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=967939&group_id=22866
Category: JBossServer Group: v4.0 Status: Open Resolution: None Priority: 5 Submitted By: Ed Hillmann (ehillman) Assigned to: Nobody/Anonymous (nobody) Summary: EJB Deployment failure Initial Comment: Adding this bug from my JBoss forum post: can be found here http://www.jboss.org/index.html? module=bb&op=viewtopic&t=49862 I have an EAR file (bpserver.ear) which contains two jar files: bpserver.jar, containing the server code bpserver-test.jar, containing JUnit test cases and a single EJB which is used to execute the test cases within the JBoss server The application.xml looks like Code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd"> <application> <display-name>BPlan Server</display-name> <description>Server for the BPlan system.</description> <module> <ejb>bpserver.jar</ejb> </module> <module> <ejb>bpserver-test.jar</ejb> </module> </application> I can include the deployment descriptors for the two JAR files, but one is fairly lengthy. So I'll provide those if asked. When I attempt to deploy my EAR file in 4.0.0 DR3, I get the following exception: Code: 16:08:10,462 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/server/bpserver/deploy/bpserver.ear 16:08:10,472 INFO [EARDeployer] Init J2EE application: file:/D:/jboss/server/bpserver/deploy/bpserver.ear 16:08:11,013 INFO [EjbModule] Deploying TaskBean 16:08:11,183 INFO [EjbModule] Deploying SubtaskAssignBean 16:08:11,203 INFO [EjbModule] Deploying UserBean 16:08:11,273 INFO [EjbModule] Deploying DataBean 16:08:11,293 INFO [EjbModule] Deploying SequenceGeneratorBean 16:08:11,313 INFO [EjbModule] Deploying AdministrationBean 16:08:11,654 WARN [EJBDeployer] Verify failed; continuing java.lang.NoClassDefFoundError: com/bh/bplan/ejbtest/EJBTestCase at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods (Class.java:1647) at java.lang.Class.getDeclaredMethod (Class.java:1254) at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer (AbstractVerifier.java:589) at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean (EJBVerifier20.java:1100) at org.jboss.verifier.strategy.EJBVerifier20.checkSession (EJBVerifier20.java:92) at org.jboss.verifier.BeanVerifier.verify (BeanVerifier.java:162) at org.jboss.ejb.EJBDeployer.create (EJBDeployer.java:483) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:818) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:810) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:672) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:636) at sun.reflect.GeneratedMethodAccessor18.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch (ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch (Invocation.java:45) at org.jboss.mx.server.Invocation.invoke (Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke (AbstractMBeanInvoker.java:168) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de ploy(URLDeploymentScanner.java:303) at org.jboss.deployment.scanner.URLDeploymentScanner.sc an(URLDeploymentScanner.java:477) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.doScan (AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.loop (AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.run (AbstractDeploymentScanner.java:191) 16:08:11,744 ERROR [MainDeployer] could not create deployment: file:/D:/jboss/server/bpserver/tmp/deploy/tmp6446bpserv er.ear-contents/bpserver-test.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create (EJBDeployer.java:499) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:818) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:810) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:672) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:636) at sun.reflect.GeneratedMethodAccessor18.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch (ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch (Invocation.java:45) at org.jboss.mx.server.Invocation.invoke (Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke (AbstractMBeanInvoker.java:168) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de ploy(URLDeploymentScanner.java:303) at org.jboss.deployment.scanner.URLDeploymentScanner.sc an(URLDeploymentScanner.java:477) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.doScan (AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.loop (AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.run (AbstractDeploymentScanner.java:191) 16:08:11,834 ERROR [MainDeployer] could not create deployment: file:/D:/jboss/server/bpserver/deploy/bpserver.ear org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create (EJBDeployer.java:499) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:818) at org.jboss.deployment.MainDeployer.create (MainDeployer.java:810) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:672) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:636) at sun.reflect.GeneratedMethodAccessor18.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch (ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch (Invocation.java:45) at org.jboss.mx.server.Invocation.invoke (Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke (AbstractMBeanInvoker.java:168) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de ploy(URLDeploymentScanner.java:303) at org.jboss.deployment.scanner.URLDeploymentScanner.sc an(URLDeploymentScanner.java:477) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.doScan (AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.loop (AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.run (AbstractDeploymentScanner.java:191) The class it's complaining about, EJBTestCase, is in bpserver-test.jar. I get this exception regardless of the sequence of the ejb modules in the application descriptor. This worked fine in 4.0.0 DR2 (if I use that, I can execute my JUnit test cases without a problem). Is there something in DR3 that I need to do in addition to what I've done? I'm using JDK 1.4.2. This occurs when I run JBoss on a Windows 2000 Professional Box or a Linux box. Please let me know if I can provide any test apps.... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=967939&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development