You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/04/10 15:36:24 UTC

DO NOT REPLY [Bug 34390] New: - SEVERE: Exception opening database connection

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34390>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34390

           Summary: SEVERE: Exception opening database connection
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
               URL: http://kisslet.alphabit.org
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: humpapa@gmail.com


I was running Sun J2SDK 1.5.0 with Tomcat 5.5.4 and everything was fine.

Then I tried to update to Sun J2RE 1.5.0_02 with Tomcat 5.5.7 and got the error
bellow, now I'm running the new Sun J2SDK 1.5.0_02 with old Tomcat 5.5.4.

With this error I cannot login users (though I have a servlet that accesses the
same database using the same driver with no problem at all).

here it is:

Using CATALINA_BASE: /oem/java/tomcat Using CATALINA_HOME: /oem/java/tomcat
Using CATALINA_TMPDIR: /oem/java/tomcat/temp Using JRE_HOME: /usr/lib/j2re1.5-sun

Apr 10, 2005 2:06:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
Apr 10, 2005 2:06:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Apr 10, 2005 2:06:19 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2813 ms
Apr 10, 2005 2:06:19 PM org.apache.catalina.core.StandardService start
INFO: Starting service HTTPS public service
Apr 10, 2005 2:06:19 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
Apr 10, 2005 2:06:19 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 10, 2005 2:06:20 PM org.apache.catalina.startup.ContextConfig
validateSecurityRoles
INFO: WARNING: Security role name blog used in an <auth-constraint> without
being defined in a <security-role>
Apr 10, 2005 2:06:20 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name SSL public engine engine
Apr 10, 2005 2:06:21 PM org.apache.catalina.startup.ContextConfig
applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[SSL public
engine engine].StandardHost[private.alphabit.org].StandardContext[/static]
Apr 10, 2005 2:06:22 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-443
Apr 10, 2005 2:06:22 PM org.apache.catalina.core.StandardService start
INFO: Starting service HTTP public service
Apr 10, 2005 2:06:22 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
Apr 10, 2005 2:06:22 PM org.apache.catalina.realm.JDBCRealm start
SEVERE: Exception opening database connection
java.sql.SQLException: org.postgresql.Driver
        at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:646)
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:720)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 10, 2005 2:06:22 PM org.apache.catalina.core.StandardHost start

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org