• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help with JBoss JMS and Oracle

 
Martin Phee
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
jshf jsf
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is obvious that your JNDI configure has problem,see this line:
destination-jndi-name=topic/OAQRequestTopic
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!