Topic
  • 3 replies
  • Latest Post - ‏2013-02-01T20:47:10Z by prashanth.obulsetty
SystemAdmin
SystemAdmin
7615 Posts

Pinned topic Execution of BPMShowProcessApplication Command is Failing

‏2013-01-31T20:35:03Z |
We are trying to deploy to an offline process server and we are executing the wsadmin BPMShowProcessApplication command:

wsadmin>$AdminTask BPMShowProcessApplication {-containerAcronym PC}
WASX7015E: Exception running command: "$AdminTask BPMShowProcessApplication {-containerAcronym PC}"; exception information:
javax.management.MBeanException
com.ibm.websphere.management.cmdframework.CommandLoadException
java.io.IOException: java.io.IOException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http:///com/ibm/websphere/management/cmdframework/commanddata.ecore' not found. (file:///opt/waspc/WebSphere/AppServer/profiles/DSTPC-DMGR/Command.xmi, 2, 338)

However, you can see that the comand is failing. This is happening in every Process Center environment we have. Any thoughts around why we are seeing this error?
Updated on 2013-02-01T20:47:10Z at 2013-02-01T20:47:10Z by prashanth.obulsetty
  • vlit
    vlit
    933 Posts

    Re: Execution of BPMShowProcessApplication Command is Failing

    ‏2013-01-31T20:58:23Z  
    Hi,

    Your mistake is you connect to Deploy Manager.

    You MUST connect to Managed Node.

    Please read my article: http://bpmadmin.blogspot.ru/2012/12/deploying-snapshots-to-offline.html

    Vladlen | http://bpmadmin.blogspot.com
  • prashanth.obulsetty
    prashanth.obulsetty
    7 Posts

    Re: Execution of BPMShowProcessApplication Command is Failing

    ‏2013-02-01T20:12:37Z  
    • vlit
    • ‏2013-01-31T20:58:23Z
    Hi,

    Your mistake is you connect to Deploy Manager.

    You MUST connect to Managed Node.

    Please read my article: http://bpmadmin.blogspot.ru/2012/12/deploying-snapshots-to-offline.html

    Vladlen | http://bpmadmin.blogspot.com
    No luck with that one either.

    
    ./wsadmin.sh -conntype SOAP -port 8880 -host servername -user user -password password WASX7209I: Connected to process 
    "XXXX.AppTarget.XXXXXNode01.0" on node XXXXXNode01 using SOAP connector;  The type of process is: ManagedProcess WASX7029I: For help, enter: 
    "$Help help" wsadmin>$AdminTask BPMShowProcessApplication 
    {-containerAcronym PC
    } WASX7015E: Exception running command: 
    "$AdminTask BPMShowProcessApplication {-containerAcronym PC}"; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command.     ./wsadmin.sh -conntype RMI -port 2810 -host servername -user user -password password WASX7209I: Connected to process 
    "XXXX.AppTarget.XXXXXNode01.0" on node XXXXXNode01 using SOAP connector;  The type of process is: ManagedProcess WASX7029I: For help, enter: 
    "$Help help" wsadmin>$AdminTask BPMShowProcessApplication 
    {-containerAcronym PC
    } WASX7015E: Exception running command: 
    "$AdminTask BPMShowProcessApplication {-containerAcronym PC}"; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command.
    


    More trace from the wsadmin.traceout log below,

    
    [2/1/13 12:24:33:620 EST] 00000000 AbstractShell E   WASX7120E: Diagnostic information from exception with text 
    "java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. 
    " follows:   java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. at com.ibm.bpm.pal.commands.CommandServiceImpl.showProcessApplication(CommandServiceImpl.java:1717) at com.ibm.bpm.pal.commands.impl.internal.BPMShowProcessApplication.execute(BPMShowProcessApplication.java:56) at com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.adminCmdExecute(RemoteCommandMgrImpl.java:335) at com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.execute(RemoteCommandMgrImpl.java:292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49) at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228) at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:480) at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:309) at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:65) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:733) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:522) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)   [2/1/13 12:24:33:621 EST] 00000000 AbstractShell A   WASX7093I: Issuing message: 
    "WASX7015E: Exception running command: "$AdminTask BPMShowProcessApplication 
    {-containerAcronym PC
    }
    "; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. 
    "
    


    Thanks!
    Prashanth
  • prashanth.obulsetty
    prashanth.obulsetty
    7 Posts

    Re: Execution of BPMShowProcessApplication Command is Failing

    ‏2013-02-01T20:47:10Z  
    No luck with that one either.

    <pre class="jive-pre"> ./wsadmin.sh -conntype SOAP -port 8880 -host servername -user user -password password WASX7209I: Connected to process "XXXX.AppTarget.XXXXXNode01.0" on node XXXXXNode01 using SOAP connector; The type of process is: ManagedProcess WASX7029I: For help, enter: "$Help help" wsadmin>$AdminTask BPMShowProcessApplication {-containerAcronym PC } WASX7015E: Exception running command: "$AdminTask BPMShowProcessApplication {-containerAcronym PC}"; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. ./wsadmin.sh -conntype RMI -port 2810 -host servername -user user -password password WASX7209I: Connected to process "XXXX.AppTarget.XXXXXNode01.0" on node XXXXXNode01 using SOAP connector; The type of process is: ManagedProcess WASX7029I: For help, enter: "$Help help" wsadmin>$AdminTask BPMShowProcessApplication {-containerAcronym PC } WASX7015E: Exception running command: "$AdminTask BPMShowProcessApplication {-containerAcronym PC}"; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. </pre>

    More trace from the wsadmin.traceout log below,

    <pre class="jive-pre"> [2/1/13 12:24:33:620 EST] 00000000 AbstractShell E WASX7120E: Diagnostic information from exception with text "java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. " follows: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. at com.ibm.bpm.pal.commands.CommandServiceImpl.showProcessApplication(CommandServiceImpl.java:1717) at com.ibm.bpm.pal.commands.impl.internal.BPMShowProcessApplication.execute(BPMShowProcessApplication.java:56) at com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.adminCmdExecute(RemoteCommandMgrImpl.java:335) at com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.execute(RemoteCommandMgrImpl.java:292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49) at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228) at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:480) at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:309) at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:65) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:733) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:522) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659) [2/1/13 12:24:33:621 EST] 00000000 AbstractShell A WASX7093I: Issuing message: "WASX7015E: Exception running command: "$AdminTask BPMShowProcessApplication {-containerAcronym PC } "; exception information: java.lang.Exception: java.lang.Exception: com.ibm.bpm.fds.common.FDSException: java.lang.Exception: java.lang.RuntimeException: Failed to create command. " </pre>

    Thanks!
    Prashanth
    Please ignore my last post. The exception was due to some issue in the DMgr. When we recycled it, the commnand BPMShowProcessApplication worked fine.

    Thanks Vladlen!

    • Prashanth