Getting javax.naming.NameNotFoundException
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Basavaraj_Bass
Posted On:   Friday, July 9, 2004 06:45 AM

Hi All, Installed weblogic 7.0 SP2 on windows 2000,admin and manage servers are running fine. Created pools and Datasource I am getting error when I am testing connectivity to database using JNDI. can anyone help me on this. javax.naming.NameNotFoundException: Unable to resolve 'poolDS' Resolved: '' Unresolved:'poolDS' ; remaining name 'poolDS' at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230) at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)    More>>

Hi All,
Installed weblogic 7.0 SP2 on windows 2000,admin and manage servers are running fine.

Created pools and Datasource
I am getting error when I am testing connectivity to database using JNDI.

can anyone help me on this.

javax.naming.NameNotFoundException: Unable to resolve 'poolDS' Resolved: '' Unresolved:'poolDS' ; remaining name 'poolDS'

at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)

at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)

at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)

at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)

at javax.naming.InitialContext.lookup(InitialContext.java:345)

at jsp_servlet._test._reports.__jdbctest._jspService(__jdbctest.java:108)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)



Thanks,

Bass

   <<Less

Re: Getting javax.naming.NameNotFoundException

Posted By:   Sean_Owen  
Posted On:   Friday, July 9, 2004 04:38 PM

You are trying to look up a DataSource under the name "poolDS", but that is not the name under which it is registered. Check your Weblogic config file to find the right name.
About | Sitemap | Contact