[ModuleAdapter]Exception : Failed to call the module processor

Hello,
We deployed our Module Adapter on PI server and tried to execute it but we're having an exception :
Exception caught during processing mail message[3]: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/fr.xx.xx.xx.ModueAdapterBean
Mail : failed to call the module processor: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: object not found in lookup of fr.xx.xx.xx.ModuleAdapterBean
We're working on SAP PI 7.11
Do you have any idea of what could possibly cause this?
Thanks in advance for your help.
Imane.

Thanks for responding Spantaleoni,
In my application.xml, here is what I have :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                             "http://java.sun.com/dtd/application_1_3.dtd">
<application>
    <display-name>ModuleAdapterEAR</display-name>
    <description>EAR for Mail conversion </description>
    <module>
        <ejb>ModuleAdapterEJB.jar</ejb>
    </module>
</application>
And my application-j2ee-engine.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="service">engine.security.facade</reference-target>
     </reference>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="library">engine.j2ee14.facade</reference-target>
     </reference>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="library">com.sap.aii.af.lib.facade</reference-target>
     </reference>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="service">com.sap.aii.af.svc.facade</reference-target>
     </reference>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="interface">com.sap.aii.af.ifc.facade</reference-target>
     </reference>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="library">com.sap.base.technology.facade</reference-target>
     </reference>
     <provider-name>sap.com</provider-name>
     <fail-over-enable
          mode="disable"/>
</application-j2ee-engine>
My ejb-j2ee-engine.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
<ejb-j2ee-engine>
     <enterprise-beans>
          <enterprise-bean>
               <ejb-name>ModuleAdapterBean</ejb-name>
               <jndi-name>ModuleAdapter</jndi-name>
               <session-props/>
          </enterprise-bean>
     </enterprise-beans>
</ejb-j2ee-engine>
Edited by: ImaneA on Aug 2, 2011 3:36 PM

Similar Messages

  • IDOCFlatToXmlConvertor in the Module Processor For SOAP Sender CC

    Hi Sdners,
    Can we use below adapter module for Proxy Communication- SOAP Sender with XI Protocol ?
    IDOCFlatToXmlConvertor in the Module Processor
    From SAP we getting IDoc as Flat File wrapping it in Proxy Messages. We need to do convert those messages into XML format to do mapping.
    Scenario:
    SAP Proxy(Idoc flat file in Proxy) --> PI --> 3rd Party

    Hi Kiran,
    The without java mapping option will force you to use SOAP Axis since you can use IDOCFlatToXmlConverter.
    Well there is another alternative, but you will need to use two scenarios.
    The first one step would be proxy to file (NFS save in AL11)
    The second step would be file (still NFS) to 3rd party (here you can use the converter module in file sender CC)
    Regards,
    Mark

  • FIM "failed while calling the BPC system"

    Hi guys.
    Hope there's an FIM wizard out there.
    We have FIM installed on our BPC server (BPC 7.5 SP06 & FIM 7.5 SP08)
    I am seeing an issue with the connection manager in FIM:
    When I create a new connection, it seems to form correctly (resolves name/IP and gets the list of AppSets from the server)
    However, when I log out and go back in to FIM and check the list of connections, I see an error:
    "Error Loading Data Models"
    The detail of this error is:
    Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action. : javax.xml.ws.WebServiceException:
    org.apache.cxf.service.factory ServiceConstructionException: Failed to create service
    This happens whether I connect using the server name, the FQDN or the IP Address and seems to be the very definition of inconsistency.
    (Why should it see the list of AppSets when the connection is first made, but then fail afterward)
    I am connecting using a secEnterprise login which is mapped to an alias of the BPC Sys Admin account (using LDAP).
    Please help if you can, as this is driving me insane.
    Thanks

    Update.
    I have added the output of the STDOUT log file (including the last couple of things to complete before the ERROR is reported):
    <-- Start Code -->
    2011-11-16 16:28:54,163 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,163 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Using transaction object [org.springframework.jdbc.datasource.DataSourceTransactionManager$DataSourceTransactionObject@892539]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,170 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:46] for JDBC transaction>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:46] read-only>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:46] to manual commit>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@1eacdc4] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor25]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:47] for JDBC transaction>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:47] read-only>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:47] to manual commit>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@18bea70] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor23]>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,188 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=
    [Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:54,302 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=[Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:55,099 ERROR [com.sap.fpm.fim.datamodel.BPCModelProvider] - <Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action.>
    javax.xml.ws.soap.SOAPFaultException: Could not send Message.
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
         at $Proxy67.connect(Unknown Source)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getSessionID(BPCModelProvider.java:401)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getModels(BPCModelProvider.java:281)
         at com.sap.fpm.fim.datamodel.ModelProviderManager.getDataSourceModels(ModelProviderManager.java:351)
         at com.sap.fpm.fim.datamodel.ModelProviderServices.getDataSourceModels(ModelProviderServices.java:133)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy27.getDataSourceModels(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:127)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
         at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:97)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
         at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
         at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:151)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222)
         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:177)
         ... 50 more
    Caused by: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1896)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1824)
         at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:159)
         at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
         at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:583)
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    <-- End Code -->

  • Failed to call the endpoint: HTTP 500 Internal Server Error

    Hi,
    We are working with a scenario that use the SOAP adapter to call a web service from XI.
    This scenario is working 98% of the time but sometimes we get the following error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Failed to call the endpoint: HTTP 500 Internal Server Error
    I do not think this is a network issue as we resubmit the workflow from SXMB_MONI_BPE and the error is the same. If it was a network issue I guess this would resubmit successfully.
    Does anyone have an idea what could cause this intermittant error ?
    Also, this is not an easily reproducable error so there is no point raising an OSS call as SAP will need a reproducable example which we cannot easily do.
    Any help would be appreciated.
    Kind regards
    Colin.

    Hi Colin,
    Since u are getting the error when calling an external webservice from XI, this is an error on the webservice provider's box(webserver). You may wnat to contact the administrator of the webserver and ask him to into the error logs. This is a very common issue when using external webservices from XI. Look at the following for more information on HTTP 500 Error
    HTTP 500 Internal Server Error:
    This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of your Web server site to locate and analyse the logs which should give further information about the error.
    This is a 'catch-all' error generated by your Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of your Web server site to locate and analyse these logs.
    Hope it helps,
    naveen

  • Conversion Agent and the module processor

    Hi,
    i have to make an offer for a client of ours. Therefore i was thinking to propose the conversion agent for developing a process module into the inbound communication channel in the XI-Scenario.
    But i think i understand sth wrong or does this module substitute the normal mapping inside the XI?!
    Can someone give me a hand?!
    thx in advance

    Jens,
    Conversion Agrent is used to convert non XMl data into XML and vice versa.
    For example it can read a PDF, EXCEL and conevrt it into XMl and also convert XML into EDI formats etc etc.
    You use the conversion agent studio to develop the conversion mapping and then deploy it as a module. From the comm channel you call the Conversion Agrent Module which in turn runs on its own Engine and does the conversion for you.
    So, if possible, you can also use conversion agent to actually read your source and create iyt in the format of the target and thgerbey replace Mapping. But, it all depends on  the feasibility of what you are trying to do.
    Regards,
    Bhavesh

  • VIAssembly​Exception "Failed to call InitLVClie​nt function."

    If I try to call my LabView Interop Assembly in a .net framework 4.0 application I'll get an unhandled VIAssembly exception.
    No problem with .net framework 3.5.
    My config is LabVIEW2010SP1 and MS VisualStudio2010.
    Can that be fixed ?
    Best regards
    Christian
    Attachments:
    VIAssExc.jpg ‏23 KB

    Christian,
    LabVIEW does not support .NET 4.0 directly. Following this KB .NET Framework 4.0: LabVIEW 2010 did not undergo any testing using assemblies targeting the CLR 4.0.
    Sure, the rest of the KB does not refer to your issue, but this sentence is important. I am not sure if this has been addressed with LV 2010 SP1, but regarding to your experience, i would say: No.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Exception in Module Processor

    Hi All,
    I want to know wot happens when an exception occurs in a module processor?i hav a requirement in which i hav to pass adapter module a message when nothing goes wrong in a custom module processor.If an exception is raised in the module processor,does it prevents from passing the message to the adapter module?Please provide me some info regarding this.
    Thnx in Adv
    Anil.

    Hi Anil,
    we don't have such an requirement like you. But we have
    also developed some module exit. And when the module exit
    raise an exception the message does not go through. We
    could see the message hanging with an exception in the
    runtime workbench.
    An it is also not possible to restart the message again
    because the exception is raised again. So if we have an
    exception the error will persist and we was not able to
    restart the message again. This message was lost!
    But in your case you maybe don't want that the message get
    lost. In this case you can not use exception to modell you
    requirement i think. But i don't have another solution for
    you at the moment.
    Thanks,
    Ly-Na Phu

  • Class Cast Exception In Module Processor

    Hi,
      I'm trying implement "Step by step guide to develop a
    module for reading file name in a
    sender file adapter" by Krishnakumar Ramammoorthy. When I deploy the EAR in my server I'm getting following exception:
    #1.5#0003BA92DD90003B0000240000001D190003FCBEF3B117E6#1122321992587#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File##com.sap.aii.adapter.file.File2XI.processFileList()#J2EE_GUEST#0##nd2xidb.svc.doi.test_XD2_3621750#Guest#46b9f3b0fd4611d9af850003ba92dd90#output##0#0#Error#1#com.sap.aii.adapter.file.File2XI#Plain###Channel CC_File_S_ABCMCodes: Sending file failed with java.lang.ClassCastException - continue processing#
    I'm running it on XI 3.0 SP 11.
    I'm trying to send a file and planning to modify the content in the module processor.
    Please let me know if anyone has a clue ?
    to get above mentioned document please search for "ramammoorthy", it's the first document.
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=ramammoorthy&selected=0&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=ramammoorthy%26SearchPluginName=sdn_all%26SelectedCustomProps=resourcetype(value=s*)
    thanks
    Sibo

    Hi All,
      The problam was in ejb-jar.xml. You should use the interfaces provided by module framework as home and remote interface.
    I made following changes in ejb-jar.xml and it worked..
    <session>
                <ejb-name>GetFileNameBean</ejb-name>
                <!local-home>gov.doi.fbms.moduleprocessor.GetFileNameLocalHome</local-home>
                <local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
                <!local>gov.doi.fbms.moduleprocessor.GetFileNameLocal</local>
                <local>com.sap.aii.af.mp.module.ModuleLocal</local>
                <ejb-class>gov.doi.fbms.moduleprocessor.GetFileNameBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
            </session>
    Please refer to document http://help.sap.com/saphelp_nw04/helpdata/en/32/43d84072378031e10000000a1550b0/content.htm
    Thanks a lot for your help..
    Sibo

  • Module processor deployment.

    Hi All,
    I hav written a custom module processor.i even hav a helper class which is called in the module processor.I developed it thru NWDS.But when i try to deploy the ear file that is generated out of the jar file of the module,it is giving a warning that the libraries hav a hard reference on the server.
    the application-j2ee-engine.xml looks like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="library">com.sap.aii.af.lib</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.af.svc</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.af.cpa.svc</reference-target>
    </reference>
    <fail-over-enable
    mode="disable"/>
    </application-j2ee-engine>
    Can anyone help me out in deploying the module processor.
    Thnx in Advance
    Anil.

    Hi Anil,
    Its great that your problem is solved but what was the problem. Was it related to changing of related to changing of references.
    If you are in a position please do post the problem and how you solved it.
    Regards
    Sidharth

  • Exit Module Processor

    Hi,
        My scenario is File ->XI->File. On receiver side, file should not be created if there is a perticular value for a perticular field. For that i have written a module to check that value, but after checking the condition how can i specify that file should not be created.Do i need to change any parameter of the adapter or call any method that directly exits from the Module processor as well as Resource Adapter.
    Regards,
    Gowtham K.

    Hi Satish,
      I have called the CallSAPAdapter from my module. In sxmb_moni also it is showing successful.But in RWB-> message monitoring for Adapter engine on XI it is giving my message is cancelled with Erros.The detailed Error :
      "Putting message into send queue failed, due to: Message ID 9450ad40-4f89-11da-8cc7-000c76084e55(INBOUND) already exists in database: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPLXIDB.SYS_C00114752) violated."
       "Delivery of the message to the application using connection AFW failed, due to: Message ID 9450ad40-4f89-11da-8cc7-000c76084e55(INBOUND) already exists in database: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPLXIDB.SYS_C00114752) violated.
    2005-11-07 12:31:45 Error The message status set to FAIL."
       "Asynchronous error detected: Message ID 9450ad40-4f89-11da-8cc7-000c76084e55(INBOUND) already exists in database: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPLXIDB.SYS_C00114752) violated. Trying to report it."
      "Asynchronous error reported. "
      I have put audit log entries in my module from that what i understood is CallSAPAdapter module is called andreturned without Errors, after that when my module returns from there it is giving error statements.
      Is there any other way that i can proceed like "Place the CallSAPAdapter in module tab , but depending on condition in my module i want to specify whether it should be executed or not."
    Regards,
    Gowtham K.

  • Module Processor not working

    Hi All,
    I am working with on creating a module processor for the sender adapter. The code is simple and I am pretty sure it works. Its barely outputs the Module Processor object that’s created within the java code.
    I am having problem getting the module to work.
    I have a module '<b>CallSapAdapter</b>' (not localejbs/CallSapAdapter) predefined in my sender adapter. I have create my Java class <b>CreateData</b> in a package called Sample. I then created a EAR & deployed it using SDM. Then on, I then added this module ('<b>CreateData</b>') in the modules tab above the 'CallSapAdapter'. Chose the type as 'Local Enterprise Bean'.
    I am unable to get the file deleted (In the adapter I have configured the processing mode as delete). Even I cant see the communication channel log for the specific adapter as I see the following error message
    Application error occurred during request processing.
    Error [javax.servlet.ServletException: null], with root cause [java.lang.reflect.InvocationTargetException: null].
    Kindly let me know where am I going wrong. Is it in specifying the module name as 'CreateData'??
    Regards
    Keerti

    Did you set the references to libraries and services in the application-j2ee-engine.xml correctly?
    Compare it:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.cpa.svc</reference-target>
         </reference>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    > Also, does removing the libraries from the EAR have
    > implications other than the size of the EAR?
    Yes

  • Problem in Module processor

    Hi All,
    can any body help me on this
    how much time will take the module processor to execute the message.
    If 4/5 messages are entering into MP at the same time what will happened
    I am getting the error in this stage when iam using receiver FILE Adapter
    getting the error log " Message is entering into the Module Processor"
    then in the next log i will be getting the following error differently
    Attempt to process file failed with
    com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution:
    com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload:Fatal Error:com.sap.engine.lib.xml.parser.parserException: XMLparser: No data allowed here(:main:,row:,col:75)"
    com.sap.engine.lib.xml.parser.parserException:XMLParser:N o data allowed here:(hex) 76,65,72   (:main:,row:1,col:9)
    for the same message when the sys tried to resend
    parserException:start-tag 'EIT' is different from the end-tag'E1EDP03(:main:,row:1,col:16)
    but there is no problem with payload also
    Regards
    Sankar

    Hi All,
    1.I am not using custom Module, it is IDOC to File Scenarion.
    2.No Content Conversion.
    3.There is no problem with Mapping.
    Maximum Messages are successfull, some messages are failed in the Module due to this error.
    Every message  (main:, row:1:,col:1923) this will be changing and some times </ expected, Document is not well-formed, No data allowed here "
    "If i rescend the message 1 by 1 message is processing successfully, but if select more than 1 message only one message getting processed".
    Around 4 interfaces with this type of error, but all having same problem some messages are failed with this kind of error.
    If more messages are attempting to process at the same time in the module processor is there any loading problem that causes this error?.
    Thanks & Regards
          Sankar

  • Usage of Module processor in SOAP Receiver Adapter

    Hi,
    I have scenario where I am calling an external Web Service via XI. Unfortunately I need Java Mapping to generate the complete SOAP Message (there are some special header elements required by the Web Service)  and flag 'no soap' in the SOAP Receiver Adapter. This works fine, but I have additional Web Service Calls that have the same Header logic and I don't want to use Java Mapping all the time.
    I was wondering if it is possible to use graphical User Mapping for the Business Data that goes to the SAOP Body as a payload and use Java code to generate the SOAP Message (actually the SOAP Wrapper and the Header).
    Can I do this in XI using the Module processor in the SOAP Receiver adapter or do I have to use two mappigs, one based on the Graphical mapping and another using Java Mapping? Is it feasible at all in XI?
    Thanks in advance.

    Hi,
    You can use Module Processor.
    But,
    1. If it is a synch call, in when the message is going from the SOAP adapter to the Webservice, you will need to manually Add the SOAP header as you want . ( you will need to create the entire SOAP mesage as the output of the Module ).
    2. When the response comes back, the same module will need to remove the SOAP header etc and pass a valid , XML message to the Graphical mapping.
    If you have a requirement that some fields of the SOAP header will be needed to be accesed in the Response mapping, then you would need to either add this field to some field in the response payload.
    Better option would be to use, Either a Java or a XSL mapping that does all the required stuff for you.
    Regards
    Bhavesh

  • Weblogic1034 correct path of the modules jars

    We have install Weblogic1034 as a standard installation in linux system and the details are as follows:-
    1. WLS_HOME:- /progs/wls/weblogic1034
    2. DOMAIN_HOME:- /home/wls/wls1034/domains/om
    3. MODULES jars:- /progs/wls/wls1034/modules
    When we are starting the weblogic server its throwing the below error:-
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/SecurityLogger
    at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:78)
    at weblogic.Server.main(Server.java:67)
    Caused by: java.lang.ClassNotFoundException: weblogic.security.SecurityLogger
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 2 more
    I can see the class weblogic/security/SecurityLogger is part of the modules jars.
    weblogic.jar MANIFEST.MF File:-
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: R28.1.1-14-139783-1.6.0_22-20101206-0241-windows-ia32 (Ora
    cle Corporation)
    Main-Class: weblogic.Server
    Implementation-Vendor: BEA Systems
    Implementation-Title: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PS
    T 2010 1384255
    Implementation-Version: 10.3.4.0
    Class-Path: ../../../modules/features/weblogic.server.modules_10.3.4.0
    .jar schema/weblogic-domain-binding.jar schema/weblogic-domain-bindin
    g-compatibility.jar schema/diagnostics-binding.jar schema/diagnostics
    -image-binding.jar wlcipher.jar webservices.jar xmlx.jar ojdbc6.jar a
    qapi.jar EccpressoAsn1.jar EccpressoCore.jar EccpressoJcae.jar mysql-
    connector-java-commercial-5.0.3-bin.jar wlsqlserver.jar wldb2.jar wl
    sybase.jar wlinformix.jar fmwgenerictoken.jar wlw-langx.jar jcom.jar
    weblogic-L10N.jar
    Analysis:-
    weblogic.jar MANIFEST.MF file refers the modules jars(../../../modules/features/weblogic.server.modules_10.3.4.0
    .jar) which is the relative path so when we start the server start it try to load the classes from the /progs/wls/modules
    directory which is missing. I can see the modules directory in different path /home/wls/wls1034/modules in.
    Quick Solution:-
    Quick fix is to create the soft link :-
    cd /progs/wls
    ln -s /home/wls/wls1034/modules /progs/wls/modules
    then most of the errors related with the NoClassDefFoundError and ClassNotFoundException for the weblogic classes would be resolved.
    Question1:- Is the path as mentioned above for the WLS_HOME and modules directory are correct ?
    If yes then why it is failing to load the modules jars
    Question2:- The solution which we used to create a soft link is not the correct way to re-solve the error. Can you please highlight what is the issue here.
    Edited by: 891057 on Dec 16, 2011 6:18 AM

    I could fix this by setting MW_HOME to zip directory in environment variables (windows 7)
    if you have C:\weblogic\wlserver then MW_HOME is C:\weblogic

  • Module Processor not getting executed

    Hi All,
    I hav created a module processor in the same way as it is mentioned in the pdf
    https://websmp201.sap-ag.de/nw-howtoguides
    -> exchange infrastructure -> how to Create Modules for the J2EE Adapter Engine.
    But to my surprise, it is not working.I hav even enclosed the code that is displayed in the work bench showing whether the Module Processor is called or not.But while executing, nothing is displayed.Please help me out in this regard.
    Thnx in Advance
    Anil.

    Hi Anil,
    Just check the following ,
    1.The JNDI name that you have given.
    2.The order in which u have written the modules...that matters a lot.
    3. The server in which you have deployed the bean
    Regards
    Divya

Maybe you are looking for

  • MacBook Pro 15-inch Mid 2009 failed to boot with internal display

    Hi all, we recently received a MBP 15-inch, this unit won't power up, upon power up, we can hear half boot chime and immediately the unit will power off. We manage to get it booted by removing the internal LVDS connector. Video out to DVI and Dual-li

  • Dreamweaver MX 2004 won't launch.  Please help!

    My old laptop running Dreamweaver MX 2004 is dying, so I installed it on my new Windows XP laptop.  I have installed it several times before and never had a problem.  On the new laptop, when I launch Dreamweaver, it does not start.  In Task Manager,

  • Session or Cookies

    I'm creating a Forum for a society, What's better sessions? or cookies? Cookies seem to be secure enough, but might I get in trouble if someone sets a browser to disable cookies? Octavian

  • I've lost iPhoto

    Whilst updating Tiger to 10.4.4 I seem to have lost iPhoto. It's not in my applications folder and spotlight can't find it. Why is this and more importantly how do I get it back?

  • Filtering Hotmail email coming to Blackberry

    I have setup my hotmail account to come to my blackberry 8100.  It works fine, with minimal issues.  Today, I added some new folders in hotmail, and moved some old emails to them.  All of a sudden I started receiving a bunch of emails on the blackber