Problem in WebSphere 6.0 ejbdeploy

JavaRanch Big Moose Saloon: Problem in WebSphere 6.0 ejbdeploy
Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified)

I was trying to avoid to call bat files from ant. I hate that. First cos are platform (and what a platform…) dependent, second cos you can always have problems with error codes and the build can be successful even if something bad happens there…

There are 2 correct responses in this thread:

I had the same problem last month, and struggled for a while. I found the point is, we have to use \profiles\AppSrv01\bin\ws_ant.bat to call ant, instead of calling ant directly. By using ws_ant.bat, it will initialize some env variables, and using IBM’s JVM to do the job. Another thing is, in build script, I need to define property “wasinstall” as websphere install home. This property will be used as ejb deploy task’s attribute “wasHome”‘s value.

The first is this, so I’ll roll back my changes. The .bat file is plenty of SET blabla=blabla/bla so I have no choice.

The second is the best one but unfortunately I can’t do that:

There is one fix, delete WAS and never install it :-P .

Indeed, WAS is an antipattern.

This entry was posted in Uncategorized and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. felix
    Posted March 13, 2007 at 10:27 am | Permalink

    Man you are damn right about WAS. Even the sunshine doesn’t help me getting over it…

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>