0 Replies Latest reply on Jun 10, 2003 10:47 AM by serg

    How I can access from MDB to Oracle Queue?

    serg Newbie


      My project have client which send to MDB JMS message and try to pass over to Oracle Queue.


      I have exception:

      17:07:46,016 INFO [STDOUT] MDBBroker.ctor, this=3412326
      17:07:46,025 INFO [STDOUT] MDBBroker.setMessageDrivenContext, this=3412326
      17:07:46,025 INFO [STDOUT] MDBBroker.ejbCreate, this=3412326
      17:07:46,069 INFO [STDOUT] MDBBroker.onMessage, this=3412326
      17:07:46,070 INFO [STDOUT] MDBBroker.sendReply, this=3412326, dest=QUEUE.A
      17:07:46,084 ERROR [STDERR] java.lang.NullPointerException
      17:07:46,085 ERROR [STDERR] at dtel.middleware.MDBBroker.sendToAQ(MDBBroker.java:115)
      17:07:46,085 ERROR [STDERR] at dtel.middleware.MDBBroker.onMessage(MDBBroker.java:85)
      17:07:46,085 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      17:07:46,086 ERROR [STDERR] at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:434)
      17:07:46,086 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      17:07:46,086 ERROR [STDERR] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
      17:07:46,087 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      17:07:46,087 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:216)
      17:07:46,088 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      17:07:46,088 ERROR [STDERR] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
      17:07:46,088 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      17:07:46,088 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      17:07:46,089 ERROR [STDERR] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:348)
      17:07:46,089 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:674)
      17:07:46,089 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:732)
      17:07:46,089 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1020)
      17:07:46,090 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:241)
      17:07:46,090 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:636)
      17:07:46,090 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:442)
      17:07:46,091 ERROR [STDERR] at org.jboss.mq.SpySession.run(SpySession.java:294)
      17:07:46,091 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
      17:07:46,091 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
      17:07:46,092 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)

      How I must modify configuration of JBoss?


      Thanks.