Something else I just noticed...
When I use the real JNDI name "messageFactory", I get the originally posted
error, however if I try *anything* else that doesnt exist (this came up when
trying something like "jms/messageFactory") I will get
NamingException: null
javax.naming.NameNotFoundException
at
com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:268)
at
com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:191)
at
com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
at
com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:339)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at
net.acadiasoft.shared.jms.util.JMSSenderHelper.getConnectionFactory(JMSSenderHelper.java:128)
at
net.acadiasoft.shared.jms.util.JMSSenderHelper.init(JMSSenderHelper.java:58)
at
net.acadiasoft.shared.jms.util.JMSSenderHelper.<init>(JMSSenderHelper.java:36)
at
net.acadiasoft.web.shared.jms.util.AdminJmsHelper.<init>(AdminJmsHelper.java:19)
at
net.acadiasoft.web.server.pages.SchedulerBackingBean.deleteJobs(SchedulerBackingBean.java:75)
--
View this message in context: http://www.nabble.com/JNDI-Lookup-of-ConnectionFactory-fails-from-inside-Glassfish-application-tf4631296.html#a13225261
Sent from the java.net - glassfish users mailing list archive at Nabble.com.