Error in Adapter module on decentral Adapter engine

Hi,
I have configured a scenario file to file for picking a xml file and then converting it to corresponding edifact file,using an adapter module at the receiver side.The adapter module is getting executed but i am getting this error
Message processing failed. Cause: java.lang.ClassCastException: class Xml_To_Edi.XML2EdifactLocalHomeImpl0_0 can not be casted to ModuleLocalHome or SModuleLocalHome
Can you all tell what is this error and how to rectify it.
regards,
ujjwal kumar

Hi Ujjawal,
Do the following steps...
1.created EJB of type StatelessSession Bean
2.Dont uncheck generate default interfaces
3. Fininsh.
Later in ejb-jar.xml file, modify Home,Remote,Local,LocalHome entries.
and for more info
I refered a blog ,in that its given as:
You need references to connector.jar file which has the classes required at compile time and runtime
Compile time :
From the context menu of the EJB project , follow the path Properties -> Java Build Path -> Libraries.
Click on Add variable and select TSSAP_JAVAX_HOME and click on Extend and select connector.jar from the list displayed.
Run time :
Navigate to the application-j2ee-engine.xml in your EAR project.
Select References on the General tab and click on Add.
Select Select library/interface/service as shown in the snapshot and select j2eeca as in the next snapshot.
Check this blog:
/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii
see the comments in the blog who faced same error.may this helps or gives an idea
Searched lot for this,dont forget to reward points
Regards
Pragathi.
Edited by: Pragathi on May 23, 2008 5:15 AM

Similar Messages

  • Error in Adapter engine-"No_Spedin"

    Hi All,
    I have observed the below error in adapter engine today(System error).
    JCO.Exception while calling /SEEAG/RELI_XI_EDIINH_FILE in remote system (RfcClient[PEQ_RFC_INBOUND]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Exception condition "NO_SPEDIN" raised.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException
    The message is going to print Sumfax to SAP ECC.There are no errors in the mapping and the communication channel is also running fine.there was an upgrade in SAp recently after which i observe this error and it didnot exist before.
    Can anybody please help me!

    Hi Sudha
    check Abhishek's Reply  may be helpful  at this thread for com.sap.aii.af.rfc.afcommunication.RfcAFWException
    Re: Error during processing local bean: localejbs/RfcAFBean
    also check the The Sender Agreement Interface , it is either missing or not correct in ID
    Regards
    Abhishek

  • Graphic Mapping:IDOC to File-Avoid Error in Adapter Engine

    Hi all,
    I'm using Graphic Mapping in my IDOC to File scenario in which each segment in source IDOC will generate a ROW in target File with the condition: DATBI >= currentdate (and some other conditions)
    I have a UDF and use the mapping function CREATEIF for this purpose:
                                 DATBI -> UDF -> CREATEIF -> ROW
    Problem scenario: In the source IDOC if all the segments have DATBI < currentdate then there is no ROW created, and I get the error in Adapter Engine
    Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure ...
    How can I avoid this?
    I've tried to put this condition using XPATH in Interface Determination and got the error.
    There is a way to use function current-date() in XPATH condition?
    Thanks for your help,
    Elaine

    Hi all,
    How can I "suppress the row node if condition fails"? I'm new in PI, so please give more details.
    My FCC as follows:
    Record Structure: Record, Row
    Row.addHeaderLine 0
    Row.fieldSeparator ,
    Record.fieldSeparator 'nl'
    Row.endSeparator ; 'nl'
    It works fine if the condition satisfied.
    In Message Mapping, I've use Test to double check my mapping, and in the scenario that conditions fails, there is no Row in the target message.
    Please advise.
    Thanks,
    Elaine

  • ALERT not getting triggered for messages in error in adapter engine

    Hi All,
    I am doing the same scenario where I have created two Alert category Alert_cat1 and Alert_cat2, both are similar but one i have created for error in integration engine(Alert_cat1 ) and other for adapter engine(Alert_cat2).
    Now for Alert_cat1 i have created a rule and in the setting "where did the error occur" I have given no restriction.
    Now for Alert_cat2,as discussed in the above blog I have created many rule each for various adapter.
    I have tested it, above mentioned configuration is working for message mapping error (sxmb_moni)
    but not for any error in adapter engine for messages in waiting or system erroe status.
    Kindly suggest where I am going wrong.
    Regards
    Shefali S

    HI,
    please refer this below blog:
    Does Alerts work for Integrated configurations scenario??
    thanks,

  • In my Component monitoring i got this error for Adapter engine status.

    In my Component monitoring i got this error for Adapter engine status. Status is in red..
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.03.server3, string], target element type: SAP_BusinessSystem)
    Please clarify ASAP..
    Thanks..

    HI,
    See below links you will get ..
    Process Integration (PI) & SOA Middleware
    ERR:Could not find SLD name for XI Application "DIRECTORY"
    Unable to find an associated SLD element
    Regards
    Chilla..

  • Reg: Error in adapter Engine Monitoring

    Hi Guys,
                In my RFC to File Scenario i got error as Adapter message property was configured was mandatory element but there is no Dynamic ocnfiguration elementin XI MEssage Header. This is occur in adapter engine monitoring in RWB.
    Thanks

    This error comes if you there is a problem in passing the file via dynamic configuration
    for this if you want temporary solution like filename not necessarily be dynamic then go to receiver file adapter then
    adapter specific message attributes deselect filed Failif file name does not.... sme option where you can uncheck the failure option
    and in this case need to provide the filename and file will get generated with this filename if there is no filename generates using dynamic configuration
    for this to resolve permanently then check the filename is passed or not  to file adapter in moni in dynamicconfiguratuoin tab of callAdapter pipeline service
    HTH
    Rajesh

  • SYSTEM ERROR IN ADAPTER ENGINE

    HI experts,
    i have the scenario proxy ->xi--->third party
    when i am trying to send the message from RWB->Adapter engine----->testmessage
    it shows the following error in the communication channel
    2011-04-13 03:35:13 Information The message was successfully received by the messaging system. Protocol: XI URL:
    2011-04-13 03:35:13 Information Using connection SOAP_http://sap. Trying to put the message into the receive queue.
    2011-04-13 03:35:14 Information Message successfully put into the queue.
    2011-04-13 03:35:14 Information The message was successfully retrieved from the receive queue.
    2011-04-13 03:35:15 Information The message status was set to DLNG.
    2011-04-13 03:35:15 Information Delivering to channel: CC_Channel
    2011-04-13 03:35:15 Information SOAP: request message entering the adapter with user J2EE_GUEST
    2011-04-13 03:35:15 Error SOAP: call failed: java.net.UnknownHostException: hostname/port
    2011-04-13 03:35:15 Information SOAP: sending a delivery error ack ...
    2011-04-13 03:35:15 Information SOAP: sent a delivery error ack
    let me what i need to do for this
    thanks in advance
    Edited by: katakoti on Apr 13, 2011 2:53 PM

    Hi
    thanks for your reply
    i am able to send the data to that url through soap but when i am trying to use the xi to send the data it shows that error
    1 .let me how we ping the host of that webservice in xi server
    when i am using the proxy host and port it shows another error
    SOAP: call failed: java.net.ConnectException: Connection timed out
    so please advice me what actions will taken by the network guys
    thanks in advance
    Edited by: katakoti on Apr 14, 2011 1:20 PM

  • Error in Adapter engine in RWB

    Hi,
    I'm facing 2 type of issues in RWB,
    Issue 1) Adapter Engine is in Red State in Component monitoring,
    Error: Details for 'Is the Adapter Engine Running?'
    Response from Adapter Engine: Fatal ArchiveJob (Archiving) failed.(Details: Code: MS.JOB.ARCHIVE; Location: com.sap.engine.messaging.impl.core.job.executor.ArchiveExecutor; Reason: java.io.IOException: The HTTP request of command "MODIFYPATH" did not reach the XMLDAS. This may indicate that the credentials for the HTTP destination have expired.; Time: 31.03.2011 00:00:05)Response from Adapter Engine: Fatal ArchiveJob (Archiving) failed.
    2) If I click, any one of the option like Communication Channel monitoring, Engine Status etc, I'm getting the error
    "Internet Explorer cannot display the webpage"
    It seems to be the URL to open these component(Communication Channel monitoring, Engine Status etc ) is wrong. Fromwhere the URL address is taken? Where we need check the host name??
    I searched in sdn, but could not find any related topics.
    Kindly help me resolve this issue ASAP.
    Thanks & Regards,
    Baskaran K

    Hi Baskaran,
    For 1), did you check if the XML DAS communication user (used in destination "DASdefault") is configured correctly according to the documentation http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/68fac39a363d33e10000000a11466f/frameset.htm and is assigned to the "XMLDASSecurityRole" role?
    And check if you have configured the rules for your Archiving job (Component Monitoring -> Adapter Engine XIE -> Background Processing).
    It seems the archiving does not work because of configuration issues.
    An archiving job without rules means: all messages are relevant for archiving. The delete job will only delete messages which are not relevant for archiving. So it does not do anything in this system. It can lead to the database table keeps growing, if it's the case too.
    You should check the archiving configuration so that the archiving job runs successfully.
    If you do not want to archive the messages, please deactivate the archiving job. Then the delete job should clean the old messages with the next execution.
    You may delete it straightly on the Background Processing.
    For the 2), "Internet Explorer cannot display the webpage", try using the compatibility mode of your browser.
    Regards,
    Caio Cagnani

  • Adapter Engine alerts: Error in Adapter Engine

    Hi All,
    I have configured Alerts for <b>Adapter Engine</b>.
    I am getting alerts with Alert Text as follows during Scenario runs - XML File to ABAP Proxy Scenario (Average size of files is in MB's) daily.
    1.Error: DeliveryException: Problem inserting 6204b980-2f9d-11dc-9262-001635731444(OUTBOUND) into the database: com.sap.engine.services.dbpool.exceptions.BaseSQLException: Connection is invalid.
    2.Error: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [c1e757e003475] ) in rollback.
    This error comes just <b>momentarily</b> and Messages (Files) are processed Successfully (No System Errors,etc at Adapter Engine).
    I am not able to figure out the reason for this exception.
    Expecting your valuable inputs.
    Thanks.
    Regards,
    Sudharshan N A

    Hi,
    This happens sometimes when the adapter engine is on heavy load. Since the message is asynchronous, it is persistent. So it tries to write the message onto teh backend DB on which XI is involved. When teh load is more on the AE, the communication sometimes fails for a few milli seconds. This happens at times. Once it has enough capacity, it again preocesses the message successfully. It also happens sometimes that the message content will be lost. As of now, i am not sure if there is any solution for this.
    reward if helpful.
    Thanks,
    sarath.

  • Error resending messages with system-error in Adapter Engine

    Hi all,
    We got an error when trying to resend all messages in error in runtime workbench, message monitoring, adapter engine, database (overview), clicking on a sender service with messages in error state, and clicking on "repeat" button to resend those in error messages. The error is "No authorization to execute action for component Adapter Engine XP0". The user We are using to perform this task is associated to all groups available in CUA... some of you has any tips about how to perform this operation?
    regards.
    roberti

    I really don't remember what solved this problem, but it is solved. Now the functionality works as it should.
    Regards.
    Waldemar Roberti

  • Error in Adapter Engine

    Hi Experts,
    In the Component Monitoring, the ADAPTER ENGINE have a RED status, show the message:
    Details for Ping Status
    Message: Cannot construct correct URL for runtime check using entries in SLD for component af.pid.<hostname>; correct entries in SLD
    Stacktrace:
    com.sap.aii.rwb.exceptions.OperationFailedException: Cannot construct correct URL for runtime check using entries in SLD for component af.pid.<hostname>; correct entries in SLD
    at com.sap.aii.rwb.core.XIJavaRTCComponent.getConnector(XIJavaRTCComponent.java:188)
    at com.sap.aii.rwb.core.XIRTCComponent.ping(XIRTCComponent.java:209)
    at com.sap.aii.rwb.web.componentmonitoring.model.CompTestModel.doPing(CompTestModel.java:581)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.doPing(CmDynPage.java:425)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.updateTests(CmDynPage.java:525)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.selectNode(CmDynPage.java:552)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.process_treeClick(CmDynPage.java:481)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any idea.
    Tks in advance.

    Hi Pedrão, how are you?
    Look at Exchange Profile, if the entries about RWB are the same the entries in the SLD.
    You can confirm the Technical System type Process/Exchange Integration and its application system is right.
    Follow link about troubleshooting guide:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/b0458509-49c1-2a10-1188-af2aeb97ed9a
    Regards.
    Bruno

  • Message Id duplicated error in Adapter Engine

    Hello guys,
    last week we had an error in an adapter JDBC sender. The error we see in the adapter is: Error during commit or rollback of database transaction: 'com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to commit transaction: The transaction has been rolled back: com.sap.engine.services.ts.transaction.TxRollbackException'
    If we see inside the error says that when is tryring to put the message in the queue the error is that the key message id is duplicated.
    Searching in the message monitoring, there is a message processed with the same message id 3 hours before.
    The problem was after a re-start of PI, and the solution was to create a copy of the adapter. we tried to start/stop, inactivate/activate and the error still continue, Ia have not tried to put the old adapter again.
    Anybody knows what could be the problem or a correct solution?
    Many thanks ind advance.
    Regards,
    Xavier.

    Hi, Xavier
    See note 1361305 - File sender adapter generates duplicate message IDs.
    In my system, this note solved the same problem in JBDC and file adapter.
    Regards,
    Carme.

  • Error in Adapter engine of receiver soap adapter

    Hi All,
    There is one production issue i am currently facing in receiver SOAP adapter while interacting with third party web service(Asynchronous call).
    Below is the description i am getting in audit logs.
    Success SOAP: completed the processing
    Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Invalid Session ID or Session Expired
    Success SOAP: sending a delivery error ack ...
    Success SOAP: sent a delivery error ack
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Invalid Session ID or Session Expired
    Error Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Invalid Session ID or Session Expired
    Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Invalid Session ID or Session Expired.
    Error The message status set to NDLV.
    Moreover this is a production issue and  interface was running fine till last friday.
    Has someone ever faced this issue ?
    Please provide your valuable inputs on this.
    Thanks
    Anku

    Hi,
    Search in sdn with your error message string,you will find ton of links.
    HTTP401 error occurs for many reasons.
    still no solution let us know..
    Regards,
    Raj

  • RWB - Cache Connectivity Test - Adapter Engine shows error

    Hello Friends,
    In our one production system (PI 7.1), while do 'Cache Connectivity Test' from RWB -> Component Monitoring, it shows the following error for Adapter Engine under Integration Directory.
    Error:
    Cache notification from Integration Directory failed Error when accessing the System Landscape Directory.
    No SLD elements of type SAP_XIAdapterFramework found
    But, Integration Server - ABAP, Integration Server - JAVA shows green color. The messages are flowing through the Adapter Engine fine. i.e I am seeing 2 Adapter Engines under Integration Server in Component Monitoring. One Adapter Engine is in grey and another Adapter Engine shows green color.
    When I click the grey color adapter engine, it immediately turns to red color and some different host name url is displayed (http://<wronghost>:53000/AdapterFramework/rtc).
    So, what could be the problem ?
    Kindly clarify, friends.
    Thanking you.
    Kind regards,
    Jegathees P.

    Hello Jegathees
    Apply the solution in note #804124 HTTP communication with XI Adapter Engine fails. Set the parameters:
    SLD.selfregistration.hostName     
    SLD.selfregistration.httpPort     
    SLD.selfregistration.httspPort    
    as described in the note.
    Regards
    Mark

  • Adapter engine alerts are not working ..

    We have been using SAP PI 7.1 version  and SP08 and recently i have been configured XI alerts . When i have do IE errors alerts are recieving in Alert inbox as well as to mail but when i try to create error in Adapter engine iam not recieving any alert . I had been gone through most of the links but didnt get any and according to sap Note 913858 :
    Q10: I do not receive any alerts, but when I test the alert
    category using the report RSALERTTEST, an alert is delivered.
    - A10: In transaction ST22, search for dumps caused by the user
    XIRWBUSER stating that the authorization is missing for RFC
    calls or for the function group SXMSALERT. If this is the case,
    you probably have to regenerate the roles and profiles for the
    XIRWBUSER.
    But same procedure i have been followed but ST22 i couldnt able to see any dump and when try to run the program by giving alert category Adpater engine alerts are reaching inbox as well as to mail. I have tried each and every configuration but some thing is missing here couldnt able to find it.Anybody help me on this.
    Thanks,
    Aparna.

    Hi Gabriel,
    Thanks for reply. When i open the URL which was given by you i found below options .Could you please explain some more on this.
    Initialize aii.properties
    Execute function module RWB_PING on monitoring server
    Send test alert via Alert.sendTestAlert(true) with MsgID
    Send test alert via Alert.sendTestAlert(false) without MsgID
    Get AdapterTypes from SLD
    Get URL for Alert Monitor
    Set URL for MDT
    Get URL for MDT
    Clear URL for MDT
    Could you please explain how it is going to work
    Thanks,
    Aparna.
    Edited by: aparna_karnam on Feb 27, 2012 5:23 PM

  • Messages are failed in Adapter Engine

    Hi Experts,
    give me solution as early as possible pls
    There is a problem with production system in XI.
    I am getting the error in Adapter Engine level in Runtime workbench.
    "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)"
    The scenario is IDOC to JMS & File.
    There are 2 conditions
    if the data is coming from ECC is valid then Msg will go to the JMS
    other wise it will be dropped into File System.There is no problem with valid data.
    when ever invalid data will come 70% Messages are processed succefully and few Messages not processed.
    if i resend this error message 2 or 3 times it is processed succefully, iam getting huge number of messages like this,
    it is difficult to resend because if i select all Msg's it is not processed only one Msg will be processing when iam trying to re-send
    please can any body give me the permanent solution for it.
    Thanks & Regards
    Sankar

    Well,
    Take account the following considerations.
    1. Check your source code for the variable substitution(Maybe you can show us).
    2. check in the tab "Advanced" on you file adapter configuration, there are many checkBox, for example is you are replcainf the file name in you mapping The "File Name" check(in Adapter specific attributes) has to be checked, and if you are using other variables you need to do the same.
    I hope It helps you.
    Ivan

Maybe you are looking for

  • Solaris Error: 12 revisited

    We just got this error, on oracle 9.2.0.5 running on an E-450 running sunOS 5.8. TNS-12500: TNS:listener failed to start a dedicated server process TNS-12540: TNS:internal limit restriction exceeded TNS-12560: TNS:protocol adapter error TNS-00510: In

  • Convertion from pdf is really bad

    Hi ! First, i m pretty ignorant in making pdf form... I need to make an interractive form from a pdf file (25 pages) given by a friend. he gave me 2 version of the file, a 'normal' pdf and one in form version (without any calcul or interractivity). (

  • Time values to signal

    Hello, i am trying to generate time signals for which i have values in matlab. I am trying to figure out a way to take this data in to simulate arbitary signal vi. I am unable to convert the data from mat file to lvm file. is there a way to do this.

  • Route server internals

    All, Why is it that on searching "routeserver" (route server as well) in spatial forum, lists only 2 results? Is oracle route server not used? or am I missing something. The rationale behind this post is that I am trying to setup routeserver after in

  • How to create Work Order in CMRO

    Dear All, We are new to using Oracle CMRO and because of unavailability of CMRO resources, we are facing quite a few problems while working on CMRO. Can anyone please help me out how can I create Work Order using CMRO. If anyone can provide me with O