ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael O. Duffy" <mduff...@snet.net>
Subject Re: <ejbjar>, <weblogic> problems
Date Mon, 08 Jan 2001 01:52:27 GMT

Conor:

Thank you!  Quite serious!  ;)

I'll give it a look at the office tomorrow and let you know how I do. Thanks
again - MOD


Conor MacNeill wrote:

> Michael,
>
> This error usually means that the ejbjar task has not included the weblogic
> deployment descriptor in the jar it passes to ejbc. The ejbjar task picks up
> the weblogic descriptor by association with the generic deployment
> descriptor. If the generic deployment descriptor is named fubar-ejb-jar.xml
> then the weblogic descriptor should be named fubar-weblogic-ejb-jar.xml. I
> think I'll add a warning when this occurs letting you know what file ejbjar
> is expecting.
>
> You can check the generic jar which is fed to ejbc to see if it contains
> your weblogic deployment descriptor.
>
> Is this serious enough? :-)
>
> Conor
>
> --
> Conor MacNeill
> conor@cortexebusiness.com.au
> Cortex eBusiness
> http://www.cortexebusiness.com.au
>
> > -----Original Message-----
> > From: Michael Duffy [mailto:duffymo@yahoo.com]
> > Sent: Saturday, 6 January 2001 7:23
> > To: Apache
> > Subject: <ejbjar>, <weblogic> problems
> >
> >
> >
> > We're trying to use the <ejbjar> & <weblogic> tasks in
> > Ant 1.2.  We're running JVM 1.3 and WebLogic 1.3 on
> > Windows 2000; we've got the optional.jar file in the
> > ANT_HOME/lib directory.
> >
> > It's not working.  We get the following message:
> >
> > [java] ERROR: Error from ejbc: The JNDI name of bean
> > SampleTransaction was not set
> > [java] Exception in thread "main"
> > weblogic.utils.compiler.ToolFailureException: ERROR:
> > ejbc found errors
> > [java] at weblogic.ejbc.runBody(ejbc.java:328)
> > [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
> >
> > What's up?  Serious replies only, please.  ;)  Thanks.
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos - Share your holiday photos online!
> > http://photos.yahoo.com/
> >


Mime
View raw message