File based rejection handling using Debatching

Hi All,
I am facing very serious issue while using debatching option in file adapter.
I am reading file in de-batch mode. When any record is corrupted inside file then entire file is moving to default rejmsgs folder in SOA domain/soa_server1 folder.
Let say i have total 10 record in files. If record 2,5,and 7 have invalid record then entire message is moving to rejmsgs/process name folder. Because of this case size of the rejmsgs is increased to 20G.
I request some one to provide me the solution that how can avoid this case and movie only particular invalid record to rejection handler.
Appreciate for response.
Regards,
Tarak.

Hi Ankit kalanoria,
Thank you for your response
As you said i am using debatching mode and in my .Jca file i can see publishsize property value as 1.
<adapter-config name="ReadRMSinput_file" adapter="File Adapter" wsdlLocation="ReadRMSinput_file.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
  <connection-factory location="eis/FileAdapter" UIincludeWildcard="storetsf*.tsfxml"/>
  <endpoint-activation portType="Read_ptt" operation="Read">
    <activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
      <property name="DeleteFile" value="false"/>
      <property name="MinimumAge" value="0"/>
      <property name="PhysicalDirectory" value="/u01/textdata/SOADEV/SABAT/TSF2SIM/out"/>
      <property name="Recursive" value="false"/>
      <property name="PublishSize" value="1"/>
      <property name="PollingFrequency" value="10"/>
      <property name="IncludeFiles" value="storetsf.*\.tsfxml"/>
      <property name="UseHeaders" value="false"/>
    </activation-spec>
  </endpoint-activation>
</adapter-config>XSD which i am using for debatching in fileadapter.
<xs:schema elementFormDefault="qualified"
           targetNamespace="http://www.oracle.com/RMS/RMStoSIMTransfers/RMStoSIMTransfers.xsd"
           version="1.0"
           xmlns="http://www.oracle.com/RMS/RMStoSIMTransfers/RMStoSIMTransfers.xsd"
           xmlns:retailDoc="http://www.w3.org/2001/XMLSchema"
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="Shipments">
          <xs:complexType>
            <xs:sequence>
             <xs:element minOccurs="1" maxOccurs="unbounded" ref="Shipment" nxsd:uniqueMessageSeparator="${eol}"/>
              </xs:sequence>
              </xs:complexType>
              </xs:element>
              <xs:element name="Shipment">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ActualShipDateTime" type="xs:dateTime"/>
                    <xs:element name="BolNumAlpha" type="xs:string"/>
                    <xs:element ref="Carrier" minOccurs="0"/>
                     <xs:element ref="Comments" minOccurs="0"/>
                    <xs:element ref="Customer" minOccurs="0"/>
                    <xs:element name="InternalShipmentNum" type="xs:int"/>
                    <xs:element name="OrderType" type="xs:string"/>
                    <xs:element name="TotalContainers" type="xs:int"/>
                    <xs:element name="TotalLines" type="xs:int"/>
                    <xs:element name="TotalQuantity" type="xs:int"/>
                    <xs:element name="TotalVolume" type="xs:int"/>
                    <xs:element name="TotalWeight" type="xs:int"/>
                    <xs:element name="WeightUm" type="xs:string"/>
                     <xs:element ref="Details" minOccurs="0"/>
                          <xs:element ref="ItemDetails" minOccurs="0"/>
                     <xs:element ref="Containers" minOccurs="0"/>
                     </xs:sequence>
                    </xs:complexType>
                    </xs:element>
                    <xs:element name="Carrier">
                       <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Carrier" type="xs:string"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="Comments">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Comment" minOccurs="0"
                                      maxOccurs="unbounded">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="Text" type="xs:string"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="Customer">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Customer" type="xs:string"/>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="Details">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element ref="ShipmentDetail" minOccurs="0"
                                      maxOccurs="unbounded"/>
                           </xs:sequence>
                            </xs:complexType>
                            </xs:element>
                            <xs:element name="ShipmentDetail">
                             <xs:complexType>
                              <xs:sequence>
                                <xs:element name="UserDef1" type="xs:string"/>
                                <xs:element name="UserDef2" type="xs:string"/>
                                <xs:element name="UserDef6" type="xs:string"/>
                                <xs:element name="UserDef5" type="xs:string"/>
                                <xs:element name="ErpOrder" type="xs:string"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                         <xs:element name="ItemDetails">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element ref="ItemDetail" minOccurs="0"
                                      maxOccurs="unbounded"/>
                           </xs:sequence>
                            </xs:complexType>
                            </xs:element>
                            <xs:element name="ItemDetail">
                             <xs:complexType>
                              <xs:sequence>
                                <xs:element name="Item" type="xs:int"/>
                                <xs:element name="Quantity" type="xs:decimal"/>
                                </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                    <xs:element name="Containers">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element ref="ShippingContainer" minOccurs="0"
                                      maxOccurs="unbounded"/>
                            </xs:sequence>
                            </xs:complexType>
                            </xs:element>
                            <xs:element name="ShippingContainer">
                            <xs:complexType>
                            <xs:sequence>
                                <xs:element name="ContainerId" type="xs:string"/>
                                <xs:element ref="ContainerDetails" minOccurs="0"/>
                                <xs:element ref="ContainerType" minOccurs="0"/>                           
                                <xs:element name="ManifestCarrServiceSymbol"
                                            type="xs:string"/>
                                <xs:element name="ManifestId" type="xs:string"/>
                                <xs:element name="TotalFreightCharge"
                                            type="xs:decimal"/>
                                <xs:element name="TotalFreightDiscount"
                                            type="xs:decimal"/>
                                <xs:element name="TotalQuantity"
                                            type="xs:decimal"/>
                                <xs:element name="TotalWeight"
                                            type="xs:decimal"/>
                                <xs:element name="TrackingNumber"
                                            type="xs:string"/>
                                <xs:element name="WeightUm" type="xs:string"/>
                                </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ContainerDetails">
                                <xs:complexType>
                                <xs:sequence>
                                <xs:element ref="ContainerDetail" minOccurs="0" maxOccurs="unbounded"/>
                                </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ContainerDetail">
                                <xs:complexType>
                                 <xs:sequence>
                                <xs:element name="Item" type="xs:int"/>
                                <xs:element name="Quantity"   type="xs:decimal"/>
                                </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ContainerType">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="DimensionUm"
                                                  type="xs:string"/>
                                      <xs:element name="Height"
                                                  type="xs:decimal"/>
                                      <xs:element name="Length"
                                                  type="xs:decimal"/>
                                      <xs:element name="MaxWeight"
                                                  type="xs:decimal"/>
                                      <xs:element name="Volume"
                                                  type="xs:decimal"/>
                                      <xs:element name="Weight"
                                                  type="xs:decimal"/>
                                      <xs:element name="Width"
                                                  type="xs:decimal"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                            </xs:schema>After adding the attribute uniqueMessageSeparator, if any record in the xml is invalid then my De-batching process is getting stopped. Could you pls let me know if any thing more i have to define in my xsd in order to avoid stopping debatching mode..

Similar Messages

  • How to get file name in faultpolices file for file based rejection handler

    Hi All,
    I am implementing the file rejection handler in fault polices.xml
    Now i want to catch exact file name and use this in faultpolices.xml under Filename tag and move the rejected file to custom directory.
    Can some please let me know is it possible to catch the exact filename and use the same name in rejection handle.
    Suppose If we don't handle the rejection handler then these files will move to the default path in SOA HOME. But the file name remains the same. So i think this can be changed in SOA, but i am afraid i how can i do it.
    Please suggest me.
    Regards,
    Tarak.

    Hi,
    have a look at my new weblog:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    to see how you can access filename
    Regards,
    michal

  • Spliting files based on condition using multi mapping with BPM

    Hi All,
    Can any one please let me know How to <b>Splite the outbound records based on condition using multi mapping with Integration Process in BPM</b>?
    Thanks
    Govindu.

    Hi All,
    Sorry for mistake this question for Exchange infrastructure guys.
    Thanks,
    Govindu

  • Can File Based events Handle wildcards in the filename

    The question was can file events handle wildcards in the filename? That way, the object scheduled to handle the event can query the file event specifics and process accordingly. The impact is that we will have to create a file event for every event type for every pathway/state. Therefore, in a worst case scenario, if there are 3 event types for every state, i.e., end of day, end of week, and end of month, and there are 50 pathways/states, then there would be 50 *3 or 150 total file events that would have to be entered. If BOE can handle file event wildcarding, then we need only one event.can we do that ???
    Edited by: sanfrancisco on Nov 18, 2010 5:20 PM

    Hi
    As per my knowledge events will not Handle wildcards in the filename
    Regards
    Ashwini

  • Oracle File Based Sync

    I want to do automatic scheduled file based sysnc
    I used the syncoption class in java. but its not connecting to database.
    I am able to connect the database. but when the mSync.doSync() is called, it corrupts my database.
    database giving the error (a device read write error detected)
    Plz help
    Thanks and Regards
    Lijo Lawrance
    Edited by: user10164123 on May 27, 2010 8:22 PM

    Hi
    Try to close all opened connection to the database before doing the sync.
    Hope it helps

  • "Message Rejection Handler" for the file/ftp adapter using fault policy

    Hi guys,
    We are trying to implement "Message Rejection Handler" for the file/ftp adapter using following fault policy configuration.
    Fault Policy:
    `````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ProcessNameGenericPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="ProcessNameHumanInterventionPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    name="medns:mediatorFault">
    <condition>
    <test>contains($fault.mediatorErrorCode, "TYPE_TRANSIENT")</test>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    <!--<action ref="ora-retry-with-intervention"/>-->
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry-with-intervention">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-human-intervention"/>
    </retry>
    </Action>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="RejectedMessages">
    <Conditions> <!-- All the fault conditions are defined here -->
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PartnerLinkName">
    <!-- local part of fault name should be the service name-->
    <condition>
    <action ref="writeToFile"/> <!-- action to be taken, refer to Actions section for the details of the action -->
    </condition>
    </faultName>
    </Conditions>
    <Actions> <!-- All the actions are defined here -->
    <Action id="writeToFile">
    <fileAction>
    <location>Server/Loc/path</location>
    <fileName>Rejected_AJBFile_%ID%_%TIMESTAMP%.xml</fileName>
    </fileAction>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    Fault Binding:
    ``````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="ProcessNameGenericPolicy"/>
    <service faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </service>
    <reference faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </reference>
    </faultPolicyBindings>
    We have SyncFileRead partner link.
    The expectation is: when the message read by SyncFileRead partner link is rejected,
    that rejected message should come to particular directory in the server.
    Could you please help us fixing this.
    TIA.

    HI..
    Have a look at this blog :
    3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Http* Errors in XI
    Thanks,
    Pooja

  • File Adapter SynchRead Rejection Handler

    Hi,
    I have a process where I have to read a large file using SynchRead (Chunk) operation, and handle the schema validation failure (I guess).
    Exception occured when binding was invoked.
    <bindingFault>
    <part  name="summary">
    <summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: Cannot create/verify default Rejection Handler directory = 'jca\chunked\ProcessConcurFiles:GetChunkedFileAdapter [ SynchRead_ptt::SynchRead(Empty,body) ] _0JK+pBxlvQ9Gr4ZC+I4uT48XWZGCEaL+oY8PPq0axRY=\rejectedMessageHandlers'". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary> 
    </part>
    <part  name="detail">
    <detail>Cannot create/verify default Rejection Handler directory = 'jca\chunked\ProcessConcurFiles:GetChunkedFileAdapter [ SynchRead_ptt::SynchRead(Empty,body) ] _0JK+pBxlvQ9Gr4ZC+I4uT48XWZGCEaL+oY8PPq0axRY=\rejectedMessageHandlers'</detail> 
    </part>
    <part  name="code">
    <code>null</code> 
    </part>
    </bindingFault>
    Anyone know what is causing the error? It could be the schema file?
    Thanks,
    ENU

    Hi Modarator;
    This topic is already open on um Home » Technology Network Community » Documentation part too. Please close other thread
    Regard
    Helios

  • About the Rejection Handler (File Adapter)

    I use file Adapter to get the information form other applications and transform the data format to XML . I want to kown ,when will the Rejection Handler of the file Adapter take action ,can i do some predefine to the Rejection Handler to reject the specifically data ?

    Hi,
    The rejection handler only comes into the picture when the input data is invalid as per the schema definition. i.e. you can reject invalid data so that it can be corrected and enqueued again. You can choose to set up your rejection handling mechanisms in bpel.xml.
    See the fllowing post for config info on rejection handlers:
    Re: How can I make my read file server still work when it read a wrong file?
    Regards,
    Narayanan

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • Problem using file based JNDI with JMS Bridge, WL 6.1sp3

              I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              I am having trouble getting the bridge to look up the MQ queue in the file based
              JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              to use. I am getting the following error:
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" is getting the connections to the two adapters.>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              request.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" failed to connect to the source destination and will try again in 25 seconds.
              (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              <
              The configuration of the bridge, printed out in the log, is:
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's source properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              ConnectionFactoryJNDIName = PMS.mqQcf
              ConnectionURL = file:/opt/mqm/java/mq-jndi
              InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              DestinationType = Queue
              DestinationJNDIName = PMS.mqProvdRequest>
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's target properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              DestinationType = Queue>
              Am I correct in assuming it should be using the fscontext connection factory?
              Why is it using the weblogic one?
              Jason
              

    CR081511_61sp3.jar patch should fix the problem. Make sure that the
              jar file is picked up. It should be put before other weblogic jar files.
              You should be able to tell if it is picked up by looking at the first
              couple of lines of your server log file.
              Dongbo
              Jason Kriese wrote:
              >
              > I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              > WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              >
              > I am having trouble getting the bridge to look up the MQ queue in the file based
              > JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              > instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              > to use. I am getting the following error:
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" is getting the connections to the two adapters.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              > = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              > Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              > request.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" failed to connect to the source destination and will try again in 25 seconds.
              > (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              > <
              >
              > The configuration of the bridge, printed out in the log, is:
              >
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's source properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > ConnectionFactoryJNDIName = PMS.mqQcf
              > ConnectionURL = file:/opt/mqm/java/mq-jndi
              > InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              > DestinationType = Queue
              > DestinationJNDIName = PMS.mqProvdRequest>
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's target properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > DestinationType = Queue>
              >
              > Am I correct in assuming it should be using the fscontext connection factory?
              > Why is it using the weblogic one?
              >
              > Jason
              

  • To test how can we use the opt  'logical file name' to name the file based

    Hi Sir/Madam,
               to test how can we use the opt  'logical file name' to name the file based on the selection made in the dtp run for extracting data as flat file.

    Hi Vishali,
    In the DTP select the file location as application server and give the logical file path. The actual file and logical path can be created using transaction "FILE" and "AL11".
    Rest of the process is same as that of extraction from local file.
    Regards,
    Durgesh.

  • How to Associate a existing contact to a existing Account using file based import in Oracle sales cloud

    How to Associate a existing contact to a existing Account using file based import in Oracle sales cloud

    Hello,
    You can use this mapping in order to associate contacts with existing Accounts: This will relate the previously imported Contact with an existing Account.
    Regards,
    Oana

  • When to use the new file based content repository

    In Service Pack 4 there's a new implementation of the CMSPI interfaces which is configured by using the following implementation class:
    com.bea.content.spi.internal.FileSystemRepositoryImpl
    When should one use this new file based repository versus the existing one (configured by using the following class: com.bea.content.spi.internal.RepositoryImpl).
    I've read the edocs, but it doesn't state when to use this new one compared to the previous implementation.
    We consider using a third party content repository, but for the time being we will use the content repository provided by BEA.
    Trond Andersen, Invenia AS, +4798290811

    use the new keyword when you don't have an instance of that object in memory that you want to use.  For example...
    if you have an object already in memory that is holding a property with a "CamelQuery" object, then you can say 
    var query = myobject.Query;
    however, if you have to write the query, or instantiate the object from nothing, then you need to use the "new" keyword.  A good example is SPSite object...
    if you can get a new SPSite object by either "newing one up and passing the URL" or getting the farm and getting a site from that object. 
    using(SPSite site = new SPSite("url to my site"))
    now I can use site.
    //or
    SPSite = myWebApp.Sites[0];
    // this gives you site at index 0 of current webApp
    most of the time in SharePOint you will be using the "new" keyword to open site collections, and then getting your subsites from there. BE CAREFUL using the "new" keyword. If you "new" up an object that is iDisposable... you
    MUST dispose of that, but if you use that same object but it comes from the "current context", you mustn't dispose of it.
    //dispose of this by using statement
    using(SPSite site = new SPSite(<url>))
    //do stuff
    //after this bracket it is disposed.
    //do not dispose of this:
    SPSite mysite = SPContext.Current.Site;
    //unpredictable behavior can occur because you will still need references to your current site.

  • File Rejection Handler SOA-Suite 11g

    I have a scenario where in case my file adapter while polling wants to reject a file based on the schema which is configured with file adapter.
    I should be explicitly collect the file message or a file in a directory (Rejected Directory )
    How can we achieve the above Functionality ???

    Hi Modarator;
    This topic is already open on um Home » Technology Network Community » Documentation part too. Please close other thread
    Regard
    Helios

  • Maximum file handled using dom4j

    Hi,
    Wanna know whats the maximum xml file size that can be handled using dom4j.
    To be precise, I have a 1gb xml file that I wanna parse, I have implemented it using SAX, but wanna know if dom4j can be used?
    Regards,
    R

    Just try, you'll probably only be limited by available memory. I assume that building any kind of DOM tree of the document (be it org.w3c.dom or dom4j) will use more memory than the original file. So you'll need > 1 GB of memory for your file. If you have to handle files that big and don't absolutely need it all at the same time then SAX is probably the better solution as it doesn't require the whole file to be in memory at a time.

Maybe you are looking for

  • Error when creating DC in NWDI

    Hello, I've have a installed NWDI, created a track and the neccessary dependencies in SLD and IMPORTED all needed sca's. I could now see my track in NWDS with all dependent SC's. When I now try to create a new DC in my SC I got the following error: U

  • Paid bill and switched to monthly payments...

    Hi, I just paid my bill in full and have now swtiched to monthly direct debits to avoid the payment charges. My question is this, as I was billed in advance for line rental etc, when will BT start collecting the monthly payments, as surely I am now i

  • Another iOS packager bug

    Came across another bug in iOS packager. In my project I have a function looking like this: private function sample():Object      var iValue:int = 10;       return false ? iValue : null; It correctly returns 'null' if packaged in ipa-debug-interprete

  • Unable to stop agent / start agent!!!

    Hi one of the process emagent is running. Even when I issue command kill -i PID. that is not getting killed. oracle 3309 1 0 Mar 30 ? 8:49 /opt/oracle/dbms/agent10g/bin/emagent kill -9 3309 # no use :( When I try to stop. start and status of emctl th

  • Add a left column to the master page

    Good day. I am working on removing the Quick launch column from my master page and inserting in its place a column where i could put my own html with links, images, comments etc, basically a tall and narrow page on the left side of the master page. I