You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/02/01 10:51:16 UTC
[Bug 479] New - ant build fails in ejbjar BugRat Report#807
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=479
*** shadow/479 Thu Feb 1 01:51:15 2001
--- shadow/479.tmp.8726 Thu Feb 1 01:51:16 2001
***************
*** 0 ****
--- 1,75 ----
+ +============================================================================+
+ | ant build fails in ejbjar BugRat Report#807 |
+ +----------------------------------------------------------------------------+
+ | Bug #: 479 Product: Ant |
+ | Status: UNCONFIRMED Version: unspecified |
+ | Resolution: Platform: All |
+ | Severity: Normal OS/Version: All |
+ | Priority: High Component: Main |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: Michael.Shamberger@msdw.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ I have been getting a failure during my ant build during ejbjar
+ before ejbc is called. It will reproduce 100% though I have
+ not been to create a test case small enough to submit. The
+ following tasks are involved for this bug to occur:
+ mkdir,copy,javac,ejbjar. Jeff Davies is also having the same
+ problem at his company so it is not just me.
+
+ I have a target called externals that copies all of my
+ 3'rd party jar files to the deployment directory. I then
+ call ejbjar to create an ejb. The problem only occurs with
+ certain ejbs.
+
+ Here is the stack trace I get:
+ [ejbjar] 1 deployment descriptors located.
+ [ejbjar] The old method for locating CMP files has been DEPRECATED.
+ [ejbjar] Please adjust your weblogic descriptor and set oldCMP="false" to use
+ the new CMP descriptor inclusion mechanism.
+ Class com.msdw.online.service.validation.ipo.IpoValidationService loaded from sy
+ stem loader
+ [ejbjar] looking at interface com.msdw.online.service.validation.ipo.IpoValid
+ ationService
+ [ejbjar] implements javax.ejb.EJBObject
+
+ BUILD FAILED
+
+ java.lang.NoClassDefFoundError: com/blazesoft/server/deploy/ejb/session/NdStatel
+ essEjbServerBean
+ at java.lang.ClassLoader.defineClass0(Native Method)
+ at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
+ at java.security.SecureClassLoader.defineClass(SecureClassLoader.java, C
+ ompiled Code)
+ at java.net.URLClassLoader.defineClass(URLClassLoader.java, Compiled Cod
+ e)
+ at java.net.URLClassLoader.access$1(URLClassLoader.java, Compiled Code)
+ at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
+ at java.security.AccessController.doPrivileged(Native Method)
+ at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code)
+ at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
+ at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java, Compiled Co
+ de)
+ at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
+ at java.lang.ClassLoader.findSystemClass(ClassLoader.java, Compiled Code
+ )
+ at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java, Co
+ mpiled Code)
+ at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
+ at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.chec
+ kAndAddInherited(GenericDeploymentTool.java, Compiled Code)
+ at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
+ essDescriptor(GenericDeploymentTool.java, Compiled Code)
+ at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
+ , Compiled Code)
+ at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
+ at org.apache.tools.ant.Project.runTarget(Project.java, Compiled Code)
+ at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Cod
+ e)
+ at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Co
+ de)
+ at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)