You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John de la Garza <jd...@designinsites.com> on 2001/03/07 22:58:59 UTC

can't set up jdbc security

I guess tomcat 4 doesn't have RequestInteceptors...is that true?  Are they
now called realms?


anyways,


I am getting this error

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b1
Catalina.start: LifecycleException:  This Realm has already been started
LifecycleException:  This Realm has already been started
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:542)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1142)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:217
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:3
53)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:454
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:654)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157)



my server.xml has this:

<Realm className="org.apache.catalina.realm.JDBCRealm"
            debug="99"
	       driverName="org.gjt.mm.mysql.Driver"
            connectionURL="jdbc:mysql://209.19.117.5/didev"
            connectionName="sa"
            connectionPassword=""
	    userTable="user"
            userNameCol="userName"
            userCredCol="password"
	    userRoleTable="userRole"
            roleNameCol="role" />