Hi,
I have been using genericjmsra 2.0 alpha with Oracle AQ Queues for a while successfully now, recently we have moved to using Oracle OID LDAP so I am trying to convert my existing working setup to obtain QCF and Queue details from our OID directory. I can see that genericjmsra is successfully connecting to OID and is using the details I have specified to retrieve a QCF, however once it has obtained the QCF I get the following error:
[#|2008-09-24T11:54:30.718+0100|WARNING|sun-appserver-ee8.1|javax.enterprise.system.stream.err|_ThreadID=10;|javax.resource.ResourceException: The class name specified is oracle.jms.AQjmsQueueConnectionFactory . It is not an instance of javax.jms.ConnectionFactory.
at com.sun.genericra.inbound.sync.SyncJmsResourcePool.initialize(SyncJmsResourcePool.java:135)
at com.sun.genericra.inbound.sync.SyncConsumer.initialize(SyncConsumer.java:62)
at com.sun.genericra.inbound.sync.SyncConsumer.start(SyncConsumer.java:67)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:216)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
at com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
This error confuses me somewhat since oracle.jms.AQjmsQueueConnectionFactory implements the javax.jms.QueueConnectionFactory interface which itself extends the javax.jms.ConnectionFactory Interface as shown in the following link:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28392/oracle/jms/AQjmsQueueConnectionFactory.html
I have also written a bit of code which connects to OID and performs the same lookup, doing this confirms that the object returned is an instance of oracle.jms.AQjmsQuquqConnectionFactory.
As a result of this I'm a bit stumped so would be very grateful of any advice anyone could offer.
In case it is of any benefit I am following the instructions from this document:
https://genericjmsra.dev.java.net/docs/oracleaq/glassfish-oracleaq.pdf
Many thanks,
Edd
[Message sent by forum member 'djeddyg' (djeddyg)]
http://forums.java.net/jive/thread.jspa?messageID=301802