M
Marty
Anyone using JBoss JMS with Oracle 9i? I've downloaded the JBoss patch from
Sourceforge that is supposed to work with Oracle Advanced Queuing, but I
can't get it to work. I keep getting a ClassCastException.
Below is the error output. I've posted to a few other forums including the
sourceforge patch list, but I haven't gotten any feedback.
JBoss 3.2.3 (also tried 3.2.4)
JDK 1.4.1 and 1.4.2 (tried both)
Oracle 9.2 with AS 9.0.4 AQ libraries.
I've tried running on Linux Mandrake 9.1 and windows w2k
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)
Sourceforge that is supposed to work with Oracle Advanced Queuing, but I
can't get it to work. I keep getting a ClassCastException.
Below is the error output. I've posted to a few other forums including the
sourceforge patch list, but I haven't gotten any feedback.
JBoss 3.2.3 (also tried 3.2.4)
JDK 1.4.1 and 1.4.2 (tried both)
Oracle 9.2 with AS 9.0.4 AQ libraries.
I've tried running on Linux Mandrake 9.1 and windows w2k
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)