• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

how to generate EJB deployment code in WAS 5.0 using ANT

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
Can anyone help me generate deployment code using ant for EJB's in WAS 5.0
I have used WAS 4.0.x and I had the following ant script working from quite some time for generating deployment code.
***** Build Script ******
< target name="ServiceManager.DeployWebsphereEJBJar">
< java fork="yes" classname="com.ibm.etools.ejbdeploy.EJBDeploy">
< arg value="${build.dir}/ejb_ServiceManager/ejb_${product.name}_ServiceManager.jar"/>
< arg value="${target_ejb.dir}">
< arg value="${target_ejb.dir}/ejb_${product.name}_ServiceManager.jar"/>
< arg value="-cp"/>
< arg value="${lib.path.os}"/>
< arg value="-dbvendor"/>
< arg value="ORACLE_V8"/>
< arg value="-trace"/>
< classpath refid="lib.path"/>
< sysproperty value="${appl.server.home}/lib" key="websphere.lib.dir"/>
< jvmarg value="-Xms64m -Xmx512m"/>
< /java>
< /target>
***** Build Script ******
But when I use the same script for WAS 5.0, I get the following error.
******** Errors *********
[java] (85 problems found) Build done.
[java] Invoking Validation on /ejb_netSymbols_ServiceManager.
[java] Invoking Library Copying Builder on /ejb_netSymbols_ServiceManager.
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.remove()
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.isIdentical(EJBObject)
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): The hierarchy of the type EJSRemoteStatelessServiceManager is inconsistent
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getEJBHome()
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getHandle()
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManager.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getPrimaryKey()
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManagerHome.java(6): The hierarchy of the type EJSRemoteStatelessServiceManagerHome is inconsistent
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManagerHome_341f8ef6.java(10): EJSWrapper cannot be resolved or is not a valid superclass
[java] [*Error] ejbModule/symbols/framework/ekernel/service/manager/EJSRemoteStatelessServiceManagerHome_341f8ef6.java(26): EJSDeployedSupport cannot be resolved or is not a type
******** Errors ********* and the list goes on..
Can any one please help me in this regard.
I am clueless as to what is the problem.
Thanks & Regards
Naveen Kumar
[ January 27, 2004: Message edited by: Naveen Kumar ]
[ January 27, 2004: Message edited by: Naveen Kumar ]
[ January 27, 2004: Message edited by: Naveen Kumar ]
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic