Accessing JMS Queue located in stand alone managed server on same domain

Our use-case is as follows.
In our weblogic domain we have SOA_Cluster and a stand alone managed server. All the custom JMS resources belong to a JMS server that is targeted to stand alone JMS server. We are trying to access JMS Queues/Topics located in the stand alone managed server from JMS adapter (part of SOA Cluster).
I am wondering what should be our adapter configuration in this scenario. In going through JMS adapter use-cases (below is the link), there is a mention of how to access resources located in Remote weblogic Domain. I am wondering if the same applies to us OR if there is better way to access JMS resources for our use case.
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_jms.htm#CJAHAFGF
Appreciate your feedback.

Accessing JMS Queue/Topic located in different Managed server on same domai
Regards,
Anuj

Similar Messages

  • Accessing JMS Queue/Topic located in different Managed server on same domai

    Our use-case is as follows.
    In our weblogic domain we have SOA_Cluster and a stand alone managed server. All the custom JMS resources belong to a JMS server that is targeted to stand alone JMS server. We are trying to access JMS Queues/Topics located in the stand alone managed server from JMS adapter (part of SOA Cluster).
    I am wondering what should be our adapter configuration in this scenario. In going through JMS adapter use-cases (below is the link), there is a mention of how to access resources located in Remote weblogic Domain. I am wondering if the same applies to us OR if there is better way to access JMS resources for our use case.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_jms.htm#CJAHAFGF
    Appreciate your feedback.

    Yes, the same applies for your case but no need to enable trust. Rest of the things will remain same.
    Better you post weblogic related questions in Weblogic forum.
    Regards,
    Anuj

  • How to access jms queue in NetWeaver X from NetWeaver Y

    Hi experts,
    I would like to know whether accessing jms queue in NetWeaver X from NetWeaver Y is possible or not using web application.
    I have one web application that is deployed in NetWeaver Y and I want to access jms queue in NetWeaver X (Not Y).
    Is there any configuration to get aound this?
    Or do I need to use following code inside of my web application?
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl" );
    env.put(Context.PROVIDER_URL, "<server ip - NetWeaver X>:<port>" );
    env.put(Context.SECURITY_PRINCIPAL, "<user name>" );
    env.put(Context.SECURITY_CREDENTIALS, "<password>" );
    Thank you,
    --Geonil

    Thanks for your anwser Baskar Gopal.
    My JAVA PROXY is created from software component version of PI 7.1 and is deployed in the same server. For that reason my JAVA PROXY run in my PI 7.1.
    Well, I did a test with your suggestion and that works fine. I created the JAVA PROXY from SAP PI 7.1 but deploy the JAVA PROXY in the SAP Netweaver 7.3.
    Thanks a lot
    Edited by: Victor Oliva on Sep 13, 2011 4:27 PM

  • NoClassDefFoundError while accessing JMS Queue from JDev 10.1.3.3

    Hi,
    I'm trying to get a handle of a JMS queue, which resides on Oracle App Server 10.1.3.4, from a Java Program which I'm trying to run from JDeveloper 10.1.3.3.
    I'm trying to make an RMI connection to the App server from JDeveloper by passing following information to the intialContext:
    env.put("java.naming.factory.initial",
    "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    "ormi://wafedabpelqa10.corp.weyer.pri:12402");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","welcome1");
    Where the above information is related to our App Server.
    I'm successfully able to establish an RMI connection from JDev to Oracle App Server and can lookup datasources created on the App server using their
    JNDI names. However if I try to look up a JMS Queue from the App server using its JNDI name, I get an error as:
    java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory
    I have also tried to use the value "com.evermind.server.rmi.RMIInitialContextFactory" for "java.naming.factory.initial",
    however I still get the same error.

    Hi,
    this should work and you need to download the rmi library http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
    thanks
    # String queueName = "jms/MyJMSQueue";
    # String queueConnectionFactoryName = "jms/MyJMSQCF";
    # Context ctx;
    # try { 
    # Properties parm = new Properties();
    # parm.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    # parm.setProperty("java.naming.provider.url","ormi://localhost:23791/");
    # parm.setProperty("java.naming.security.principal","oc4jadmin");
    # parm.setProperty("java.naming.security.credentials","welcome");
    # ctx = new InitialContext(parm);
    # QueueConnectionFactory connectionFactory =
    # (QueueConnectionFactory)ctx.lookup(queueConnectionFactoryName);
    # connection = connectionFactory.createQueueConnection();
    # connection.start();
    # session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    # queue = (Queue)ctx.lookup(queueName);
    # sender = session.createSender(queue);
    # receiver = session.createReceiver(queue);
    # } catch (JMSException je) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # je);
    # } catch (Throwable t) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # t);
    # }

  • Problem starting managed server in cluster (The name of the managed server is same as admin server)

              We have the following setup.
              CLLUSTER1 and CLUSTER2 are the servers to be in the cluster. CLUSTER3 is the cluster
              administrator. We start CLUSTER3 as a self-managed server and then try and start
              CLUSTER1 and CLUSTER3 as a managed server pointing at CLUSTER3. When we start
              1 and 2 we get the following:
              D:\bea\wlserver6.1\config\CLUSTER1>startmanagedweblogic CLUSTER3 http://10.0.1.1
              03:7001
              D:\bea\wlserver6.1>set PATH=.\bin;C:\WINNT\System32;d:\jdk1.3.1\bin
              D:\bea\wlserver6.1>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
              D:\bea\wlserver6.1>echo off
              * To start WebLogic Server, use the password *
              * assigned to the system user. The system *
              * username and password must also be used to *
              * access the WebLogic Server console from a web *
              * browser. *
              D:\bea\wlserver6.1>"d:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
              ;.\lib\weblogic_sp.jar;.\lib\weblogic.jar" -Dweblogic.Domain=CLUSTER1 -Dbea.home
              ="d:\bea" -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=true
              -Dweblogic.Name="CLUSTER3" -Dweblogic.management.server="http://10.0.1.103:7001"
              "-Djava.security.policy==d:\bea\wlserver6.1/lib/weblogic.policy" weblogic.Serve
              r
              <20/11/2001 12:05:10> <Info> <Security> <Getting boot password from user.>
              Enter password to boot WebLogic server:
              Starting WebLogic Server ....
              Connecting to http://10.0.1.103:7001...
              The WebLogic Server did not start up properly.
              Exception raised: weblogic.management.configuration.ConfigurationException: The
              name of the managed server is same as admin server. The managed server will not
              be allowed to start up.
              weblogic.management.configuration.ConfigurationException: The name of the manage
              d server is same as admin server. The managed server will not be allowed to star
              t up.
              at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:998)
              at weblogic.management.Admin.initialize(Admin.java:320)
              at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
              at weblogic.Server.main(Server.java:35)
              Reason: Fatal initialization exception
              D:\bea\wlserver6.1>goto finish
              D:\bea\wlserver6.1>cd config\CLUSTER1
              D:\bea\wlserver6.1\config\CLUSTER1>ENDLOCAL
              D:\bea\wlserver6.1\config\CLUSTER1>
              Many thanks in advance,
              Alex Burton
              http://www.e-plus.com.au/
              

    Don't start the admin server as managed. Removing
              -Dweblogic.management.server...
              from the command line should help.
              Alex Burton wrote:
              > We have the following setup.
              > CLLUSTER1 and CLUSTER2 are the servers to be in the cluster. CLUSTER3 is the cluster
              > administrator. We start CLUSTER3 as a self-managed server and then try and start
              > CLUSTER1 and CLUSTER3 as a managed server pointing at CLUSTER3. When we start
              > 1 and 2 we get the following:
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>startmanagedweblogic CLUSTER3 http://10.0.1.1
              > 03:7001
              >
              > D:\bea\wlserver6.1>set PATH=.\bin;C:\WINNT\System32;d:\jdk1.3.1\bin
              >
              > D:\bea\wlserver6.1>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
              >
              > D:\bea\wlserver6.1>echo off
              >
              > ***************************************************
              > * To start WebLogic Server, use the password *
              > * assigned to the system user. The system *
              > * username and password must also be used to *
              > * access the WebLogic Server console from a web *
              > * browser. *
              > ***************************************************
              >
              > D:\bea\wlserver6.1>"d:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
              > ".
              > ;.\lib\weblogic_sp.jar;.\lib\weblogic.jar" -Dweblogic.Domain=CLUSTER1 -Dbea.home
              > ="d:\bea" -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=true
              > -Dweblogic.Name="CLUSTER3" -Dweblogic.management.server="http://10.0.1.103:7001"
              > "-Djava.security.policy==d:\bea\wlserver6.1/lib/weblogic.policy" weblogic.Serve
              > r
              > <20/11/2001 12:05:10> <Info> <Security> <Getting boot password from user.>
              > Enter password to boot WebLogic server:
              > Starting WebLogic Server ....
              > Connecting to http://10.0.1.103:7001...
              > ***************************************************************************
              > The WebLogic Server did not start up properly.
              > Exception raised: weblogic.management.configuration.ConfigurationException: The
              > name of the managed server is same as admin server. The managed server will not
              > be allowed to start up.
              > weblogic.management.configuration.ConfigurationException: The name of the manage
              > d server is same as admin server. The managed server will not be allowed to star
              > t up.
              > at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:998)
              > at weblogic.management.Admin.initialize(Admin.java:320)
              > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
              > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
              > at weblogic.Server.main(Server.java:35)
              > Reason: Fatal initialization exception
              > ***************************************************************************
              >
              > D:\bea\wlserver6.1>goto finish
              >
              > D:\bea\wlserver6.1>cd config\CLUSTER1
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>ENDLOCAL
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>
              >
              > Many thanks in advance,
              > Alex Burton
              > http://www.e-plus.com.au/
              

  • NodeManager not able to start second managed server in same machine

    Hi,
    I am facing an issue, I am not able start a second ManagedServer(MG2) using nodemanager (through AdminConsole)
    My setup is as below:
    Server 1
    1) Admin Server + ManagedServer (MG1) (INSTALL LOCATION: /opt/web/MyServer1)
    2) Second Managed Server (MG2) (INSTALL LOCATION: /opt/web/MyServer2)
    Both belong a same Domain (MyDomain) and NodeManager runs from /opt/web/MyServer1
    I can start MG1, but not MG2.
    I did
    1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
    2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
    I see following error in nodemanager.log,
    The domain 'MyDomain' at '/opt/web/MyServer2/domains/MyDomain' was not registered in the nodemanager.domains file and dy
    namic domain registration is not supported. Please register the domain in the nodemanager.domains file.
    I can start the MG2 if I manually edit nodemanager.domains to point /opt/web/MyServer2/domains/MyDomain.
    Is there a way to configure multiple domains locations in nodemanager.domains, so Nodemanger can start managed server installed in different location?

    Your nmEnroll shows 2 different domain path values supplied - which means you have told NM to try to connect to 2 different domains
    1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
    2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
    You also show 2 distinct node managers you are trying to configure.
    nmEnroll enrolls a domain, not an individual server. If you have only 1 installation of nodemanager, and only 1 domain, then you would only need one nmEnroll command.

  • Can i set a node manager serve for 2 domain on one machin??

    My question is simple.
    I installed webcenter suite and soa suite in a machine using difference linux user and difference middleware home.
    and I want to set a node manager server for two domains (soa_domain and webcenter_domain).
    Is is possible?
    When I tried to register domain list in node manager domain list using nmEnroll() of wlst, it failed.
    please check following logs in 7101 is admin server port of soa domain and I ran node manager on webcenter domain.
    Thanks in advance.
    BmW.
    ~~~~~~~~~~~~~~~~~~
    wls:/offline> connect()
    Please enter your username :weblogic
    Please enter your password :
    Please enter your server URL [t3://localhost:7001] :t3://localhost:7101
    Connecting to t3://localhost:7101 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'soa_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    wls:/soa_domain/serverConfig> wls:/soa_domain/serverConfig> wls:/soa_domain/serverConfig> wls:/soa_domain/serverConfig> nmEnroll('/u02/app/soa11g/middleware/user_projects/domains/soa_domain', '/u02/app/wc11g/middleware/wlserver_10.3/common/nodemanager');
    Enrolling this machine with the domain directory at /u02/app/soa11g/middleware/user_projects/domains/soa_domain ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "<iostream>", line 1447, in nmEnroll
    File "<iostream>", line 1848, in raiseWLSTException
    WLSTException: Error occured while performing nmEnroll : Problem enrolling the machine. : /u02/app/soa11g/middleware/user_projects/domains/soa_domain/config/nodemanager/nm_password.properties (Permission denied)
    Use dumpStack() to view the full stacktrace
    wls:/soa_domain/serverConfig> exit();

    you might be victim of the "node manager starts WL Server with same Unix user id that was used to start Node Manager itself" problem
    see here http://forums.oracle.com/forums/thread.jspa?threadID=2184607&tstart=89
    I have been looking everywhere for a simple way to tell Node Manager to use a different Unix UID,
    anybody any clue?
    here http://download.oracle.com/docs/cd/E12840_01/wls/docs103/nodemgr/overview.html the Node Manager doc page

  • I want to access JMS Queue in websphere from a client application

    Hello all
    I tried to access a jms queue in the websphere from a client application
    my connection factory jndi name is : MyConn
    my queue name jndi name is : MyQueue
    and here is my code :
    Hashtable environment = new Hashtable();
    environment.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.ibm.websphere.naming.WsnInitialContextFactory");
    environment.put(Context.URL_PKG_PREFIXES, "com.ibm.ws.naming");
    environment.put(Context.PROVIDER_URL, "corbaloc:iiop:localhost:2809");
    return new InitialContext(environment);
    then:
    q = (Queue) ctx.lookup(QJNDIName);
    QueueConnectionFactory connFactory = (QueueConnectionFactory)
    ctx.lookup(ConnFactName);
    I had the following exception :
    javax.naming.NameNotFoundException: Context: networking/nodes/networking/servers/server1, name: MyQueue: First component in name MyQueue not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    Can i have any help please ....

    Hi
    You are missing some critical jar files in your class path. It should be namingclient.jar, also please or something similar that is missing in classpath.
    HTH
    VJ

  • How to access JMS queues in the SAP J2EE Engine?

    Hi Gurus,
    Can anybody know how to access the jms dead message queues in the XI J2EE Engine (which is WAS 6.40)?
    I have read in the SAP documentation that we can use some JMS commands from the telnet. I don't know how to use those commands.
    Can anybody provide a step-by-step process to access these queues?
    Thanks
    Kalyan

    1) Open a command prompt
    2) type
    telnet localhost 50008
    where the port is the same as your http, but with 8 as last digit.
    3) Login
    4) Issue the following set of commands
    jump 0
    add jms
    jms list deadmsgs
    Check by man jms other possible options.
    HTH
    Peter

  • Jms c api crashes when accessing jms queue senders from different threads

    Does anybody encountered similar problem or know how to solve the following problem?
              <p>
              The jms c api crashes if I created jms queue senders/producers from one threads and have another thread to send messages using the senders:
              <p>
              <b>JMSDEBUG:</b>
              <p>
              JMSDEBUG: An exception occurred at line 281 in file src/jniimpl/JmsUtilities.c
              <b>JMS Exception:</b>
              <pre>
              weblogic.jms.common.JMSException
              at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(Dispa
              tcherWrapperState.java:440)
              at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:382)
              at weblogic.jms.client.JMSProducer.send(JMSProducer.java:207)
              Caused by: <b>java.lang.NoClassDefFoundError
              </b> at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:30
              9)
              at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:25
              8)
              at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:25
              3)
              at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.
              java:324)
              at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
              bjectInputStream.java:96)
              at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
              va:117)
              at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
              at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
              at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
              at weblogic.jms.dispatcher.DispatcherImpl_813_WLStub.dispatchSyncTranFut
              ure(Unknown Source)
              at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(Dispa
              tcherWrapperState.java:406)
              ... 2 more
              </pre>
              <p>
              <b>the ULOG file:</b>
              <p>
              162722.tekton!?proc.16113.1.-2: 04-04-2005: WebLogic Server Version 9.0
              162722.tekton!?proc.16113.1.-2: NLS:4: Cannot open message catalog LIBJMSC_CAT, set 1, num 13; check NLSPATH, LANG=C
              <p>
              <b>NOTE:</b>
              The senders works fine if the same thread creates the senders and uses them to send messages.
              <p>
              <pre>
              Environemnt:
              OS:SunOS 5.7 Generic_106541-22 sun4u sparc SUNW,Ultra-250
              WL: 8.1.3
              C++: Forte 7
              <pre>

    It appears that the problem is caused by the following NPE:
              <pre>
              Caused by: java.lang.NullPointerException
              at weblogic.i18ntools.L10nLookup.loadProps(L10nLookup.java:88)
              at weblogic.i18ntools.L10nLookup.<init>(L10nLookup.java:160)
              at weblogic.i18ntools.L10nLookup.init(L10nLookup.java:132)
              at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:315)
              at weblogic.management.commo.internal.CommoCommandLineTextFormatter.<ini
              t>(CommoCommandLineTextFormatter.java:20)
              at weblogic.management.commo.Commo.<clinit>(Commo.java:89)
              ... 13 more
              </pre>

  • 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;

  • BPEL not able to read JMS Queue defined on a remote Application Server

    We are trying to access a JMS queue (defined on an Oracle AS different from the SOA Suite AS) through BPEL and read the payload. When I am trying to read the JMS queue, somehow it is trying to get the queue information from my local application server and not going to the remote one.
    I have done the following setups on my local SOA Suite Enterprise manager for the queue connection factory. The adapter name is "eis/jms/XXXQueueAdapter"
    connectionFactoryLocation: jms/ESBSubscriberQueue
    factoryProperties:
    java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory;java.naming.provider.url=opmn.ormi://hostname:port; java.naming.security.principal=oc4jadmin;java.naming.security.credentials=Password
    Where "hostname:port" is for the remote Application Server.
    On the BPEL side, I have created a connection for the Remote server in the Enterprise Manager. Then I have created a partnerlink using this connection. The OEMS is "File/Memory". The Destination Name is the Queue name on the Remote AS which I can browse. The JNDI name is "eis/jms/XXXQueueAdapter" (Which is the name of the connection I created on my local). Somehow when the BPEL process is run, it is trying to look for the JMS Queue on my local server.
    I have also used the Third Party option instead of Oracle AS with the same configuration and it does not work either.
    Any help would be really appreciated.
    Asif Hussain

    Got a solution.

  • BW report without stand alone BW server

    Hi Experts,
    My query is about basic understanding of the System Landscape for using BW reports. Basically, There is a requirement to use BW reports on stand-alone SRM 5.5 server. Installation guide of SRM suggests that we can install BI 7.0 "content" along with SRM 5.5 server.
    The question- Is it possible use BW reports just by installing BI content on SRM server?
    Further I would really like to know, if the answer of above question is YES, then what are the prerequisites for it and if 'NO' then what is the BI content's role in SRM server?
    Thanks in advance
    Regards,
    Amit

    Hi Amit,
    According to my knowledge, you can build up all in one server. But the most important thing is about client. the BW client have to be different from the others.
    And their are 2 main application component that related to BW. there are SAP_BW and BI_CONT. this 2 Application component have to be build on the netweaver infrastructure.
    Regards,
    Assign Point if you see its helpful,
    Chuong Hoang

  • Oracle AQ to JMS Queue which is on Oracle Application server

    Hi,
    I am using Oracle Streams AQ Oracle database 10g
    and i have a JMS Queue on oracle Application server.
    how i can Propagate message from Oracle AQ (AQ$_JMS_TEXT_MESSAGE)Queue to JMS Queue. ?
    Thanks,
    Satnani

    Hi Justin,
    Thanks for Reply, but in my case my JMS queue is on Oracle Application Server.
    and i want to propagate message from AQ to JMS queue.
    and none of the document is available to describe how to send message from oracle database AQ to JMS queue which is on application server.
    please help
    Thanks,
    Satnani

  • Starting Admin and Managed Server on Same Machine

    Has anyone come across a method of running both their admin server and managed
    servers as a Service and on the same machine. As you can see, when the OS comes
    up both Services for the servers will be started. I can put in a dependency on
    the managed server saying that the admin server needs to be started but that doesn't
    guarantee that admin server will be ready for "prime time."
    I have seen somewhere in a support message something about a "depend" and "delay"
    flag for the beasvc.exe program but the one I'm using doesn't seem to support
    this.
    Here is my setup:
    Windows 2000 Pro
    Weblogic Server 6.1 SP1
    Any assistance is appreciated,
    Rich

    John Hufnagle wrote:
              > Is it possible to run cluster admin server and one of the managed servers on the
              > same machine...(just preserving machine resources for in-house testing).
              As Kumar said, it is possible to run the admin server and one (or more) managed servers
              on the same machine.
              >
              >
              > If the admin listens on 7001/7002 can I just set up the managed server to 7003/7004
              > or will I also run into problems with the multicast address?
              Since the admin server is not part of the cluster, it is perfectly fine to use a
              different set of ports for the managed servers as long as all servers in the same
              cluster use the same ports...
              Hope this helps,
              Robert
              

Maybe you are looking for