ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: weblogic ejbjar creation failure
Date Fri, 09 Feb 2001 12:28:46 GMT
Mick,

Are the generated jars in your classpath, or the classpath given to the
ejbjar/weblogic element? The code attempts to load super classes to add to
the generic jar. It is possible that these are being picked up from your
generated jar instead of your classes. It would probably be best if the
destination where the jars are placed is NOT in your classpath.

Conor

----- Original Message -----
From: "M.A.Dunphy" <madunphy@bigfoot.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, February 09, 2001 10:58 PM
Subject: RE: weblogic ejbjar creation failure


> And more info.
>
> Just got somebody else to install ant, and sun's xml parser on another
> machine. changed the dos environment so that it knows about these two.
Ran
> ant and got the same result!!! So would this imply it's something to do
with
> the build.xml file rather than my machine?
>
> Mick
>
> -----Original Message-----
> From: M.A.Dunphy [mailto:madunphy@bigfoot.com]
> Sent: 09 February 2001 10:37
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: weblogic ejbjar creation failure
>
>
> And more info,
>
> When ant debug prints to show that it is attempting to build the ejbjar,
> from an explorer if I attempt to delete the original login.jar file,
windows
> returns saying access denied, share violation.
>
> So who's acessing the original jar file?
>
> -----Original Message-----
> From: M.A.Dunphy [mailto:madunphy@bigfoot.com]
> Sent: 09 February 2001 10:27
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: weblogic ejbjar creation failure
>
>
> Conor,
>
> In the weblogic nested element, I've set the keepgeneric option, so that
> after running ant, I still have the login-generic.jar. I've then run the
> java weblogic.ejbc call in the same DOS window and it has no problem over
> writing the original login.jar file. What has changed, this was working
> before?. The only different I can see visually, is the ant debug says it
is
> forking to run the java weblogic.ejbc call. What does this do exactly? Is
> there some way to not fork to identify if this is the problem?
>
> Thanks
>
> Mick
>
> -----Original Message-----
> From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
> Sent: 09 February 2001 10:19
> To: ant-user@jakarta.apache.org
> Subject: Re: weblogic ejbjar creation failure
>
>
> Mick,
>
> Perhaps some other process has a lock on the jar. Can you delete the file
> by hand using explorer? Also trying running the ejbc invocation directly
> rather than through Ant and see if it gives the same behaviour.
>
> Conor
>


Mime
View raw message