The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tomcat stopped working

Discussion in 'General Discussion' started by big, Mar 18, 2007.

  1. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Earth
    for some reason since 2 days ago tomcat stopped working by itself

    i removed it and reinstalled it several times with no luck at all

    it seems it has something todo with mysql connectivity, but the weird thing its working on php just fine

    even the test code its not working:
    Code:
    <%@ page import="java.sql.*" %>
     
    <html>
    
            
    <% Connection connection = null;
                   
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   connection = DriverManager.getConnection(
                      "jdbc:mysql://127.0.0.1/test_db?user=test_user&password=test_pass");
    
    %>
    
    any recommendations?
     
Loading...

Share This Page