File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant WAS ADMIN task

 
Alex Bierhoff
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to install an application to WAS server through ANT build script.I
kept wsanttask.jar in my ant\lib\. Am running through my local machine which is
on XP and trying to install on WAS server on AIX box. It will be a great help
for me. Thanks. Here is my code in the script : <taskdef name="wsInstallApp"
classname="com.ibm.websphere.ant.tasks.InstallApplication"/> <wsInstallApp
wasHome="${wasInstallationdir}" ear="${earpath}/ABC.ear"
profile="setupCmdLine.sh" conntype="SOAP" host="hostname" port="xxxx"/> while
running the script am gettiing this message : [echo] installing ear on WAS
server [wsInstallApp] Installing Application [D:\backup\PEXT.ear]... Unable to
parse setupCmdLine: \usr\WebSphere\AppServer\bin\setupCmdLine.bat (The system
cannot find the path specified) [wsadmin] The java class is not found:
com/ibm/ws/bootstrap/WSLauncher [wsadmin] Java Result: 1 [wsInstallApp]
Installed Application
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic