Uninstalling business process using command console - Websphere

This is a discussion on Uninstalling business process using command console - Websphere ; I am trying to uninstall an application installed as part of Post-Migration step on Migrating WPS6.2 and i am getting the following error: The command i ran is as follows: /main/software/websphere/ProcServer/v62/bin/wsadmin.sh -f bpcTemplates.jacl -username me1234 -password mine123 -uninstall HTM_PredefinedTasks_V620_WPSAppCluster -force ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Uninstalling business process using command console

  1. Uninstalling business process using command console

    I am trying to uninstall an application installed as part of Post-Migration step on Migrating WPS6.2 and i am getting the following error:


    The command i ran is as follows:

    /main/software/websphere/ProcServer/v62/bin/wsadmin.sh -f bpcTemplates.jacl -username me1234 -password mine123 -uninstall HTM_PredefinedTasks_V620_WPSAppCluster -force

    the reason i am doing a force unistallation is , i am not able to remove the applications from the Console,

    7/31/09 12:36:12:740 SAST] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: ADMC0043E: An error occurred while deserializing the received exception.
    " follows:

    java.lang.IllegalArgumentException: ADMC0043E: An error occurred while deserializing the received exception.
    at com.ibm.ws.management.connector.soap.SOAPConnector Client.handleAdminFault(SOAPConnectorClient.java:8 11)
    at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplate(SOAPConnectorClient.java:779 )
    at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:575)
    at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:402)
    at $Proxy0.invoke(Unknown Source)
    at com.ibm.ws.management.AdminClientImpl.invoke(Admin ClientImpl.java:205)
    at com.ibm.ws.scripting.AdminControlClient.invoke_jmx (AdminControlClient.java:822)
    at com.ibm.ws.scripting.AdminControlClient.invoke(Adm inControlClient.java:1570)
    at com.ibm.ws.scripting.AdminControlClient.invoke(Adm inControlClient.java:1408)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoke r.java:125)
    at tcl.lang.JavaInvoke.call(JavaInvoke.java:263)
    at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:121 )
    at tcl.lang.ReflectObject.cmdProc(ReflectObject.java: 914)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2306)
    at tcl.lang.ForeachCmd.cmdProc(ForeachCmd.java:112)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2306)
    at tcl.lang.IfCmd.cmdProc(IfCmd.java:116)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Procedure.cmdProc(Procedure.java:161)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2306)
    at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.ParseAdaptor.parseNestedCmd(ParseAdaptor. java:100)
    at tcl.lang.Expression.ExprLex(Expression.java:995)
    at tcl.lang.Expression.ExprGetValue(Expression.java:4 28)
    at tcl.lang.Expression.ExprTopLevel(Expression.java:2 36)
    at tcl.lang.Expression.evalBoolean(Expression.java:15 1)
    at tcl.lang.IfCmd.cmdProc(IfCmd.java:47)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2306)
    at tcl.lang.IfCmd.cmdProc(IfCmd.java:68)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Procedure.cmdProc(Procedure.java:161)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2306)
    at tcl.lang.IfCmd.cmdProc(IfCmd.java:68)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2276)
    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(Access Controller.java:246)
    at com.ibm.bsf.BSFManager.exec(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.executeScript(A bstractShell.java:1010)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShe ll.java:1985)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java :1025)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLa uncher.java:183)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher .java:90)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher. java:72)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclips e(WSPreLauncher.java:329)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLa uncher.java:92)

    Could i please be helped ???

  2. Re: Uninstalling business process using command console

    This application is installed at the time of Business Process Choreographer configuration and will be uninstalled while removing the config. Please use bpeunconfig.jacl.

    If this is the only one application in that cluster/server which is not uninstalled even after using bpeunconfig.jacl, then I would just try

    $AdminApp uninstall {-custom CheckForProcessApplications=false}

    http://publib.boulder.ibm.com/infoce.../bpc/t2de.html

    Anant

  3. Re: Uninstalling business process using command console

    Hi Anant ,

    Thanks for the reply,

    I used this command : $AdminApp uninstall {-custom CheckForProcessApplications=false}

    and i still cannot delete the applications:

    I get the following errror ,


    [8/3/09 10:07:54:397 SAST] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7133E: Application uninstall of HTM_PredefinedTasks_V620_WPSAppCluster failed: see previous messages for details.
    " follows:

    com.ibm.ws.scripting.ScriptingException: WASX7133E: Application uninstall of HTM_PredefinedTasks_V620_WPSAppCluster failed: see previous messages for details.
    at com.ibm.ws.scripting.AbstractShell.setAndThrowScri ptingException(AbstractShell.java:1649)
    at com.ibm.ws.scripting.AdminAppClient.invokeMBeanUni nstall(AdminAppClient.java:5091)
    at com.ibm.ws.scripting.AdminAppClient.uninstall(Admi nAppClient.java:2201)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoke r.java:125)
    at tcl.lang.JavaInvoke.call(JavaInvoke.java:263)
    at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:121 )
    at tcl.lang.ReflectObject.cmdProc(ReflectObject.java: 914)
    at tcl.lang.Parser.evalObjv(Parser.java:818)
    at tcl.lang.Parser.eval2(Parser.java:1221)
    at tcl.lang.Interp.eval(Interp.java:2222)
    at tcl.lang.Interp.eval(Interp.java:2276)
    at com.ibm.bsf.engines.jacl.JaclEngine.eval(Unknown Source)
    at com.ibm.bsf.BSFManager$5.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Access Controller.java:246)
    at com.ibm.bsf.BSFManager.eval(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.interactive(Abs tractShell.java:1170)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShe ll.java:1996)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java :1025)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLa uncher.java:183)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher .java:90)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher. java:72)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclips e(WSPreLauncher.java:329)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLa uncher.java:92)

    [8/3/09 10:07:54:399 SAST] 0000000a AbstractShell A WASX7093I: Issuing message: "WASX7015E: Exception running command: "$AdminApp uninstall HTM_PredefinedTasks_V620_WPSAppCluster {-custom CheckForProcessApplications=false}"; exception information:
    com.ibm.ws.scripting.ScriptingException: WASX7133E: Application uninstall of HTM_PredefinedTasks_V620_WPSAppCluster failed: see previous messages for details.

  4. Re: Uninstalling business process using command console

    Do you have any business apps running on this cluster ? Are the templates in the stopped state ? Do you see any other errors in the DMGR SystemOut.log or wsadmin logs ?

    Can you plesase give some background why you are trying to uninstall this application ?

    This application is installed as part of the Business Process Choreographer configuration and if you wish to uninstall the BPC configuration then please use the bpeunconfig.jacl as mentioned in the infocenter. Before you uninstall the BPC configuration, stop the process templates and then uninstall business application.

    http://publib.boulder.ibm.com/infoce.../bpc/t2de.html

    This is Websphere Application Server Fourm, you would have better chance posting this question on Websphere Process Server Fourm. Here is the link.

    http://www.ibm.com/developerworks/fo...pa?forumID=820

    Anant

+ Reply to Thread