Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception occured while using Ant/Jacl to create/deploy an Application

Status
Not open for further replies.

sitaram8

Programmer
Aug 11, 2003
8
0
0
IN
Hi,
I am using the following ant script to install a server and application on WAS5 ..but I am getting an exception which I have posted below .. please let me know what I am missing ..
Thanks
Sitaram

<?xml version="1.0"?>
<project name = "AdminEar" default = "install" basedir = ".">
<taskdef name = "wsadmin"
classname = "com.ibm.websphere.ant.tasks.WsAdmin" />
<taskdef name = "wsStartApp"
classname = "com.ibm.websphere.ant.tasks.StartApplication" />

<target name = "install">
<echo message =" Beginning installation"/>
<wsadmin
wasHome="/was/"
script="install.jacl"
lang="jacl"
conntype="SOAP"
host="10.129.34.333"
port="9081">
<arg value="qww34"/>
<arg value="AppName"/>
<arg value="/home/kana/ebiz/app.ear"/>
<arg value="app"/>
</wsadmin>
</target>
</project>

**************

[1/11/05 15:10:54:834 CST] 19940b1b ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[1/11/05 15:10:55:249 CST] 19940b1b AbstractShell A WASX7326I: Loaded properties file "/usr/WebSphere/AppServer/properties/wsadmin.properties"
[1/11/05 15:11:05:158 CST] 19940b1b AbstractShell A WASX7093I: Issuing message: "WASX7023E: Error creating "SOAP" connection to host "10.129.2.14"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException"
[1/11/05 15:11:05:159 CST] 19940b1b AdminControlC W WASX7072E: The control service is not available.
[1/11/05 15:11:05:398 CST] 19940b1b AdminConfigCl W WASX7198W: The configuration service is not running. Configuration commands will not run.
[1/11/05 15:11:05:684 CST] 19940b1b AdminConfigCl A WASX7208I: Validation settings in effect now: Level=HIGHEST, Cross-validation=true, Output file=wsadmin.valout
[1/11/05 15:11:05:988 CST] 19940b1b AdminAppClien W WASX7072E: The control service is not available.
[1/11/05 15:11:05:989 CST] 19940b1b AdminAppClien W WASX7206W: The application management service is not running. Application management commands will not run.
[1/11/05 15:11:10:223 CST] 19940b1b AbstractShell A WASX7303I: The following unrecognized options are passed to the scripting environment and are available as argv: "[qwsaix5, iCare, /home/kana/ebiz/ebiz.ear, ebiz]"
[1/11/05 15:11:10:224 CST] 19940b1b AbstractShell A WASX7091I: Executing script: "install.jacl"
[1/11/05 15:11:10:821 CST] 19940b1b AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
" follows:

com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1260)
at com.ibm.ws.scripting.AdminConfigClient.checkService(AdminConfigClient.java:1803)
at com.ibm.ws.scripting.AdminConfigClient.getid(AdminConfigClient.java:1826)
at java.lang.reflect.Method.invoke(Native Method)
at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:125)
at tcl.lang.JavaInvoke.call(JavaInvoke.java:254)
at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:114)
at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:907)
at tcl.lang.Parser.evalObjv(Parser.java(Compiled Code))
at tcl.lang.Parser.eval2(Parser.java(Compiled Code))
at tcl.lang.Parser.evalTokens(Parser.java(Compiled Code))
at tcl.lang.Parser.eval2(Parser.java(Compiled Code))
at tcl.lang.Procedure.cmdProc(Procedure.java:161)
at tcl.lang.Parser.evalObjv(Parser.java(Compiled Code))
at tcl.lang.Parser.eval2(Parser.java(Compiled Code))
at tcl.lang.Interp.eval(Interp.java:2042)
at tcl.lang.Interp.eval(Interp.java:2101)
at tcl.lang.IfCmd.cmdProc(IfCmd.java:95)
at tcl.lang.Parser.evalObjv(Parser.java(Compiled Code))
at tcl.lang.Parser.eval2(Parser.java(Compiled Code))
at tcl.lang.Interp.eval(Interp.java:2042)
at tcl.lang.Interp.eval(Interp.java:2071)
at com.ibm.bsf.engines.jacl.JaclEngine.eval(Unknown Source)
at com.ibm.bsf.util.BSFEngineImpl.exec(Unknown Source)
at com.ibm.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.bsf.BSFManager.exec(Unknown Source)
at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:799)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1537)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:805)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

[1/11/05 15:11:10:967 CST] 19940b1b AbstractShell A WASX7093I: Issuing message: "WASX7017E: Exception received while running file "install.jacl"; exception information: com.ibm.bsf.BSFException: error while eval'ing Jacl expression: com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available."
[1/11/05 15:11:10:972 CST] 1a638b1b AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
" follows:

com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1260)
at com.ibm.ws.scripting.AdminConfigClient.checkService(AdminConfigClient.java:1803)
at com.ibm.ws.scripting.WasxShell.leaving(WasxShell.java:747)
at com.ibm.ws.scripting.WasxShell$ShutdownHook.run(WasxShell.java:821)
 
As dumb as I may sound with this question but, is your WAS running ?

Looking the exception it says :
"WASX7023E: Error creating "SOAP" connection to host "10.129.2.14"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException"
[1/11/05 15:11:05:159 CST] 19940b1b AdminControlC W WASX7072E: The control service is not available.

The control service is not available means it is not running...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top