You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/19 20:29:33 UTC

BugRat Report #808 has been filed.

Bug report #808 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/808>

REPORT #808 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 1.3alpha January 17 2001
   JVM Release: 1.2.2
   Operating System: windows 2000
   OS Release: sp1
   Platform: weblogic 5.1 sp6

Synopsis: 
ant build fails in ejbjar

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)