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
Similar Messages
-
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 -
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 -
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 -
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 configure JMS queue on OC4J server. Development in JDeveloper 10G
Hi there,
I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
I am facing a problem on how to configure JMS queue.
Steps Followed are:
in the <JDevloperHome>/j2ee/home/config
1. Made the new queue and connection factory's JMS entry in jms.xml.
2. Specifed the queue in oc4j-connectors.xml.
3. played around with application.xml
and tried all combinations, but the message producer always failed to lookup the queue.
Need help on the steps to follow so that the producer can post the message in the queue.
Also please help how to configure the MDB to listen to the queue.
Thanx and Regards
SubhamIf you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool. -
How to delete JMS Queue using WSLT thru JNDI?
How to delete JMS Queue using WSLT thru JNDI?
Hi,
You can use the following WLST script to delete the queue :-
edit()
cd('/JMSSystemResources/MyModule/JMSResource/MyModule')
startEdit()
cmo.destroyQueue(getMBean('/JMSSystemResources/MyModule/JMSResource/Mymodule/Queues/MyQueue'))
activate()
Is it what you are looking for?
I hope this helps.
Regards.
Edited by: mchellap on Dec 11, 2008 4:27 PM -
How to manage jms queue?
How to manage jms queue. I want to do operation on messages on jms queue like deleting the messages and hold the message for some time . Please provide the sample code for that.
Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
+Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
Lucas. -
How to access the java stack table "xi_af_msg" from the ABAP engine.
Hello Guys,
How to access the java stack table "xi_af_msg" from the ABAP engine.
I need to access this table.These 3 are the tables that are for XI Adapter in ABAP Stack.
SWFRXICNT
SWFRXIHDR
SWFRXIPRC
You can also try the following tables.
SXMSAEADPMOD XI: Adapter and Module Information
SXMSAEADPMODCHN XI: Adapter Module Chains
SXMSAEAGG XI: Adapter Runtime Data (Aggregated)
SXMSAERAW XI: Adapter Runtime Data (Raw Data)
Cheers,
Sarath.
Award if helpful. -
How to access the ORACLE APPS table structures from SAP
Hi Experts,
How to access the ORACLE APPS table structures from SAP? Is it possible from SAP?
Thanks in advance
ThomasHi Silviya,
you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
Search the SAP documentation and notes for this term and you will find how to do it.
Essentially you configure the remote database connection via transaction DBCON.
If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
Cheers
Graham Robbo -
How to Access the value(Ex: Delivery no) From Web to R/3 side.
How to Access the value(Ex: Delivery no) From Web to R/3 side.
Any sample code please suggest.
saiHi,
Try RSA3.
Extract Checker
/people/sajeed.ms/blog/2006/02/12/extract-checker
Thanks,
JituK -
How to access JNDI tree of Admin Server from Managed Server
Hello,
I created Managed and Admin Server for Domain.
On Managed Server I use:
InitialContext con = new InitialContext()
It points to Managed Server local JNDI tree and
Managed Server can't find JNDI tree of Admin Server.
Looks like Managed Server is regular remote client of Admin Server.
How to access JNDI tree of Admin Server from Managed Server?
Thanks.
Oleg.Hello,
I created Managed and Admin Server for Domain.
On Managed Server I use:
InitialContext con = new InitialContext()
It points to Managed Server local JNDI tree and
Managed Server can't find JNDI tree of Admin Server.
Looks like Managed Server is regular remote client of Admin Server.
How to access JNDI tree of Admin Server from Managed Server?
Thanks.
Oleg. -
How to create JMS Queue in soa 11g?do we need to create jmsuser user in db
Hi All,
We r using SOA 11.1.1.3 version do we get jmsuser user while installing itself. we r unable to see this user. Can anyone suggest how to create a JMS queue in soa 11g.
Thanks,
RRHi,
Oracle SOA runs over weblogic application server 10.3.3
If you want to create a JMS queue, then you have to create it on weblogic server. For creating a JMS queue, first of all create a JMS server on weblogic admin console (by default http://localhost:7001/console) (Services --> Messaging --> JMS Servers) and target it to a server/cluster as desired. Now create a JMS module (Services --> Messaging --> JMS Modules) and target it to same server/cluster.
Now create a sub-deployment in JMS Module (Services --> Messaging --> JMS Modules --> Your JMS Module --> Subdeployments tab) and select the JMS server you created initially as a target of this subdeployment.
Now create a connection factory in that JMS module and in advanced targetting select the subdeployment you created. Now create a JMS queue in the same JMS module and in subdeployment select the subdeployment you created.
If you want to access this queue from an application then JMS URL should be like -
jms://hostname:port/connFactoryJNDIName/QueueJNDIName
Regards,
Anuj -
How to Check JMS Queue in BPEL
Hi All,
we have a case where SOA shows message is successfully sent to TIBCO, But it is not available in TIBCO queues.
We have the property file used by BPEL for different instances and the JMS queue mentioned are different for different instances.
So how to check to which TIBCO queue SOA sent message through BPEL.
Rgds,Based on the JNDI look up used, you can determine the instance. Iam not sure this is the right way but you can try this.
Thanks,
Vijay -
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>
Maybe you are looking for
-
How do I stop Google results from redirecting me back to the main site itself?
Hi, so today, this morning, when I booted up my laptop (Mac, OS X Mavericks), Safari and Google started freaking out on me. It was the first time anything of the sort has happened to me before, and being the lousy tech person I am, I am freaking out
-
I had an iTunes account on my old PC. The computer is shot and I want to sync my phone to the new laptop. When I try and do that, I get a message that I can only sync to one library. I don't want to conitnue because I am afraid of losing contact i
-
Hi.. Can somebody tell me what the best report could i request where these values are present 1.) ASSET KEY MAJOR CATEGORY MINOR CATEGORY COST ACCUMULATED DEPRECIATION NET BOOK VALUE 2.) PERIOD (MONTH) DEPRECIATION 3.) INVENTORIABLE EXPENSE (These th
-
Hi. Do I need extra software for my MBPro to implement RAID 1 on a set of external hardrives? 1TB WD My Book Studio Edition (Fire Wire 400 & 800; USB 2; eSATA) and 1TB Lacie (USB 2 only). Will these drives work as a RAID 1 set if one is USB only and
-
Runtime Engine 7.1.1 Disk 2 when starting Labview
I have labview version 8.2.1 installed on my computer. The other day I installed some application by another company that must have installed Labview Runtime Engine 7.1.1 on my computer. I didn't need that program anymore, so I uninstalled it. Now