• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Task--ejbjar error

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Friends, I got the following error i am doing a EJB jar task using ANT in WSAD 5.1.2 ,i have bcel.jar in my class path,from the following message i am not sure it is building ejb.jar,Any help would be appriciated
==============================
ejb-jar:
[ejbjar] building ejb.jar with 42 files
[ejbdeploy] Input options error: The input filename must end in '.jar' or '.ear'. It was C:\Documents..
[ejbdeploy] 0 Errors, 0 Warnings, 0 Informational Messages
==============================
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a lot of problems with WSAD v5.1.2 too, but I got different error message from yours. I am thinking to try it on RAD, the new version "Rational Application Developer".

If you like, we can exchange some informations.

Find my email address from my website
http://bobcat.webappcabaret.net/javachina/
 
Vincy Kaczanowski
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't move to RAD,i need to work on WSAD 5.1.2,let us be in sync
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I too faced issues with ANT 1.6.2 and WSAD 5.1 when trying to deploy my EJBs. However I got around the problem by using the ejbdeploy batch file present in the following path of your WSAD installation.

${WAS_HOME}/bin/ejbdeploy.bat

I created my target to deploy the EJBs in the following manner...

<target name="deploy" depends ="ejbJarforCompile">
<echo>Deploying EJB JAR file</echo>
<exec executable="${WAS_HOME}/bin/ejbdeploy.bat" >
<arg value="${build.dir}\strideEJB.jar"/>
<arg value="${srcDir}"/>
<arg value="${build.dir}\strideEJB1.jar"/>
</exec>
This worked pretty well.
The first arguement is a jar file which contains my compiled EJB files.
This acts as input using which I can generate the deployment code. The third arguement isthe output jar file with the deployment code.
Though this makes my build WSAD dependent, the tasks available with ANT for deploying EJBs in WSAD dont seem to be of much help.

Hope this helps.
 
Vincy Kaczanowski
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,I think this will help,i have to try
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic