UnknownHostException AS2

Hi Experts,
I am connecting PI 7.1 and 4PL External system using AS2 adapter,
I am getting the below error :
13 16:15:26     Error     Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.UnknownHostException: http # , SEEBURGER AS2: java.net.UnknownHostException: http #
2010-07-13 16:15:26     Error     Adapter Framework caught exception: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.UnknownHostException: http # , SEEBURGER AS2: java.net.UnknownHostException: http #
2010-07-13 16:15:26     Error     Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.UnknownHostException: http # , SEEBURGER AS2: java.net.UnknownHostException: http # .
2010-07-13 16:15:26     Error     The message status was set to NDLV.
What is the error? How to resolve it? Please reply.. Thanks!
Best Regards,
Bijal

Hi Bijal,
Possible Cause:
The AS2 adapter is unable to resolve the used DNS name of the partneru2019s AS2 server.
Possible Solution:
Check if the system is able to resolve the name of the remote host using nslookup <host name> or ping <hostname> (pings are often blocked by firewalls!). If the name is unknown to the used DNS server, you have to check with the network administrator (On DMZ machines it is quite common that no DNS is available.)
Using the IP instead of the host name might not always be a good idea, because of the SSL host name check that is performed by the AS2 adapter. Otherwise the following error might occur: u201Cjavax.net.ssl.SSLException: Name in certificate <certificate> does not match host name <hostname>.
regards,
Daniel

Similar Messages

  • Error in AS2 Adapter

    Hi All,
    I am sending files through AS2 Adapter but I see the status message as
    Could not deliver as2 message to partner: java.net.UnknownHostException: http # null. Can any one tell me what is causing this error ?
    Thanks
    Laks
    Edited by: lakshmi s on May 5, 2009 8:30 PM

    Hi Prakash,
    1. I checked the configuration as you said. I haven't it checked the " Deliver Transmission Report"
    Is it mandatory to use this check box. Its for what purpose. ?
    2. I also tested by selecting No action in Handle MDN part. Now i see success status in Message Monitor .
    What i want to know is " is ot necessary to receive MDN " But i am not doing anything with that MDN.
    Kindly let me know answers for my 2 questions .
    Thanks
    Laks

  • FileName in the AS2 receiver?

    Hi Guys,
    we are sending a file to the partner with the AS2 and we want to maintain the same file name as the sender. I dont see any adapter specific attributes in the AS2 adapter.
    How can i maintain the same file in the AS2 receiver adapter. any help or suggestions would be appreciated
    Thanks,
    Srini

    Hi sarvesh,
    The problem is resolved using the seeburger AttributeMapper module.
    Thanks,
    Srini

  • Problem with Preloader in my Flash AS2 Game

    I have been using this tutorial to make a preloader:
    http://www.republicofcode.com/tutori.../preloader_bc/
    I have run into one problem though.
    When I simulate the download, it just shows the background color of the game while it loads, and when it finished loading, it shows the loading screen fully loaded. I have followed the tutorial exactly, except added my file names into the AS2 code.
    Here is the ActionScript in Frame 1 I have for the preloader:
    if (_root.getBytesTotal() != _root.getBytesLoaded()){
    stopAndGoto(1);
    preloaderBar._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
    loaderTxt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%";
    Any hints or answers to what i'm doing wrong?
    Thanks, MrA615.

    Your description of what you've done and the code you show does not match what the tutorial says to do and what code to use... (there is no stopAndGoTo() function in Flash).
    Right-click the second frame on the upper layer labeled Actions and select Actions. Copy and paste the code below to make our preloader functional.
    if (_root.getBytesTotal() != _root.getBytesLoaded()){
    gotoAndPlay(1);
    bar_mc._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
    loader_txt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%";

  • Dynamic filename in receiver AS2 adapter in B2B Add-on

    Hello Experts,
    Can you please let me know how we can put dynamic filename in the receiver AS2 adapter for B2B Addon on SAP 7.4.
    Thanks
    Saurabh

    Hi Ryan / Experts,
    Let me explain you in more detail.
    In the receiver AS2 Communication channel, if I keep the Filename field as blank as shown below, then in the Mendelson inbox folder, a file is generated with the name "ASJAVA_DX5" which is my business component name.
    If I fill the filname field for example with "CONTRL", then in the Mendelson inbox folder, a file is generated with the name "CONTRL".
    This is my requirement because, suppose i trigger this interface "first time", a file with static name (ASJAVA_DX5/CONTRL ) would be generated in the inbox folder. If I trigger this interface "second time", since the file already exists with same name, it is not overwritten and I cannot check the output of 2nd trigger . Contents are not overwritten.
    To solve this problem + as a general requirement, I wish to have this name to be dynamic, atleast with date+timestamp.
    Can you please help.

  • AS2 Receiver CC SSL Details

    Hi,
    My scenario is idoc to EDI Invoice scenario, but we are using HTTPS protocol in receiver (AS2) adapter.
    When we select the HTTPS protocol it is asking below SSL Certificates
    1. Server Certificate (key Store)
    2. Private key for client Authentication
    These two certificates are same like what we are giving in the agreements or different?
    If different which certificate details we need to give here.
    Thanks
    Ramesh

    Hi Suresh,
    According to your answer HTTPS certificate is different than normal one (what we are giving in the agreements)
    What about the "Private key for client Authentication", which details i need to give here?
    we gave the same certificate paths in AS2 CC, now we are getting the below error. Could you please suggest what is the issue
    "Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found # , SEEBURGER AS2: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found # "
    Thanks
    Ramesh

  • AS2 receiver error

    Hi Experts,
    Im getting this error in the AS2 receiver channel:
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing..
    IDOC to AS2 scenario
    I have already configured the sender and receiver party and put them in the determinations:
    sender party
    receiver party
    I did not put a sender party in the receiver agreement because I get a receiver agreement error
    Any ideas please?
    Thanks,
    Mike

    Hi Ajay,
      I guess these will help you...
    Seeburger AS2 Communication Channel Error
    Re: Asynchronous/sync mdn
    Regds,
    Pinangshuk.

  • Unable to create the entry in the AS2 EDIINT MIC table

    This could be caused by duplicate AS2-From, AS2-To and MessageID combinations being written to the table.  Error: Violation of PRIMARY KEY constraint 'PK_EdiInt_Mic'.
    Cannot insert duplicate key in object 'dbo.EdiInt_Mic'. 
    How to reprocess this feed?

    Hi,
    To resolve this error, check the full error message for information about why the insert operation failed. In SQL, in the EDIINT_MIC table, determine whether there is duplicate AS2-From and AS2-To MessageID combinations. If so, remove them.
    For more information, you can refer the document:
    http://msdn.microsoft.com/en-us/library/bb967928.aspx
    Hope it can help you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • As2 receiver channel, SEEBURGER AS2: 500 Internal Server Error

    Hi,
    There is one scenario in our landscape, its running in production, Proxy to As2. The interface working fine for last 2 weeks, today its showing error in As2 receiver channel saying
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: 500 Internal Server Error # , SEEBURGER AS2: 500 Internal Server Error #
    I have searched in forum, but couldnt get much idea on why this error encounters and how can we resolve it.
    Kindly provide your inputs to help me resolve this.
    Thanks,
    Ruchi

    Hi Ruchi,
    500 means the requested server does not understand the request (the requested service is unknown). The reason is obvisiously outside of PI. You have to contact the 3rd party owner and ask why the system is refusing the request instead of responsing like before.
    Regards,
    Udo

  • AS2 Receiver Error: MIC not verified # unexpected-processing-error

    When sending out a test message using Seeburger AS2 receiver channel I get the following error:
    MIC not verified # unexpected-processing-error
    So obviously this problem is related to digital signature I think? However I get the same error even if digital signature is deactivated in the communication channel.
    Do you have any idea on this?

    Hi ,
    I have been facing this error and tried all the refresh and reimporting of certificate.
    "MIC not verified # unexpected-processing-error"
    could you be bit specific how to fix this ?
    thanks in advance
    Praveen

  • How do I use event.target.name in AS2?

    Thanks to kglad I was able to see how event.target.name in AS3 could make a button load a movieclip with the same namesake.
    I'm doing the same thing now in AS2 but don't know what to write instead of event.target.name.
    And so at the moment each button pushes info into an array and then a function uses that to decide which movieclip to attach to a holder after it has faded out once, and then fades in again...
    // ***** IMAGE GALLERY START ***** //
    // Add image to holder
    imgholder.attachMovie("img0", "image0_0", 1)
    // Array
    var nextLoad = ["img0"];
    // Btn listeners
    img5.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img5"); btnClick() } // Written on 1 line
    img4.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img4"); btnClick() }
    img3.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img3"); btnClick() }
    img2.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img2"); btnClick() }
    img1.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img1");
    btnClick()
    img0.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img0");
    btnClick()
    // The btn function
    function btnClick() {
    trace ("click");
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
    myImgTween.onMotionFinished = function() {
    fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
    trace ("fadeOutImg");
    imgholder.attachMovie(nextLoad, "image1_1", 1);
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);
    I know I should be able to push the button name into the array, but am having to use a string... I'm sure my code is cumbersome!! But it works. I've tried pushing the button name but it end up including the full stage reference.
    Is there a cleaner way of doing this using event.target.name?
    Thanks for looking!

    There is no event.target in AS2. However since AS2 has no way of remembering the scope object where the target object resides, you can use this to your advantage to retrieve the name of the target by using the "this" command in the function whenever you use the above format "mc.onPress = myfunc". FYI, the popular workaround Delegate, made it possible that when you called "this" in the function, you could retrieve the scope object where the target instance resides. So without its use, "this" will return the name of the target object. Anyway this is the code you can use:
    imgholder.attachMovie("img0","image0_0",1);
    var nextLoad = ["img0"];
    img5.onRelease = onImgRelease;
    img4.onRelease = onImgRelease;
    img3.onRelease = onImgRelease;
    img2.onRelease = onImgRelease;
    img1.onRelease = onImgRelease;
    img0.onRelease = onImgRelease;
    function onImgRelease():Void {
       nextLoad.pop();
       nextLoad.push(this._name);
       btnClick();
    // The btn function
    function btnClick() {
       trace("click");
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
       myImgTween.onMotionFinished = function() {
          fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
       trace("fadeOutImg");
       imgholder.attachMovie(nextLoad,"image1_1",1);
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);

  • How Do I Use an External MP3 file Without Embedding it? (AS2)

    I am using Adobe Flash CS6 with ActionScript 2.0.
    I have compiled my project, and due the collection of embedded mp3 files (background music) I am using on various locations, my published swf file is over 12MB.
    To reduce the size, I placed all the mp3 fiels in the same folder as the swf file and removed all reference to them from the project.
    I then added this code to frame #1
    import flash.events.Event;
    import flash.media.Sound;
    import flash.net.URLRequest;
    var CreditsMusic:URLRequest = new URLRequest("NineWalkers.mp3");
    var s:Sound = new Sound(CreditsMusic);
    CreditsMusic.setVolume(50);
    CreditsMusic.start(0,1);
    Obviously, this is not working (I would not be posting here if it was).
    What am I doing wrong?

    I haven't look into the help documents (you can), but I see you mixing up AS2 and AS3 code, along with treating a URLRequest (AS3) as if it is a Sound object....
         CreditsMusic.setVolume(50);
         CreditsMusic.start(0,1);
    If you want to work with the Sound class in AS2 open the help documents and see what properties and methods are available for the Sound class and work things out from there.  If you search Google using "AS2 Sound loadSound" you might get some good info as well.

  • Captivate 4 AS2 Text Entry Box not working with Flash Player 11

    I am having issues with text entry boxes not working at all in flash 11. I am using Captivate 4 and exporting an AS2 swf. When you get to the slide you can type but you cannot see anything nor does the button or keystroke to move on. Also there is no cursor. Any ideas?

    You said it is not working with Flash 11, so does that mean you tested with previous version and that worked?
    While publishing choose Flash player as 9 and publish that, verify if that plays in a compatible web browser.
    AS 2 is a legacy scripting, it has been said not too be supported with even Flash Player 10 --
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
    I believe if you switch back to version 9 while publish your project, it should work.
    Thanks,
    Anjaneai

  • Problem with preloader in Cs5 with AS2

    Hey,
    I made a preloader in Cs5 with AS2 code:
    mask_mc._height = 1;
    this.onEnterFrame = function():Void
    var loading :Number = this.getBytesLoaded();
    var total :Number = this.getBytesTotal();
    var precent:Number = Math.round(loading/total*100);
    mask_mc._yscale = precent;
    txt.text = precent + "%";
    if (loading >= total)
    gotoAndStop(2);
    because I realized that what I'm used to in Cs4 is not working in Cs5. It works fine but, when I press a button that supose to go to another frame, it stock on frame 2.
    How can I solve it?

    terminate that loop:
    mask_mc._height = 1;
    this.onEnterFrame = function():Void
    var loading :Number = this.getBytesLoaded();
    var total :Number = this.getBytesTotal();
    var precent:Number = Math.round(loading/total*100);
    mask_mc._yscale = precent;
    txt.text = precent + "%";
    if (loading >= total)
    delete this.onEnterFrame
    gotoAndStop(2);

  • AS2 open another scene and play a label inside a mc

    I'm looking for a piece of AS2 script that will open a different scene and play a label from inside a mc.
    So it should be something like...
    On release go to scene x and play x label from inside x mc.
    I can get to the scene via the button "on release gotoandplay scene 2 .
    Once in the scene I can get a button to gotoandplay themc.mc and the label.
    But what I really want to do is get the button on one page to go to the scene and play the label on the second scene.
    Any ideas?

    use:
    gotoAndPlay("scene2_frame1");
    this.onEnterFrame=someF;
    function someF(){
    yourmovieclip.gotoAndPlay("some label");
    delete this.onEnterFrame;

Maybe you are looking for

  • Table Control[Accept Input Only] - "ENTER" Key

    Hi Folks, I'm reviving this unanswered thread in relation to table control: when the user press enter, all the values entered disappear. [url]Re: Table control (Enter key)[url] I have a table control that accepts "ONLY" input, meaning to say, there w

  • Change country/region

    hi, i have free apple id account and i wanna change country/region in app store,can i do that even i live in another country (i live in Asia and i want US for example) so i can download apps not available in my country/region. thanks.

  • Assertion problem while using C++ 5.0 compiler

    Hi, we are using C++ compiler 5.0 on sparc solaris 2.6 machine. when we tried to build the debug version of a particular exe with -g option , we are getting the following error message Assertion : ( ../links/dgb_cstabs.cc line 1516) while compiling a

  • How do you Screenshot in Windows?

    Print screen I should say... using Windows on a Macbook Pro.

  • Can a swc library include a native extension?

    I'm working on an AIR application for IOS that uses a SWC that my company created. The AIR application is the shell for browsing books, and the SWC is responsible for downloading the book and displaying it. While a book is downloading, we present a n