Skip to Content
avatar image
Former Member

Adapter Module Deployment in PI 7.3

Hello all,

I had created an adapter module which needs to be used on SOAP adapter.I am facing some issues with it please share your inputs in this....

1. We had deployed .ear file in visual admin is this correct? or .ear file needs to be converted to .sda or .sca before deployment.?

2. Once after deployment , in CC module configuaration which name we need to give ? does it should start with sap.com/modulename or AF_Modules/modulename .

3. Modulename : is this the name of the java class name or the whole file ear file name.

4. I do not need any module configuaration can I leave that section blank and leave module key field with either 0 or 1.??

Please share you inputs.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 15, 2012 at 06:47 AM

    Hi,

    >>We had deployed .ear file in visual admin is this correct? or .ear file needs to be converted to .sda or .sca before deployment.?

    You can deploy .ear file directly from NWDS and in case you are deploying using JSPM then you have to convert the .ear file into .sda file. Search SDN there are few articles/wiki availbale on the same.

    >>Once after deployment , in CC module configuaration which name we need to give ? does it should start with sap.com/modulename or AF_Modules/modulename .

    localejbs/JNDI NAME

    >> I do not need any module configuaration can I leave that section blank and leave module key field with either 0 or 1.??

    You can leave module configuration section as blank if u are not passing anything to ur adapter module.

    >>Modulename : is this the name of the java class name or the whole file ear file name.

    Its the ejb java class name.

    Thanks

    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2012 at 10:57 AM

    Hello all,

    Deployed user module in PI 7.3 , while deploying logs shows warning message as:

    status="SUCCESS" dplorder="0" description="1. Warning occurred on server 5146550 during deploy of XXXXXXXXX : EJB Model Builder: ASJ.ejb.004101 stateless bean "XXXXXXXX" should have at least one of the following interface pairs: "local" and "local-home", "home" and "remote" or service endpoint interface (Location:META-INF/ejb-jar.xml)[message resource bundle missing], severity: warning CSN component of deployment item is not available" vendor="sap.com"

    While constructing ear file I had removed the local,local-home,remote home.java as suggested in the How to guide for adapter module in PI 7.1

    I am still facing this error.

    In communication channel also errored as Object Not found.

    I can see the module in JNDI>localejbs...

    Please share inputs.

    Thnaks.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 19, 2013 at 10:46 AM

    Hi Amit,

    We are facing a similar issue in my project ?

    we are using PI7.31 .

    Basis team is using only the jar file for deployment ( not sure if that is ok).

    You can refer my thread http://scn.sap.com/thread/3408662

    Please provide your mobile number if possible, so that i can directly get in touch wth you.

    Getting the follwoing error

    Error occurred while trying to load com.sap.adaptermodule.MMTKToXML_ConversionBean


    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:250)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.loadApplicationClass(Actions_BeanClassesInitialization.java:54)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.loadApplicationClasses(Actions_BeanClassesInitialization.java:41)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_ComponentInterfacesProviderClassesInitialization.loadApplicationClasses(Actions_ComponentInterfacesProviderClassesInitialization.java:20)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_SessionBeanClassesInitialization.loadApplicationClasses(Actions_SessionBeanClassesInitialization.java:20)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanClassesInitialization.loadApplicationClasses(Actions_StatelessBeanClassesInitialization.java:18)


    at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.perform(Actions_BeanClassesInitialization.java:27)


    at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:84)


    at com.sap.engine.services.ejb3.container.ApplicationStarter.perform(ApplicationStarter.java:213)


    at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:957)


    at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.prepareStart(ContainerInterfaceImpl.java:462)


    at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.prepareStart(ContainerWrapper.java:508)


    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:393)


    ... 24 more


    Caused by: java.lang.NoClassDefFoundError: com/sap/aii/af/lib/mp/module/Module


    at java.lang.ClassLoader.defineClass1(Native Method)


    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:724)


    at java.lang.ClassLoader.defineClass(ClassLoader.java:705)


    at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:189)


    at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:316)


    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:275)


    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:247)


    ... 36 more


    Caused by: java.lang.ClassNotFoundException: com.sap.aii.af.lib.mp.module.Module


    ------------------------- Loader Info -------------------------


    ClassLoader name: [JavaEE/MMTKToXML_Conversion]


    Loader hash code: ef8b912


    Living status: alive


    Direct parent loaders:


    [system:Frame]


    [interface:webservices]


    [interface:cross]


    [interface:security]


    [interface:transactionext]


    [library:webservices_lib]


    [library:opensql]


    [library:jms]


    [library:ejb20]


    [service:p4]


    [service:ejb]


    [service:servlet_jsp]


    Resources:


    /usr/sap/X70/DVEBMGS00/j2ee/cluster/apps/JavaEE/MMTKToXML_Conversion/EJBContainer/applicationjars/MMTKToXML_Conversion.jar

    Your friend,

    Anand Solanki

    Add comment
    10|10000 characters needed characters exceeded