Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebSphere Ant Tasks

843833Aug 16 2007 — edited Sep 21 2007
Has anybody been able to successfully run any of the ws specific ant tasks for WAS 6.1? I have the jar file - com.ibm.ws.runtime_6.1.0.jar (which I had to hunt down - it does not come with the 6.1 installation by the way - go figure). Here's an example ant target:

<target name="stopApp">
<taskdef name="wsStopApp" classname="com.ibm.websphere.ant.tasks.StopApplication"/>
<wsStopApp wasHome="${user.install.root}" application="myApp"/>
</target>

When I run this, the ant messages indicate that the app was stopped:
[wsStopApp] Stopping Application [rodApp]...
[wsStopApp] Stopped Application [rodApp]

But, the app is actually not stopped.

Maybe I'm missing a jar in my classpath, but there are no ClassNotFound errors or anything like that.

Thanks,
Bob
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2007
Added on Aug 16 2007
1 comment
235 views