File Adapter creating huge connections and not releasing.

Hi,
We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not releasing the connection and hence no. of connections are piling up over a days and depending upon the transactions. coz after a restart the values comes down from 36000 to 10 ( which is default initial connection).
But when i see at the datasource level i don't see that much number of active connections. Need to know why this is happening and is this behavior is expected?
We are using SOA 11g PS2
Below is the deployment plan for fileadpater in use:
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
<application-name>connectors</application-name>
<variable-definition>
<variable>
<name>ConfigProperty_controlDir_Value_12732617703910</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
<value>oracle</value>
</variable>
<variable>
<name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
<value>eis/HAFileAdapter1</value>
</variable>
<variable>
<name>ConfigProperty_controlDir_Value_13010283495591</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
<value>oracle</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
<value>eis/HAFileAdapter_Wedb</value>
</variable>
<variable>
<name>ConfigProperty_controlDir_Value_13369119117411</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
<value>oracle</value>
</variable>
</variable-definition>
<module-override>
<module-name>FileAdapter.rar</module-name>
<module-type>rar</module-type>
<module-descriptor external="false">
<root-element>weblogic-connector</root-element>
<uri>META-INF/weblogic-ra.xml</uri>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_12732617703910</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/jndi-name</xpath>
<origin>planbased</origin>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_13010283495591</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/jndi-name</xpath>
<origin>planbased</origin>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_13369119117411</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
</module-descriptor>
<module-descriptor external="false">
<root-element>connector</root-element>
<uri>META-INF/ra.xml</uri>
</module-descriptor>
<module-descriptor external="true">
<root-element>wldf-resource</root-element>
<uri>META-INF/weblogic-diagnostics.xml</uri>
</module-descriptor>
</module-override>
<config-root>/opt/soauser/products/soa11.1/Oracle_SOA1/soa/connectors/plan</config-root>
</deployment-plan>
-Rohit

Hi Arik,
To answer your questions :
You are using HAFileAdapter in your processes JNDI defenitions? --Yes
Check in your HAFileAdapter Connection Pool if Shrinking Enabled is set to true. --Its set to true
I would recomend also to change the properties Test Connections On Reserve to true, and Test Frequency Seconds(900 is the default). --These properties are also in place
-Rohit

Similar Messages

  • I have completed an online form and am trying to send it to the organization. When I say submit, it tries to connect to File:///C/users/Gail/Downloads and not to the organisations site

    I have completed an online form and am trying to send it to the organization. When I say submit, it tries to connect to File:///C/users/Gail/Downloads and not to the organisations site

    There's nothing you can do about it. Report the problem to the organization. They need to fix it and send you a new version of the PDF.

  • Mail.jar is locked when sending a mail using servlet and not releasing

    Hi everybody,
    The mail.jar is locked in tomcat while sending the first message and not released until the tomcat get restarts.
    the problem is not recorded in any logs.
    1. Please create a servlet that sends mail
    2. Send a mail to any mailid
    3. then after the mail is send please try to delete the mail.jar or please deploy the same servlet again with some small changes (for redeploying take place only a few changes is there - please change any strings a little bit)
    then try to send mail using this servlet will not send mail becoause it will not redployed correctely.
    when i removed Transport.send(msg); from code it works fine. but ??
    please help me to recover from this issue. i don't want to turn on tomcat antiJarlocking and antiresourcelocking to true, becaouse this craete many other problems.
    please help me to recover from this issue.
    Thanks,
    Prasad.N

    hi friend
    I am using advanced version of jdk. i i have used many other jar files like mysqlconnector, logging, commonhttpclient, etc.... the only problem is with mail.jar. that locks are released when its use completed, but the lock holds until tomcat shutdown in mail.jar.
    what may be the reason?
    Thanks,
    Prasad.N

  • ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

    Hi,
    i am getting following error, while taking RMAN backup.
    ORA-01580: error creating control backup file /backup/snapcf_TST.f
    ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
    DB Version:10.2.0.4.0
    while taking datafiles i am not getting any errors , i am using same mount points for both (data&control files)

    [oracle@localhost dbs]$ oerr ora 27054
    27054, 00000, "NFS file system where the file is created or resides is not mounted with correct options"
    // *Cause:  The file was on an NFS partition and either reading the mount tab
    //          file failed or the partition wass not mounted with the correct
    //          mount option.
    // *Action: Make sure mount tab file has read access for Oracle user and
    //          the NFS partition where the file resides is mounted correctly.
    //          For the list of mount options to use refer to your platform
    //          specific documentation.

  • File Adapter - Create File Name from Payload

    Hello,
    I have a scenario where I'm sending deductions to external vendors (wage types) following a payroll run, via XI. Part of the message payload includes a data element 'Vendor Name' (e.g. Zurich Insurance). When the XI File Adapter creates the file, I want to create the files as /usr/file/xi/<Vendor Name>.csv
    How to I pick up the 'Vendor Name' from the message payload and pass this into the "File Name:" field of the "File Access Parameters in the File Adapter communication channel configured?

    hi,
    The dynamic filename generation concept is as follows.
    In your filename field. just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    If you have any clarifications, do get back,
    Regards,
    Bhavesh

  • XI3.0 - file adapter create directory

    Hi,
    Is there anyway in 3.0 to prevent a receiver file adapter from creating a directory if it does not already exist.  There was a parameter in the J2SE adapter but I do not know if or how this has been implemented in 3.0.
    Regards
    Ian

    Ian,
    SPS 17 introduces a new configuration setting for the receiver file adapter: "Create Target Directory" which does exactly what you want.
    See http://help.sap.com/saphelp_nw04/helpdata/en/57/a21f407b402402e10000000a1550b0/frameset.htm
    Regards,
    Koen

  • ORA-27054: NFS file system where the file is created or resides is not moun

    Linux Red Hat 4
    10.2.0.4
    Had this issue since someone unplugged the san on Monday, and the servers were rebooted. Trying to do a duplpicate to Reporting Server from Production. The error returned, once the backupsets are being copied, is
    ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
    I have edited fstab in the way that the Doc 781349.1 suggests. I have unmounted the mount point and remounted. Themount is set up this way:
    /backup/PROD on /backup/PROD type nfs (rw,bg,hard,rsize=32768,wsize=32768,nfsvers=3,nointr,timeo=600,proto=tcp,addr=172.16.2.92)
    I have checked fstab and it has write permissions for the oracle user with which I run the duplicate command.
    I am able to browse, and create files on the /backup/PROD area.
    Edited by: user11981168 on May 3, 2010 1:02 PM

    It is my understanding that the NFS mouting options necessary to support Oracle vary based on the hardware/OS in use.
    I have the following recored for a NetApp appliance
    hard,bg,rw,vers=3,proto=tcp,intr,rsize=32768,wsize=32768,forcedirectio
    and this for a Linux Client
    rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0
    I suggest your review your platform specific documentationa and any record you have from the origonal set up.
    You might just want to open a SR where you provide the specific hardware info and see if support can help after making another search for documents of interest.
    HTH -- Mark D Powell --

  • How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?

    How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?
    CS 5.0 launches the internet browser.  > TO SLOW I DONT WANT THIS.
    CS 3.0 uses the local help files > I WANT THIS FOR 5.0.

    You're not speaking to the right forum for your request. Help is a Suite-wide feature and here is the forum where the Help application is discussed, and where the proper Adobe people hang out:
    Community Help Application

  • File Adapter Transactional in SOA and OSb

    Hi All,
    Is file adapter transactional in SOA and OSB. I have a requirement where a inbound file adapter polls for a file and it is consumed by a topic.If topic is down,how can I know that the same file will goes to topic when is up(how can I make it transactional).I want to do this both in SOA ans OSB.
    Any help would be appreciated.
    Thanks,
    Kumar.

    Hi Kumar,
    File Adapter itself is NON TRANSACTIONAL...
    4.2.9 Nontransactional
    The Oracle File Adapter picks up a file from an inbound directory, processes the file, and sends the processed file to an output directory. However, during this process if a failover occurs in the Oracle RAC back end or in an SOA managed server, then the file is processed twice because of the nontransactional nature of Oracle File Adapter. As a result, there can be duplicate files in the output directory.
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_file.htm#BABIEBJF
    Cheers,
    Vlad

  • When I reopen my computer (macbook pro) it connects to my dsl connection and not to my airport extreme network that I created

    I purchased yesterday an airport extreme, everything works fine, but the thing is that when I close my laptop (just shutting down the screen) and then reopen it, instead of conecting to the airport extreme network I created, it connects to my DSL connection. Is this normal? Do I have to keep entering my own airport extreme network after I close/shut down my computer? Thank you very much

    Hi Bob, I solved it, it had to do with the preferred networks. But thanks anyways!

  • Receive File Adapter - Error in CallSAPAdapter Name not known

    Using xml to File Adapter. Just want to store the xml file somewhere ie on XI Server in folder E:\usr\sap\interface\XMLfiles
    Getting error in Adapter Engine - Exception caught by adapter framework: Object not found in lookup of CallSAPAdapter.
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of CallSAPAdapter.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of CallSAPAdapter..
    Receiver Adapter configured to receive file write a .tmp version no conversion so set type to Binary.
    I can see the Communication Channel in the monitor green.
    Any ideas to find the problem
    thanks,

    I tried changing the communication channel as suggested with no further success. I have viewed the LogViewer on the server in cluster->server->logs defaultTrace.trc and com.sap.xi -> xi.log with no more information available.
    So is it that I cannot do a simple XML send to file receiver and leave its content unchanged?
    My test message payload was of the order
    <?xml version="1.0"?><LIST><S_STX><C_STDS><D_STDS1>... with all the data in.
    Adapter type = file
    Receiver
    Transport Protocol = File System (NFS)
    Message Protocol = File
    Adapter Engine = Integration Server
    Target Directory = E:/usr/sap/Interfaces/XMLFiles (and tried it with /usr/sap/interface/XMLFiles)
    Create filedirectory = ticked
    Filename filename.xml
    File Construction Mode = add timestamp
    Write Mode = use temporary file
    Temporary filename scheme = filename.tmp
    Filetype = Binary
    Module Tab
    1     localejbs/CallSAPAdapter     Local Enterprise Bean     0
    and thats it.
    On testing from the Integration Engine it reaches the Adapter Engine and reports the error as stated in my first post.
    The message data is of the construct
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    - <SOAP:Header>
    - <sap:Main xmlns:sap="http://sap.com/xi/XI/Message/30" versionMajor="3" versionMinor="0" SOAP:mustUnderstand="1" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <sap:MessageClass>ApplicationMessage</sap:MessageClass>
      <sap:ProcessingMode>asynchronous</sap:ProcessingMode>
      <sap:MessageId>09c99665-f3cf-d247-993b-8cb46c37d820</sap:MessageId>
      <sap:TimeSent>2007-09-19T16:42:31Z</sap:TimeSent>
    - <sap:Sender>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty">AS2</sap:Party>
      <sap:Service>XMLFILE</sap:Service>
      </sap:Sender>
    - <sap:Receiver>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty">MyCompany</sap:Party>
      <sap:Service>XMLFILE</sap:Service>
      </sap:Receiver>
      <sap:Interface namespace="http://warburtons.com/genhdr">MI_XMLFILE_V3</sap:Interface>
      </sap:Main>
    - <sap:ReliableMessaging xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:QualityOfService>ExactlyOnce</sap:QualityOfService>
      </sap:ReliableMessaging>
    - <sap:Diagnostic xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:TraceLevel>Information</sap:TraceLevel>
      <sap:Logging>Off</sap:Logging>
      </sap:Diagnostic>
    - <sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
    - <sap:Hop timeStamp="2007-09-19T16:42:31Z" wasRead="false">
      <sap:Engine type="IS">is.00.srvsapxidev</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XI</sap:Adapter>
      <sap:MessageId>09c99665-f3cf-d247-993b-8cb46c37d820</sap:MessageId>
    - <sap:Branch>
      <sap:MessageId>707ecbbd-a474-514d-b731-f4003c38c4df</sap:MessageId>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty">ASD</sap:Party>
      <sap:Service>IP_I_XMLFILE_Collect</sap:Service>
      </sap:Branch>
    - <sap:Branch>
      <sap:MessageId>09c99665-f3cf-d247-993b-8cb46c37d820</sap:MessageId>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty">MyCompany</sap:Party>
      <sap:Service>XMLFILE</sap:Service>
      </sap:Branch>
      <sap:Info>3.0</sap:Info>
      </sap:Hop>
    - <sap:Hop timeStamp="2007-09-19T16:44:56Z" wasRead="false">
      <sap:Engine type="AE">af.xid.srvsapxidev</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
      <sap:MessageId>09c99665-f3cf-d247-993b-8cb46c37d820</sap:MessageId>
      </sap:Hop>
      </sap:HopList>
      </SOAP:Header>
    - <SOAP:Body>
    - <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <sap:Payload xlink:type="simple" xlink:href="cid:[email protected]">
      <sap:Name>PayloadName</sap:Name>
      <sap:Description>PayloadDescription</sap:Description>
      <sap:Type>Application</sap:Type>
      </sap:Payload>
      </sap:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>
    The Payload is
      <?xml version="1.0" ?>
    - <LIST>
    etc
    Message status
    2007-09-19 17:44:56 Success Message successfully received by messaging system. Profile: XI URL: http://srvsapxidev:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-09-19 17:44:56 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-09-19 17:44:56 Success Message successfully put into the queue.
    2007-09-19 17:44:56 Success The message was successfully retrieved from the receive queue.
    2007-09-19 17:44:56 Success The message status set to DLNG.
    2007-09-19 17:44:56 Success Delivering to channel: CC_toMyCompany_XMLFILE
    2007-09-19 17:44:56 Error Exception caught by adapter framework: Object not found in lookup of CallSAPAdapter.
    2007-09-19 17:44:56 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of CallSAPAdapter.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of CallSAPAdapter..
    2007-09-19 17:44:56 Success The asynchronous message was successfully scheduled to be delivered at Wed Sep 19 17:49:56 BST 2007.
    2007-09-19 17:44:56 Success The message status set to WAIT.
    Now I have been reading all the documentation available and forum questions in this area but there is a lot of information but not quite for what I am currently trying to do. I need to preserve the xml file as xml for further processing. This is just a resting place for the file as I am trying to cut down a long running (over a day) collect BPM scenario by collecting the files in the directory then triggering the collect scenario to read in the files from this directory and perform all the processing and mapping in one chunk of short time. (But that is another story)
    Any more suggestions appreciated could the SAPCallAdapter not be where I think it is? Does my directory and filename case have to be exact lower and upper case. (I will test this tomorrow)...and let you know if any difference and continue to read the links put on by the other person who answered.
    thanks,

  • Archive files are in XML format and not in the original format

    Hi all,
    I am using a receiver file adapter with archiving option. When I look at the archive files they are in the XML converted format and not in the original flat file format received. We would like to store these files for audit purpose and it doesnt make sense to store XML files. We are in SP04. Does a note need to be applied or any other extra configurations need to be done which I might have missed? Please advise.
    -Teresa

    Hi,
    >>>Wow, the note says its fixed in SP10
    but only the split is fixed not the XML messages in the archive I think (from the note)
    >>>Is there any alternative quick fix and I hate manual work
    create 2 new folders - connect one of them with the file adapter and the second one remains for archives
    in you normal destination folder for your files add a simple program that will check if there are any files and copy them to those two folders - this could be the fastes but obviously not the best solution I guess
    Regards,
    michal

  • OIM 11g using too much memory and not releasing it when shutting down

    Hello,
    we have a problem with OIM 11g using too much memory (about 5gb) and it's not releasing it at shutdown (4gb still used).
    We are using a VM with RedHat Linux 5.6. Originally we had 4gb RAM + 2gb swap file. We installed Admin Server, OAM, OIM and SOA on that machine but quickly realised we couldn't run all 4 programs at once in 6gb. AdminServer could run with 2 other products, but it was a tight fit in memory.
    So we increased the RAM to 8gb (still 2gb swap file). But then our problem occured : I start the Admin Server (2.7gb total memory used), then OAM (4.6gb total memory used) and then OIM. After it started the server is now using 9.6gb of memory (~300mb of free memory) ! The problem gets even better : after I shut down everything (OIM, OAM, admin server) the "top" command show that there is still 4gb of memory used even tho nothing else is running on the server ! There is absolutely no other process (other than root stuff) running and no other users connected to the machine. After a reboot, it shows 400mb of memory used. I tried restarting the programs and it did the same thing.
    Our intuition is that there might be a memory leak or some bug in OIM that might use up almost all the free memory and it's not releasing it upon shutdown. It might have been there before we increased the memory but have not noticed it since memory was already tight.
    Anyone encountered the same problem ? Any idea ? Any suggestion to narrow down the problem ?
    Thank you

    You can adjust the memory settings for WLS by editing the setSOADomainEnv.sh file that can be found in your /middleware/user_projects/domains/<domain>/bin/ folder. There is an argument called PORT_MEM_ARGS which is used to set your Java memory arguments. This way you can decrease/increase the amount of memory used by each managed server.
    I usually type "ps -ef | grep oracle" to see what processes are running by the oracle user. This way the output doesn't get cluttered with root processes.
    Sunny Tsang

  • Receiver file adapter creates empty files, Empty-Message Handling SP19

    Hello,
    We have just upgraded the system to SP19.
    One of the new features is that it should be possible to determine how XI messages with an empty main payload are to be handled in the receiver file adapter.
    If the parameter Empty-Message Handling is set to 'Ignore' no file should be created if the main payload is empty. In our case an empty file (size 0 kb) is still created even though the main payload is empty and the flag is set to 'Ignore'.
    Has anybody experienced the same problem?
    //  Best regards  Hans

    This should work:
    Use your own adapter module that parses incoming message and checks if it has any record sets in the document. If it does not have any record sets, then set the message to empty and then give this modified message to File receiver.
    For example, see the example code below:
    Module imports..
    Audit log import..
    DOM imports/SAX imports..
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              try {
                   // get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                   Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"RemoveRootTag: Module called");
                   XMLPayload payLoad = msg.getDocument();
                   Document doc = parseXmlFile(payLoad.getInputStream());
                   if(doc != null){
                        if(!doc.getDocumentElement().hasChildNodes()){
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Document is empty!!");
                             payLoad.setContent("".getBytes());
                             msg.setDocument(payLoad);
                   // provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
                   } catch (Exception e) {
                   // raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
                   // return XI message
              return inputModuleData;
         private Document parseXmlFile(InputStream xmlpayload) {
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setValidating(false);
                   //        Create the builder and parse the file
                   Document doc = factory.newDocumentBuilder().parse(xmlpayload);
                   return doc;
              } catch (SAXException e) {
              } catch (ParserConfigurationException e) {
              } catch(IOException e){
              return null;

  • Sender File Adapter. Fixed Lengths and Field Separator

    Hello guys,
    I have a doubt in Sender File Adapter with Content Conversion.
    I have a text file like:
    a,b,c,,e
    I have the configuration in the adapter:
    Register.fieldNames: a,b,c,d,e
    Register.fieldSeparator: ,
    The question I have is can I format the length of the text when i create the XML?
    I woul like to create the XML like:
    <Row>
      <Register>
        <a>a   </a>
        <a>b  </a>
        <a>c  </a>
        <a>   </a>
        <a>e   </a>
      </Register>
    </Row>
    I would like that when I create the file in Field A I have length = 4, but I have only 1 in the entry, and I want to fill the rest of the length with spaces.
    I tried with FieldFixedLengths but when I test it the fields are not being formatted and take the commas as part of the field.
    I know that this can be done in Receiver File Adapter, you leave for example one field of 5 length and you format it to 12 length with spaces.
    Is this possible for Sender File ADapter?
    Many thanks.
    Regards,
    Xavi.

    hi,
    See the example given in this bog, in this blog the string has been splited into different fields as per the field length, so you may use the same concept to get your output.
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    I hope it helps you.
    Regards,
    Sarvesh

Maybe you are looking for