Error in logout from channel in Flex 4

Hi,
We are building our application on Flex 4 and LCDs 3.  The application uses RTMP protocol to communicate to the server. Request for application server is routed through Edge server sitting in DMZ. For implementing the logout functionality, I am invoking logout on the RTMP channel.
The problem occurs when I try to login and logout more than 2 times. For first two attempts of login-logout, it works as expected. But on third attempt an error related to invalid FlexSession is displayed on Edge Server console. No request is forwarded to appln. server
Following is the logout logic
        public function logout() : void{
            asyncConsumer.unsubscribe();
            var token:AsyncToken = asyncConsumer.channelSet.logout();
            asyncConsumer.disconnect();
            token.addResponder(new AsyncResponder(logoutSuccessCallback, logoutErrorCallback));
        private function logoutErrorCallback(event : FaultEvent, token : AsyncToken = null) : void {
            mx.controls.Alert.show("Unexpected error during log out.", "Error");
        private function logoutSuccessCallback(event : ResultEvent, token : AsyncToken = null):void {
            mainTabNavigator.removeAll();
            callLater(showLoginPrompt, [null]);
I have not been able to figure out why do I get Invalid FlexSession error third time ? What extra statements need to be added to clear the Flex Session infomation from the client.
Following is the error log on edge server for 3rd attempt to login after logout:
[LCDS]02/02/2010 20:22:41.395 Thread[my-rtmp-SocketServer-Reactor2,5,main] Connection '1627493955' starting a write.
[LCDS]02/02/2010 20:22:41.396 Thread[my-rtmp-SocketServer-Reactor2,5,main] Connection '1627493955' finished a write. 416 bytes were written.
[LCDS]02/02/2010 20:22:48.304 Thread[my-rtmp-SocketServer-Reactor2,5,main] unregistering read interest for Connection '1627493955'.
[LCDS]02/02/2010 20:22:48.304 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' starting a read.
[LCDS]02/02/2010 20:22:48.304 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] received message TCMessage [ Type: MsgCmdEx, Stream ID: 0]
[LCDS]02/02/2010 20:22:48.305 Deserializing AMF/RTMP request
Version: 3  null
  13.0
  (Command method=null (0) trxId=13.0)
    null
    (Typed Object #0 'flex.messaging.messages.CommandMessage')
      operation = 8
      correlationId = ""
      messageId = "CC4CC8F4-9CF2-7601-5501-8F2690891BFF"
      body = "dGVzdHVzZXIxNTpQVVRfSEFTSEVEX1BBU1NXT1JEX0hFUkU="
      timestamp = 0
      timeToLive = 0
      destination = ""
      clientId = null
      headers = (Object #1)
        DSId = "238713B7-0429-8BFE-5857-BE24EDBB9865"
[LCDS]02/02/2010 20:22:48.305 Received command: TCCommand [ Cmd: 0, MethodName: null, TrxID: 13.0]
[LCDS]02/02/2010 20:22:48.307 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] failed to read Connection '1627493955' or process the data; Connection is in the 'Open' state and will be forced closed.
flex.messaging.LocalizedException: The FlexSession is invalid.
        at flex.messaging.FlexSession.checkValid(FlexSession.java:946)
        at flex.messaging.FlexSession.addSessionDestroyedListener(FlexSession.java:410)
        at flex.messaging.client.FlexClient.registerFlexSession(FlexClient.java:1126)
        at flex.messaging.endpoints.AbstractEndpoint.setupFlexClient(AbstractEndpoint.java:1065)
        at flex.messaging.endpoints.AbstractEndpoint.setupFlexClient(AbstractEndpoint.java:1036)
        at flex.messaging.endpoints.RTMPConnection.handleTCCommandIn(RTMPConnection.java:772)
        at flex.messaging.endpoints.RTMPConnection.in(RTMPConnection.java:933)
        at flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:1020)
        at flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:561)
        at flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:125)
        at flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:848)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
[LCDS]02/02/2010 20:22:48.309 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' has changed state to: Closing
[LCDS]02/02/2010 20:22:48.309 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] closing Connection '1627493955'.
[LCDS]02/02/2010 20:22:48.309 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' has changed state to: Closed
[LCDS]02/02/2010 20:22:48.309 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] closed Connection '1627493955'.
[LCDS]02/02/2010 20:22:48.309 Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' finished a read. 300 bytes were read.
Exception in thread "my-rtmp-SocketServer-WorkerThread-34" java.lang.NullPointerException
        at flex.messaging.endpoints.rtmp.RTMPFlexSession.unsetConnection(RTMPFlexSession.java:201)
        at flex.messaging.endpoints.RTMPProtocolHandler$DirectRTMPConnection.close(RTMPProtocolHandl er.java:316)
        at flex.messaging.endpoints.RTMPConnection.close(RTMPConnection.java:219)
        at flex.messaging.endpoints.RTMPProtocolHandler.closed(RTMPProtocolHandler.java:101)
        at flex.messaging.socketserver.Connection.closeImmediate(Connection.java:436)
        at flex.messaging.socketserver.SSLConnection.closeImmediate(SSLConnection.java:145)
        at flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:903)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Thanks in advance

Finally I am able to get it working.
On logout I have to invoke channelSet.disconnectAll() to disconnect all the services using the channel. asyncConsumer.disconnect() only disconnects the specific consumer service.

Similar Messages

  • Error Accessing internet from the flex application.

    Hi
    I am getting the following error while runningm my flex
    application deployed on the OC4J server. The error did not come
    when I was running the application directly from the flex builder.
    However , after deploying it on the application server my
    flex application cannot access the internet and in turn
    throws this error. Does this have anything to do with the
    'crossdomain.xml' file, which most probably does not exist on my
    server. If that is the case, please can somone let me know as to
    where exactly do I put the 'crossdomain' file.
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
    TIA
    ~Shishir

    This file goes in the"root of the web server". Now tis is not
    very helpful so here are some examples:
    IIS default:
    C:\Inetpub\wwwroot
    Flex 1.5 "integrated Jrun" default installation
    C:\Program Files\Macromedia\Flex\jrun4\servers\default
    Tomcat:
    C:\Program Files\Apache Software Foundation\Tomcat
    5.0\webapps
    If in doubt, put one everywhere until it works, then take
    them out until it breaks.
    Use the universal permission until you get it working:
    <allow-access-from domain="*" to-ports="*" secure="true"
    />
    Tracy

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • How to send data one row at a time from xml to flex

    I want to setTimerEvent while sending data from xml to flex, one row at a time.
    I have attached the xml.
    Thanks in advance.

    Hi Greg,
    Thanks for the reply. You must have seen the xml which i have attached.Here is the .mxml code which i have written:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="accountData.send()">
    <mx:Script>
    <![CDATA[
    import mx.controls.*;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var AccountInformation:ArrayCollection;
    private function AccountHandler(evt:ResultEvent):void
        AccountInformation = evt.result.xml.AccInfo;
    private function faultHandler(evt:FaultEvent):void
        var faultMessage:String = "Could not connect with XML file";
        Alert.show(faultMessage, "Error opening file");
    ]]>
    </mx:Script>
    <mx:HTTPService id="accountData" url="pgm1.xml" result="AccountHandler(event)" fault="faultHandler(event)"  />
    <mx:DataGrid x="20" y="24" width="950" dataProvider="{AccountInformation}" />
    </mx:Application>
    This reads and displays all the rows. But I want to display single row at a time with sometime time gap between the display of two consecutive rows.I am new to flex and this is my first code, so need your help on this.
    I hope i have made myself clear. If there is anything else please let me know.
    Looking forward to some solution.
    Thanks in advance.
    Regards,
    praj58

  • Error in File Receiver Channel

    Dear All,
    I am Getting below error in File Receiver Channel.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: User ABC cannot log in.
    Regards,
    Manikandan

    Hi Manikandan,
    Check the username and the password for the FTP server. If the username or the password is wrong then you would be able to post the message.
    Also, there might be a timout issue, In the timeout parameter enter some value.
    Ref: FTP Server connection Problem
    Check and update us.
    Thanks,

  • Codepage coverting error utf-8 from System codepage to iso-8859-1 (PI 7.1)

    Hello Experts,
    In our Prcess, we receive an Idoc from an IS-U system and then we send this Idoc with some Header-Information via http-Adapter to a Seeburger System.
    In the outbound communication Channel we have a XI Payload manipulation with xml-Code iso-8859-1.
    We get the Error: Codepage coverting error utf-8 from System codepage to iso-8859-1, and only for this Idoc, where othe similar Idocs runs correctly.
    Is it possible, that the Idoc contains non-utf-8 chars so the error occurs?
    PS: another XI in our landscape uses a http-Channel with the same configuration in a similar process, an it work, so guess the Problem is not in the communication channel.
    thanks,
    best regards

    > Is it possible, that the Idoc contains non-utf-8 chars so the error occurs?
    A would rather think, that there could be any non-iso-8859-1 character be in the IDoc. For example an czech or polish character.

  • I want to play an episode from channel seven but keep getting message not available in this region - but it is

    GOing bananas trying to play an episode from channel 7 in Perth. Tryed using Photon for flash and ads play but not main event. Get a message not available in your region.
    HOw can I catch up with my favorite programs? Tv station recommends I change my IP address but I don't know how to do that or to change it to what. Love some ideas. Thanks, Lou

    Thank you so much, Ram!  I REALLY APPRECIATE YOUR HELP!
    I am wondering if it possible to manually create a node in RSA6 for the InfoSet.  I tried it by doing the following:
    I went to RSA6 and clicked on the white icon for "Create Node".  I then entered the number "8", followed  by the name of the InfoSet.  (I entered an "8", because all our DataSources seem to start with an "8".  I'm not sure why.) 
    The DataSource now shows up, but when I double-click on it, nothing happens.  When I select it in the hierarchy and then click the icons for "Display" or "Change" or "Check", I just get an error message that says, "You have not selected any DataSources."
    Also, do you know where I can get my hands on the white paper? 
    Thanks again!
    Regards,
    Sarah-Jane

  • How to move a money value from java to Flex

    According to
    http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo cs_Parts&file=00001103.html
    I can pass a Double, Float, Long, Short, BigDecimal or the primative equivalent types from java to Flex and they will be converted into a number.
    My testcase says that only BigDecimal actually shows up on the Flex side.
    Am I missing something or is there a problem in BlazeDs/Flex somewhere?
    Bill Tims
    P.S. If you would like my sample code, I'll be glad to post it.

    Pete
    After looking at it I see why you were confused. Here is the Java object, the receiving Flex object, and the debug info from the SystemOut.log out of JBos 4.2. All of this is using Java 1.6 and Flex 3.0. I'm using the December, 2008 BlazeDs jar files.
    The variable bCd is being serialized as BCd. If I change it to bcd, everything works fine. We also tested this with php->flex and that works fine, which suggests the problem is in Blaze.
    public class Test2 implements Serializable{
    private static final long serialVersionUID = 1805176418478176484L;
    private String abc = "abc";
    private String bCd = "bcd";
    public Test2() {
    public String getAbc() {
    return abc;
    public void setAbc(String abc) {
    this.abc = abc;
    public String getBCd() {
    return bCd;
    public void setBCd(String cd) {
    bCd = cd;
    ============================================================
    package jdbcTables.businessdelegate {
    import mx.rpc.soap.types.*;
    import org.slsot.mis.jdbc.*;
    [RemoteClass(alias="org.slsot.mis.value.inquiry.Test2")]
    [Bindable]
    public class Test2
    public var abc:String;
    public var bCd:String;
    } /* Test2*/
    =============================================================
    12:24:22,084 INFO [STDOUT]-btims [BlazeDS]03/03/2009 12:24:22.084 [Endpoint.General] Channel endpoint slsot-amf received request.
    12:24:22,084 INFO [STDOUT]-btims [BlazeDS]03/03/2009 12:24:22.084 [Endpoint.AMF] Deserializing AMF/HTTP request
    Version: 3
    (Message #0 targetURI=null, responseURI=/4)
    (Array #0)
    [0] = (Typed Object #0 'flex.messaging.messages.RemotingMessage')
    operation = "callFunction"
    source = null
    destination = "accessor"
    timestamp = 0
    headers = (Object #1)
    DSEndpoint = "slsot-amf"
    DSId = "nil"
    clientId = null
    timeToLive = 0
    messageId = "9530B236-243F-4965-4252-CD944C3430F1"
    body = (Array #2)
    [0] = "Test"
    [1] = "test2"
    [2] = (Array #3)
    12:24:22,084 DEBUG [Accessor]-btims Begin Test.test2()
    12:24:22,099 DEBUG [Security]-btims t2=org.slsot.mis.value.inquiry.Test2@1b89df3
    12:24:24,678 DEBUG [Accessor]-btims End Test.test2()
    12:24:24,678 INFO [STDOUT]-btims [BlazeDS]03/03/2009 12:24:24.678 [Service.Remoting] Adapter 'java-object' called 'org.slsot.mis.Accessor.callFunction(java.util.Arrays$ArrayList (Collection size:3)
    [0] = Test
    [1] = test2
    [2] = java.lang.Object[] (Array length:0)
    12:24:24,693 INFO [STDOUT]-btims [BlazeDS]03/03/2009 12:24:24.693 [Service.Remoting] Result: 'org.slsot.mis.value.inquiry.Test2
    abc = abc
    BCd = bcd
    12:24:24,693 INFO [STDOUT]-btims [BlazeDS]03/03/2009 12:24:24.693 [Endpoint.AMF] Serializing AMF/HTTP response
    Version: 3
    (Message #0 targetURI=/4/onResult, responseURI=)
    (Externalizable Object #0 'DSK')
    (Typed Object #1 'org.slsot.mis.value.inquiry.Test2')
    abc = "abc"
    BCd = "bcd"
    1.236104664693E12
    (Byte Array #2, Length 16)
    (Byte Array #3, Length 16)
    (Byte Array #4, Length 16)

  • Error during disconnect from FTP Server

    Hi Everyone,
    Here's my problem:
    XI has stopped picking the messages from the repository of one of servers.  Though, we have checked the XI system and can find no problems from the infrastructure side.  The adapters also show no errors and the communication channels show no errors.
    We have also checked the log viewer in XI and found the following entry:
    "Error during disconnect from frtp server ABC, ignored: com.sap.xxx.adapter.file.ftp.XXXXXX: 421 Terminating Connection."
    This FTP error relates to what we FTP server says, "421 service not available, remote server has closed connection."
    We looked at the server side, the server is working fine.
    What do you think is the error? And do we resolve this one? I'm really clueless about this..Im thinking of just restarting the J2EE engine...
    Thanks,
    Grace

    Mary,
    This question would be more relevant to the Xi forum... but on googling the error code..
    http://help.globalscape.com/help/support/Error_Codes/FTP_Codes.htm
    Error 421 Service not available, closing control connection.
    Error 421 User limit reached
    Error 421 You are not authorized to make the connection
    Error 421 Max connections reached
    Error 421 Max connections exceeded
    Possible Solutions:
    You may receive a 421 error if the FTP server you are connected to limits the total number of connections available or limits the connections available to one user.  There are three things you can do:
    1. Limit the number of connections to any one FTP site by selecting Tools > Global Options > Connection and set "Per site max connections / transfers" to 1 (By default it will be set to 2).
    2. Remove items from the Transfer Queue.  The Transfer Queue is where you see items ready for transfer, in transit, or just transferred.  Sometimes the Queue Pane can become cluttered with unfinished transfers.  To clear the queue, right-click inside it and choose Remove All.
    Also try using an FTP manager like cuteFTP or something of that sort to see if you can open the connection - it could be related to the FTP settings...
    Arun
    Hope it helps....

  • Message failing in SXMB_moni----Error while reading from the secure store

    Hi,
    The scenario is as below
    A file is picked up from a folder and processed to enrich it.This enriched file is then written back in a different folder.
    The message is failing in sxmb_moni while trying to write the file in the folder.
    The PI system is a system copy of another system and few of the configuration objects are transported through a tpz file to this PI system.The file receiver channel used to write this file is also transported through this tpz file.
    Below is the error seen in moni.:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>Error while reading from the secure store: ERROR_U: No service user password found for Adapter Engine</SAP:AdditionalText><SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine
    </SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
    Below is Trace log:
    <Trace level="1" type="B" name="PLSRV_CALL_ADAPTER"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP"></Trace><!-- ************************************ -->
    <Trace level="1" type="T">error reading secstore:Error while reading from the secure store: ERROR_UNKNOWN: System-dependent data for entry  changed:  / (SECSTORE,031) </Trace>
    <Trace level="1" type="System_Error">Error while reading access data (URL, user, password) for the Adapter Engine  </Trace>
    </Trace>
    </Trace>
    <Trace level="1" type="System_Error">Error exception return from pipeline processing! </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->
    Is this because  PI system is a system copy of another system ?
    Regards,
    Sneha

    Error while reading access data (URL, user, password) for the Adapter Engine
    Check out Michal's reply:
    Re: URL for Central Adapter Engine
    As you said there was a system copy it may be the case that some things were not configured properly

  • Error trying to call channel using accessor

    Hello All,
    Messages are failing while accessor is trying to call channel
    Please help me figure out a fix for the problem. Hope that the following trace information helps.
    <Trace level="1" type="T">Interface Mapping http://imprintlabs.com/I33A_Goods_Receipt/XI IM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Exception: trying to get System Accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
    <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZWMMBIDMASS01/IDOC/EDI_DC40/SERIAL. The message is: Exception:[java.lang.RuntimeException: stdLookup- Unable to get lookup values] in class
    com.sap.xi.tf._MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_ method
    Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="interface activity determination">
      <Trace level="1" type="T">Version 006</Trace>
      <Trace level="1" type="T">Message status 012</Trace>
      <Trace level="1" type="T">Interface action ARCH</Trace>
      <Trace level="1" type="T">(must be INIT for a new determination)</Trace>
      <Trace level="1" type="T">Set interface action ARCH into MAST</Trace>
      </Trace>
      </SAP:Trace>
    regards,
    Roshni

    Hello Ramesh/Satish
    The payload was processed and this time the message got through. The value mapping exception did occur, but it there was no System Accessor Error.
    Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Content Type text/xml</Trace>
    Although the problem has been resolved I still wonder what caused the accessor error.

  • IDOC Error - Copy Sender from Payload: Sender Is Missing in Payload

    Hi,
    I have following scenario.
    SOAP adapter ---> PI   -
    > IDOC Receiver -
    > ECC
    THe IDOC has a required node that is disabled and IDOC revicer communication channel has checkd following options.
    Apply control record value from pay load
    Take Sender from Payload
    The soap message is mapped to IDOC structure. While testing I received following error.
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>Copy Sender from Payload: Sender Is Missing in Payload</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error: Copy Sender from Payload: Sender Is Missing in Payload</SAP:Stack>
    If you have seen similar error and please let me know how to trobleshoot. I appreciate your help.
    Thank you,
    Balaji

    Thank you for the response. I can enable EDI_DC40 segment and map required following values. 
    ·        SNDPRN
    ·        SNDPRT
    ·        SNDPFC
    ·        RCVPRN
    ·        RCVPRT
    However as we move transports to different environemnts the above values changes and I can't hard code in the mapping.
    My questions is how can I map these values such that when transport moves across different environemtns the mapping valaues are still good. Please let me know.
    Dont enable EDI_DC40 and dont select take sender ,receiver from pay load option,apply control record values from pay load.
    this case IDoc adapter reads values from configuration time andno  problem after trasporting to quality or prod.
    Regards,
    Raj

  • Error Copy Sender from Payload Sender is Missing in Payload

    Hello,
    we have a IDOC -> ccBPM -> IDOC scenario on PI7.0 SP12.
    Since SP12, we have problems in sending the ALEAUD IDOCs from the ccBPM to the R/3 getting the LUW stucked in the queue showing the error "Copy Sender from Payload: Sender Is Missing in Payload".
    In the XML for the ALEAUD the fields SNDPOR, SNDPRT and SNDPRN are filled correct and it has been working with older SP. The comm. channel is configured to take the sender from the payload and we really nead this as we send the IDOC from the ccBPM.
    Does anyone has similar problems or knows about other restrictions which may cause this error?
    Regards,
    Dirk

    Hello,
    SAP solved the problem by releasing a patch.
    If this problem also occurs on your machine then check the SAP note 1154710.
    Regards,
    Dirk

  • "Unauthorized" error for SOAP receiver channel

    Hi all,
    I have a scenario in which I am calling a .NET web service from a UDF in which the XML payload is constructed manually. I have configured a SOAP receiver channel. Also, since the web service needs certificate authentication, I have checked the corresponding parameter in the SOAP channel and selected appropriate client certificate.
    When I execute the mapping, I get the following error -
    com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload.Problem when calling an adapter by using communication channel SOAP_RCV_IMWS_Change (Party: , Service: IMWS, Object ID: dda07d364ca73d4ab9e89e562a971b36) XI AF API call failed. Module exception: 'com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized'. Cause Exception: 'invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized'.
    Is this related to error in certificate authentication process, OR wrongly formed XML payload OR anything else ?
    Regards,
    Shankar

    No. I didn't provide any login info. The web service doesn't specify username login requirement. Instead, it needs client certificate for authentication, which I provided in SOAP receiver channel.
    I am testing the web service by executing the message mapping. The web service was executed successfully from its 'Test Page' like for SAP web services we have web service navigator. So it runs ok from that test page, but gives error when called from UDF.
    Regards,
    Shankar

  • Switching from CS4 to flex

    I have a game I've written in AS3 class files. I've been
    compiling with CS4. The first frame of the main timeline has one
    line of code that calls a static method on a class, and passes it
    "this" (the main timeline). This is all the code the .fla contains;
    the .as files do everything. However, there are visual assets in
    the library of the .fla that the code needs to instantiate. Some of
    these assets are linked to class files, and some are not. In other
    words, say I have LinkedClass.as linked to library symbol, and
    another library symbol which is being exported for actionscript
    with no corresponding .as file, so the NonLinkedClass is
    automatically generated when the .fla is compiled. My static method
    contains both "new LinkedClass()" and "new NonLinkedClass()".
    I've set up an actionscript project in flex with one new
    class that I didn't have before when I was using CS4. In the
    constructor for this class, all I have is the same line of code I
    had on the first frame of the main timeline before, the static
    method that gets passed "this". (Does "this" still refer to the
    main timeline? In other words, is the class I'm compiling in my
    actionscript project in flex becoming the main class of a swf?)
    1. Is this even the right way to go about doing this? I'm
    pretty lost here. I've gone through tutorials having to do with
    MXML, but I'm not sure what relation they bear, if any, to what I
    want to do. How do I make something that compiled in CS4 compile in
    flex? (Keeping in mind, I have custom classes linked to library
    symbols, and also library symbol with no custom class, for which
    classes are defined automatically when CS4 compiles.)
    2. When I tried to compile the flex project, I got an error
    for NonLinkedClass, so I used CS4 to compile a .swc and added that
    .swc to the library for the flex project, and then I no longer got
    the error for NonLinkedClass. However, I continue to get errors for
    LinkedClass. LinkedClass has variables defined in the .as file, and
    display objects are assigned to those variables because I've put
    display object instances inside the library symbol LinkedClass is
    linked to and named them after the variables. This works fine when
    I compile with CS4, but with flex, these variables are coming up
    null. I tried adding this code to LinkedClass.as
    [Embed(source="pathToMyGameSwf/game.swf",
    symbol="LinkedClass")]
    but I get an error
    "An Embed variable must not have an existing value."
    Am I anywhere near the right track? Is there a tutorial
    for this problem specifically, that is, trying to port a
    project from CS4 to flex?

    Hi Joachim,
    I suggest that you post this question on the Lightroom forum: Photoshop Lightroom.
    thanks,
    Elba

Maybe you are looking for

  • Can I update my iphone 4 to the iphone 4S software ?

    Hi I have an iphone 4 and it has been playing up a bit . It works fine , by this I mean you can use it to make calls text and all the rest , however when I try upload any new music from itunes on to the iphone it will not work at all . I have tried o

  • Submit Button in APEX 3.2.1 SQL Query (updateable report)

    Hi all, I am fairly new to APEX.  I have an updateable report and have created a button for every row as follows: <input type="button" value="Task Complete" onclick="doSubmit('#REF_STEP_ID#');" /> I have a PL/SQL anonymous block process that calls an

  • PHP and Oracle Workflow

    Hi everyone, Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code?

  • G/L account display

    Dear all, Is there is any report which shows the list of material documents, and corresponding debit & credit G/L accounts. Thanks & regards Madhu

  • SAP SD certification help

    Hello All, This is my first post here so pardon me if this is not the right forum for such questions. I have been working on SAP SD as a support analyst for the past one year and wish to appear for SAP SD certification. I have TSCM60 both 1&2 and TSC