Error writing to JMS queue

I am trying to write to a JMS queue using the following cod:
Hashtable rmiEnvironment = new Hashtable();
rmiEnvironment.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
rmiEnvironment.put(Context.SECURITY_PRINCIPAL, "admin"); // username
rmiEnvironment.put(Context.SECURITY_CREDENTIALS, "welcome"); // pwd
rmiEnvironment.put(Context.PROVIDER_URL,"ormi://10.10.50.50:9127/APP");
Context ctx = new InitialContext(rmiEnvironment);
QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory)ctx.lookup("jms/APP_QueueConnectionFactory");
The last line throws this exception:
javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested exception is:
     java.io.EOFException: Disconnected [Root exception is java.io.EOFException: Disconnected]
     at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:176)
     at javax.naming.InitialContext.lookup(InitialContext.java:347)
     at tests.TestJms.main(TestJms.java:35)
Caused by: java.io.EOFException: Disconnected
     at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2507)
     at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2355)
     at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1782)
     at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:686)
     at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:157)
     ... 2 more
On the server side (OC4J standalone), in jms.log the following is printed:
javax.jms.JMSException: [PROTOCOL ERROR] JMSRequestHandler[5:testsrv:46202]: "JMS protocol" error, expected "-559,038,735", got "-485,684,723".
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1909)
at com.evermind.server.jms.JMSRequestHandler.readCheck(JMSRequestHandler.java:272)
at com.evermind.server.jms.JMSRequestHandler.protocol(JMSRequestHandler.java:282)
at com.evermind.server.jms.JMSRequestHandler.run(JMSRequestHandler.java:124)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

For the record, if you want to run that sample code:
http://www.oracle.com/technology/sample_code/tech/java/jms/index.html
edit the classpath section of build.xml (provided with sample) as follows:
<!--Set the classpath-->
<path id="classpath">
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/jms.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/jndi.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/oc4jclient.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/javax77.jar"/>
     <pathelement location="${OC4J_HOME}/lib/dms.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/bcel.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/oc4j-api.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/oc4j.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/oc4j-internal.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/oc4jclient.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/rmic.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/adminclient.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/connector.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/jmxri.jar"/>
     <pathelement location="${OC4J_HOME}/j2ee/home/lib/jta.jar"/>
     <pathelement location="${OC4J_HOME}/opmn/lib/optic.jar"/>
</path>
(class packaging has changed since this sample was written. Note that the above is really a superset of classes you would need for that simple example).

Similar Messages

  • Process not writing to JMS queue with non-xa data source

    I have a process reading from a JMS-AQ with non XA, but it does not seem to be performing a commit and writing to the queue. If I use XA all the way ut works, but I don't get the desired error handling which I have built. Anything obvious I am missing? 11.1.1.5 SOA

    Hi,
    Under Weblogic JDBC Datasources select the datasource and then select Transaction tab there you can find Use XA datasource interface.
    and In DB adapter ... go to Configuration Tab ---Outbound Connection Pool--- Unhide the pool group -Select JNDI name ( e.g eis/DB/local ) ---enter the JDBC datasource created earlier in weblogic JDBC datasource against xADataSourceName..
    Now Click on Transaction tab & select Transaction Support: as XA Transaction .
    Regards,
    Abhinav Gupta

  • Writing to JMS-queue of another container

    Hi,
    is it possible to enqueue/dequeue messages to a jms-queue in another OC4J on the same application server?
    I can specify the connection factory of OC4J-1 in a java bean, which lives in OC4J-2 but, the bean does not recognize this connection factory. If i specify a connection factory of OC4J-2 everything is fine...
    Are there some flags to specify the container?

    You can add host/port attributes to the connection factory definition in OC4J-2 -- make them point to the JMS server in OC4J-1.
    Note that the queue will need to be declared (with exactly the same name attribute value) on both OC4J-1 and OC4J-2.
    -Jeff

  • Error While accessing JMS Queue on Weblogic***** ASSERTION FAILED *****[ Environment not found on thread ]

    Hi,
    I am trying to read response from JMS Queue hosted on Weblogic server and getting below exception. Any help on this will be appreciable.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]
          at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:148)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
          at java.lang.Class.newInstance0(Class.java:308)
          at java.lang.Class.newInstance(Class.java:261)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:90)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:356)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
          at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:95)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:425)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
          at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
          at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at weblogic.jms.dispatcher.DispatcherImpl_1035_WLStub.dispatchSyncNoTranFuture(Unknown Source)
          at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:341)
          at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1735)
          at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:1296)
    Thanks

    Hi,
    I am trying to read Queue standalone. Please find the code snippet below.  code highlighted in  where i am getting exception.
    public static void main(String[] args) {
    String jmsServerUrl = "t3://10.51.245.45:5858";
    String jmsUserName = "weblogic";
    String jmsPassword = "welcome123";
    String jndiFactory = "weblogic.jndi.WLInitialContextFactory";
    String jmsFactory = "jms/CBCMReplyConnectionFactory";
    String qName = "jms/CBCMOrderReplyQueue";
    QueueReceiver qReciever = null;
    JMSQueueReader.getQueueSession(jmsServerUrl,jmsUserName,jmsPassword,jndiFactory,jmsFactory);
    qReciever = JMSQueueReader.getQueueReceiver(qName);
    if (qReciever == null) {
    System.out.println("Unable to find JMS Queue Reciever for Queue Name: "
    + qName + " and JMS Server URL:"
    + jmsServerUrl);
    //isProcess = false;
    private static InitialContext getInitialContext(String url, String userName, String password,  String jndiFactory) throws NamingException {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
    env.put(Context.PROVIDER_URL, url);
    env.put(Context.SECURITY_PRINCIPAL, userName);
    env.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(env);
    public static QueueReceiver getQueueReceiver(String qName) {
    try {
    if(qReceiver == null || !qName.equals(queueName))
    queueName = qName;
    if(qReceiver != null)
    qReceiver.close();
    qReceiver = null;
    javax.jms.Queue queue = qSession.createQueue(queueName);
    //qReceiver = qSession.createReceiver(queue);
    qReceiver = qSession.createReceiver(queue, "JMSCorrelationID LIKE '"+SOHConstant.CBCM_BSCS_CORRELATION_ID_PREFIX+"%'");
                } catch (Throwable e) {
    e.printStackTrace();
    return qReceiver;

  • Errors with PTP JMS queue

    here the command from the c prompt and the message I get
    C:\JAVA>java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQue
    ueSender MyQueue 3
    Queue name is MyQueue
    ERROR! Shared library ioser12 could not be found.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadClass at com.sun.corba.ee.internal.util.JDKClassLoader.specialLoadClass(Native
    Method)
    at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade
    r.java:58)
    at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18
    0)
    at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
    at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.loadClass(Util.java:37
    8)
    at javax.rmi.CORBA.Util.loadClass(Unknown Source)
    at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(Unknown Sour
    ce)
    at javax.rmi.PortableRemoteObject.<clinit>(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:57)
    at com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
    at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(
    SerialInitContextFactory.java:54)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at SimpleQueueSender.main(SimpleQueueSender.java:40)

    There is a DLL file located in the nativelib directory of the J2EE installation directory called ioser12.dll. That file needs to be placed in a directory in the library path (e.g., the windows system directory) or the nativelib directory needs to be added to the PATH (I'd choose the latter). I suspect you are running Win95 as WinNT environments don't need to take that extra step of adding the nativelib directory to the PATH.

  • Error while sending the messages to JMS Queue

    Hi ,
    I am trying to pick the file from JMS Queue and send the response xml as outbound message to JMS Queue again using XAI Sender
    I Created XAI Sender, Outbound Message Type(DM-RCVRESP) and configured these two with External System.
    I am able to pick the file from JMS Queue but unable to send the message through XAI Sender (Real-time)
    Plz find below the error trace getting.
    [Wed Jun 15 16:12:09 IST 2011] Error while processing sender "UPLOADSTG" : Unable to update response in staging table: Row id not given.
    com.splwg.mpl.sending.SameThreadSendingManager$ProcessException
         at com.splwg.mpl.sending.SameThreadSendingManager.processDestination(SameThreadSendingManager.java:341)
         at com.splwg.mpl.sending.SameThreadSendingManager.sendResponse(SameThreadSendingManager.java:293)
         at com.splwg.mpl.sending.SameThreadSendingManager.doSend(SameThreadSendingManager.java:249)
         at com.splwg.mpl.server.async.ExecSendRequestProcessor.ProcessRequest(ExecSendRequestProcessor.java:61)
         at com.splwg.mpl.server.async.RequestProcessingThreadAdapter.run(RequestProcessingThreadAdapter.java:46)
         at com.splwg.mpl.server.PooledThread.run(PooledThread.java:91)
         at java.lang.Thread.run(Thread.java:662)
    Please guide me in this regard..
    Thanks,
    sukumar

    What have you configured for the response tab for the sender? Are you using the MPL or the MDB?
    Take a look at:
    MPL Best Practices (Doc Id 1308165.1)
    Oracle WebLogic JMS Integration (Doc Id: 1308181.1)

  • Error while passing ODI variable in JNDI Url for JMS Queue XML

    Hi,
    Facing a weird problem while passing ODI variable in JNDI Url for JMS Queue XML.
    Below is the JNDI Url configured under ODI Topology:
    JNDI Url: t3://<host_location>?d=#TEST.SCHEMA_FILE&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    where,
    #TEST.SCHEMA_FILE --> ODI variable storing xsd name and location
    Issue Description:
    If we restart ODI server then for the first run of any ODI interface using JMS Queue XML, it is unable to get the value for ODI variable present in JNDI Url (d=#TEST.SCHEMA_FILE).
    It throws error message saying: No XSD found
    Temporary Resolution:
    As a temporary fix if we hard-code and pass the value in that ODI variable as shown below, it will successfully go through.
    eg: JNDI Url: t3://<host_location>?d=C:\XSD\test.xsd&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    Reverting it back to variable later will have no issues and subsequent run will succeed.
    But again anytime later if server is restarted then first run will have this issue.
    Want to have permanent fix for it.
    Any one having idea on it please share. Appreciate your help!

    What ODI version are you using? It could be related to the bug in the older version as described in support note Doc ID 1290326.1

  • Error JMS queue cannot be multi-conumer enabled

    Hi
    I wanted to enqueue using IPmessage type in java but I ended up getting the error
    Exception: oracle.jms.AQjmsException: JMS-130: JMS queue cannot be multi-conumer enabled
    Below is my java code. Anyone has any ideas.
    public static void main (String args [])
    throws java.sql.SQLException, ClassNotFoundException, JMSException
    try
    String ora_sid = "QA620";
    String host = "localhost";
    String schema = "OSA";
    String password = "OSA";
    String queueName = "IP_OUT_QUEUE";
    int port = 1521;
    Enqueue(ora_sid, host, schema, password, queueName, port);
    System.out.println("You should see messages in IP_OUT_QUEUE. Should be buffered but they are persistent instead");
    catch (Exception ex)
    System.out.println("Exception: " + ex);
    public static void Enqueue(String ora_sid, String host,
    String schema, String password, String queueName, int port) throws Exception
    String s5 = generateIdAsString();
    String s6 = "";
    String s7 = "Acme";
    String s8 = "GlobalChips";
    String s9 = "ProcessORDERS";
    String s10 = null;
    String s11 = null;      
    int i = 1;
    String s12 = null;
    if(!isNullString(s12))
    i = Integer.parseInt(s12);
    String s13="D:\\sas.xml";
    if(isNullString(s13))
    throw new Exception("No payload uri");
    String s14 = readFile(s13);
    byte abyte0[] = null;
    String s15 = "";
    if(!isNullString(s15))
    abyte0 = readFileInByte(s15);
    QueueConnectionFactory qc_fact = null;
    QueueConnection q_conn = null;
    QueueSession q_sess = null;
    java.sql.Connection db_conn = null;
    Queue queue = null;
    AdtMessage adt_msg = null;
    QueueSender q_sender = null;
    oracle.xdb.XMLType xtype = null;
    String data = null;
    try
    qc_fact = AQjmsFactory.getQueueConnectionFactory(host,
    ora_sid, port, "thin");
    q_conn = qc_fact.createQueueConnection(schema, password);
    q_sess = q_conn.createQueueSession(true, Session.CLIENT_ACKNOWLEDGE);
    q_conn.start();
    db_conn = ((AQjmsSession)q_sess).getDBConnection();
    queue = ((AQjmsSession)q_sess).getQueue(schema, queueName);
    q_sender = q_sess.createSender(queue);
    adt_msg = ((AQjmsSession)q_sess).createAdtMessage();
    data = "<bolek>olek</bolek>";
    ///xtype = oracle.xdb.XMLType.createXML(db_conn, data);
    //=====================================
    //AdtMessage adtmessage = aqjmssession.createAdtMessage();
    IPMessageOld ipmessageold = new IPMessageOld(s5, s6, s8, s7, s9, s10, s11, i, s14.toCharArray(), abyte0);
    ipmessageold.setPayload(CLOB.empty_lob());
    ipmessageold.setAttachment(BLOB.empty_lob());
    //=====================================
    //adtmessage.setAdtPayload(ipmessageold);
    adt_msg.setAdtPayload(ipmessageold); //xtype
    //try sending a buffered message, different ways, none of them works!
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    q_sender.setDeliveryMode(DeliveryMode.PERSISTENT);
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    adt_msg.setJMSDeliveryMode(DeliveryMode.PERSISTENT);
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    q_sess.commit();
    q_sess.close();
    q_conn.close();
    catch (Exception e)
    System.out.println("Exception: " + e);
    }

    Hi.. i'm trying to put an ADT message created using an ORA Message in the Topic. but i'm getting the conversion error!
    below is the code.
    * Preparing request Message
    try {
                        requestMessage.setOsmOrderid("OSMOrderID12345");
                        requestMessage.setOsmEventVersion("OSMEventVersion1.0");
                        requestMessage.setEventType("SendOrder");
                        CLOB payload = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
                        Writer w= payload.setCharacterStream(1);
                        w.write(xml);
                        w.flush();
                        w.close();
                        //payload.setString(1, xml);
                        requestMessage.setEventPayload(payload);
                   } catch (SQLException se) {
                        System.out.println("SQL Exception Occured :" + se.getMessage());
                        se.printStackTrace();
                   } catch (IOException e) {
                        System.out.println("IO Exception!");
                        e.printStackTrace();
                   AdtMessage request=((AQjmsSession)session).createORAMessage(requestMessage);
                   System.out.println("ORA Message Created.");
                   request.setJMSCorrelationID("ABG");
                   request.setJMSMessageID("324324435435");
                   request.setJMSDeliveryMode(AdtMessage.DEFAULT_DELIVERY_MODE);
    * Creating Sender and sending message.
    TopicConnection topicConn= AQjmsTopicConnectionFactory.createTopicConnection(conn);
                   topicConn.start();
                   TopicSession topicSess= topicConn.createTopicSession(true, TopicSession.CLIENT_ACKNOWLEDGE);
                   Topic requestopic = ((AQjmsSession)topicSess).getTopic("BG_AQ_USER","BG_REQUEST_Q");
                   MessageProducer t_sender= topicSess.createProducer(requestopic);
                   t_sender.send(request, DeliveryMode.PERSISTENT, 1,600000);
    and the error is:
    java.lang.AbstractMethodError: oracle.jms.AQjmsSession.createProducer(Ljavax/jms/Destination;)Ljavax/jms/MessageProducer;
    Instead of a topic connection, I tried using a AQjmsSession and instead of MessageProducer I've tried using AQjmsProducer as well... but the error persists... please help...

  • Error creating jms queue

    Hello,
    I am facing this error when creating the jms queue.
    I gave unique names for queue and jndi. This error is because of what reason?
    Messages
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    The proposed JNDI name eis/Jms/TopicConnectionFactory for destination SOAJMSModule!Topic-0 is already bound by another object of type weblogic.jdbc.common.internal.RmiDataSource
    The JMS Queue was created successfully
    There is nothing specific in log files to my knowledge.
    Please revert ASAP.

    Hi,
    i am also facing the same issue, please help and tell me what you did to resolve this.
    meanwhile I am trying my best to get it up...
    thanks in advance.
    ABHISHEK

  • Error when trying to enqueue message on to weblogic JMS queue

    Hi,
    I have developed a BPEL process to enqueue message on to a JMS queue in weblogic 10.3.1.BPEL process manager version is 10.1.3.4. I have referred the Oracle note 549016.1 for configuring the Jms adapter for BEA Weblogic JMS Provider.
    In the invoke activity, I am getting the following error:
    "Missing class: weblogic.security.acl.UserInfo
    Dependent class: weblogic.jndi.WLInitialContextFactory
    Loader: JmsAdapter:0.0.0
    Code-Source: /D:/product/10.1.3.1/orasoa/j2ee/oc4j_soa/connectors/JmsAdapter/JmsAdapter/weblogic.jar
    Configuration: &lt;code-source> in D:\product\10.1.3.1\orasoa\j2ee\oc4j_soa\connectors\JmsAdapter\JmsAdapter
    The missing class is not available from any code-source or loader in the system."
    I could not find a resolution. Please provide your inputs.
    Thanks.
    John

    Could be this, if the above fix was by generating a wlfull client jar:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13717/jarbuilder.htm#BABCGHFH
    Edited by: atheek1 on Jul 28, 2010 9:39 PM

  • Don't see the entries in esb_error database jms queue (XA-backed error)

    Hi,
    I succesfull made the esb database persistent and patch the soa suite to 10.1.3.3.1 but I don't see the errors in the esb_error queue. I can see the esb_monitor entries when I set dequeue off.
    I got this error in the log.xml
    <MSG_TEXT>Failed to enqueue error message in error topic with error :Not supported in XA-backed session outside global transaction</MSG_TEXT>
    thanks edwin

    in your wsdl properties, please set transacted-mcf to false. It's kind of tricky if you are using jdev. Updating the properties, and hitting save won't upload to your ESB. Touch the file in the gui, and save it that way. Always double check it is set to false because it will set it back to TRUE on its own.

  • JMS Queue - lookup error

    Hi All,
    I have created a queue 'JMSTestQueue' through the Visual Administrator/ JMS Provider.
    I have also created an MDB in which the ejb-j2ee-engine.xml contains a parameter as
    <destination-name>JMSTestQueue</destination-name>
    Now, when I try to deploy my MDB I get an exception saying
    that
    javax.resource.spi.UnavailableException: The destination JMSTestQueue cannot be looked up. Last attempt performed : jms_vendor_queues_global/JMSTestQueue.
    Now here I can't understand that why the container is making a lookup in the path jms_vendor_queues_global.
    Because the JMS queue I have created has the JNDI path as
    jmsqueues/default/JMSTestQueue
    Another twist to the tale is that when I use the default JMS queue by the name 'JobQueue', then the MDB is deployed succesfully. This means the 'lookup' is successful.
    How do I solve this issue? I want to use a new JMS Queue with my MDB.
    I'll be really grateful, if someone can help me out.
    Thanks and Regards,
    Gagan Parhar.

    Hi All,
    I have created a queue 'JMSTestQueue' through the Visual Administrator/ JMS Provider.
    I have also created an MDB in which the ejb-j2ee-engine.xml contains a parameter as
    <destination-name>JMSTestQueue</destination-name>
    Now, when I try to deploy my MDB I get an exception saying
    that
    javax.resource.spi.UnavailableException: The destination JMSTestQueue cannot be looked up. Last attempt performed : jms_vendor_queues_global/JMSTestQueue.
    Now here I can't understand that why the container is making a lookup in the path jms_vendor_queues_global.
    Because the JMS queue I have created has the JNDI path as
    jmsqueues/default/JMSTestQueue
    Another twist to the tale is that when I use the default JMS queue by the name 'JobQueue', then the MDB is deployed succesfully. This means the 'lookup' is successful.
    How do I solve this issue? I want to use a new JMS Queue with my MDB.
    I'll be really grateful, if someone can help me out.
    Thanks and Regards,
    Gagan Parhar.

  • Writing to a JMS queue from Tux-service?

    Greetings,
    is there any way to write to a JMS-queue from a Tuxedo/atmi service without
    using WebLogic Server (because of WTC needing it)?
    Lara

    Lara,
    One way to write to a JMS-queue from a Tux service would be by using JNI functions.
    Inside your server's tpsvrinit function you can create a JVM (using JVM_CreateJavaVM
    function) and instantiate a couple of Java objects. You may then call Java methods
    on these objects from your Tux services. At the server's tpsvrdone function you
    must then destroy the Java objects and the JVM.
    Regards,
    Lazaros
    "Lara Faiazza" <[email protected]> wrote:
    Greetings,
    is there any way to write to a JMS-queue from a Tuxedo/atmi service without
    using WebLogic Server (because of WTC needing it)?
    Lara

  • MDB on Tibco JMS Queue

    Hy, I'm writing about a technical problem with BeaWebLogicServer 6.1 sp5.
    I've a MessageDrivenBean in the BeaWebLogic Container that must be connected to
    a remote Tibco JMS queue.
    When the remote Tibco queue is not protected by a password this works fine (my
    MDB receives the message from Tibco queue), instead if the remote queue is password
    protected, i've this Bea Weblogic server error log:
    <Jun 18, 2004 3:06:06 PM CEST> <Warning> <EJB> <The Message-Driven EJB: BuyResponseConsumer
    is unable to connect to the JMS destination: TELECOMIT.IPBILLING.SVIL.PI.PORTALE.ORDER.BUYRESP.
    Connection failed after 850 attempts. The MDB will attempt to reconnect every
    10 seconds, this log message will repeat every 600 seconds until the condition
    clears.>
    How may I resolve this problem?
    These are my xml descriptors:
    EJB-JAR.XML:
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
    2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <ejb-name>BuyResponseConsumer</ejb-name> <ejb-class>it.telecomitalia.wonderland.ipbilling.buyresponse.BuyResponseConsumer</ejb-class>
    <transaction-type>Container</transaction-type> <acknowledge-mode>auto-acknowledge</acknowledge-mode>
    <message-driven-destination> <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <security-identity>
    <use-caller-identity id="XXXXX" />
    </security-identity>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <security-role>
    <role-name>XXXXX</role-name>
    </security-role>
    </assembly-descriptor>
    </ejb-jar>
    WEBLOGIC-EJB-JAR.XML
    <?xml version="1.0"?> <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD
    WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean> <ejb-name>BuyResponseConsumer</ejb-name> <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>200</max-beans-in-free-pool> <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
    </pool> <destination-jndi-name>REMOTE-MESSAGE-QUEUE-NAME</destination-jndi-name>
    <initial-context-factory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</initial-context-factory>
    <provider-url>tcp://XXX.XXX.XXX.XXX:YYY</provider-url> <connection-factory-jndi-name>QueueConnectionFactory</connection-factory-jndi-name>
    </message-driven-descriptor> <jndi-name>BuyResponseConsumer</jndi-name> </weblogic-enterprise-bean>
    <security-role-assignment>
    <role-name>XXXXX</role-name> <principal-name>XXXXX</principal-name> </security-role-assignment>
    </weblogic-ejb-jar>
    Thanks in advance,
    Best Regards
    Demis Gallisto

    Hy, I'm writing about a technical problem with BeaWebLogicServer 6.1 sp5.
    I've a MessageDrivenBean in the BeaWebLogic Container that must be connected to
    a remote Tibco JMS queue.
    When the remote Tibco queue is not protected by a password this works fine (my
    MDB receives the message from Tibco queue), instead if the remote queue is password
    protected, i've this Bea Weblogic server error log:
    <Jun 18, 2004 3:06:06 PM CEST> <Warning> <EJB> <The Message-Driven EJB: BuyResponseConsumer
    is unable to connect to the JMS destination: TELECOMIT.IPBILLING.SVIL.PI.PORTALE.ORDER.BUYRESP.
    Connection failed after 850 attempts. The MDB will attempt to reconnect every
    10 seconds, this log message will repeat every 600 seconds until the condition
    clears.>
    How may I resolve this problem?
    These are my xml descriptors:
    EJB-JAR.XML:
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
    2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <ejb-name>BuyResponseConsumer</ejb-name> <ejb-class>it.telecomitalia.wonderland.ipbilling.buyresponse.BuyResponseConsumer</ejb-class>
    <transaction-type>Container</transaction-type> <acknowledge-mode>auto-acknowledge</acknowledge-mode>
    <message-driven-destination> <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <security-identity>
    <use-caller-identity id="XXXXX" />
    </security-identity>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <security-role>
    <role-name>XXXXX</role-name>
    </security-role>
    </assembly-descriptor>
    </ejb-jar>
    WEBLOGIC-EJB-JAR.XML
    <?xml version="1.0"?> <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD
    WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean> <ejb-name>BuyResponseConsumer</ejb-name> <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>200</max-beans-in-free-pool> <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
    </pool> <destination-jndi-name>REMOTE-MESSAGE-QUEUE-NAME</destination-jndi-name>
    <initial-context-factory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</initial-context-factory>
    <provider-url>tcp://XXX.XXX.XXX.XXX:YYY</provider-url> <connection-factory-jndi-name>QueueConnectionFactory</connection-factory-jndi-name>
    </message-driven-descriptor> <jndi-name>BuyResponseConsumer</jndi-name> </weblogic-enterprise-bean>
    <security-role-assignment>
    <role-name>XXXXX</role-name> <principal-name>XXXXX</principal-name> </security-role-assignment>
    </weblogic-ejb-jar>
    Thanks in advance,
    Best Regards
    Demis Gallisto

  • Siebel unable to connect to AIA JMS Queue

    Hi All,
    We are working on AIA 2.5 running on SOA Suite 10.1.3.4. We have installed the Order to Activate PIP. We are facing a problem when we try to sumit orders from Siebel. As per our understanding Siebel will put the message on the AIA_SALESORDERJMSQUEUE. However, when the Siebel tries to do so, it returns an error stating :
    12:55:59.699 PM Wed Sep 8: Checking if exception is a connection exception
    12:55:59.699 PM Wed Sep 8: CREATING_CONNECTION : is a Connection related exception
    12:55:59.703 PM Wed Sep 8: Exception during Send:
    oracle.jms.AQjmsException: Io exception: The Network Adapter could not establish the connection
    We have tried telnetting from the Siebel server to the SOA server using the SOA hostname and the RMIS port and we were able to connect. We are struggling to resolve this issue and any inputs you may have is igly appreciated.
    Thanks in advance for your time.
    Thanks and Regards,
    Saptarshi

    Hi,
    Ensure the following set up is done fine.
    The following Java Archive (JAR) files are required to be installed on the Siebel Server (for example, in the C:\cp directory) to communicate with Oracle SOA Suite:
    Siebel JMS JAR files:
    Siebel.jar
    SiebelJI_lang.jar, where lang is the language code of the default language of the Siebel installation
    JAR files required for accessing the JMS provider. For the OC4J JMS Provider supplied with Oracle SOA Suite, the following files are required:
    jms.jar
    jta.jar
    oc4jclient.jar
    optic.jar
    javaee.jar (obtained from the Java EE development kit)
    jmxri.jar
    jms.jar
    j2ee_1.3.01.jar
    jndi.properties file:
    java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormis://10.15.35.22:12701/default
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=welcome1
    In order to debug this issue try writing a java client to access the JMS queue with above properties. This will help you to find the root cause.
    Regards,
    Rahul

Maybe you are looking for

  • Cant stall 10.7.5 in my macbook pro

    after i downloded 10.7.5, it is not installing on my macbook pro ... why ??

  • Data verification

    Hi, A customer is planning to upgrade their Oracle database from 8i to 10g. The database is in a validated state and contains critical data(pharmaceutical) that must stay correct. They want after the upgrade a check that the data is still the same as

  • I just want to cancel my season pass so that I can change my country/region. How do I do it. I dont want a refund from apple

    How do I cancel my season pass from itunes? I nned to change my region/country and the season pass is stopping me from doing so. I just need to cancel it and I dont need a refund from Apple.

  • Getting black screen between chunks of clip

    Hi all, We are developing an application which plays the series of clips one after the other. We are releasing and re-starting player object in playerUpdate block. We are getting black screen in between the chunk of clips while switching from one cli

  • AE cs5 and 2d animation workflow?

    I have been searching for how to add AE cs5 to an classical 2d animation workflow and I have found only one vid tut. Are there any AE cs5 forums that talks about this on the internet? Have yopu seen some cool vids working with this workflow (AE cs5 a