AS2 Adapter Error

Hi
I need to send DATA from RFC to External partner I am using PI 7.4 AS2 (B2B)
I am getting the below error in the As2 , I am using the below Module . please let me know what is causing the below issue
localejbs/X12ConverterModule
MP: exception caught with cause java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
^
Thanks
Jai

Hi Jai,
The error is because incorrect regular expression is specified for the file name in receiver channel.
Please check your receiver channel configuration. also refer the below thread
Getting error "xml:java.util.regex.patternsyntaxexception dangling meta character '*' near index 0" while converting EDIFACT to XML
regards,
harish

Similar Messages

  • AS2 adapter error during inbound processing

    Hello,
    We have upgraded PI to version 7.1 and now we are testing the Seeburger AS2 adapter.
    We have received a testmessage from an AS2 partner and it is shown in the message monitoring of the Seeburger adapter workbench, with status succesfull.
    Only the message is not on the integration server. The message is not shown in sxmb_moni or the message monitor of the RWB.
    In the RWB the communication channel (CC_AS2_Sender) gives the following error:
    "Message inititiation failed: Processing error"
    The message itself gives the following error:
    "Inbound message processing failed! performing rollback
    Can anyone help us with this?
    Thanks in advance.
    Regards,
    Marco

    Hi Marco,
    the message is not forwarded to the intergration egine because there might be an error in your communication channel.
    Are there any other modules in the module chain of this communication channel?
    Can you check "default_trace" and "application_log" for exceptions (/j2ee/cluster/serverXX/log)?
    Did you also restart the Java Stack after the Upgrade?
    regards,
    Daniel
    Edited by: Daniel Rexter on Jun 30, 2010 2:59 PM

  • AS2 Adapter Error: Error while parsing AS2 message: AUTHENTICATION_ERROR #

    Hi,
    Following Scenario: Inbound.
    i have been receiving messages via Seeburger AS2 Adapter with the following Error message
    Error while parsing AS2 message: AUTHENTICATION_ERROR # 
    I have done the following in the AS2 adapter as per findings in the forum
    1. Unchecked the Authentication Required Flag.
    2. AS2 Certificates are fine.
    3. Use Authentication: Disabled (there is no authentication)
    even though every thing seems to be fine i am not able to receive messages successfully. Please let me know what could have gone wrong here.

    Hi Venkatesh,
    >> Everything is provided in the Sender Agreement. Partners Certificate, Self Encryption & Signing certificate
    How come you are using encryption when you are receiving the message. I think it might be decryption.
    1. Anyway please cross check whether you provide the following correct details in Sender agreement.
    Sender Configuration
    Authentication Certificate : Partner's public certificate.
    AS2 Receiver Configuration
    Decryption Key     :         Own private key.
    Signing Key          :         Own private key.
    2. Can you please check and tell in the Seeburger Monitoring for the incoming message, whether they are sending the message with encryption and signing? This you can check in the Seeburger Monitoring.

  • Seeburger As2 adapter error after upgrade

    Hello,
    After an upgrade from PI 7.01 to PI 7.11 we have problems with our AS2 seeburger adapter. We installed the compatible version of seeburger but got stuck on the following error:
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: org.bouncycastle.cms.CMSException: key inappropriate for algorithm., SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: org.bouncycastle.cms.CMSException: key inappropriate for algorithm.
    Thanks a lot for any advice,
    Regards,
    Erik

    Hi
    Pls chk the security jar files. you can download the latest version of these from java portal. This might fix the issues related to Key.
    Srikanth Srinivasan

  • Seeburger AS2 Adapter Error :AUTHENTICATION_ERROR

    i am doing the scenario for Purchase Order -> XI ->File
    custumer is posting the purchase order
    and XI Receives the PO using AS2 Adapter (Seeburger) and sends the output as File
    i have done all the AS2 Adapter configurations as mentioned below but still i am getting the error in Seeburger Monitoring, the Error is Authentication_Error
    1. Communication chennel
      Adapter Type : AS2
      Direction : Sender
    Transport protocol : HTTP
    Message Protocol : AS2
    AS2 : Authentication Required is Enabled
    Message Subject : Filled which is in Seeburger Monitor
    2. Sender Agreement
    Sender Communicational chennel which is created above
    Security Setting
    AS2 Sender Config :
    Authentication Certificate : Customer public key
    AS2 Receiver Config :
    Decryption Key : Private key
    3. in Party Identifiers
    Party Name
    AS2 ID
    is there any settings missing to rectify the error "AUTHENTICATION_ERROR"

    Hi
    Check with PIAPPLUSER authentication
    With this Check the following content on AS2 may be you get more clue.
    http://www.customware.net/repository/display/WMFAQ/AS2-authenticationfailureinreceivingEDIINT+MDN
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bpxproj/edi%2bwith%2bpi
    Handling EDI interfaces using Seeburger BIC modules
    Thanks
    Gaurav

  • 405 Method Not Allowed -- XI AS2 Adapter error

    Hi All,
    I am getting the folloeing error in AS2 Adapter "405 Method Not Allowed". Please let me know ablout the latest note etc to resolve the same as note no. 906435 is quite old and is unable to resolve the same.
    Thanks in Advance.
    With regards,
    Gaurav

    Is your computer directly connected to internet, or do you have make some proxy settings ?

  • Seeburger AS2 Adapter error

    Hi,
      I'm trying to test AS2 connection with External system and got some errors.
      I'm able to send message successfully to the external system with MDN Mode Synchronus with out any errors and got the MDN back, I changed the MDN mode to Asynchronus and got the below error. Do we need to do any extra configuration for Asynchronus mode MDN?
    Waiting for your valuble suggestions.
    Error message : Error in unkown channel: (No session available) >> Error type: COMMUNICATION_ERROR >> Error date: 9/23/10 2:19 PM >> Description: 500 - Internal Server Error: Error while handle incoming request: java.lang.NullPointerException: while trying to invoke the method java.lang.String.toUpperCase() of an object returned from com.seeburger.as2.tasks.result.MDNDecomposerResult.getMdnOriginalMessageID() [9/23/10 2:19 PM]
    Thanks,
    Kishore

    Hi,
      Sorry for the late reply.
      Receipt Delivery Address : Enter the URL of yr own AS2.
      Yes, I specified our AS2 address as http://xxxx:50000/SeeburgerAS2/AS2Server
      Time Out: What you have given.
      10 min
      In case of asynchronous MDN mode, an Report channel and Sender agreement always have to be configured also when u201CRefer to XI systemu201D is disabled
    Yes, I have created Sender agreement and Sender communication channel with Message protocol as Reports.
    Thanks,
    Kishore

  • Error in Sender AS2 adapter

    Hi Expert,
    I have configured sender AS2 adapter as per the sap guide.  and share our url and AS2 name.Now when the partner is trying to send the file from their side they are gettting the following error message and in SAP PO we have not received any file via AS2 sender adapter.
    We have checked the fire walls and its working fine.
    2014.04.09
    01:15:03:128 0326030999 PHDR OK  HTTP Response-Line = (HTTP/1.1 302 Found)
    2014.04.09 01:15:03:128
    0326030999 PHDR ERR Trading Partner rejected the transaction
    2014.04.09 01:15:03:128 0326030999 HPOS ERR Requested synchronous receipt not
    returned
    2014.04.09 01:15:03:128 0326030999 HPOS ERR One or more errors occurred with
    this transaction. m_nErr=(2103)
    Regards
    Kasturika

    Hi Harish,
    I have change the as2 url from http://<host>:<port>/AS2 to http://<host>:<port>/AS2/B2B  and now are partner is facing differnt error
    2014.04.22
    03:06:04:400 0637647174 PHDR OK  HTTP Response-Line = (HTTP/1.1 401
    Unauthorized)
    2014.04.22 03:06:04:400 0637647174 PHDR ERR Trading
    Partner rejected the transaction
    I had checked with my partner to use the http authentication and share our user id and password. but they said that they are not using http authentication.
    we also shared our public key  certificate and import theirs in our nwa- certificates  and keys .
    Please share if anything more i need to configure.

  • Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!!

    Hi AS2 experts,
    *When i tried sending an xml to partner system using AS2 adapter.. Mapping is succesfull and message is failing in receiver AS2 adapter.
    1. I used the following parameters in AS2 Module.
    ModuleName                                                       Module Key
    localejbs/Seeburger/solution/as2                              solutionid
    localejbs/ModuleProcessorExitBean                          exit
    ModuleKey    ParameterName         ParameterValue
    exit                JNDIName     deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    Iam getting the following error.
    Success     MP: Processing local module localejbs/Seeburger/solution/as2
    Error :   MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2.
    Error :  Exception caught by adapter framework: Object not found in lookup of as2.
    Error : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of as2.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2..
    2. When i tried by removing Modulename "localejbs/Seeburger/solution/as2"
    It is showing the below error like AS2ID is missing.. but its there in party configuration.
    Error :
    Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..       
    Can anyone has idea what might be wrong.
    Kindly suggest me asap.
    Thank You.
    Regards
    Seema.

    Hi,
    Plesae go through below links
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    and
    Check with below configuration
    Configuration for AS2 or simple file adapter.
    We are using this module configuration for converting EDI D96A format to XML:
    1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
    2 localejbs/CallSapAdapter Local Enterprise Bean 0
    bic destSourceMsg MainDocument
    bic destTargetMsg MainDocument
    bic logAttID ConverterLog
    bic mappingName See_E2X_ORDERS_UN_D96A
    bic saveSourceMsg ORIGINAL_EDI
    can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
    basically,I need mapping name for this.
    Scheme=AS2ID
    Name = WAN network no of the partner who is sending the file
    Sender AS2 adapter configuration:
    Few changes in the module parameter tab.
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
    Receiver AS2 adapter configuration:
    When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
    1. Define the channel as a Receiver channel on the Parameters tab
    2. The last step ensures the module sequence is complete:
    Make sure the module ModuleProcessorExitBean does exist in the module sequence:
    Module Name=localejbs/ModuleProcessorExitBean
    Type=L
    Module Key=Exit
    • with the following module parameter:
    Module Key=Exit
    Parameter Name=JNDIName
    Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    File receiver:
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
    ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
    Thanks
    Swarup

  • AS2 Receiver Adapter Error

    Hello,
    when trying to send a message using Seeburger AS2 Receiver Adapter I get the following error (strange thing is that it worked before we made some changes, now we changed back and the error occurs):
    Description: AS2 Adapter failure MessageId entry with secondaryId <xxxxxxxxxxxxxxxxxxxxxxxx> does not exist! com.seeburger.as2.AS2Plugin.execute
    The error message is not meaningful to me. I tried all possible combinations but with no result. What could be the reason for this?

    Hi,
    Is your issue solved? Can you check the connection without using Certificates. Looks like issue with Certificates.
    >> When I uncheck the button the flag "SIGN" in the as2 receiver comm channel. The message is sent out to the partner and we get back a negative acknowledgement (also there is an error MIC not verified in comm chan. ). So maybe it is a problem with digital signature? I have checked the receiver agreement, everything there should be fine
    Is your scenario is AS2>XI>AS2 and using Certificates to exchange the messages?
    please deactivate the use of dynamic attributes in the AS2 receiver channel. The dynamic attributes are set in the sender channel, there-fore the receiver channel overwrites the data given in the commchannel configuration with the data from the sender channel. Therefore, this is an issue specific for AS2 -> XI -> AS2 scenarios. Your partner might use the wrong certificate or not find the certificate because of the wrong payload name that was initially set in the sender channel.
    Can you please check the Message Subject and Content Type how it is going using certificates and without using Certificates.?
    -Deepthi.

  • Seeburger AS2 Adapter sending message error

    I have configured a FAck scenario as described by the Seeburger Manual and am testing a AS2 messaging scenario with a vendor (basically the inbound EDI message is passed to the Seeburger splitter to create a new message for the inbound order, and then the existing payload is mapped to a Funcational Acknowledgement and sent back to the vendor).  I receive the message fine and the message split to create the order works fine, however when the FAck is passed to the AS2 receiver adapter (for transmission to the 3rd party) I get the following error:
    LOCATION [null, null, 91fcf4f0-5223-11dd-9c8d-5cd90a641602] >> ERROR TYPE [, COMPONENT_ERROR, not retryable, not fatal]] >> DESCRIPTION [AS2 Adapter failure >> MID
    MID <[email protected]22.2> already exists. - Duplicate will not be sent [LOC: com.seeburger.as2.component.AS2Client.storeMID]
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]22.2> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]22.2> already exists. - Duplicate will not be sent
    I'm not sure where the "duplicate" message comes from as this message definitely has not been sent before.
    If I extract the same inbound message from the payload and pass it in using a file adapter (rather than the AS2 sender adapter) then the functional acknowledgement is created and transmitted to the vendor without any issues ... 
    Has anyone who has had some experience with the Seeburger AS2 adapter got any possible suggestions for resolving this issue?
    Regards,
    Jason

    Hello ,
    same issue occurred in my system
    Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent
    I'm not sure where the "duplicate" message comes from as this message definitely has not been sent before.
    Has anyone who has had some experience with the Seeburger AS2 adapter got any possible suggestions for resolving this issue?
    Please advise asap.

  • Error at AS2 adapter level...There is no certificate with such alias

    Hi All,
    Iam sending the 856 message through AS2 adapter to partner and i got the below error at the adapter level.
    Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: There is no certificate with such alias, SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: Th
    Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: There is no certificate with such alias, SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: Th
    The certificate has already been uploaded and the AS2ID is defined as one of the identifiers of the party.
    Anyone has any idea what might be wrong? Did i miss anything?
    Waiting for your answers.
    Regards
    Lex

    I am having the same issue.  
    I receive the com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException
    message plus the "unable to find alias name TRUSTED\".
    It appears that after the outbound message is transformed to XML iin XI then sent to Seeburger's BIC for EDI format translation, then sent to AS2 for encryption/transmission, the AS2 adapter cannot find the key store that holds the certificates I am using.
    Am I missing some configuration that points the to the keystore I need ?
    Thanks for any and all responses.
    Andy

  • AS2 Adapter in error

    Hello,
    I have got an error in AS2 adapter.
    Error message is as shown below :
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. # , SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. #
    we are struggling for this error for quite few days.
    Can anyone help me out what we can check in this ?? what could be a possible cause for same??
    Thanks a lot in adavance !!!
    Regards,
    Vikrant

    Hi Vikrant
    Just have alook at this thread may get some clue ..
    Seeburger AS2 Adapter sending message error
    Re: Error in AS2 RCV adapter.. SEEBURGER AS2: 307 Temporary Redirect #
    Regrds
    Abhishek

  • As2 Adapter Parser error

    Hi
    I am trying to send data from Rfc to As2 .In the As2 adapter i am getting the below error while
    parsing
    MP: exception caught with cause com.sap.aii.converter.x12.xml2x12.XML2X12Exception: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
    Error
    Exception caught by adapter framework: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
    Error
    Transmitting the message to endpoint <local> using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.converter.x12.xml2x12.XML2X12Exception: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
    I have attached the screen shot of the mapping the module i have used
    Thanks
    Jai

    Hi,
    I think you want to take the advice from Harish.  The most likely cause is that the converter module is expecting the XML tag S_GS and it does not exist.
    Regards,
    Ryan Crosby

  • Error at AS2 adapter level.. Duplicate will not be sent, SEEBURGER AS2: ..!

    Hi All,
    Iam sending the Control message through AS2 adapter  to partner and i got the below error at the adapter level.
    Error     Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due  to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> alre.
    Any one has any idea what might be wrong?? Did i miss anything??
    Waiting for your answers.
    Regards
    Deepthi.

    A patch needs to be updated to solve this issue.

Maybe you are looking for