geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ishree <itish...@gmail.com>
Subject Java:comp error
Date Thu, 09 Apr 2009 10:27:01 GMT

I am getting the following error while deploying application ear in geronimo
2.1.3 and 2.1.4. This was working in 1.1.1:

15:35:09,600 INFO  [OracleAQListener] Starting Queues for: A0001
15:35:09,631 INFO  [OracleAQListener] B4 Queue Session...........
15:35:09,678 INFO  [OracleAQListener] After Queue Session...........
15:35:10,224 INFO  [OracleAQListener] Starting Queues for: A0001
15:35:10,224 INFO  [OracleAQListener] B4 Queue Session  in run()...........
15:35:10,224 INFO  [OracleAQListener] badd :::::::1.1
15:35:10,457 ERROR [OracleAQListener] Opening DB connections
java.lang.NullPointerException: You have accessed the java:comp jndi context
on a thread that has not initialized it
	at
org.apache.geronimo.gjndi.JavaCompContextGBean.getContext(JavaCompContextGBean.java:34)
	at
org.apache.xbean.naming.context.ContextFlyweight.lookup(ContextFlyweight.java:47)
	at
org.apache.xbean.naming.context.ContextFederation.getFederatedBinding(ContextFederation.java:69)
	at
org.apache.xbean.naming.context.AbstractFederatedContext.getBinding(AbstractFederatedContext.java:63)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:139)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:625)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:162)
	at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
	at javax.naming.InitialContext.lookup(InitialContext.java:392)
	at oracle.jms.EmulatedXAHandler.<init>(EmulatedXAHandler.java:69)
	at oracle.jms.AQjmsSession.<init>(AQjmsSession.java:378)
	at oracle.jms.AQjmsConnection.createQueueSession(AQjmsConnection.java:655)
	at ltc.vise.hl7.gbean.OracleAQListener.<init>(OracleAQListener.java:132)
	at ltc.vise.hl7.gbean.OracleAQProxy.doStart(OracleAQProxy.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)


By looking at the stack trace we found that the error occured while lookinb
up JNDI name "java:comp/pm/TransactionManage" in EmulatedXAHandler.java.
This file is a part of aqapi.jar which we are using. 

Anything regarding this will be very helpful.
-- 
View this message in context: http://www.nabble.com/Java%3Acomp-error-tp22968244s134p22968244.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message