Lookup failed: javax.jnlp.UnavailableServiceException: uninitialized

When U deployed *.war file to App Server and I call JNLP to launch program and display its on Java Web Start. But If i call as below
     System.out.println("Before Step1");
     System.out.println(ServiceManager.getServiceNames());
     basicService = (BasicService)
     ServiceManager.lookup("javax.jnlp.BasicService");
I get message on console
Lookup failed: javax.jnlp.UnavailableServiceException: uninitialized
I can check service where is working?
anyone advice plese?
Thank

I had the same problem and to solve it, I do those 3
steps :
- I copy the file "jnlp.jar" (you can find with the
JDK files) in the folder of my application.
- After you have to put the path of jnlp.jar
(generally
"C:\Java\jdk1.5.0_06\sample\jnlp\servlet\jnlp.jar")
in the CLASSPATH.
- And finally when you create your .jar, you have to
add the file "jnlp.jar" to it...
So I hope it is "quite" clear (if not, don't hesitate
to ask for it) and I hope it will work.
Regards.====================
I had followed the steps defined above.
Even then i am getting same UnavailableServiceException.
regards,
raj

Similar Messages

  • Rectifying javax.jnlp.UnavailableServiceException

    Hi,
    while employing and executing an application,I had faced javax.jnlp.UnavailableServiceException eventhough having of jnlp.jar in Eclipse referenced libraries.Indeed,I don't know why the hack is this.Is there any reason for the same and how to rectifying such issue.Its so helpful if you have any idea on it.
    The following exception :
    Thread [Thread-30] (Suspended (exception javax.jnlp.UnavailableServiceException))     
         javax.jnlp.ServiceManager.lookup(java.lang.String) line: 44     
               Thanks
    Stalin.G

    Hi,even the problem hasn't solved while executing the following code.
    BasicService bs=null;
              try{
                   bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");          
                   System.out.println(bs.getCodeBase().toString());
                 }catch(Exception e){
                      System.out.println("BasicService:"+e.getMessage());
                      e.printStackTrace();}//newly added
                           While executing the above code,the following exception is occuring something like
    BasicService:uninitialized
    javax.jnlp.UnavailableServiceException: uninitialized
         at javax.jnlp.ServiceManager.lookup(ServiceManager.java:44)
         at Service.main(Service.java:19)I don't know whether it is a problem of eclipse or source code level.Indeed,running the application via browser is working fine but using eclipse it is not working.Is there any setup to be considered in eclipse to enable web start?If so how to do such things for the same?
    Could anyone clarify my doubts?
    Thanks,
    Stalin.G

  • JNDI lookup failed:javax.naming.NameNotFoundException

    Hello:
    I have a application (not web) that publish messages to a specific topic, i want to receive these messages in a Web Service, but when the web service make the call to a class that is the JMS Client it can't find the Connection factory Name that i create in the aplication.
    I want to know what i have to do,
    I work with J2EE1.3.1 and JMS1.0.2 for the application that publish the messages
    and Jwsdp1.1, tomcat 4 and j2sdk 1.4.0 for the web service.
    I create the connection factory with this command:
    j2eeadmin -addJmsFactory jms/DurableTopicB topic -props clientID=IdTopicB
    Then in the class that the web service invoke i trying to join with this:
    try {
    jndiContext =new InitialContext();
    }catch (NamingException e){
    System.err.println("Could not create JNDI API "+
    "context:"+e.toString());
    return;
    *Look up connection factory and topic.If either  
    *does not exist,exit.                            
    try {
    topicConnectionFactory =(TopicConnectionFactory)
    jndiContext.lookup(conFacName);
    }catch (NamingException e){                      
    System.err.println("JNDI API lookup failed:"+
    e.toString());
    return;
    //System.exit(1);
    But i receive a error message in the log of Tomcat:
    JNDI API lookup failed:javax.naming.NameNotFoundException: El nombre DurableTopicB no este asociado a este contexto
    Thanks

    Hello:
    I display the full context of the connection factory in the application that publish the message:
    Full context is :
    Enviroment is : {java.naming.corba.orb=com.sun.enterprise.iiop.POAEJBORB@ec4a87}
    And in the web service when i create the initial context the full context is:
    Full context is : java:
    Enviroment is : {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming}
    How can i see the connection factory in the Web Service, because the connection factory was created in other Application?

  • Failed:javax.naming.NameNotFoundException: QueueConnectionFactory

    hi all
    I have the problem how to solve this problem? when i was lookup through jndiname it was error but i declared it in a descriptor.
    Error :
    init:
    deps-jar:
    compile-single:
    run-single:
    Jndi lookup failed:javax.naming.NameNotFoundException: QueueConnectionFactory not found
    Java Result: 1
    BUILD SUCCESSFUL (total time: 4 seconds)
    Here is the code...
    That is Main....
    public static void main(String[] args) {
    Context jndiContext = null;
    ConnectionFactory connectionfactory = null;
    Connection connection = null;
    Session session = null;
    Destination destination = null;
    MessageProducer messageProducer = null;
    TextMessage message = null;
    final int NUM_MSGS = 3;
    try{
    jndiContext = new InitialContext();
    }catch(NamingException ex){
    System.err.println("Could not Create JNDI.");
    System.exit(1);
    try
    connectionfactory = (ConnectionFactory)jndiContext.lookup("jms/QueueConnectionFactory");
    destination = (Queue)jndiContext.lookup("jms/SimpleMessageBean");
    }catch(NamingException e){
    System.err.println("Jndi lookup failed:" + e.toString());
    System.exit(1);
    try{
    connection = connectionfactory.createConnection();
    session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
    messageProducer = session.createProducer(destination);
    message = session.createTextMessage();
    for(int i=0; i < NUM_MSGS; i++){
    message.setText("This is a message " + (i+1));
    System.out.println("Sending message " + message.getText());
    messageProducer.send(message);
    }catch(javax.jms.JMSException e){
    System.err.println("Exception occured: " + e.toString());
    }finally
    if(connection == null){
    try{
    connection.close();
    }catch(JMSException e){                    
    System.exit(0);
    In Message Bean....
    @MessageDriven(activationConfig = {
    @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
    @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue="jms/QueueConnectionFactory")
    public class SimpleMessage implements MessageListener {
    public static final Logger logger = Logger.getLogger("SimpleMessage");
    /** Creates a new instance of SimpleMessage */
    public SimpleMessage() {
    public void onMessage(Message message){
    TextMessage msg = null;
    try{
    if(message instanceof TextMessage)
    msg = (TextMessage)message;
    logger.info("Message Bean: Message Received:" + msg.toString());
    }else{
    logger.warning("Wrong Type:" + msg.getClass().getName());
    }catch(Throwable te){
    te.printStackTrace();
    In descriptor...
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>SimpleMessage</name>
    <ejb>
    <ejb-name>SimpleMessage</ejb-name>
    <mdb-connection-factory>
    <jndi-name>jms/QueueConnectionFactory</jndi-name>
    </mdb-connection-factory>
    </ejb>
    <cmp-resource>
    <jndi-name>jms/SimpleMessage</jndi-name>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thank you for reply..
    Chris

    Connection Factories and Queues are global resources that must be created through either
    the admin console or the asadmin CLI command. Those global resources are then referred to
    by your application code. Please see the JMS portion of the Java EE 5 tutorial :
    http://java.sun.com/javaee/5/docs/tutorial/doc/
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

  • JNDI lookup fails - No such domain/application

    Hi,
    I tried to perform a JNDI lookup from a stand alone Java client towards Oracle 9iAS version 9.0.3 and failed with the following error:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: mindejb; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: mindejb
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:345
         void Samplecom.mind.ejb.stubs.AccountComplexStubClient.main(java.lang.String[])
              AccountComplexStubClient.java:21
    Below, are the JNDI settings I am using. The application by the name mindejb was deployed and is accessible using server side JSP or servlets. When I use a stand alone OC4J, the same settings (different port) work fine!
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://localhost:3101/mindejb
    java.naming.security.principal=admin
    java.naming.security.credentials=admin
    Thanks,
    Avi

    When you are running within an Oracle Application Server managed OC4J environment, then you should use the OPMN protocol loader we have that will insulate you from the specified ORMI port being used by OC4J.
    The OPMN port is fixed so you can always rely on it, whereas the specific ORMI port used by an OC4J instance changes depending on the startup sequence, the number of procs configured, etc.
    Here's a piece from the EJB documentation
    http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b15505/access.htm#i1019709
    Location
    All ports, including the RMI port, are dynamically set by OPMN when each OC4J instance starts. When you specify the following URL in the client JNDI properties, the client-side OC4J retrieves the dynamic ports for the instance, and chooses one from the list for communication.
    java.naming.provider.url= opmn:ormi://<opmn_host>:<opmn_port>:<oc4j_instance>/<application-name>
    The OPMN host name and port number is retrieved from the opmn.xml file. In most cases, OPMN is located on the same machine as the OC4J instance. However, you must specify the host name in case it is located on another machine. The OPMN port number is optional; if excluded, the default is port 6003. The OPMN port is specified in opmn.xml.
    cheers
    -steve-

  • JNDI lookup failing

    I have a small test program that gets a Context to our server and does a
    lookup for an EJB. The lookup fails with the following client-side
    trace...
    javax.naming.CommunicationException. Root exception is
    java.lang.ClassNotFoundException: class
    com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
    previously not found
    at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:181)
    at
    weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
    at
    weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.java:34)
    at
    weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at
    weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.rmi.UnmarshalException: Unmarshalling return
    - with nested exception:
    [java.lang.ClassNotFoundException: class
    com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
    previously not found]
    at
    weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.java:256)
    at
    weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
    at javax.naming.InitialContext.lookup(InitialContext.java:349)
    at
    com.prismadata.appserv.session.series.test.Client.main(Client.java:73)
    However, when I perform the same lookup in a servlet (admittedly running
    in the same JVM) I successfully get the home interface object back.
    Any ideas why ?
    Thanks,
    Gino

    In order to get a reference to you EJB Home interface from JNDI, your
    application has to have an access to the stub of this interface. This stub
    is generated by WL tools when you deploy your EJB. Because your servlet runs
    inside the server's VM, it has an access to this stub by default. So just
    include these stubs in CLASSPATH of your test program and you will see the
    difference.
    kesha
    "Gino Coccia" <[email protected]> wrote in message
    news:[email protected]...
    I have a small test program that gets a Context to our server and does a
    lookup for an EJB. The lookup fails with the following client-side
    trace...
    javax.naming.CommunicationException. Root exception is
    java.lang.ClassNotFoundException: class
    com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
    previously not found
    at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:181)
    at
    weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
    at
    weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
    a:34)
    >
    at
    weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at
    weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.rmi.UnmarshalException: Unmarshalling return
    - with nested exception:
    [java.lang.ClassNotFoundException: class
    com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
    previously not found]
    at
    weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
    a:256)
    >
    at
    weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
    at javax.naming.InitialContext.lookup(InitialContext.java:349)
    at
    com.prismadata.appserv.session.series.test.Client.main(Client.java:73)
    However, when I perform the same lookup in a servlet (admittedly running
    in the same JVM) I successfully get the home interface object back.
    Any ideas why ?
    Thanks,
    Gino

  • Sharing data stored by javax.jnlp.PersistenceService between users

    Application is deployed by Java Web Start. It runs and allows user to store some settings. It stores these settings using javax.jnlp.PersistenceService. Will these settings be available for another user (win account) if this application is run by windows service even before user logon... and it reads the settings values again from the same URL (the key in javax.jnlp.PersistenceService) and exposes it's GUI after user logon where these settings are presented?
    I tried the senario described above and saw that another user even can not see the application in a cache (Java Conrol Panel - Application Cache Viewer)... but run by win service application exposes the settings for all the users as if they are shared.
    Is it correct behaviour or it should not be like that?

    Application is deployed by Java Web Start. It runs and allows user to store some settings. It stores these settings using javax.jnlp.PersistenceService. Will these settings be available for another user (win account) if this application is run by windows service even before user logon... and it reads the settings values again from the same URL (the key in javax.jnlp.PersistenceService) and exposes it's GUI after user logon where these settings are presented?
    I tried the senario described above and saw that another user even can not see the application in a cache (Java Conrol Panel - Application Cache Viewer)... but run by win service application exposes the settings for all the users as if they are shared.
    Is it correct behaviour or it should not be like that?

  • DVM lookup failing in soa 11g (11.1.1.3)

    Hi
    I have a strange problem. my dvm lookup fails in 11g if it does not has exact 1:1 mapping in the DVM. The same code is working in 10g fine.
    In 10g:
    -for '' (null) as source-value the dvm lookup function returns the default value
    orcl:lookup-dvm('LANGUAGECODE','EBIZ','','RETAIL','DEFAULT')_
    -for multiple values for COMMON column returns the correct value 'GB'
    orcl:lookup-dvm('ADDRESSCOUNTRYID','COMMON','United Kingdom','RETAIL','DEFAULT')_
    In 11g(PS2):
    -for '' value the dvm lookup function
    dvm:lookupValue("oramds:/apps/AIAMetaData/dvm/LANGUAGECODE.dvm","EBIZ","","RETAIL","")_
    Error:
    Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMException: *The source column "EBIZ" has already multiple occurences of source value "" in dvm "oramds:/apps/AIAMetaData/dvm/LANGUAGE_CODE.dvm".* Please ensure the source value is unique for a given source column.'.
    -for COMMON multiple values
    _dvm:lookupValue("oramds:/apps/AIAMetaData/dvm/'ADDRESS_COUNTRYID'.dvm","'COMMON'","","RETAIL","")_
    Error:
    Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMException: *The source column "COMMON" has already multiple occurences of source value "United Kingdom" in dvm "oramds:/apps/AIAMetaData/dvm/ADDRESS_COUNTRYID.dvm".* Please ensure the source value is unique for a given source column.'
    Anyone faced this issue?Am i Hitting a bug on ps2?
    Will Qualifiers help in any way?
    -debashis
    Edited by: debashis on 08-Apr-2011 02:53

    Thans for repsonse.
    I understand the duplicate rows dont work in 11g and simply removing it would not make our use case work.
    okay here is my requirement :
    My DVM:
    column A____value
    ============
    1_____________A
    2_____________B
    3_____________C
    1_____________D
    I want to get both the values A,D when provided 1 as search value. But I understand that this is not possible as duplicate rows are not permitted in dvm.
    However I could achieve it using a very slight simple workaround. as below
    Modified the dvm as below
    column A____value
    ============
    1_____________A,D
    2_____________B
    3_____________C
    Now I get A,D and in my code I do the parsing and seperating A and D by using some string functions to individually get A and D.
    Just one compromise to make is -- users entering values in dvm should enter in a specific way ie, A,D,....so on...so that i can use logic accordingly in my code to break them again.
    Hope this helps to any others looking for similar solution.
    Thanks,
    Sridhar.

  • Cache lookup failed

    Dear Experts,
    I am stuck on the error :*' ERROR [HY000] ERROR: fmgr_info: function 0: cache lookup failed'* while calling a stored procedure(SP).
    The function in the SP run successfully but while calling the same SP from call function then it is executing this type of error.
    Please suggest
    Best Regards,
    Manish

    hi guys,
    sorry where to post this issue.But i am trying this in netezza.
    dear p0428,
    my calling function is
    call AEI_OPS_MD_STEP_CHECK_PROC(1,1,1,1)
    and the called function is :
    CREATE OR REPLACE PROCEDURE AEI_OPS_MD_STEP_CHECK_PROC(INTEGER, INTEGER, INTEGER, INTEGER)
    RETURNS integer
    LANGUAGE NZPLSQL AS
    BEGIN_PROC
    DECLARE
    pAPP_ID ALIAS FOR $1;
    pSUB_ID ALIAS FOR $2;
    pJOB_ID ALIAS FOR $3;
    pSTEP_ID ALIAS FOR $4;
    STATUS_CHECK INTEGER;
    BEGIN
    SELECT CASE DSL.PROC_STATUS
    WHEN 0 THEN 0
    WHEN 1 THEN 1
    WHEN 2 THEN 1
    ELSE 3 END
    INTO STATUS_CHECK
    FROM DEVELOPER.AEI_APPLICATION DA
    JOIN DEVELOPER.AEI_SUBJECT_AREA DSA
    ON DA.APPLICATION_ID = DSA.APPLICATION_ID
    AND DA.APPLICATION_ID = pAPP_ID
    AND DSA.SUBJECT_AREA_ID = pSUB_ID
    JOIN DEVELOPER.AEI_JOB DJ
    ON DSA.APPLICATION_ID = DJ.APPLICATION_ID
    AND DSA.SUBJECT_AREA_ID = DJ.SUBJECT_AREA_ID
    AND DJ.JOB_ID = pJOB_ID
    JOIN DEVELOPER.AEI_STEP DS
    ON DJ.APPLICATION_ID = DS.APPLICATION_ID
    AND DJ.SUBJECT_AREA_ID = DS.SUBJECT_AREA_ID
    AND DJ.JOB_ID = DS.JOB_ID
    AND DS.STEP_ID = pSTEP_ID
    LEFT OUTER JOIN DEVELOPER.AEI_STEP_LOG DSL
    ON DS.APPLICATION_ID = DSL.APPLICATION_ID
    AND DS.SUBJECT_AREA_ID = DSL.SUBJECT_AREA_ID
    AND DS.JOB_ID = DSL.JOB_ID
    AND DS.STEP_ID = DSL.STEP_ID
    AND DA.CURRENT_LOG_ID = DSL.LOG_ID
    Return 1;
    END;
    END_PROC;
    where DA,DSA,DJ,DSL are the tables
    Help is hugely appreciable
    manish

  • Agreement lookup failed as From trading partner cannot be identified

    Hi,
    I am working on custom document over HTTPS.
    I configured B2B to send custom document over Generic Exchange(transport - HTTPS).
    I enqueue the XML document with AQ header to IP_OUT_QUEUE. B2B is able to read the data from IP_OUT_QUEUE and invokes the client Webapplication.
    I changed the IP_OUT_QUEUE to custom AQ. B2B is able to read data from custom AQ, but B2B throws "Trading partner agreement lookup failed as From trading partner cannot be identified"
    b2b.log:
    2010.02.15 at 13:03:44:470: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2010.02.15 at 13:03:44:471: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2010.02.15 at 13:03:44:497: Thread-22: B2B - (DEBUG)
    Protocol = AQ
    Version = null
    Transport Header
    aq.receiver.expiration:-1
    aq.receiver.delay:0
    aq.receiver.priority:1
    aq.receiver.correlation:b2buser
    2010.02.15 at 13:03:44:881: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
    2010.02.15 at 13:03:44:907: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned on, will listen on IP_OUT_QUEUE for messages
    2010.02.15 at 13:03:44:921: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
    2010.02.15 at 13:03:45:069: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppInterfaceListener:onMessage calling processOutgoingMessage
    2010.02.15 at 13:03:45:069: Thread-22: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Enter
    2010.02.15 at 13:03:45:070: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.02.15 at 13:03:45:070: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.02.15 at 13:03:45:071: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.02.15 at 13:03:45:076: Thread-22: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage To TP Namenull
    2010.02.15 at 13:03:45:078: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage From TP Namenull
    2010.02.15 at 13:03:45:078: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage business action name: null
    2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage doctype name: null
    2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage doctype revision: null
    2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage AppMsgIdnull
    2010.02.15 at 13:03:45:094: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage ipmsg.get_MSG_TYPE = 1
    2010.02.15 at 13:03:45:095: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: null Type: null Value: null to TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:095: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2B Message ID is 0A4DBD67126D1BA2FC700000136A1AD0
    2010.02.15 at 13:03:45:099: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage RefTo B2B Message ID is null
    2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage isSignalMsg() == false; call outgoingTPA
    2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processOutgoingTPA() Begin TPA Processing..
    2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (before calling processParty) :
    initial : null
    from : TPName: null Type: null Value: null
    to : TPName: null Type: null Value: null
    final : null
    initiating : TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:101: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() direction is outgoing
    2010.02.15 at 13:03:45:102: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() calling processparty with : TPName: null Type: null Value: null
    2010.02.15 at 13:03:45:102: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:processParty() Begin..
    2010.02.15 at 13:03:45:112: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() after calling processparty with : TPName: Acme Type: null Value: null
    2010.02.15 at 13:03:45:112: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (after calling processParty):
    initial : null
    from : TPName: Acme Type: null Value: null
    to : TPName: null Type: null Value: null
    final : null
    initiating : TPName: Acme Type: null Value: null
    2010.02.15 at 13:03:45:113: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() docTypeName: null docTypeRevision: null
    2010.02.15 at 13:03:45:118: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() actionName: null actionRevision: null
    2010.02.15 at 13:03:45:119: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() Set actionRevision in MessageInfo: null
    2010.02.15 at 13:03:45:119: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() Obtain DocType using actionName and actionRevision.
    2010.02.15 at 13:03:45:124: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:getCollaborationDetails() Begin.. Activity Name : null Activity Version: null
    2010.02.15 at 13:03:45:125: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() eventName:<null>
    2010.02.15 at 13:03:45:125: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() messageType:1
    2010.02.15 at 13:03:45:126: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: Acme Type: null Value: null to TPName: Acme Type: null Value: null
    2010.02.15 at 13:03:45:127: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() cpaID=null
    2010.02.15 at 13:03:45:127: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2010.02.15 at 13:03:45:128: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2010.02.15 at 13:03:45:128: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA() Begin..
    2010.02.15 at 13:03:45:129: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA()
    From Party -> null-null-Acme-null To Party -> null-null-null-null Business Action name -> null
    2010.02.15 at 13:03:45:130: Thread-22: B2B - (ERROR) Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
    2010.02.15 at 13:03:45:131: Thread-22: B2B - (ERROR) Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
    2010.02.15 at 13:03:45:131: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2010.02.15 at 13:03:45:132: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
    2010.02.15 at 13:03:45:132: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2010.02.15 at 13:03:45:209: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2010.02.15 at 13:03:45:211: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2010.02.15 at 13:03:45:212: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2010.02.15 at 13:03:45:353: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name null
    2010.02.15 at 13:03:45:354: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
    2010.02.15 at 13:03:45:367: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name null null
    2010.02.15 at 13:03:45:397: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2010.02.15 at 13:03:45:398: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2010.02.15 at 13:03:45:471: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2010.02.15 at 13:03:45:472: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
    2010.02.15 at 13:03:45:472: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2010.02.15 at 13:03:45:476: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
    2010.02.15 at 13:03:45:477: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
    2010.02.15 at 13:03:45:477: Thread-22: B2B - (DEBUG) Engine:notifyApp Enter
    2010.02.15 at 13:03:45:485: Thread-22: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>0A4DBD67126D1BA2FC700000136A1AD0</b2bMessageId>
    <errorCode>AIP-50548</errorCode>
    <errorText>Trading partner agreement lookup failed as From trading partner cannot be identified</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (dgda21a)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -:  AIP-50548:  Trading partner agreement lookup failed as From trading partner cannot be identified
            at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
            at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
            at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
            at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
            at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
            at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
            at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
      ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2010.02.15 at 13:03:45:512: Thread-22: B2B - (DEBUG) Engine:notifyApp Exit
    2010.02.15 at 13:03:45:513: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
    2010.02.15 at 13:03:45:513: Thread-22: B2B - (DEBUG) DBContext commit: Enter
    2010.02.15 at 13:03:45:516: Thread-22: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2010.02.15 at 13:03:45:516: Thread-22: B2B - (DEBUG) DBContext commit: Leave
    Kindly help me to resolve this issue.

    hi Anuj,
    I am enqueuing from BPEL process. I have set the AQ header.
    <b2bMsgHeader><Header xmlns="http://xmlns.oracle.com/pcbpel/adapter/aq/publishB2BMessage/">
    <QueueHeader/>
    <PayloadHeader>
    <MSG_ID xmlns="">2SY16SY_TEST_FEB15_07E01null2010021513270041</MSG_ID>
    <INREPLYTO_MSG_ID xmlns=""/>
    <FROM_PARTY xmlns="">Acme</FROM_PARTY>
    <TO_PARTY xmlns="">GlobalChips</TO_PARTY>
    <ACTION_NAME xmlns="">ProcessBusiness</ACTION_NAME>
    <DOCTYPE_NAME xmlns="">DocType</DOCTYPE_NAME>
    <DOCTYPE_REVISION xmlns="">1.0</DOCTYPE_REVISION>
    <MSG_TYPE xmlns="">1</MSG_TYPE>
    <PAYLOAD xmlns="">XML payload</PAYLOAD>
    <ATTACHMENT xmlns=""/>
    </PayloadHeader>
    </Header>
    </b2bMsgHeader>

  • Trading partner agreement lookup failed as From trading partner cannot be i

    Hi,
    I am sending 850 EDI XML to our Penske trading partner, Its throwing below error. Could anyone helpme how to resolve this issue. Please do the needful.
    our sender id is EMR and receiver id is Penske( I am also attaching a file which i am processing)
    Machine Info: (essapt020-u009.emrsn.com)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
         at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    File which i processed
    <?xml version="1.0" ?>
    - <Transaction-850 xmlns="urn:oracle:integration:b2b:BD5A9C92A91F474292233E610E5258F9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2009-09-14T06:20:48" CreatedBy="ECXEngine_837" GUID="{3A6795B0-F6A0-DE11-B354-00144F86C7D4}">
    - <Internal-Properties>
    - <Data-Structure Name="Interchange">
    <Lookup Name="InterchangeSenderQual">ZZ</Lookup>
    <Lookup Name="InterchangeSenderID">EMR</Lookup>
    <Lookup Name="InterchangeReceiverQual">ZZ</Lookup>
    <Lookup Name="InterchangeReceiverID">Penske</Lookup>
    <Lookup Name="InterchangeControlVersion">00401</Lookup>
    <Lookup Name="Standard">X12</Lookup>
    <Property Name="InterchangeAuthorizationInfoQual">00</Property>
    <Property Name="InterchangeAuthorizationInfo" />
    <Property Name="InterchangeSecurityInfoQual">00</Property>
    <Property Name="InterchangeSecurityInfo" />
    <Property Name="InterchangeSenderQual">ZZ</Property>
    <Property Name="InterchangeSenderID">EMR</Property>
    <Property Name="InterchangeReceiverQual">ZZ</Property>
    <Property Name="InterchangeReceiverID">Penske</Property>
    <Property Name="InterchangeDate">090909</Property>
    <Property Name="InterchangeTime">1419</Property>
    <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property>
    <Property Name="InterchangeControlVersion">00401</Property>
    <Property Name="InterchangeControlNumber">000085390</Property>
    <Property Name="InterchangeAckRequested">0</Property>
    <Property Name="InterchangeUsageIndicator">P</Property>
    <Property Name="InterchangeComponentElementSep">0x3e</Property>
    <Property Name="DecimalSeparator" />
    <Property Name="ElementDelimiter">0x2a</Property>
    <Property Name="ReleaseCharacter" />
    <Property Name="RepeatingSeparator" />
    <Property Name="SegmentDelimiter">0x7e</Property>
    <Property Name="SubelementDelimiter">0x3e</Property>
    <Property Name="InterchangeChildCount">1</Property>
    <Property Name="InterchangeTrailerControlNumber">000085390</Property>
    - <Data-Structure Name="Group">
    <Lookup Name="GroupSenderID">EMR</Lookup>
    <Lookup Name="GroupReceiverID">Penske</Lookup>
    <Lookup Name="GroupVersionNumber">004010</Lookup>
    <Property Name="GroupID">PO</Property>
    <Property Name="GroupSenderID">EMR</Property>
    <Property Name="GroupReceiverID">Penske</Property>
    <Property Name="GroupDate">20090909</Property>
    <Property Name="GroupTime">1419</Property>
    <Property Name="GroupControlNumber">85364</Property>
    <Property Name="GroupAgencyCode">X</Property>
    <Property Name="GroupVersionNumber">004010</Property>
    <Property Name="GroupChildCount">1</Property>
    <Property Name="GroupTrailerControlNumber">85364</Property>
    - <Data-Structure Name="Transaction">
    <Lookup Name="TransactionID">850</Lookup>
    <Property Name="TransactionID">850</Property>
    <Property Name="TransactionControlNumber">0001</Property>
    <Property Name="TransactionImplementationReference" />
    <Property Name="TransactionChildCount">24</Property>
    <Property Name="TransactionTrailerControlNumber">0001</Property>
    </Data-Structure>
    </Data-Structure>
    </Data-Structure>
    </Internal-Properties>
    - <Segment-ST>
    <Element-143>850</Element-143>
    <Element-329>0001</Element-329>
    </Segment-ST>
    - <Segment-BEG>
    <Element-353>00</Element-353>
    <Element-92>SA</Element-92>
    <Element-324>16010055985</Element-324>
    <Element-328 xsi:nil="true" />
    <Element-373>20090909</Element-373>
    <Element-367 xsi:nil="true" />
    <Element-587>AC</Element-587>
    <Element-1019 xsi:nil="true" />
    <Element-1166 xsi:nil="true" />
    <Element-1232 xsi:nil="true" />
    <Element-786>03</Element-786>
    </Segment-BEG>
    - <Segment-CUR>
    <Element-98>2L</Element-98>
    <Element-100>USD</Element-100>
    </Segment-CUR>
    - <Segment-REF>
    <Element-128>06</Element-128>
    <Element-127 xsi:nil="true" />
    <Element-352>ALICE.EMRSN.COM:oracle.apps.po.event.xmlpo:458153-325924</Element-352>
    </Segment-REF>
    - <Segment-FOB>
    <Element-146>CC</Element-146>
    <Element-309>ZZ</Element-309>
    <Element-352>UCC FOB DEST COL</Element-352>
    <Element-334 xsi:nil="true" />
    <Element-335 xsi:nil="true" />
    <Element-309_1>ZZ</Element-309_1>
    <Element-352_1>FOB Shipping Point</Element-352_1>
    </Segment-FOB>
    - <Segment-ITD>
    <Element-336 xsi:nil="true" />
    <Element-333 xsi:nil="true" />
    <Element-338 xsi:nil="true" />
    <Element-370 xsi:nil="true" />
    <Element-351 xsi:nil="true" />
    <Element-446 xsi:nil="true" />
    <Element-386 xsi:nil="true" />
    <Element-362 xsi:nil="true" />
    <Element-388 xsi:nil="true" />
    <Element-389 xsi:nil="true" />
    <Element-342 xsi:nil="true" />
    <Element-352>NET75 EOM</Element-352>
    </Segment-ITD>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>VN</Element-98>
    <Element-93>XPEDX</Element-93>
    <Element-66>US</Element-66>
    <Element-67>160000511</Element-67>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>2099 CORPORATE 44 DRIVE</Element-166>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>FENTON</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63026</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>BT</Element-98>
    <Element-93>EMC OU CIM</Element-93>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>Emerson Motor Company,</Element-166>
    <Element-166_1>a Division of Emerson Electric Co. PO BOX 4147</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Saint Louis</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63136</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>SO</Element-98>
    <Element-93>EMC OU CIM</Element-93>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>8100 West Florissant Ave</Element-166>
    <Element-166_1>PO Box 3946</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Saint Louis</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63136</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>CA</Element-98>
    <Element-93>SEE EMERSON ROUTING</Element-93>
    </Segment-N1>
    </Loop-N1>
    - <Loop-PO1>
    - <Segment-PO1>
    <Element-350>1</Element-350>
    <Element-330>4800</Element-330>
    <Element-355_1>EA</Element-355_1>
    <Element-212>116</Element-212>
    <Element-639 xsi:nil="true" />
    <Element-235_1 xsi:nil="true" />
    <Element-234_1 xsi:nil="true" />
    <Element-235_2>SW</Element-235_2>
    <Element-234_2>P062155530000</Element-234_2>
    </Segment-PO1>
    - <Loop-PID>
    - <Segment-PID>
    <Element-349>F</Element-349>
    <Element-750 xsi:nil="true" />
    <Element-559 xsi:nil="true" />
    <Element-751 xsi:nil="true" />
    <Element-352>PAD (BOX)</Element-352>
    </Segment-PID>
    </Loop-PID>
    - <Loop-N1_2>
    - <Segment-N1>
    <Element-98>ST</Element-98>
    <Element-93>CIM IO Plant CMD</Element-93>
    <Element-66>FA</Element-66>
    <Element-67>INTERNALC01</Element-67>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>Boul Carlos Salinas de Gortari</Element-166>
    <Element-166_1>Kilometro 9.7</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Apodaca</Element-19>
    <Element-156>NL</Element-156>
    <Element-116>66600</Element-116>
    <Element-26>MX</Element-26>
    </Segment-N4>
    - <Segment-SCH>
    <Element-380_2>4800</Element-380_2>
    <Element-355>EA</Element-355>
    <Element-98_1 xsi:nil="true" />
    <Element-93 xsi:nil="true" />
    <Element-374_5>112</Element-374_5>
    <Element-373>20090910</Element-373>
    <Element-337 xsi:nil="true" />
    <Element-374 xsi:nil="true" />
    <Element-373_1 xsi:nil="true" />
    <Element-337_1 xsi:nil="true" />
    <Element-326 xsi:nil="true" />
    <Element-350>1</Element-350>
    </Segment-SCH>
    </Loop-N1_2>
    </Loop-PO1>
    - <Loop-CTT>
    - <Segment-CTT>
    <Element-354>1</Element-354>
    </Segment-CTT>
    </Loop-CTT>
    - <Segment-SE>
    <Element-96>24</Element-96>
    <Element-329>0001</Element-329>
    </Segment-SE>
    </Transaction-850>

    Hi Srinivas,
    I am in dilemaaa whether i need to take a EDI x12 over internet and EDI x12 over genric exchange.I think this is something which you should discuss with your TP and as per the availability and requirement a decision should be made.
    If you are using FTP protocol in internal delivery channel, then you need to follow the file naming convention to provide B2B required information to identify the TP and transaction. For this please refer -
    http://www.b2bgurus.com/search/label/Generic%20File
    To know more about TP identification in EDI, please refer -
    http://www.b2bgurus.com/2007/08/trading-partner-identification-in-edi.html
    Regards,
    Anuj

  • Trading partner agreement lookup failed as From trading partner cannotbeide

    Machine Info: (essapt020-u009.emrsn.com)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
         at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    I am getting an above error, while procssing data to our trading partner
    regards
    srinivas

    Hi Srinivas,
    I think you have one more thread opened for the same -
    Trading partner agreement lookup failed as From trading partner cannot be i
    Anyways, as I mentioned earlier in above thread, please follow proper file naming convention to allow B2B to identify the Trading Partner.
    Regards,
    Anuj

  • Oracle10g AppSer..Lookup error: javax.naming.AuthenticationException

    Please help ..
    I have a working EAR on weblogic app server and deployed it on oracle 10g app server release 2 .. the application is developed in struts .. the following error is shown on the console ..
    06/09/22 10:34:28 Start process
    06/09/22 10:34:37 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    06/09/22 10:34:37 log4j:WARN Please initialize the log4j system properly.
    06/09/22 10:34:43 INSIDE GET PROPERTY METHOD value for property= org.jnp.interfaces.NamingContextFactory
    06/09/22 10:34:43 INSIDE GET PROPERTY METHOD value for property= localhost:1099
    06/09/22 10:34:43 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    06/09/22 11:04:57 ************Inside eCreditSessionListenerClass Session Created: 0
    22 Sep 2006 11:04:57,352 INFO com.ecredit.login.struts.LoginAction - inside getBeanObjec
    22 Sep 2006 11:04:57,384 INFO com.ecredit.login.struts.LoginAction - inside getBeanObjec------>Login
    22 Sep 2006 11:04:57,399 INFO com.ecredit.login.struts.LoginAction - Exception occured in Throwable Action Classjavax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default () [Root exception is javax.naming.AuthenticationException: Invalid username/password for default ()]
    22 Sep 2006 11:04:57,399 INFO com.ecredit.login.struts.LoginAction - after getBeanObjec
    22 Sep 2006 11:04:57,399 INFO com.ecredit.login.struts.LoginAction - after home
    22 Sep 2006 11:04:57,399 INFO com.ecredit.login.struts.LoginAction - Exception occured in Throwable Action Classjava.lang.NullPointerException
    22 Sep 2006 11:04:57,415 DEBUG org.apache.struts.action.RequestProcessor - processForwardConfig(ForwardConfig[name=null,path=null,redirect=false,contextRelative=false,module=null])
    The code snippet where this error probably occurred is >>>>
         private Object getBeanObject(String beanName)
              Object objref = null;
              try
                   System.out.println("inside getBeanObjec");
                   Properties props= new Properties();
                   props.put(Context.INITIAL_CONTEXT_FACTORY, initial_context_factory);
                   props.put(Context.PROVIDER_URL,provider_url);
                   Context initCtx=new InitialContext(props);
                   System.out.println("inside getBeanObjec------>" +beanName);
                   objref=initCtx.lookup(beanName);
              catch(Exception e)
                   e.printStackTrace();
              return objref;
    At the line >>>>>>>>
    objref=initCtx.lookup(beanName);
    Please help me to get rid of this ......
    Thanks in advance
    Gurpreet Singh

    Hi
    private Object getBeanObject(String beanName)
    Object objref = null;
    try
    System.out.println("inside getBeanObjec");
    Context initCtx=new InitialContext();
    System.out.println("inside getBeanObjec------>" +beanName);
    objref=initCtx.lookup(beanName);
    catch(Exception e)
    e.printStackTrace();
    return objref;
    try this pleace
    Asanka Priyanjith

  • Package javax.jnlp does not exist

    I have the following code inmy class file
    public class ExtensionInstallerService implements javax.jnlp.ExtensionInstallerService {
    protected ExtensionInstallerService() {
    But I am getting the error message package javax.jnlp does not exist
    Is this anything to do with the installation of Java Web Start.Should I try re-installing?

    javax.jnlp is in jnlp.jar (see the developers bundle at :
    http://java.sun.com/products/javawebstart/download-jnlp.html)
    you need to include jnlp.jar in your classpath to use the jnlp api's. At runtime when running under Java Web Start these packages are exist in javaws.jar.
    /Dietz

Maybe you are looking for

  • Maint. provision in Billing

    Dear All, Our customer have special requirement for maintain Maint. provision at the billing document level. And accounting entries as per below, I tried with creation of new condition type and Accounting key but it's not working. If possible, please

  • Can't print in Windows XP with Java 1.4.1

    I can't print in Java 1.4.1. When I call printDialog() nothing happens. I'm using Windows XP and network printers. It works in 1.3.x. The wierd thing is, if I remove all printers in the Control Panel and then try printing from Java, I get asked if I

  • IPad won't restore and white writing?!?

    Hello everyone hopefully someone can help me. One day my iPad ran out of charge. So the next day I tried charging it up and white writing appeared on the screen now I have tried restoring it and it's stuck in loop I get error code 4013 but I know my

  • Count field

    I have an internal table and is interesting in information in one field. I want to know how many different values there are in one field. How can I do this?

  • Can't browse songs in iTunes

    Hi When I go onto the iTunes store, I can do everything on it except Browse for songs. When I click on the link in the top-right corner most of the time it does nothing. Sometimes I can get onto it, but when I click on the Music, Podcast, etc links,