BugRat Report # 807

Project: Ant Release: 1.3alpha January 17 2001
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: critical
Confidence: public

Submitter: Michael Shamberger ( Michael.Shamberger@msdw.com )
Date Submitted: Jan 19 2001, 01:28:18 CST
Responsible: Z_Ant Alias ( ant-bugs@cortexity.com )

Synopsis:
ant build fails in ejbjar
Environment: (jvm, os, osrel, platform)
1.2.2, windows 2000, sp1, weblogic 5.1 sp6

Additional Environment Description:
Here is a copy of the smallest build_main.xml that I have been able to make to date:

Report 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)

Workaround:
null

View this report online...