tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Park, Sung-Gu" <jeri...@thinkfree.com>
Subject an installation error with mySQL
Date Sat, 21 Apr 2001 11:02:53 GMT
I made my authority database on mySQL for tomcat 4.0-b4 dev.
And the user and user_pass field in the users table and
user_roles in the user_roles table are made.
There is no @localhost user though,
I got an error probably related to catalina.policy or
 the problem with database like the below?

What do I solve for it?

Thanks in advance,

Sung-Gu


P.S.: the error message is like :

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b4-dev
Catalina.start: LifecycleException:  Exception opening database connection:
java
.sql.SQLException: Cannot load connection class 'java.sql.SQLException:
General e
rror: Access denied for user: '@localhost' to database 'authority''.
LifecycleException:  Exception opening database connection:
java.sql.SQLExceptio
n: Cannot load connection class 'java.sql.SQLException: General error:
Access den
ied for user: '@localhost' to database 'authority''.
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:561)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)

        at
org.apache.catalina.core.StandardService.start(StandardService.java:35
3)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:458)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:712)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:634)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
----- Root Cause -----
java.sql.SQLException: Cannot load connection class 'java.sql.SQLException:
Gener
al error: Access denied for user: '@localhost' to database 'authority''.
        at org.gjt.mm.mysql.Driver.connect(Driver.java)
        at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:506)
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:559)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1044)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)

        at
org.apache.catalina.core.StandardService.start(StandardService.java:35
3)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:458)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:712)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:634)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)



Mime
View raw message