ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.A.Dunphy" <madun...@bigfoot.com>
Subject RE: weblogic ejbjar creation failure
Date Fri, 09 Feb 2001 09:24:19 GMT
And heres the debug output

   [ejbjar] 1 deployment descriptors located.
   [ejbjar] building login.jar with 5 files
   [ejbjar] adding file 'com\test\sampleapp\login\LoginManagerSSBean.class'

   [ejbjar] adding file 'META-INF/ejb-jar.xml'
   [ejbjar] adding file 'com\test\sampleapp\login\LoginManagerSS.class'
   [ejbjar] adding file 'com\test\sampleapp\login\LoginManagerSSHome.class'

   [ejbjar] adding file 'META-INF/weblogic-ejb-jar.xml'
   +Task: java
   [ejbjar] Calling weblogic.ejbc for
C:\Test\Development\SampleApp\build\lib\login-generic.jar
     [java] Forking java -classpath
C:\Test\Development\SampleApp;C:\ant\lib\ant.jar;C:\weblogic\lib\weblogicaux
.jar;C:\weblogic\classes;C:\jaxp1.0.1\jaxp.jar;C:\jaxp1.0.1\parser.jar;C:\j2
sdkee1.2.1\lib\j2ee.jar;C:\j2sdkee1.2.1\lib\ejb10deployment.jar;C:\jdk1.3\jr
e\lib\rt.jar;C:\jdk1.3\jre\lib\i18n.jar;C:\jdk1.3\jre\lib\jaws.jar;C:\jdk1.3
\lib\tools.jar;C:\junit3.2\junit.jar;C:\ant\lib\jaxp.jar;C:\ant\lib\optional
.jar;C:\ant\lib\parser.jar;C:\Test\Development\SampleApp\build\classes\frame
work;C:\Test\Development\SampleApp\build\classes\sampleapp weblogic.ejbc
-keepgenerated -noexit
C:\Test\Development\SampleApp\build\lib\login-generic.jar
C:\Test\Development\SampleApp\build\lib\login.jar
     [java] [EJB]: Creating output
jar:C:\Test\Development\SampleApp\build\lib\login.jar
     [java] weblogic.utils.compiler.ToolFailureException: ERROR: Could not
delete previous jar C:\Test\Development\SampleApp\build\lib\login.jar
     [java]     at weblogic.ejbc.backupJar(ejbc.java:248)
     [java]     at weblogic.ejbc.createOutputJar(ejbc.java:264)
     [java]     at weblogic.ejbc.runBody(ejbc.java:310)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] Java Result: 1
   [ejbjar] deleting generic jar
C:\Test\Development\SampleApp\build\lib\login-generic.jar

BUILD SUCCESSFUL

-----Original Message-----
From: M.A.Dunphy [mailto:madunphy@bigfoot.com]
Sent: 09 February 2001 08:59
To: 'ant-user@jakarta.apache.org'
Subject: RE: weblogic ejbjar creation failure


Nope, 

a puzzler?

Thanks

Mick

-----Original Message-----
From: Tim Vernum [mailto:Tim.Vernum@macquarie.com.au]
Sent: 09 February 2001 08:54
To: 'ANT-user'
Subject: RE: weblogic ejbjar creation failure




> Has anybody 
> else seen this
> problem and what is the solution. I've a hunch is an 
> environment issue, but
> can find out what?

Does the jarfile have the read-only attribute set?

Mime
View raw message