Unable to post messages to Weblogic JMS queue
Hi All,
I am using weblogic 10.3.3.0, SOA and JDev 11.1.1.3.0.
(Weblogic came with JDev.)
I have created a JMS Server, JMS Module, ConnectonFactory and Queue in weblogic.
I am able to see that queue in my JDev and trying to enque some simple message as opaque data.
But I am getting below error while enqueuing.
CF: jms/PavanQueue/PavanQueueCF
QueueName: jms/Pavan4sQueue
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. HelloWorldBPEL:EnqueueToMyQueue [ Produce_Message_ptt::Produce_Message(opaque) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jms/PavanQueue/PavanQueueCF'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jms/PavanQueue/PavanQueueCF. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jms/PavanQueue/PavanQueueCF'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jms/PavanQueue/PavanQueueCF. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail>
</part>
<part name="code">
<code>12510</code>
</part>
</bindingFault>
</bpelFault>
</fault>I am able to see Weblogic-ra.xml files in 5 locations.
one in user_projects/....../JmsAdapter/../Meta-INF
and other in wlserver_10.3\server\lib JMS folders.
Which file I have to check. And I did not find any details about CFs or Queues in these XMLs.
Please show the way.
Regards
PavanKumar.M
Edited by: pavan4s on Sep 17, 2010 6:56 AM
Hi !
Did you add jms/PavanQueue/PavanQueueCF in the JMSAdapter outbound connection pools ?
Deployments > JMS Adapter > Configuration > Outbound connection pools
Add jms/PavanQueue/PavanQueueCF with the correct parameters.
Then, don't forget to redeploy the JMS Adapter.
Romain.
Similar Messages
-
Oracle PL/SQL procedure/function to post message into weblogic jms queue
Hi All,
Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
From this Queue, message will be read by OSB interface.
Any help will be highly appreciated.
Regards,
Steve904640 wrote:
Hi All,
Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
From this Queue, message will be read by OSB interface.
Any help will be highly appreciated.
http://www.lmgtfy.com/?q=oracle+pl/sql+weblogic+jms+queue -
Oracle PL/SQL procedure to post message into weblogic jms queue
Hi All,
Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
From this Queue, message will be read by OSB interface.
Any help will be highly appreciated.
Regards,
Steve904640 wrote:
Hi All,
Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
From this Queue, message will be read by OSB interface.
Any help will be highly appreciated.
http://www.lmgtfy.com/?q=oracle+pl/sql+weblogic+jms+queue -
Oracle PL/SQL send/receive message in weblogic jms queue
I am looking for a very simple way using oracle plsql to send and receive messages in a weblogic jms queues.
ThanksEven i am looking for the same . Would be great if someone would help ..The jms setup has to be done in weblogic like the jms server, jms module, Jms connection factory , jms queue and then the jndi names . Now thw Problem here lies to me is that i really dont knw what should be the connection factory targets ,jndi names and where do i give the schema details as in the user name ,password , db name . Also if there is any explaination with eg on how to send /receive messages from a db trigger to jms queues .
-
How to read the messages in the JMS Queue using JMX
Hi,
I want to read messages in the JMS queue using JMX. I was able to read using QueueBrowser but want to modify priority of the messages using JMX.
I tried to use JMSDestinationRuntimeMBean but it does not allow us to read messages unless we pass the message Id. Is there any way that I can get all the messages in the queue.
I am using Weblogic 8.1 SP4
Can someone please help me in this regard.
Thanks,
Kiran.
Edited by KGudipati at 10/22/2007 1:22 AMHi,
As far as i know, JMS Object Messages is not supported by XI JMS adapter.
you need to have the JMS provider to transform the message to bytes messages.
(Refer to SAP note 856346) -
Queue up messages in a JMS queue during DB outages.
I am currently using a MessageDriven EJB that pops messages of a JMS queue and
then grabs a connection from a weblogic dbpool and process it. However if the
database is down, the EJB still pops off messages and then throws exceptions when
trying to get the connection from the pool and the exception is logged and the
message lost.
How can i architect the application so that when the db is down the messages are
queued up in the JMS queue, so that when the DB comes back online they can be
processed.?The $ is not a valid character for an element NAME per W3C standards. In short you can only use letters, numbers and the underscore ( _ )..
You need to correct this message / data and reprocess the message.
Setup an Error Queue so these messages get thrown some where that will not cause issues in your system. Then use error handling in something like AIA to report back to your support staff that a bad message was encountered, needs to be fixed and reprocessed.
You will see that if you do a google search for how to escape a dollar sign in xpath, there are no good results....
Hope that helps!
-Luke -
IS XI Support BEA Weblogic JMS Queue
Hi
I have a scenario where i have to send and recive message from the Weblogic JMS Queue ..
Is XI support Weblogic JMS Queue ..if it is which tranport protocol i have to use to connect to Weblogic queue
SVHi
Thanks Ravi..
U mean to say i have to use the Transport Protocol
Access JMS Provider with JNDI
I have few more questions like ..
what needs to filled in Connection parameters:
JNDI Look up name of Queue Connection Factory:
JNDI Look up name of JMS Queue:
Name of JNDI Initial Context Factory:
JNDI Sever Address:
JNDI Logon User:
JNDI Logon Password:
When i selected the Protocol some default Values came in do i have have to change any thing
JNDI Look up name:
JNDI Look up name of JMS Queue:
Name of JNDI Initial Context:
as u mentioned in Server address i will put : t3://server:XXX
and i have given the user id and Password ..
the user id and password is same for both JNDI logon and JMS Queue User..
SV -
Connect from Weblogic JMS queue to SAP WAS JMS queue
Hi,
I am trying to setup a WLS 8.1 messaging bridge between a weblogic JMS queue and a SAP WAS JMS queue. I have configured a queue on both Weblogic and SAP WAS and I have set up the messaging bridge and bridge destintations in weblogic. However when weblogic tries to get the SAP initial context factory it fails with the error below.
I have added the SAP Client jars to the weblogic system classpath, and in the weblogic startup script but it still fails. Has anyone connected from an external JMS queue to a SAP WAS JMS queue that could provide me with some guidence?
<10/08/2006 08:23:45 AM WST> <Warning> <Connector> <BEA-190032> << Weblogic Mess
aging Bridge Adapter (XA)_eis/jms/WLSConnectionFactoryJNDIXA > ResourceAllocatio
nException of javax.resource.ResourceException: ConnectionFactory: failed to get
initial context (InitialContextFactory =com.sap.engine.services.jndi.InitialCon
textFactoryImpl, url = ux0800:55304, user name = username) on createManagedConnectio
n.>
Thanks
WarrenStoyan,
Thanks for that.
My problem ended up being a classpath problem. I referenced the directory of the SAP jars in the weblogic start up script. When I changed this to reference each jar individually it worked.
I have a new issue now which may have something to do with security. The trace suggests it is logging on as the guest user, even though I entered my username and password in the Messaging bridge.
#1.5#000E7FED310600A30000008A0000302D00041AA399E338B4#1155189870559#com.sap.jms##com.sap.jms.server.sessioncontainer.InboundBus instance=BWIP#J2EE_GUEST#0####165536f0283611db8903000e7fed3106#SAPEngine_Application_Thread[impl:3]_126##0#0#Error##Plain###com.sap.jms.server.exception.JMSServerInvalidDestinationException: No destination with ID=0 found.
at com.sap.jms.server.service.impl.RegistryServiceImpl.getDestinationContext(RegistryServiceImpl.java:404)
at com.sap.jms.server.sessioncontainer.InboundBus.getDestinationContext(InboundBus.java:98)
at com.sap.jms.server.sessioncontainer.InboundBus.process(InboundBus.java:153)
at com.sap.jms.server.sessioncontainer.InboundBus.enqueue(InboundBus.java:116)
at com.sap.jms.server.sessioncontainer.SessionContainer.receiveFromDispatcher(SessionContainer.java:63)
at com.sap.jms.server.routingcontainer.RoutingContainer.receiveFromDispatcher(RoutingContainer.java:447)
at com.sap.jms.server.JMSServerContainer.dispatchRequest(JMSServerContainer.java:635)
at com.sap.jms.server.JMSServerFrame.request(JMSServerFrame.java:536)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Warren -
Sending messages concurrently to JMS queue
Hi,
I am using Weblogic 10.3 JMS. I have a .NET producer sending messages to a JMS queue using a threadpool. A Java consumer will be consuming the messages. Is it possible to pool the conections/sessions from the producer side to send messages concurrently from the threadpool. Please help.You can use standard .NET threading to produce messages in different threads.
Keep in mind that producers and session instances themselves must not be multi-threaded, although they can all share the same connection.
When you code, each thread could have a dedicated session and producer.
Alternately, you could write a very simple pool that the threads share to cache producers. On the other hand, sessions and producers are light-weight once they've been created, so there's often little need to go through this trouble.
Tom -
How to pick(or consume) messages from Woblogic JMS Queue only when DB is UP
Hi,
I have a requirement to pick(or consume) messages from Woblogic JMS Queue only when DB is UP.
When DB is down, messages should remain in queue. When DB is up, messaged should be picked on scheduler basis.
We are using SOA suite 11g(BPEL or mediator,JMS Adapter).
What is the best way to achive it in SOA 11g.
I tried, but when I setup a Consumer, there is no control over there. Messages are picked automatically.
Please advise.
Thanks
Ramsomething wrong with the design.
why dont you set the retry options in the fault policies?
So if the external DB is down you could reprocess them after specified interval or make it go to human retry queue.
Then you could use SOA api to retry all of them.
--Prasanna -
Garbage added to log while sending message to Weblogic JMS topic
Hi All,
Was able to sucessfully send messages to Weblogic JMS topic and also able recieve them.
But while sending the messages to topic loy of debug statements are printed to the standard output
This is seen only in production and not in developement, and expecting it due config issue...
Any ideas on this is greatly appriciatied.
Thanks in advance !
Cheers,
AmbhaThanks for the replies,
The problem is certainly not with logger settings...
The statements which are getting printed are SSL debugging
The following settings are used by the application which sends messages to the topic :
Dssl.debug=true
Dweblogic.StdoutDebugEnabled=true
These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
in UAT and Production I am not sure...
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
any Ideas... ?
Thanks
Ambha -
10 million messages in one jms-queue
Hi all,
we want to put about 10 million jms-messages in a jms-queue with a jdbc
persistent store on oracle database.
Does anyone of you made experiences with that much messages in one
queue? Are there any known limitations concerning the number of
messages, e.g. according managing overhead, etc?
Thanks for any comment,
KlaasThe $ is not a valid character for an element NAME per W3C standards. In short you can only use letters, numbers and the underscore ( _ )..
You need to correct this message / data and reprocess the message.
Setup an Error Queue so these messages get thrown some where that will not cause issues in your system. Then use error handling in something like AIA to report back to your support staff that a bad message was encountered, needs to be fixed and reprocessed.
You will see that if you do a google search for how to escape a dollar sign in xpath, there are no good results....
Hope that helps!
-Luke -
Read message synchronously from JMS queue using OSB
Hi,
Is it possible to read message from the JMS queue using OSB based on the request invocation. I know messages can be read from the queue but it will be polling based.
The requirement is to have an OSB proxy service (HTTP service ) an an interface to the client application. Client application invokes the proxy service and the proxy service need to read message from the JMS queue and provide the message as response to the client.
Let me know if there are any pointers.
Thanks
SandeepHi,
I spent some time trying to do this and apart from creating custom database tables etc. I was not able to achieve this.
We wanted to use in memory JMS queues in our situation.
In the end we developed a Java Web Service which preformed the on-demand read from the queue (using a particular message selector)
This is working for us without a problem
Robert -
WLST: how to move messages from a JMS queue to another queue
Hi all,
I'm looking for an example for moving messages from a JMS queue to another JMS queue using WLST.
Do you have an example about that or a piece of code as starting point ?
Thanks in advance
ferphttp://www.javamonamour.org/2011/09/wlst-move-jms-messages.html
-
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: <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.
JohnCould 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
Maybe you are looking for
-
My iPod Touch 4 is stuck in recovery mode & iTunes doesn't recognize it
I ran an IOS Software Update on my Ipod Touch 4, during which the Ipod totally locked up. Then the iTunes icon appeared on the screen, with a power cord symbol. I plugged it into the computer, and opened up iTunes. iTunes said the iPod was in recover
-
Buy One Get One Free on Select Nintendo 3DS Titles
Needs some new games for your Nintendo 3DS. This week only, buy one select 3DS game, get a second for free. The titles included in the offer are listed below. Offer valid 7/20/14-7/26/14. Bravely Default Mario Golf: World Tour Disney Magical World Yo
-
I can't understand why all of a sudden the display on my computer got all darkened, and I have to tilt the computer to barely see what I'm writing or the icons. I tried the brightening the screen but it didn't work so I'm concerned on what's going on
-
I am using Maverick OS X 9.1 numbers 09 (3.1) on an 2007 iMac how do I : 1. Drag a formula down in a column so that it affects the cells below it with the same formula. 2. I used to place a $ before a cell address and it would remain a constant funct
-
I am trying to add a login form from an external website to my iWeb site. The HTML Snippet works great to add the script, and it shows up in iWeb fine. Then I publish it and it shows up in Safari fine, but it wont show up in any other browser. Not IE