0 Replies Latest reply on Apr 24, 2006 11:06 AM by Tom Crosman

    How to send JMS Messages to JBoss 4.x from an Oracle 10G DB

    Tom Crosman Newbie

      I'm attempting to create a java stored proc in Oracle that sends a message via JBoss.

      I believe I identified all the depencies and loaded the appropriate JBoss classes. However, when my java code looks up the ConnectionFactory [ctx.lookup("ConnectionFactory")], I'm returned a javax.jms.Reference rather than the SpyConnectionFactory.

      So in an attempt to get the SpyConnectionFactory loaded into Oracle I've placed a reference to it in my java source code and added jbossmq.jar to the dependency tree.

      This loads the appropriate reference but they will NOT compile/resolve in Oracle.

      Any ideas why? Do they contain code specific to a jvm version not supported by Oracle?

      OBTW The code works fine if I run it standalone from main.

      None of the classes below will resolve/compile in Oracle


      class org/jboss/mq/AcknowledgementRequest: resolution
      class org/jboss/mq/Connection$1: resolution
      class org/jboss/mq/Connection$PingTask: resolution
      class org/jboss/mq/Connection: resolution
      class org/jboss/mq/ConnectionToken: resolution
      class org/jboss/mq/GenericConnectionFactory: resolution
      class org/jboss/mq/MessagePool: resolution
      class org/jboss/mq/ReceiveRequest: resolution
      class org/jboss/mq/SpyBytesMessage: resolution
      class org/jboss/mq/SpyConnection: resolution
      class org/jboss/mq/SpyConnectionConsumer: resolution
      class org/jboss/mq/SpyConnectionFactory: resolution
      class org/jboss/mq/SpyConsumer: resolution
      class org/jboss/mq/SpyDestination: resolution
      class org/jboss/mq/SpyEncapsulatedMessage: resolution
      class org/jboss/mq/SpyMapMessage: resolution
      class org/jboss/mq/SpyMessage$Header: resolution
      class org/jboss/mq/SpyMessage: resolution
      class org/jboss/mq/SpyMessageConsumer: resolution
      class org/jboss/mq/SpyMessageProducer: resolution
      class org/jboss/mq/SpyObjectMessage$1ObjectInputStreamExt: resolution
      class org/jboss/mq/SpyObjectMessage: resolution
      class org/jboss/mq/SpyQueue: resolution
      class org/jboss/mq/SpyQueueBrowser$1: resolution
      class org/jboss/mq/SpyQueueBrowser: resolution
      class org/jboss/mq/SpyQueueReceiver: resolution
      class org/jboss/mq/SpyQueueSender: resolution
      class org/jboss/mq/SpyQueueSession: resolution
      class org/jboss/mq/SpySession: resolution
      class org/jboss/mq/SpyStreamMessage: resolution
      class org/jboss/mq/SpyTemporaryQueue: resolution
      class org/jboss/mq/SpyTemporaryTopic: resolution
      class org/jboss/mq/SpyTextMessage: resolution
      class org/jboss/mq/SpyTopic: resolution
      class org/jboss/mq/SpyTopicPublisher: resolution
      class org/jboss/mq/SpyTopicSession: resolution
      class org/jboss/mq/SpyTopicSubscriber: resolution
      class org/jboss/mq/SpyXAResource: resolution
      class org/jboss/mq/SpyXAResourceManager$TXState: resolution
      class org/jboss/mq/SpyXAResourceManager: resolution
      class org/jboss/mq/Subscription: resolution
      class org/jboss/mq/TransactionRequest: resolution
      class org/jboss/mq/il/ClientIL: resolution
      class org/jboss/mq/il/ClientILService: resolution
      class org/jboss/mq/il/ServerIL: resolution
      class org/jboss/mq/il/ServerILFactory: resolution
      class org/jboss/mq/selectors/Operator: resolution
      class org/jboss/mq/selectors/RegExp: resolution
      class org/jboss/mq/selectors/Selector: resolution