Topic
  • No replies
SystemAdmin
SystemAdmin
345 Posts

Pinned topic Management Console error/question

‏2012-09-17T21:23:37Z |
In the install guide for MDM10, p. 80, steps 7 & 8:
8. Run the following script from the command line in the <INSTALL_HOME>/
ManagementConsole directory:
console.sh -file /<MDM_INSTALL_HOME>/ManagementConsole/scripts/jacl/deployAppConfig.jacl <DEPLOYMENT_NAME> <AppArchiveNameLocation>
where
<DeploymentName> – the name of the deployment.
<AppArchiveNameLocation> – the name and location of the application archive, such as <INSTALL_HOME>/installableApps/MDM.ear.

after trying to run the console.sh 2 different ways, get error each way:

1)
input:
where DeploymentName=MDMApp and MDMApp.ear is test name of ear, and AppArchiveNameLocation=directory where the app is actually install in WAS.
./console.sh -file /usr/local/applod/tmp/MDM10/MDM/MDM/ManagementConsole/scripts/jacl/deployAppConfig.jacl MDMApp /usr/WAS70/AppServer/profiles/Custom01/installedApps/ODNetwork/MDMApp.ear
ERROR - javax.management.MBeanException: com.dwl.management.ManagementException: java.io.FileNotFoundException: /usr/WAS70/AppServer/profiles/Custom01/installedApps/ODNetwork/MDMApp.ear
at com.sun.jmx.mbeanserver.MBeanIntrospector.unwrapInvocationTargetException(MBeanIntrospector.java:283)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:210)
2)
input:
where DeploymentName=MDMApp, and AppArchiveNameLocation=directory where the OOTB MDM.ear is, and it's not WAS install dir.
./console.sh -file /usr/local/applod/tmp/MDM10/MDM/MDM/ManagementConsole/scripts/jacl/deployAppConfig.jacl MDMApp /usr/local/applod/tmp/MDM10/MDM/MDM/installableApps/MDM.ear
ERROR - java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: com.ibm.websphere.naming.CannotInstantiateObjectException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

QUESTION is what's the correct input? Management Agent is running.

thank you
diane