ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Botti" <>
Subject R: ejbjar and proxy servers
Date Mon, 16 Oct 2000 14:28:38 GMT
Hi everybody,

Dan, i feel you did not added the .xml descriptors to the jar file you need
to create before calling the ejbc compiler.

The deployment process in WLS 5.1 is:

1) Compile (nice, huh)
2) Create the .jar file with ejb-jar.xml and weblogic-ejb-jar.xml in the
Meta-inf  (plus Remote interface, Home interface, Bean implementation and PK
for Entity Bean)
3) Call the ejbc on the jar file. This generates the new jar with stubs.
4) Deploy (hot or cold)

I think the xml is missing in the intermediate .jar file.

I am actually not using the ejb tasks. Instead i defined a series of tasks.
I am acutally deploying 98 Ejbs.

The only real problem is that ejbc calls a System.exit() so i need to fork
the JVM.

Hope it helps


 -----Messaggio originale-----
Da: []Per conto di Dan Smith
Inviato: lunedì 16 ottobre 2000 16.07
Oggetto: Re: ejbjar and proxy servers

  Ok, I am almost there...
  I added the weblogic classes to my ant classpath and it almost worked.  It
failed AFTER the creation of the ejb jarfile.  Here is the actual output:
  [ejbjar] building ticket.jar with 5 files
       [java] [EJB]: Creating output


  /home/dsmith/src/dsmith_cws/vobs/cws/build.xml:76: IOException while
parsing'weblogic-ejb-jar.xml'.  This probably indicates that the descriptor
doesn't exist. Details:

   the file 'weblogic-ejb-jar.dtd' exists in the $WEBLOGIC_HOME/classes
directory under weblogic/ejb/deployment/xml.

  Oh yeah, I am using Weblogic 5.1

View raw message