facebook

weblogic server side error, error no – 500

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #232075 Reply

    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%

    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??
    The way i had included mysql server jar files into weblogic is correct r not ????

    Thanks(inadvance)

    regards,
    ramu

    #232086 Reply

    Scott Anderson
    Participant

    java.lang.NoClassDefFoundError: java/sql/Savepoint

    Ramu,

    What jar or zip file contains java.sql.Savepoint?

    #232198 Reply

    Hello scott,
    I have to no idea where excatly java.sql.Savepoint will be present.
    Can any body help me how to connect mysql server from weblogic using myeclipse

    regards,
    ramu

    #232203 Reply

    Scott Anderson
    Participant

    Ramu,

    We can help you configure our connector so that it does the same thing as your startWeblogic.cmd script, so you can run the same
    within MyEclipse as without. However, getting your weblogic domain configured correctly for your use so that it launches properly
    with the external script is a bit beyond us. If you figure out how to launch properly from the commandline, we can help translate
    to our connector.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: weblogic server side error, error no – 500

You must be logged in to post in the forum log in