Hi,

I am automating the deployment of an Ear file to Websphere 6 using Ant
1.6.5.
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" />
  </target>

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?

Thanks,
Sam.


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. http://www.euroclear.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to