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: Ejbjar & weblogic in Ant1.3beta2
Date Mon, 19 Feb 2001 23:24:29 GMT
Michael,

Did you read this line

   [ejbjar] Unable to locate weblogic deployment descriptor. It was expected
to be in
F:\borderfree\automatica\rtq\src\com\borderfree\customerMgmt\ejb-weblogic-ej
b-jar.xml


This is ejbjar telling you where it expected the weblogic deployment
descriptor to be. Is it there?

Conor


-----Original Message-----
From: Michael Sahota [mailto:MSahota@borderfree.com]
Sent: Tuesday, 20 February 2001 10:07
To: 'ant-user@jakarta.apache.org'
Subject: Ejbjar & weblogic in Ant1.3beta2


Hi,
I am having a problem where weblogic-ejb-jar.xml is not getting included in
my generic.jar.
The error is shown below "weblogic-ejb-jar.xml was not found in the jar
file" does reflect the
fact it is indeed missing from the jar file.  My understanding is that the
ejbjar task should
include it in the jar file before invoking weblogic.ejbc.  Is this correct?
Configuration:
* Win2k
* Ant1.3b2
* JDK1.3
Here is my usage of ejbjar/weblogic tags (modified from example in manual):
      <ejbjar srcdir="${build.classes.dir}"
            descriptordir="${src.dir}">
        <weblogic destdir="${build.lib.dir}" keepgeneric="true">
            <classpath refid="project.classpath.ejbc" />
        </weblogic>
        <include name="**/ejb-jar.xml"/>
        <exclude name="**/weblogic*.xml"/>
      </ejbjar>
Here is the log/trace:
   [ejbjar] 1 deployment descriptors located.
   [ejbjar] Unable to locate weblogic deployment descriptor. It was expected
to be in F:\borderfree\automatica\rtq\src\c
om\borderfree\customerMgmt\ejb-weblogic-ejb-jar.xml
   [ejbjar] looking at class
com.borderfree.customerMgmt.service.CustomerMgmtServiceBean
   [ejbjar] looking at interface
com.borderfree.customerMgmt.service.CustomerMgmtServiceHome
   [ejbjar]      implements javax.ejb.EJBHome
   [ejbjar] looking at interface
com.borderfree.customerMgmt.service.CustomerMgmtServiceRemote
   [ejbjar]      implements javax.ejb.EJBObject
   [ejbjar]      implements
com.borderfree.customerMgmt.service.CustomerMgmtService
   [ejbjar] building ejb.jar with 7 files
   [ejbjar] adding file
'com\borderfree\customerMgmt\service\CustomerMgmtServiceBean.class'
   [ejbjar] adding file 'META-INF/ejb-jar.xml'
   [ejbjar] adding file
'com\borderfree\customerMgmt\service\CustomerMgmtServiceHome.class'
   [ejbjar] adding file
'com\borderfree\customerMgmt\service\CustomerMgmtService.class'
   [ejbjar] adding file 'com\borderfree\main\service\BaseService.class'
   [ejbjar] adding file 'com\borderfree\main\service\BaseServiceBean.class'
   [ejbjar] adding file
'com\borderfree\customerMgmt\service\CustomerMgmtServiceRemote.class'
   [ejbjar] Calling weblogic.ejbc for
F:\borderfree\automatica\rtq\build\lib\com\borderfree\customerMgmt\ejb-gener
ic.jar
     [ejbc] Forking java -classpath
D:\dev\jdk1.2.2\lib\tools.jar;D:\dev\jakarta-ant-1.3beta2\lib\parser.jar;D:\
dev\jaka
rta-ant-1.3beta2\lib\jaxp.jar;D:\dev\jakarta-ant-1.3beta2\lib\jakarta-ant-1.
3beta2-optional.jar;D:\dev\jakarta-ant-1.3be
ta2\lib\ant.jar;F:\borderfree\automatica\rtq\lib\jGcore.jar;F:\borderfree\au
tomatica\rtq\lib\ib5all.jar;F:\borderfree\au
tomatica\rtq\lib\xalan.jar;F:\borderfree\automatica\rtq\lib\xerces.jar;F:\bo
rderfree\automatica\rtq\lib\toplink.jar;F:\b
orderfree\automatica\rtq\lib\toplinkx.jar;F:\borderfree\automatica\rtq\lib\t
ools.jar;F:\borderfree\automatica\rtq\lib\to
plinkwlx.jar;F:\borderfree\automatica\rtq\lib\toplink_cmp.jar;D:\dev\weblogi
c\mssqlserver4v70\classes;D:\dev\weblogic\li
b\weblogic510sp8.jar;D:\dev\weblogic\classes;D:\dev\weblogic\license;D:\dev\
weblogic\lib\weblogicaux.jar;F:\borderfree\a
utomatica\rtq\buildsrc;F:\borderfree\automatica\rtq\build\classes
weblogic.ejbc -noexit F:\borderfree\automatica\rtq\bui
ld\lib\com\borderfree\customerMgmt\ejb-generic.jar
F:\borderfree\automatica\rtq\build\lib\com\borderfree\customerMgmt\ej
b.jar
     [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR:
weblogic-ejb-jar.xml was not found in the jar file.
     [ejbc]     at weblogic.ejbc.runBody(ejbc.java:305)
     [ejbc]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [ejbc]     at weblogic.ejbc.main(ejbc.java:365)
     [ejbc] Java Result: 1


Michael Sahota, B.A.Sc., M.Sc.
BorderFree
416.480.2558 x-243
Click to add my contact info to your organizer:
http://my.infotriever.com/msahota


Mime
View raw message