Forums Register Login

Help with JBoss JMS and Oracle

+Pie Number of slices to send: Send
I'm having problems using JBoss JMS with oracle. I'm using the patch for JBoss from sourceforge, but can't get it to work.

Below is the error I'm getting. I also had problems compiling this, so I don't know if I'm missing a lib or something also. To fix the compile I had to make sure a var was cast for a function call.

Anyone using? Any pointers would be greatly appreciated!!
JBoss 3.2.3
JDK 1.4.1 and 1.4.2 (tried both)
Oracle 9.2 with AS 9.0.4 AQ libraries.

Thanks,

marty


2004-06-10 23:56:13,167 INFO [org.jboss.ejb.EjbModule] Deploying OAQTest
2004-06-10 23:56:13,515 INFO [org.jboss.ejb.EjbModule] Deploying JBossTest
2004-06-10 23:56:14,398 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the topic destination-jndi-name=topic/OAQRequestTopic
2004-06-10 23:56:14,401 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: topic/OAQRequestTopic reason: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.NullPointerException]
2004-06-10 23:56:14,403 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: topic/OAQRequestTopic
2004-06-10 23:56:14,441 INFO [org.jboss.mq.server.jmx.Topic.OAQRequestTopic] Bound to JNDI name: topic/OAQRequestTopic
2004-06-10 23:56:14,443 INFO [org.jboss.mq.server.jmx.Topic.OAQRequestTopic] Started jboss.mq.destination:service=Topic,name=OAQRequestTopic
2004-06-10 23:56:14,572 WARN [org.jboss.jms.asf.StdServerSessionPool] Using a non-XA TopicConnection. It will not be able to participate in a Global UOW
2004-06-10 23:56:14,616 INFO [STDOUT] TOPIC.OAQRequestTopic
2004-06-10 23:56:14,618 INFO [STDOUT] org.jboss.jms.asf.StdServerSessionPool@152e961
2004-06-10 23:56:14,680 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting failed
java.lang.ClassCastException
at oracle.jms.AQjmsConnectionWrapper.createDurableConnectionConsumer(AQjmsConnectionWrapper.java:83)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:586)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:234)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
+Pie Number of slices to send: Send
it is obvious that your JNDI configure has problem,see this line:
destination-jndi-name=topic/OAQRequestTopic
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 648 times.
Similar Threads
Error in deployment of MDB in jboss
Error in Startup JBOSS
JBoss 5.1.0GA to Weblogic 8.1 Bridge - Getting CNFE for weblogic.jndi.WLInitialContextFactory
problem in configuring jboss-3.2.3 with mssqlserver2000
java.lang.Unsatisfiedlinkerror
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:24:58.