Hi,
I'm still not able connect to JMS queue to Glassfish v3. My code worked well on Glassfish v2.
I have copied this list of jars to my standalone JMS client appl:
auto-depends.jar
deployment-javaee-full.jar
gf-client.jar
gf-client-module.jar
gf-connectors-connector.jar
gf-ejb-connector.jar
gf-jruby-connector.jar
gf-web-connector.jar
glassfish-api.jar
glassfish-naming.jar
hk2-core.jar
internal-api.jar
security.jar
tiger-types-osgi.jar
My jndi.prop contains only this:
java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
org.omg.CORBA.ORBInitialHost=prenek
(Glassfish is running on localhost). Rest of connection info I provide in runtime.
Error message what I receive
Cannot connect to JMS queue MyQueue1, will RECONNECT
net.gmc.pa.utils.service.ServiceConnectionException: Lookup failed for 'myQueueFactory' in SerialContext targetHost=prenek,targetPort=3700
Stacktrace:
Caused by: java.lang.NullPointerException
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:297)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:271)
I got same error even Glassfish is not running! Could anybody provide solution?
Thanks in advance
[Message sent by forum member 'liborgmc']
http://forums.java.net/jive/thread.jspa?messageID=476501