Posted: Fri Dec 20, 2002 8:23 am Post subject: Periodic NamingException
Novice
Joined: 18 Dec 2001 Posts: 11
Hi.
We're using JMS to do Pub/Sub and periodically we run into NamingExceptions while performing a lookup for a topic. We are using FileSystem as Context and we're trying to publish 10K messages using 20 concurrent publishing threads. It is not specific to one topic (it periodically happens for all 4 topics that we are trying to publish). I've checked the bindings file and the entries do exist. We are also able to publish a majority of the messages but on occassion, we get these NamingExceptions.
I am questioning if there's a load issue related to retrieving mq objects through FSContext. We are currently in the processing of testing using a high-load, all to be published to one topic to reproduce the issue.
I have attached the exception below. Any ideas?
Thanks -- Selena
javax.naming.NamingException: unexpected exception. Root exception is java.lang.NullPointerException at com.sun.jndi.fscontext.FSContext.generateNamingException(FSContext.java:809) at com.sun.jndi.fscontext.FSContext.generateNamingException(FSContext.java:783) at com.sun.jndi.fscontext.RefFSContext.getBindings(RefFSContext.java:575) at com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:325) at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146) at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127) at javax.naming.InitialContext.lookup(InitialContext.java:345) at com.ml.edsi.mif.publisher.MIFPublisher.publish(MIFPublisher.java:117) at com.ml.edsi.mif.srvccoordinator.ServiceCoordinatorBean.publishResponse(ServiceCoordinatorBean.java:849) at com.ml.edsi.mif.srvccoordinator.ServiceCoordinatorBean.processPublishMessage(ServiceCoordinatorBean.java:969) at com.ml.edsi.mif.srvccoordinator.ServiceCoordinatorBean.publishRequest(ServiceCoordinatorBean.java:1152) at com.ml.edsi.mif.srvccoordinator.ServiceCoordinatorBean_hvnjoz_EOImpl.publishRequest(ServiceCoordinatorBean_hvnjoz_EOImpl.java:83) at com.ml.edsi.mif.srvccoordinator.ServiceCoordinatorBean_hvnjoz_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305) at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274) at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum