Topic
  • 2 replies
  • Latest Post - ‏2013-09-26T11:11:38Z by jastiMDM
Akshika
Akshika
1 Post

Pinned topic MDM.ear Publishing failed

‏2013-07-16T12:03:22Z |

Hi

I am trying to Publish MDM.ear and getting following error -

 

The publish encountered some problems and the application may not have been installed or it may have been successfully installed but was unable to start.
 
  ======== MDM ========
 
  Application Failed to Start.  MDM
  java.lang.ClassNotFoundException: com.ibm.ejs.jms.listener.MDBException
  java.lang.Class.forNameImpl(Native Method)
  java.lang.Class.forName(Unknown Source)
  com.ibm.ws.util.WsObjectInputStream.loadClass(Unknown Source)
  com.ibm.ws.util.WsObjectInputStream.access$000(Unknown Source)
  com.ibm.ws.util.WsObjectInputStream$2.run(Unknown Source)
  com.ibm.ws.security.util.AccessController.doPrivileged(Unknown Source)
  com.ibm.ws.util.WsObjectInputStream.resolveClass(Unknown Source)
  com.ibm.ws.util.WsObjectInputStream.resolveClass(Unknown Source)
  java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
  java.io.ObjectInputStream.readClassDesc(Unknown Source)
  java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  java.io.ObjectInputStream.readObject0(Unknown Source)
  java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  java.io.ObjectInputStream.readSerialData(Unknown Source)
  java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  java.io.ObjectInputStream.readObject0(Unknown Source)
  java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  java.io.ObjectInputStream.readSerialData(Unknown Source)
  java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  java.io.ObjectInputStream.readObject0(Unknown Source)
  java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  java.io.ObjectInputStream.readSerialData(Unknown Source)
  java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  java.io.ObjectInputStream.readObject0(Unknown Source)
  java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  java.io.ObjectInputStream.readSerialData(Unknown Source)
  java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  java.io.ObjectInputStream.readObject0(Unknown Source)
  java.io.ObjectInputStream.readObject(Unknown Source)
  com.ibm.ws.management.connector.ipc.ClientAccessor.request(Unknown Source)
  com.ibm.ws.management.connector.ipc.IPCConnectorClient.sendReceive(Unknown Source)
  com.ibm.ws.management.connector.ipc.IPCConnectorClient.invoke(Unknown Source)
  com.ibm.ws.management.AdminClientImpl.invoke(Unknown Source)
  com.ibm.ws.ast.st.jmx.core.internal.WebSphereGenericJmxConnection.invoke(Unknown Source)
  com.ibm.etools.wrd.websphere.v7.internal.mgmt.WSAppAdminOperations.startApp(Unknown Source)
  com.ibm.etools.wrd.websphere.v7.internal.operations.AbstractServerOperation.startApp(Unknown Source)
  com.ibm.etools.wrd.websphere.v7.internal.operations.ApplicationUpdateOperation.execute(Unknown Source)
  com.ibm.etools.wrd.websphere.v7.internal.operations.WASPublisherImpl.publishDelta(Unknown Source)
  com.ibm.ws.ast.st.v7.core.internal.WASServerBehaviour.publishWrdDelta(Unknown Source)
  com.ibm.ws.ast.st.v7.core.internal.WASServerBehaviour.publishJEEModules(Unknown Source)
  com.ibm.ws.ast.st.v7.core.internal.WASServerBehaviour.publishModules(Unknown Source)
  org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
  org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
  org.eclipse.wst.server.core.internal.Server.publishImpl(Unknown Source)
  org.eclipse.wst.server.core.internal.Server$PublishJob.run(Unknown Source)
  org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

 

 

Also on console I ave following exception -

 

Caused by: com.ibm.ejs.jms.listener.MDBException: Creation of MDB QueuedWorkProcessor unable to find ListenerPort 'ScheduledWork'
    at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.create(MDBListenerManagerImpl.java:306)
    at com.ibm.ejs.container.MDBHomeBean.activateEndpoint(MDBHomeBean.java:152)
    ... 47 more

 

Can anyone help me on how to get MDM working on my system. I am working on customized MDM v9

  • sridhar.patil
    sridhar.patil
    15 Posts

    Re: MDM.ear Publishing failed

    ‏2013-09-25T07:21:51Z  

    The reason its not getting deployed is that your server has not been cofigured for the listeners required by the MDB. If you are installing MDM on local system, you should use activation specs instead of listeners.

    The activation specs are automatically created when you run the step 'deploy configurations on server profile' from the MDM workbench.

    Thanks,

    Sridhar

  • jastiMDM
    jastiMDM
    10 Posts

    Re: MDM.ear Publishing failed

    ‏2013-09-26T11:11:38Z  

    Akshika,

    Make sure that your "QueuedWorkProcessor" MDB is pointed to right AcivationSpec or not. To check that,

    1. Start the server

    2.Go to Enterprise Applications > MDMServer > Message Driven Bean listener bindings

    3. Check the attached screenshot (default) and compare it with your settings

           Target Resource JNDI Name - eis/ScheduledWork_ActivationSpec

           Destination JNDI name - com/dwl/base/work/queued/ScheduledWorkQueue

    4. If any of details are different then change it to default (unless you customized) and then restart the server.

    5. If these details are correct then check the ActivationSpec is created or not under 

          Resources -> JMS -> Activation Spec

     

    Thanks,

    Sudhakar