InternalServerError
Posted by: seetharamakrishna kurra
Date: July 01, 2005 04:53AM

Hello techies,
Iam using MyElcipse3.8.4, eclipse-3.1M7,jdk1.5,weblogic7,mysql server 4.1

Here i am trying to connect mysql server from weblogic.
I had added the mysql jdbc connector zip n jar files to the classpath in the following way.
windows>preferences>MyEclipse>ApplicationServer>weblogic7>launch>add claspath.

After this one i had modified the startweblogic.cmd
The modification are
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
SET
set CLASSPATH=D:\mysql\mysql-connector-java-3.1.8a.zip;D:\mysql\mysql-connector-java-3.1.8\mysql-connector-java-3.1.8-bin.jar;D:\mysql\mysql-connector-java-3.1.8\mysql-connector-java-3.1.8-bin-g.jar%CLASSPATH%

Is there any need to change this script??

Actuallly iam unable to find out the driver com.mysql.jdbc.Driver in the mysql-connector-java-3.1.8a.zip file which is provided By the MySQL server for jdbc connection ???????????????????

Iam able to connect it to mysql server from ordinary jdbc programs.

Now it is showing error 500:Internal server error

Here is the error.

Activate application _appsdir_databaseConnection_war on myserver( Running )
Activate application _appsdir_databaseConnection_war on myserver( Completed )
<Jul 1, 2005 4:50:54 PM IST> <Error> <HTTP> <101017> <[ServletContext(id=4225849,name=databaseConnection,context-path=/databaseConnection)] Root cause of ServletException
java.lang.NoClassDefFoundError: java/sql/Savepoint
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at test.doGet(test.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>


can anybody tell me y this server side error is occuring??


Thanks(inadvance)

regards,
ramu

Options: ReplyQuote


Subject
Written By
Posted
InternalServerError
July 01, 2005 04:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.