JNDI problem in SUN Webservr 7

Dear All,

we are running our website on windows plateform with tomcat 5 and mysql. i connect the database from JNDI connection

Now we shift the tomcat on linux now the JNDI connection is not working. after this we shift the to sun webserver 7 on linux plateform.

here is the same problem.

error is :-

javax.naming.NameNotFoundException: PWC4216: Name AkshJNDI is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:772) at org.apache.naming.NamingContext.lookup(NamingContext.java:142) at org.apache.naming.NamingContext.lookup(NamingContext.java:783) at org.apache.naming.NamingContext.lookup(NamingContext.java:155) at org.apache.jsp.test_005fpool2_jsp._jspService(test_005fpool2_jsp.java:56) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:345) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:311) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilte rChain.java:391) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 272) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal ve.java:232) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 179) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:160) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at com.sun.webserver.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:14 9) at com.sun.webserver.connector.nsapi.NSAPIConnector.service(NSAPIConnector.java:99 5)

i am not able able to understand what i do my web.xml,sun-web.xml and server.xml is okay

regards

devendra

[2181 byte] By [devendra.meenaa] at [2007-11-26 21:08:14]
# 1
Please post relevant parts of server.xml, web.xml and sun-web.xml.
scandya at 2007-7-10 2:43:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Also, look at the server.log file for clues of failure to initialize the resources during startup (ex. missing classes, etc)
nseguraa at 2007-7-10 2:43:37 > top of Java-index,Web & Directory Servers,Web Servers...