ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Deployment to Websphere 6
Date Fri, 06 Jan 2006 09:20:25 GMT


I am automating the deployment of an Ear file to Websphere 6 using Ant
I've been doing this with no problems using Websphere 5 but encountering
problems when now using Websphere 6 and the same deployment code.

I use the ant tasks defined in wsanttask.jar which comes bundled with
Websphere. Firstly, I simply try to stop an application.
I define a new ant task mapped to the required class in the wsanttask.jar
then use it in the build file:

  <target name="Stop App" >
    <stopApp wasHome="XXX" server="XXX" application="XXX" />

This is the same as for Websphere 5 but on Websphere 6 I receive the
following error:

java.lang.NoClassDefFoundError: com/ibm/ws/bootstrap/WSLauncher

I have tried adding the jar file to the classpath of Ant, WS and copying
the required jar (bootstrap.jar, I believe) into the Ant lib directory.

This should be a very simple step to perform but I cannot solve this. Does
anyone have any ideas?


This e-mail message, including any attachments transmitted with it, is
CONFIDENTIAL and may contain legally privileged information. This message
is intended solely for the use of the individual or entity to whom it is
addressed. If you are not the intended recipient you should not read, copy,
distribute, disclose or otherwise use this information. If you have
received this message in error, please notify us immediately and delete it
from your system. The integrity and security of this message cannot be
guaranteed and it may be subject to data corruption and unauthorised
amendment, for which we accept no liability.
Euroclear reserves the right to retain email messages on its systems and
to the extent and under circumstances permitted by applicable law, to
monitor and intercept email messages to and from its systems. Euroclear is
the marketing name for the Euroclear System, Euroclear plc, Euroclear SA/NV
and their affiliates.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message