Sufi,
This line says it all:
Root cause:
java.lang.NoClassDefFoundError: javax/sql/DataSource
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:1039)

the javax.sql package is not in your classpath.
Do you have the JDBC 2.0 Optional Package API installed?
http://java.sun.com/products/jdbc/download.html
-Richard

At 02:02 PM 4/9/2002 +0000, you wrote:
>I got this error , could you please tell me what could be the error :
>
>Error: 500
>Location: /dotJ/test.jsp
>Internal Servlet Error:
>
>javax.servlet.ServletException: javax/sql/DataSource
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>        at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>        at org.apache.tomcat.core.Handler.service(Handler.java:287)
>        at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>        at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
>        at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>        at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
>        at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>        at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>        at java.lang.Thread.run(Thread.java:484)
>
>Root cause:
>java.lang.NoClassDefFoundError: javax/sql/DataSource
>        at java.lang.Class.getMethods0(Native Method)
>        at java.lang.Class.getDeclaredMethods(Class.java:1039)
>
>
>thanks
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://archives.java.sun.com/jsp-interest.html
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.jsp
>http://www.jguru.com/faq/index.jsp
>http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to