Archive

Posts Tagged ‘NameNotFoundException’

NameNotFoundException with FSContext

February 5th, 2008 Arun Manivannan No comments

This was my trace. Never thought i was so dumb. I was breaking my head on this for about two hours.

javax.naming.NameNotFoundException; remaining name 'c:\temp'
at com.sun.jndi.fscontext.FSContext.checkExists

(FSContext.java:860)
at com.sun.jndi.fscontext.FSContext.

checkIsDirectory(FSContext.java:893)
at com.sun.jndi.fscontext.FSContext.(FSContext.java:148)
at com.sun.jndi.fscontext.FSContext.(FSContext.java:123)
at com.sun.jndi.fscontext.RefFSContext.(RefFSContext.java:136)
at com.sun.jndi.fscontext.RefFSContextFactory.

createContext(RefFSContextFactory.java:32)
at com.sun.jndi.fscontext.RefFSContextFactory.

createContextAux(RefFSContextFactory.java:37)
at com.sun.jndi.fscontext.FSContextFactory.

getInitialContext(FSContextFactory.java:65)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at com.ml.cortex.eds.dao.ConnectionManager.

createDataSources(ConnectionManager.java:34)

The solution is simple. Before using a url in the FSContext create the directory. In my case, c:\temp. Create the directory “temp” inside c:\ drive.

Configure JMS Server in Weblogic 9.2

July 31st, 2007 Arun Manivannan 3 comments

I did this homework today. Just wanted to share it with you. I have uploaded the JMS Sender and the Receiver files and the JMS server in Weblogic 9.2 configuration procedure in a separate pdf file. You can find these files HERE

As for others who has reached this page after getting a NameNotFoundException — Unable to resolve destination queue, what you have to do is to configure a JMS server under Services –> Messaging and make your DestinationQueue (configured under SystemModule) a subdeployment of the JMSServer. Details of configuring is in the above mentioned PDF.

Categories: Uncategorized Tags: , ,