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
Similar Messages
-
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 -
Regarding JMS-Queue/Topic in Proxy and Business service in OSB
Hi
I have one query regarding to the JMS-Queue/Topic.
I am published the message to the JMS-Queue/Topic.
----My Business-service configuration is---
General----Any xml
Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
Response--None
I call this Business-service in proxy-service of Routing message was published successfully to thee Queue.
I try to dequeue the message from that queue for this
--- I take another proxy with---
General----Any xml
Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
In meassage flow
Routing--second busines-service)
--- Second business-service configuration is---
General----Any xml
Tranport-File (C://temp)
Issue is when I publish the message to Queue,the message is also found in the file i.e C:temp. I don't now why this come to the file.*
Any suggestions
Thanks
ManiEither I did not get an idea, but in your JMS proxy you are routing to File :)
If you don't want file, why route to 2nd BS ? -
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,
--GeonilThanks 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 -
JMS,Queues/Topics,Weblogic8.1
Hi
Im newbie to JMS, and I would like to get start with
JMS,Queues/Topics on Weblogic8.1 .
Can anybody provide me urls which are easy to
understand as well as run the sample applications.
thnks..Maybe its worth starting with a library that wraps up JMS for you so you can focus on POJOs and your application objects - like Lingo
http://lingo.codehaus.org/
James
http://logicblaze.com/ -
How to send BusinessEvent from oracle EBS 12 to an external JMS Queue/Topic
Hello Sir:
How to send BusinessEvent from oracle EBS 12 to an external JMS Queue/Topic??
How to receive BusinessEvent from an external JMS Queue/Topic to oracle EBS 12 ??
It is a Third Party JMS Server, it has queue and topic etc??
which module should be used??
what is the basic steps to do??
Thanksswapnil_yeole wrote:
Hello,
We want to install Oracle EBS 12.1.1.
Our internet speed is very poor so it would not be feasible for us to download the software from E-delivery site.
Can you please let me know how & where to obtain Oracle EBS 12.1.1 DVD's.
Do we need to raise an SR with Oracle for same.
Thanks in advance.
Yes -- https://blogs.oracle.com/stevenChan/entry/how_to_obtain_media_packs
Thanks,
Hussein -
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);
# } -
How to use jspx deployed in different managed server from bpm work space
Hi,
I have created and deployed my view project having all the jspx files and managed beans into a different managed server(created a new server,not into the soa server).
I have created a bpm process and now I want to use the jspx page(deployed into the new managed server) in my bpm wrokspace.
Can anyone help me how I can do it.
thanks in advance.
Regards,
TukunaHi ,
I tried with the below url and still i am not able to open the jspx page deployed into the admin server.
http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_designtf.htm#BDCFBJIE
28.8.4 How To Deploy a Task Form to a non-SOA Oracle WebLogic Server
Any help on this is appreciatable.
Many thanks
Tuku -
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/
-
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> -
Enable JMS - Queue/Topic Trace on console
Hi everyone,
I want to enable weblogic QUEUE/Topic trace enable so i could view the messages on the console can anyone please help!
i already have logging enable for queues in the weblogic admin console but all the logs are going to jms.logging file which is not that helpful!
IN MQ i use to add additional parameter trace=true in front of each queue defined, please tell how i can enable it in weblogic!
TIA
sall0To manage a queue's messages:
1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. In the Administration Console, navigate to the queue resource that you want to configure:
* Navigate to JMS Resources in System Modules
* Navigate to JMS resources in an application module
3. Click the Monitoring tab.
4. Select the check box next to the queue, and then click Show Messages to access the queue's JMS Messages table. You can then
perform the following administrative procedures on a specific message or selected messages:
Click a message in the queue to open the View Contents page, where you can view the contents of a JMS message. For more information :-
Link : [http://download.oracle.com/docs/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ManageQueues.html] -
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
Kalyan1) 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 -
Cleanup JMS queue/topic messages
how do I clean up all messages left on a queue/topic ? thx.
There is no purge command.
In 8.1, delete and recreate the destination via the console,
JMX, or extensions.JMSHelper, the JMS
server doesn't even need to be booted. A timestamp
in the destination configuration is automatically set to
let JMS detect that the destination is a new version.
In 7.0, delete the queue, shutdown the JMS server,
reboot the JMS server, and then recreate the destination.
In any version, shutting down the JMS server will delete
non-persistent messages.
You can delete topic subscriptions via the console.
You can write a simple JMS client to drain the destination
by consuming messages. (Multi-thread multiple consumers to
speed this up considerably.)
Queen Tsao wrote:
> how do I clean up all messages left on a queue/topic ? thx.
-
Es posible crear Queue/Topic diamicamente
Es posible crear los MDB dinamicamente.
de que manera se puede implementar.
gracias.Hi Rolper
La capacidad de crear din�micamente un queue/topic depende de su abastecedor de JMS. La mayor�a de los abastecedores de JMS tienen un "API administrativo" para hacer esto - por ejemplo ArjunaMS (http://www.arjuna.com) proporciona un API comprensivo para crear queue y topics en runtime.
Hope this helps,
Tom Jenkinson
Maybe you are looking for
-
How to change URL for "Log Out" link in CE?
We need the Communications Express "Log Out" link to go to a different page to the usual log in page. How can I change this? I've found the logout function in the uwc/common/Header.jsp file which looks like: function logout() { url = "<%= getLogout
-
Mac book pro stuck on grey screen will not boot
UUgh someone please help me. My lap top is a mac book pro 2006, and it is stating cannot get audit port I dunno how to fix. I'm on my iphone a we speak it has been down for weeks can someone help me please? I would be forever greatfull
-
I am new to the MAC world but I am very familiar with Lightroom on a PC. This weekend I was weeding out the pics I do not want on my MAC and now I have a ? by all my folders. How do I recover/get back to where I was 2 days ago?
-
RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'
Hi, All the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolv
-
Group Texting is not working on my i phone 5. I m unable to receive texts. I have version 8.1.2 Please help!