B2B InstanceMessage Sample

Hi All,
i face some error when i try to run this example.
can any help me or show me the proper documentation?
import oracle.tip.adapter.b2b.message.InstanceMessage;
import oracle.tip.adapter.b2b.utility.InstanceMessageUtil;
public class MyInstanceData {
     public static void main(String[] args) throws Exception {
          InstanceMessageUtil util = new InstanceMessageUtil();
          InstanceMessage[] messages = util.getInstanceMessages("10/10/2005",
                    "10/28/2005", "GlobalChips");
          System.out.println("Number of messages: " + messages.length);
***********************************Error Log**********************************************
Error -: AIP-13122: Error while retrieving connection information from IAS repository: {0}: java.lang.NullPointerException
     at oracle.tip.buslogic.common.DBConnectivity.getIASConnectInfo(DBConnectivity.java:322)
     at oracle.tip.buslogic.common.DBConnectivity.findDBConnectionProperties(DBConnectivity.java:201)
     at oracle.tip.buslogic.common.DBConnectivity.getConnection(DBConnectivity.java:111)
     at oracle.tip.buslogic.common.ExecutionContextImpl.getService(ExecutionContextImpl.java:373)
     at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntime(ExecutionContextImpl.java:729)
     at oracle.tip.adapter.b2b.utility.InstanceMessageUtil.getInstanceMessages(InstanceMessageUtil.java:115)
     at MyInstanceData.main(MyInstanceData.java:9)
Caused by: java.lang.NullPointerException
     at java.io.File.<init>(File.java:180)
     at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
     at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
     at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
     at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
     at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getPropertyNoCheck(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getPropertyNoCheck(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getProviderClassName(Unknown Source)
     at oracle.security.jazn.JAZNConfig.initJAZNProvider(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getJAZNProvider(Unknown Source)
     at oracle.security.jazn.JAZNConfig.getPolicy(Unknown Source)
     at oracle.security.jazn.util.JAZNSecurityManager.verifyPermission(Unknown Source)
     at oracle.ias.repository.SchemaManager.getSchema(SchemaManager.java:612)
     at oracle.tip.buslogic.common.DBConnectivity.getIASConnectInfo(DBConnectivity.java:289)
     ... 6 more
Exception in thread "main"

Kinwah / Ramesh,
I am stuck with how to use the InstanceMessageUtil API.
My understanding is - In the BPEL process that we make for errorHandling in B2B, with consumer as "b2berroruser", we use a Java embedding and place the code to get the details-
Few Questions here -
1. The InstanceMessageUtil[] array as defined in your class above would get all the instance messages from the B2B, based on the parameters passed. How do we pass this array inside the BPEL process?
2. The input parameters for the getInstanceMessages() are start-date, end-date and TPName, but there a lot of errors that get thrown from B2B, in which the TPName does not come along in the IPMessageType. Is there a way where we can get the error details based on B2BMessageId instead of Trading Partner Name,as B2BMessageId is a field that always gets populated ?
It would be helpful if you could mail me a sample process for developing a better understanding of the usage -
thanks,
Shailesh

Similar Messages

  • B2B InstanceMessage through Java ?

    Hi guru's,
    I wanted to access B2B Instance Message payload from java so i have followed the following example as mentioned in java documentation
    import java.util.Vector;
    import oracle.tip.b2b.utility.InstanceMessageUtil;
    public class MyInstanceData {
        public static void main(String[] args) throws Exception {
            InstanceMessageUtil imUtil = new InstanceMessageUtil();
            Vector messages = (Vector) imUtil.getInstanceMessagesForTP("GlobalChips");
            System.out.println(messages.size());
    but i am getting following error in eclipse
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at oracle.tip.b2b.utility.InstanceMessageUtil.setB2BUtility(InstanceMessageUtil.java:114)
        at oracle.tip.b2b.utility.InstanceMessageUtil.<init>(InstanceMessageUtil.java:99)
        at oracle.tip.b2b.utility.InstanceMessageUtil.<init>(InstanceMessageUtil.java:88)
        at org.bam.test.MyInstanceData.main(MyInstanceData.java:8)
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at oracle.tip.b2b.utility.InstanceMessageUtil.getInstanceMessagesForTP(InstanceMessageUtil.java:280)
        at org.bam.test.MyInstanceData.main(MyInstanceData.java:9)
    Caused by: java.lang.ClassNotFoundException: javax.ejb.EJBObject
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 14 more
    Could you guys help me with it ?

    Hi i have solved this error using the following java program, hope it helps someone.
    package org.bam.test;
    import java.util.Properties;
    import java.util.Vector;
    import javax.naming.Context;
    import oracle.tip.b2b.message.InstanceMessage;
    import oracle.tip.b2b.model.instance.Instancemessage;
    import oracle.tip.b2b.utility.InstanceMessageUtil;
    public class MyInstanceData {
        public final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
        public static void main(String[] args) throws Exception {
            Properties jndiProps = new Properties();
            jndiProps.put(Context.PROVIDER_URL,"t3://localhost:8001");
            jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");      
            jndiProps.put(Context.SECURITY_PRINCIPAL,"weblogic");
            jndiProps.put(Context.SECURITY_CREDENTIALS,"weblogic1");
            InstanceMessageUtil util = new InstanceMessageUtil(jndiProps);
            Vector messages =util.getInstanceMessagesForTP("Speridian","OUTBOUND");
            InstanceMessage im=(InstanceMessage) messages.elementAt(183);
            System.out.println(im.getPayload());
            System.out.println(messages.size());

  • Regarding the front end uix forms customization

    Hi,
    I am trying to customise the uix pages for the b2b reports.May I know where the servlets paths are mapped which are mentioned in the uix files.The instace classes used by the uix file is given below.
    <event name="search">
    <instance class="oracle.tip.tools.integration.buslogic.reports.RptBusinessMessageSearchHandler" />
    </event>
    but the mentioned path does not exist.Where the actual mapping is done?

    Hi Soumyoshis
    There is a post called B2B InstanceMessage Sample
    B2B InstanceMessage Sample
    You can use the InstanceMessage and InstanceMessageUtil classes to generate your own reports. There is a sample code snippet also given in that post which could be a helpful start for you.
    Hope this helps.
    --Arun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Determine the size of EDI payload data

    Hi Experts,
    As far as my B2B Knowledge is concerned, in order to know the size of an EDI payload... we download the payload from wire message or payload, copy the data and paste it in a file. The size of the file determines the EDI payload size.
    But, this is a tedious task, particularly in cases where there are huge number of EDI data. To far as I know, the size of EDI files ranges from 1 MB to 1GB.
    Please advise what should I do in cases of files with large payload sizes(more than 25MB).
    Please advise if there is any B2B table whose one of the columns depicts the size of the payload.
    I have searched through some b2b table as b2b_messageinstance, b2b.ip_b2b_report but could not find any such columns.
    Please advise what exactly the procedure is to determine the size of EDI payload data, particularly for cases where payload data is larger than 25 MB.

    I am afraid that there is no direct way of finding the payload size in 10g. You may write your own standalone program or API which may calculate the size of payload by querying the b2b_instancemessage view or by calling the B2B InstanceMessage API -
    http://www.oracle.com/technetwork/testcontent/b19324-01-instance-msg-api-129535.zip
    Regards,
    Anuj

  • Sample B2B

    Hi Everyone,
    I am new to Oracle B2B , can anyone please help me out with a basic inbound & outbound X12 transaction. It would be great if someone could share some samples or some document on steps to be followed. Looking forward to your support.
    Thanks,
    Sujit

    http://docs.oracle.com/cd/E14571_01/integration.1111/e10229/intro_ui.htm
    going forward, post your B2B questions here...
    Integration - B2B
    Thanks,
    N

  • Sample selfservice.xml for 11g B2B??

    Hi Gurus,
    I am trying to create B2B metadata using the self service xml.
    $ANT_HOME/bin/ant -f ant-b2b-util.xml b2bselfservice -Dinput="/tmp/selfservice1.xml".
    Can anybody provide me the sample selfservice1.xml that they have used for this process?
    Regards,
    Praveen

    11g SelfService is not certified in PS1 label.
    Just try using below selfservice sample.This sample is custom over file.
    <?xml version="1.0" encoding="UTF-8"?>
    <SelfService
         xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
         <DocumentProtocols>
              <DocumentProtocol custom="true" name="Custom">
                   <DocumentProtocolVersion name="1.0">
                        <DocumentType name="ORDERS">
                             <DocumentDefinition customFileType="true"
                                  definitionFileName="/schemas/salesorder.xsd" name="ORDERS_def"
                                  useDefaultDefinition="true">
                                  <ParameterValue name="IdentificationExpression"
                                       value="/*/*[local-name()='shipto']/*[local-name()='country']" />
                             </DocumentDefinition>
                        </DocumentType>
                   </DocumentProtocolVersion>
              </DocumentProtocol>
         </DocumentProtocols>
         <TradingPartners>
              <TradingPartner hosted="true" name="Acme">
                   <DeliveryChannel ackMode="None" compressed="false"
                        internal="false" listening="true"
                        name="Acme_Custom_GenericFile_Responder" responseMode="None">
                        <ExchangeProtocolRef name="Generic-File" />
                        <TransportProtocolRef name="File">
                             <ParameterValue name="folder"
                                  value="/tmp/Acme_File_Inbound" />
                        </TransportProtocolRef>
                        <DigitalSecurity ackSigned="false"
                             messageEncrypted="false" messageSigned="false"
                             transportSecured="false" />
                   </DeliveryChannel>
                   <SupportedDocumentDefinition docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS" initiator="true" />
                   <SupportedDocumentDefinition docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS" initiator="false" />
              </TradingPartner>
              <TradingPartner hosted="false" name="GlobalChips">
                   <DeliveryChannel ackMode="None" compressed="false"
                        internal="false" listening="false"
                        name="GlobalChips_Custom_GenericFile_Responder"
                        responseMode="None">
                        <ExchangeProtocolRef name="Generic-File" />
                        <TransportProtocolRef name="File">
                             <ParameterValue name="folder"
                                  value="/tmp/GlobalChips_File_Outbound" />
                        </TransportProtocolRef>
                        <DigitalSecurity ackSigned="false"
                             messageEncrypted="false" messageSigned="false"
                             transportSecured="false" />
                   </DeliveryChannel>
                   <SupportedDocumentDefinition docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS" initiator="true" />
                   <SupportedDocumentDefinition docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS" initiator="false" />
              </TradingPartner>
         </TradingPartners>
         <Agreements>
              <Agreement
                   agreementId="GlobalChips_Acme_Custom_1.0_ORDERS_GenericFile"
                   name="GlobalChips_Acme_Custom_1.0_ORDERS_GenericFile">
                   <SupportedDocumentType docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS">
                        <InitiatingParticipant name="GlobalChips" />
                        <RespondingParticipant name="Acme" />
                        <AgrDocTypeParameterValues>
                             <ParameterValue name="validate" value="true" />
                        </AgrDocTypeParameterValues>
                   </SupportedDocumentType>
              </Agreement>
              <Agreement
                   agreementId="Acme_GlobalChips_Custom_1.0_ORDERS_GenericFile"
                   name="Acme_GlobalChips_Custom_1.0_ORDERS_GenericFile">
                   <SupportedDocumentType docDefName="ORDERS_def"
                        docProtocolName="Custom" docProtocolVersion="1.0"
                        docTypeName="ORDERS">
                        <InitiatingParticipant name="Acme" />
                        <RespondingParticipant name="GlobalChips">
                             <DeliveryChannels>
                                  <DeliveryChannelRef
                                       name="GlobalChips_Custom_GenericFile_Responder" />
                             </DeliveryChannels>
                        </RespondingParticipant>
                        <AgrDocTypeParameterValues>
                             <ParameterValue name="validate" value="true" />
                        </AgrDocTypeParameterValues>
                   </SupportedDocumentType>
              </Agreement>
         </Agreements>
    </SelfService>
    Rgds,
    Nitesh Jain

  • B2B sample

    Hi ,
    I am new to B2B. I need to know some basic info. Is it possible to use a client to send data to a B2B host inbound channel. For example let us say that i want to post a xml through http post to a company. Is this possible, if so how? Have anyone tried this?

    Hi Ramesh,
    Thx for your reply...
    My requirement is to analyse the Oracle B2B capabilities for various document type exchanges. I have one instance of B2B installed. Do i need another instance for the POC. Can you please let me know where to start?

  • Email B2B Encapsulado

    Bom dia pessoal,
    Em nosso ambiente GRC, já temos o envio de email configurado para o B2B. Após uma mudança na política de segurança da empresa, o servidor de email passou a encapsular e reenviar a mensagem original enviada pelo cenário de B2B para poder acrescentar e anexar o texto de confidencialidade de email padrão da empresa.
    A dúvida é se eu tenho como configurar o adapter para permitir que a mensagem aceite que texto seja inserido pelo servidor Exchange diretamente no corpo do email, sem que seja necessário o encapsulamento?   
    Abraços

    Bom dia Migdon,
    Acho que em se fornecendo um body personalizado, como pelo link abaixo, você resolve seu problema:
    Sample code to create email body and XML attachment in an outgoing NFE B2B e-mail communication
    Atenciosamente, Fernando Da Ró

  • B2B adapter is not polling any data from EDI X12 810 ECS file

    Hi All,
    I am new to Oracle B2B. I am using
    Jdev 11.1.1.6
    Oracle Editor :  7.0.5.4016
    Document Protocol : EDI_X12
    Document type : 810 (Invoice )
    Version: 4010
    Weblogic server :11.1.1.6.0
    Requirement is : i had an EDI file and i need to translate the EDI map using the B2B adapter, transport to SOA Suite and insert into a custom DB.
    Issue  is : B2B adapter is not polling any data from EDI X12 810 ECS file
    for this i created sample EDI X12 810 ecs file, i converted the same to .xsd and .dat file. I created partner, and while configuring channel i used '*Generic File 1.0*' protocol and i given folder path( i also checked, by just giving folder Name) in the folder name property of 'Transport Protocol Parameters' , i also placed sample xml file into this folder. And I created sample process in Jdev to poll data from this folder.
    build and deployment is fine for this process, but no instances is created for this process. and the Process is not Polling any data from the folder which i mentioned in the Transport Protocol Parameters.
    is this the way am doing is wrong for my current requirement or am i did any wrong step (as stated above ) ? Please help me. How can i receive data from this EDI file to my bpel process so that i can continue with the rest of the Process. Thank you in advance
    Edited by: 979032 on Feb 12, 2013 11:02 PM
    Edited by: 979032 on Feb 13, 2013 12:14 AM

    Hi Anuj ,
    I placed .dat file now. The file Picked by B2B adapter. But i was getting the Error. The error i found in Business Message as
    "Error Code     B2B-50547
    Error Description     Machine Info: (soabpm-vm) Description: Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND.
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND. "
    But i created agreement for the partner and my document type name is "NewDocumentType" and in the wire message a am getting as shown below
    Id     7F00000113CFC36785C0000017D7E2B0
    Message Id     7F00000113CFC36785C0000017D7E2B0
    Business Message     7F00000113CFC367A450000017D7E2B7
    Packed Message     Packed Message
    Payload     Payload
    Protocol Message Id     EDIX12810.dat@7F00000113CFC36799B0000017D7E2B4
    Refer To Protocol Message Id     
    Protocol Collaboration Id     
    Protocol Transport Binding     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    Message Digest     Message Digest
    Digest Algorithm     
    Transport Protocol     File
    Transport Protocol Version     1.0
    Url     file://localhost//home/oracle/Desktop/B2BFiles/
    security     
    Transport Headers     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    certificates     certificates
    State     ERROR
    Reattempt Count     
    Error Code     
    Error Description     
    Error Text     
    exchangeRetryInterval     
    exchangeRemainingRetry     
    Message Size     2289
    I also has one more doubt, now i created ecs,xsd and .dat by selecting sample EDI file in Document editor. suppose i want create the same ecs ,.xsd and .dat for my gentran file which is of EDI x12 810 standard but i have it in PDF format , then how can i access that to in Document editor ( in the import option, i found Gentran DDF and Gentran Unix IG and i was getting the following error while importing my PDF file
    ErrorCode : 0xC00CE508
    File Position : 10
    Line Number : 2
    LineByte Position :2
    Reason: An invalid character was found in text content error) so that i can create .dat file and i can place the same in my folder in order to pick the file.
    Please help us . Thank you .
    Regards,
    Kotresh
    Edited by: 979032 on Feb 21, 2013 2:17 AM

  • B2B-51507 - Payload Validation Error - while creating  VDA -4913V3

    I created a document definition under Positional Flat file for VDA-> 4913V4. I created ecs file using the Document editor and created the xsd. I used both these files in creating the Document definition. In the document definition, under identification tab, I have these values.
    Identification Value -> empty
    Identification Start Position -> 0
    Identification End Position -> 128
    And I created a Partner Agreement using this Document Definition. I created a channel to send the document to GXS Mailbox.
    In the agreement if I have both Validate and Translate checked on, I am getting an error which is show in the reports->Business Message.
    Error Code B2B-51507
    Error Description Machine Info: (RRDV2SOA) Description: Payload validation error.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Payload validation error.
    If I have only Translate checked on, I am not getting any error, but the message that is sent to GXS is zero bytes.
    If I leave both Validate and translate unchecked, the xml is sent to GXS but not the native Format.
    I took the payload from the business message and validated and it looks correct.
    I am using the sample data that is already validated in the B2B Document Editor using Data Analyzer.
    Can you help me on this. I am not sure what I am doing wrong. If needed I can send you the ecs, xsd, and B2B partner definition export zip file to your email address.
    Here is the logfile for this error.
    [2011-04-06T21:00:41.652-07:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1a33f088] [userId: <anonymous>] [ecid: 0000Iwi7c0MCcpiF_7I7S61DVcAD0051W4,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 4e45f5dff566a29f:-335a9823:12eb62ea520:-7ffd-000000000000008c] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Exit
    [2011-04-06T21:00:41.653-07:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1a33f088] [userId: <anonymous>] [ecid: 0000Iwi7c0MCcpiF_7I7S61DVcAD0051W4,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:-335a9823:12eb62ea520:-7ffd-000000000000008c] Error -: B2B-51507: Payload validation error.: Error -: B2B-51507: Payload validation error.[[
    at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:835)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: Error -: B2B-51507: Payload validation error.
    at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
    ... 11 more
    Error -: B2B-51507: Payload validation error.
    at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -: B2B-51507: Payload validation error.: Error -: B2B-51507: Payload validation error.
    at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:835)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: Error -: B2B-51507: Payload validation error.
    at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
    ... 11 more
    Thank you
    Krishna.

    I selected the option "Save guideline before exporting". I am guessing it is failing on the main element of the xml message because of some namespace issue. I am generating the XML using xsl transformationin BPEL and sending the XML payload to B2B Service.
    Is there a way to know what part of the XML is erroring duing the validation on the server. The error message is not helpful even I turned on Trace 32 level.
    Any ideas?
    Thank you
    Krishna

  • How does B2B in SOA SUite 11g identify sender/receiver of inbound document?

    Hi All,
    I am checking basic B2B features - custom document protocol. I have defined docuement definition, trading partner, agreement, channels as per guide. When I copy (manually) a sample xml payload (complaint to definition xsd and identification expression), it gives error as the sender could not be identified (receiver is taken as the host as I am putting the file over host's listening channel).
    So question is - how does B2B identify sender, receiver and match the incoming message payload to identify the agreement?
    Thanks in advance.
    regards, sibendu

    Hi Sibendu,
    First of all, let me direct you to the right forum, Oracle Integration B2B forum - Integration - B2B
    Now coming to your question,
    how does B2B identify sender, receiver and match the incoming message payload to identify the agreement?For each and every document, exchange and transport protocol there are certain fields (generally message headers) on the basis of which B2B identifies the sender and receiver. As far as identifying the incoming message payload is concerned, in each and every document definition we define some UNIQUE selection criteria to identify a document. For XML documents, it is the X-Path of some node(and/or it's value) and for non-xml documents, it is the start and end position of some element (and/or it's value) in the document.
    You may get faster and better answer in Oracle B2B forum, for the questions related to Oracle B2B (10g/11g).
    Regards,
    Anuj

  • Getting error while importing agreements in b2b console

    Hi ,
    i have downloaded the b2b samples  from  the below location.
    https://java.net/projects/oraclesoasuite11g/pages/B2B
    under artifacts section  b2b agreements present.I am trying to import that agreement ,but getting below error.
    Error -:  B2B-52310:  /soa/b2b/tp_MyCompany.xml:  XML is not well-formed.
    XML-24521: (Error) Element not completed: 'Contacts'

    Hi,
    I would check the following:
    1. That you have the correct CIM model and CR content versions for this content. Try updating your SLD to the latest versions.
    2. Does this component have dependencies with other components? If so you should import them first. You can check if it has in the SLD.
    Good luck!

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • Problem starting sample srver in 8.1

    I get the warnings and errors listed below when I try to start the liquid data
    sample server. I must be missing something in the confiuration but can't find
    anything in the online docs that indicate what's wrong. Also I cannot log into
    the admin console to check the loaded configuration. It appears the usual WLS
    default user is not valid for the liquid data sample server. Any help would be
    appreaciated!
    <18-Nov-2003 12:49:08 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "pbbpool": Cannot find the user "BROA
    DBAND" .>
    <18-Nov-2003 12:49:09 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbbpool" deployment failed with the following error: 0:Could not create pool
    connection. The DBMS driver exception was: Cannot find the user "BROADBAND" ..>
    <18-Nov-2003 12:49:09 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "rtlcustomerp": Cannot find the user
    "RTLCUSTOMER" .>
    <18-Nov-2003 12:49:10 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlcustomerp" deployment failed with the following error: 0:Could not create
    pool connection. The DBMS driver exception was: Cannot find the user "RTLCUSTOM
    ER" ..>
    <18-Nov-2003 12:49:10 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "rtlapplomsp": Cannot find the user
    RTLAPPLOMS" .>
    <18-Nov-2003 12:49:11 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlapplomsp" deployment failed with the following error: 0:Could not create
    pool connection. The DBMS driver exception was: Cannot find the user "RTLAPPLOMS
    " ..>
    <18-Nov-2003 12:49:11 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "pbcpool": Cannot find the user "CRM"
    .>
    <18-Nov-2003 12:49:12 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbcpool" deployment failed with the following error: 0:Could not create pool
    connection. The DBMS driver exception was: Cannot find the user "CRM" ..>
    <18-Nov-2003 12:49:13 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "rtlelecomsp": Cannot find the user
    RTLELECOMS" .>
    <18-Nov-2003 12:49:14 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlelecomsp" deployment failed with the following error: 0:Could not create
    pool connection. The DBMS driver exception was: Cannot find the user "RTLELECOMS
    " ..>
    <18-Nov-2003 12:49:14 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "pbwpool": Cannot find the user "WIRE
    LESS" .>
    <18-Nov-2003 12:49:15 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbwpool" deployment failed with the following error: 0:Could not create pool
    connection. The DBMS driver exception was: Cannot find the user "WIRELESS" ..>
    <18-Nov-2003 12:49:15 o'clock PM AST> <Warning> <JDBC> <BEA-001129> <Received
    ex
    ception while creating connection for pool "rtlservicep": Cannot find the user
    RTLSERVICE" .>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlservicep" deployment failed with the following error: 0:Could not create
    pool connection. The DBMS driver exception was: Cannot find the user "RTLSERVICE
    " ..>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    pbbbds" deployment failed with the following error: DataSource(pbbbds) can't be
    created with non-existent Pool (connection or multi) (pbbpool).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    rtlelecomsds" deployment failed with the following error: DataSource(rtlelecomsd
    s) can't be created with non-existent Pool (connection or multi) (rtlelecomsp).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    pbwlds" deployment failed with the following error: DataSource(pbwlds) can't be
    created with non-existent Pool (connection or multi) (pbwpool).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    rtlserviceds" deployment failed with the following error: DataSource(rtlserviced
    s) can't be created with non-existent Pool (connection or multi) (rtlservicep).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    rtlapplomsds" deployment failed with the following error: DataSource(rtlapplomsd
    s) can't be created with non-existent Pool (connection or multi) (rtlapplomsp).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    rtlcustomerds" deployment failed with the following error: DataSource(rtlcustome
    rds) can't be created with non-existent Pool (connection or multi) (rtlcustomerp
    ).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data Source
    pbcrds" deployment failed with the following error: DataSource(pbcrds) can't be
    created with non-existent Pool (connection or multi) (pbcpool).>
    <18-Nov-2003 12:49:47 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'ldSampleUserDefinedFunctions', class examples.ldi.userDefinedFunc.UserF
    uncHome was loaded from the system classpath. As a result, this class cannot be
    reloaded while the server is running. To prevent this behavior in the future,
    ma
    ke sure the class is not located in the server classpath.>
    <18-Nov-2003 12:49:47 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'ldSampleUserDefinedFunctions', class examples.ldi.userDefinedFunc.UserF
    unc was loaded from the system classpath. As a result, this class cannot be relo
    aded while the server is running. To prevent this behavior in the future, make
    s
    ure the class is not located in the server classpath.>
    <18-Nov-2003 12:49:57 o'clock PM AST> <Warning> <Connector> <BEA-190085> <The
    li
    nkref RAR LDAV_avwlds__Default_Browsing has been marked for late deployment sinc
    e its base has not been deployed.>
    <18-Nov-2003 12:49:59 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'Query', class com.bea.ldi.server.QueryHome was loaded from the system
    c
    lasspath. As a result, this class cannot be reloaded while the server is running
    . To prevent this behavior in the future, make sure the class is not located
    in
    the server classpath.>
    <18-Nov-2003 12:49:59 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'Query', class com.bea.ldi.server.Query was loaded from the system class
    path. As a result, this class cannot be reloaded while the server is running.
    To
    prevent this behavior in the future, make sure the class is not located in the
    server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'QueryBuilderConfiguration', class com.enosysmarkets.ejb.QueryBuilderCon
    figurationHome was loaded from the system classpath. As a result, this class can
    not be reloaded while the server is running. To prevent this behavior in the fut
    ure, make sure the class is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'QueryBuilderConfiguration', class com.enosysmarkets.ejb.QueryBuilderCon
    figuration was loaded from the system classpath. As a result, this class cannot
    be reloaded while the server is running. To prevent this behavior in the future,
    make sure the class is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'Repository', class com.enosysmarkets.ejb.RepositoryHome was loaded from
    the system classpath. As a result, this class cannot be reloaded while the serv
    er is running. To prevent this behavior in the future, make sure the class is
    no
    t located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'Repository', class com.enosysmarkets.ejb.Repository was loaded from the
    system classpath. As a result, this class cannot be reloaded while the server
    i
    s running. To prevent this behavior in the future, make sure the class is not
    lo
    cated in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'CacheRemoteSession', class com.bea.ldi.cache.ejb.CacheRemoteHome was
    lo
    aded from the system classpath. As a result, this class cannot be reloaded while
    the server is running. To prevent this behavior in the future, make sure the
    cl
    ass is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While deploy
    ing EJB 'CacheRemoteSession', class com.bea.ldi.cache.ejb.CacheRemote was loaded
    from the system classpath. As a result, this class cannot be reloaded while the
    server is running. To prevent this behavior in the future, make sure the class
    is not located in the server classpath.>
    [WLI-B2B subsystem:911033]WebLogic Integration - WLI-B2B started successfully.
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    PB
    -WL. The source is discarded... (java.lang.Exception: JNDI path: pbwlds not foun
    d!
    Unable to resolve 'pbwlds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    PB
    -BB. The source is discarded... (java.lang.Exception: JNDI path: pbbbds not foun
    d!
    Unable to resolve 'pbbbds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    RT
    L-CUSTOMER. The source is discarded... (java.lang.Exception: JNDI path: rtlcusto
    merds not found!
    Unable to resolve 'rtlcustomerds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    RT
    L-SERVICE. The source is discarded... (java.lang.Exception: JNDI path: rtlservic
    eds not found!
    Unable to resolve 'rtlserviceds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    RT
    L-APPL-OMS. The source is discarded... (java.lang.Exception: JNDI path: rtlapplo
    msds not found!
    Unable to resolve 'rtlapplomsds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    PB
    -CR. The source is discarded... (java.lang.Exception: JNDI path: pbcrds not foun
    d!
    Unable to resolve 'pbcrds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the source
    RT
    L-ELEC-OMS. The source is discarded... (java.lang.Exception: JNDI path: rtleleco
    msds not found!
    Unable to resolve 'rtlelecomsds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000> <Con
    figuration Error (Stored Procedures) 1-1-17-3: Cannot use Stored Procedures: 'PB
    -WL'. Could not create stored procedures (com.enosysmarkets.exceptions.UserExcep
    tion: Query Execution Error (Stored Procedures) 1-2-6-10: Could not get connecti
    on to 'PB-WL'. (javax.naming.NameNotFoundException: Unable to resolve 'pbwlds'
    R
    esolved ; remaining name 'pbwlds') (javax.naming.NameNotFoundException: Unable
    t
    o resolve 'pbwlds' Resolved ; remaining name 'pbwlds'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:18
    6)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jndi.internal.ServerNamingNode_811_WLStub.lookup(Unknown Sou
    rce)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.enosysmarkets.xmediator.wrappers.storedprocedurewrapper.StoredPro
    cedureProxy.<init>(Unknown Source)
    at com.enosysmarkets.xmediator.wrappers.storedprocedurewrapper.StoredPro
    cedureWrapperFactory.createWrapper(Unknown Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.addFuncti
    onGroup(Unknown Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.<init>(Un
    known Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.getInstan
    ce(Unknown Source)
    at com.enosysmarkets.xmediator.Mediator.initialize(Unknown Source)
    at com.enosysmarkets.xmediator.Mediator.<init>(Unknown Source)
    at com.enosysmarkets.servlet.MediatorInitializationServlet$InitInvocatio
    nAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    144)
    at com.enosysmarkets.servlet.MediatorInitializationServlet.init(Unknown
    Source)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
    etStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
    pl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
    Impl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3154)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
    :654)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java
    :483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
    e.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    ))>

    Thanks Mike!
    Running ldsample gave path errors that I tracked down to JAVA_HOME not being set
    in setenv.cmd in C:\bea\weblogic81\samples\domains\liquiddata\command. When I
    fixed this and reran ldsample everything started up fine.
    The error messages I received running ldsample were not surfaced during installation.
    I had a similar problem with setenv.cmd in C:\bea\weblogic81\liquiddata. That
    produced an error message when I tried to start the server so was easy to find.
    Would be nice to have only one setenv.cmd that everything used!
    For some reason my installation does not pick up JAVA_HOME for configuration though
    I believe I have followed the instrucions.
    I was also able to find, by digging further in the docs, the user/passwords for
    the server console for the liquiddata app and the pointbase console. It would
    be nice if these were more prominant in the "Getting Started" doc.
    Everything is now running. Thanks again,
    Dave
    "Mike Reiche" <mreiche@newsgroup_only.com> wrote:
    >
    >
    Your sample database did not get initialized. You can run the sample
    database
    initialization script (again, shutdown all instances of Pointbase first).
    cd c:\bea\weblogic81\samples\domains\liquiddata\command
    setenv
    ldsample
    If this does not work, please post again.
    - Mike
    "Dave Gray" <[email protected]> wrote:
    I get the warnings and errors listed below when I try to start the liquid
    data
    sample server. I must be missing something in the confiuration but can't
    find
    anything in the online docs that indicate what's wrong. Also I cannot
    log into
    the admin console to check the loaded configuration. It appears theusual
    WLS
    default user is not valid for the liquid data sample server. Any help
    would be
    appreaciated!
    <18-Nov-2003 12:49:08 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "pbbpool": Cannot find the
    user "BROA
    DBAND" .>
    <18-Nov-2003 12:49:09 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbbpool" deployment failed with the following error: 0:Could not
    create pool
    connection. The DBMS driver exception was: Cannot find the user "BROADBAND"
    ..>
    <18-Nov-2003 12:49:09 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "rtlcustomerp": Cannot find
    the user
    "RTLCUSTOMER" .>
    <18-Nov-2003 12:49:10 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlcustomerp" deployment failed with the following error: 0:Could
    not create
    pool connection. The DBMS driver exception was: Cannot find the user
    "RTLCUSTOM
    ER" ..>
    <18-Nov-2003 12:49:10 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "rtlapplomsp": Cannot find
    the user
    RTLAPPLOMS" .>
    <18-Nov-2003 12:49:11 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlapplomsp" deployment failed with the following error: 0:Could
    not create
    pool connection. The DBMS driver exception was: Cannot find the user
    "RTLAPPLOMS
    " ..>
    <18-Nov-2003 12:49:11 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "pbcpool": Cannot find the
    user "CRM"
    .>
    <18-Nov-2003 12:49:12 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbcpool" deployment failed with the following error: 0:Could not
    create pool
    connection. The DBMS driver exception was: Cannot find the user "CRM"
    ..>
    <18-Nov-2003 12:49:13 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "rtlelecomsp": Cannot find
    the user
    RTLELECOMS" .>
    <18-Nov-2003 12:49:14 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlelecomsp" deployment failed with the following error: 0:Could
    not create
    pool connection. The DBMS driver exception was: Cannot find the user
    "RTLELECOMS
    " ..>
    <18-Nov-2003 12:49:14 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "pbwpool": Cannot find the
    user "WIRE
    LESS" .>
    <18-Nov-2003 12:49:15 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "pbwpool" deployment failed with the following error: 0:Could not
    create pool
    connection. The DBMS driver exception was: Cannot find the user "WIRELESS"
    ..>
    <18-Nov-2003 12:49:15 o'clock PM AST> <Warning> <JDBC> <BEA-001129><Received
    ex
    ception while creating connection for pool "rtlservicep": Cannot find
    the user
    RTLSERVICE" .>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001150> <Connection
    Po
    ol "rtlservicep" deployment failed with the following error: 0:Could
    not create
    pool connection. The DBMS driver exception was: Cannot find the user
    "RTLSERVICE
    " ..>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    pbbbds" deployment failed with the following error: DataSource(pbbbds)
    can't be
    created with non-existent Pool (connection or multi) (pbbpool).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    rtlelecomsds" deployment failed with the following error: DataSource(rtlelecomsd
    s) can't be created with non-existent Pool (connection or multi) (rtlelecomsp).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    pbwlds" deployment failed with the following error: DataSource(pbwlds)
    can't be
    created with non-existent Pool (connection or multi) (pbwpool).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    rtlserviceds" deployment failed with the following error: DataSource(rtlserviced
    s) can't be created with non-existent Pool (connection or multi) (rtlservicep).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    rtlapplomsds" deployment failed with the following error: DataSource(rtlapplomsd
    s) can't be created with non-existent Pool (connection or multi) (rtlapplomsp).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    rtlcustomerds" deployment failed with the following error: DataSource(rtlcustome
    rds) can't be created with non-existent Pool (connection or multi) (rtlcustomerp
    ).>
    <18-Nov-2003 12:49:16 o'clock PM AST> <Error> <JDBC> <BEA-001151> <Data
    Source
    pbcrds" deployment failed with the following error: DataSource(pbcrds)
    can't be
    created with non-existent Pool (connection or multi) (pbcpool).>
    <18-Nov-2003 12:49:47 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'ldSampleUserDefinedFunctions', class examples.ldi.userDefinedFunc.UserF
    uncHome was loaded from the system classpath. As a result, this class
    cannot be
    reloaded while the server is running. To prevent this behavior in the
    future,
    ma
    ke sure the class is not located in the server classpath.>
    <18-Nov-2003 12:49:47 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'ldSampleUserDefinedFunctions', class examples.ldi.userDefinedFunc.UserF
    unc was loaded from the system classpath. As a result, this class cannot
    be relo
    aded while the server is running. To prevent this behavior in the future,
    make
    s
    ure the class is not located in the server classpath.>
    <18-Nov-2003 12:49:57 o'clock PM AST> <Warning> <Connector> <BEA-190085>
    <The
    li
    nkref RAR LDAV_avwlds__Default_Browsing has been marked for late deployment
    sinc
    e its base has not been deployed.>
    <18-Nov-2003 12:49:59 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'Query', class com.bea.ldi.server.QueryHome was loaded fromthe
    system
    c
    lasspath. As a result, this class cannot be reloaded while the server
    is running
    . To prevent this behavior in the future, make sure the class is not
    located
    in
    the server classpath.>
    <18-Nov-2003 12:49:59 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'Query', class com.bea.ldi.server.Query was loaded from thesystem
    class
    path. As a result, this class cannot be reloaded while the server is
    running.
    To
    prevent this behavior in the future, make sure the class is not located
    in the
    server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'QueryBuilderConfiguration', class com.enosysmarkets.ejb.QueryBuilderCon
    figurationHome was loaded from the system classpath. As a result, this
    class can
    not be reloaded while the server is running. To prevent this behavior
    in the fut
    ure, make sure the class is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'QueryBuilderConfiguration', class com.enosysmarkets.ejb.QueryBuilderCon
    figuration was loaded from the system classpath. As a result, this class
    cannot
    be reloaded while the server is running. To prevent this behavior in
    the future,
    make sure the class is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'Repository', class com.enosysmarkets.ejb.RepositoryHome was
    loaded from
    the system classpath. As a result, this class cannot be reloaded while
    the serv
    er is running. To prevent this behavior in the future, make sure the
    class is
    no
    t located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'Repository', class com.enosysmarkets.ejb.Repository was loaded
    from the
    system classpath. As a result, this class cannot be reloaded whilethe
    server
    i
    s running. To prevent this behavior in the future, make sure the class
    is not
    lo
    cated in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'CacheRemoteSession', class com.bea.ldi.cache.ejb.CacheRemoteHome
    was
    lo
    aded from the system classpath. As a result, this class cannot be reloaded
    while
    the server is running. To prevent this behavior in the future, make
    sure the
    cl
    ass is not located in the server classpath.>
    <18-Nov-2003 12:50:00 o'clock PM AST> <Warning> <EJB> <BEA-010001> <While
    deploy
    ing EJB 'CacheRemoteSession', class com.bea.ldi.cache.ejb.CacheRemote
    was loaded
    from the system classpath. As a result, this class cannot be reloaded
    while the
    server is running. To prevent this behavior in the future, make sure
    the class
    is not located in the server classpath.>
    [WLI-B2B subsystem:911033]WebLogic Integration - WLI-B2B started successfully.
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    PB
    -WL. The source is discarded... (java.lang.Exception: JNDI path: pbwlds
    not foun
    d!
    Unable to resolve 'pbwlds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    PB
    -BB. The source is discarded... (java.lang.Exception: JNDI path: pbbbds
    not foun
    d!
    Unable to resolve 'pbbbds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    RT
    L-CUSTOMER. The source is discarded... (java.lang.Exception: JNDI path:
    rtlcusto
    merds not found!
    Unable to resolve 'rtlcustomerds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    RT
    L-SERVICE. The source is discarded... (java.lang.Exception: JNDI path:
    rtlservic
    eds not found!
    Unable to resolve 'rtlserviceds' Resolved )>
    <18-Nov-2003 12:50:26 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    RT
    L-APPL-OMS. The source is discarded... (java.lang.Exception: JNDI path:
    rtlapplo
    msds not found!
    Unable to resolve 'rtlapplomsds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    PB
    -CR. The source is discarded... (java.lang.Exception: JNDI path: pbcrds
    not foun
    d!
    Unable to resolve 'pbcrds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Data Sources) 1-1-2-5: Problem with constructing the
    source
    RT
    L-ELEC-OMS. The source is discarded... (java.lang.Exception: JNDI path:
    rtleleco
    msds not found!
    Unable to resolve 'rtlelecomsds' Resolved )>
    <18-Nov-2003 12:50:27 o'clock PM AST> <Error> <Liquid Data Server> <000000>
    <Con
    figuration Error (Stored Procedures) 1-1-17-3: Cannot use Stored Procedures:
    'PB
    -WL'. Could not create stored procedures (com.enosysmarkets.exceptions.UserExcep
    tion: Query Execution Error (Stored Procedures) 1-2-6-10: Could notget
    connecti
    on to 'PB-WL'. (javax.naming.NameNotFoundException: Unable to resolve
    'pbwlds'
    R
    esolved ; remaining name 'pbwlds') (javax.naming.NameNotFoundException:
    Unable
    t
    o resolve 'pbwlds' Resolved ; remaining name 'pbwlds'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:18
    6)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jndi.internal.ServerNamingNode_811_WLStub.lookup(Unknown
    Sou
    rce)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.enosysmarkets.xmediator.wrappers.storedprocedurewrapper.StoredPro
    cedureProxy.<init>(Unknown Source)
    at com.enosysmarkets.xmediator.wrappers.storedprocedurewrapper.StoredPro
    cedureWrapperFactory.createWrapper(Unknown Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.addFuncti
    onGroup(Unknown Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.<init>(Un
    known Source)
    at com.enosysmarkets.xmediator.functionmanager.FunctionManager.getInstan
    ce(Unknown Source)
    at com.enosysmarkets.xmediator.Mediator.initialize(Unknown Source)
    at com.enosysmarkets.xmediator.Mediator.<init>(Unknown Source)
    at com.enosysmarkets.servlet.MediatorInitializationServlet$InitInvocatio
    nAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    144)
    at com.enosysmarkets.servlet.MediatorInitializationServlet.init(Unknown
    Source)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
    etStubImpl.java:1070)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
    pl.java:893)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
    Impl.java:842)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:782)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3154)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
    :654)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java
    :483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
    e.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    ))>

  • Receiving xml file from B2B - assign the data to a variable

    Hi,
    I am receiving an xml file from B2B and assigning the file content to a variable.
    I have a B2B adapter - mediator - bpel process. In the bpel process I am assigning the inputVariable to a userdefinedvarible.
    But I am not getting the value correctly. Only the root tag of the xml is shown as the value for the userdefinedvarible.
    In the composite audit level,
    <process>
    <scope name=main>
    receiveInputreceiveInput
    Sep 17, 2010 9:31:10 AM Received "inputVariable" call from partner "processorder_client"Received "inputVariable" call from partner "processorder_client"
    View XML Document (******* the xml doc shows the complete xml********)
    Assign_1Assign_1
    Sep 17, 2010 9:31:10 AM Updated variable "Order"Updated variable "Order"
    <payload>
    <Order>
    <orders/> (******* the variable shows only the root element********)
    </Order>
    Sep 17, 2010 9:31:10 AM Completed assignCompleted assign
    Sep 17, 2010 9:31:10 AM BPEL process instance "40004" completedBPEL process instance "40004" completed
    I have connected the mediator interface to bpel interface and did not do any other special config? Is that ok?
    Can anyone please tell me the procedure to assign the xml file content from a b2b message to a bpel variable Or direct me to any samples on this?
    I dont understand if the prob is in mediator or assigning? I do see the inputvariable having the complete xml...!!
    Thanks in advance.
    Ganesh

    Hi Ganesh,
    Might be problem with the parts.
    receiveInputreceiveInput
    Sep 17, 2010 9:31:10 AM Received "inputVariable" call from partner "processorder_client"Received "inputVariable" call from partner "processorder_client"
    View XML Document (******* the xml doc shows the complete xml********)Check the part in the xml and part you defined for inputvariable.
    Regards
    PavanKumar.M

Maybe you are looking for