1 Reply Latest reply on Jun 14, 2004 10:44 AM by mphee

    Help with JBoss JMS and Oracle Patch

    mphee Newbie

      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. Nothing major, but I'm wondering if I'm missing something

      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.



      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
      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)

        • 1. Re: Help with JBoss JMS and Oracle Patch
          mphee Newbie

          Update. I'm still getting the ClassCastException and can't figure out why. I spent a lot of time Saturday and Sunday trying different things. JBoss 3.2.3 and 3.2.4. Hypersonic and Oracle persistence. Different libraries, but no success.

          I noticed this in the build.xml for the patch, but don't understand why they are needed. I've included them, but it didn't make a difference. I was wondering if it was left over from something else?
          <!-- Update the following properties to match your configuration. -->
          <!-- It is assumed that the com.ibm.mq.jar and com.ibm.mqjms.jar -->
          <!-- OAQ jars have been copied in the ${jboss.server}\lib directory -->

          Any pointers as to what to look at? I don't really need to use JBoss for what I'm doing, but would like to use it so we can do other things.