Please post a bug for this issue in component "auth" at
http://nagoya.apache.org/bugzilla
TIA
Saludos ,
Ignacio J. Ortega
> -----Mensaje original-----
> De: okidz [mailto:okidz]En nombre de Oki DZ
> Enviado el: mi�rcoles 9 de mayo de 2001 11:07
> Para: [EMAIL PROTECTED]
> Asunto: JDBC Realm
>
>
> Hi,
>
> I'd like to run Tomcat using a JDBC connection to a MySQL
> server. When I
> run it, I always have the following (yes, I tried for about three
> times):
> bdg:/usr/local/tomcat/bin# ./catalina.sh run
> Using CLASSPATH:
> /usr/local/tomcat/bin/bootstrap.jar:/usr/local/jdk1.3/lib/mm.m
> ysql210.jar:/usr/local/jdk1.3/lib/tools.jar
> Using CATALINA_HOME: /usr/local/tomcat
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-b3
> 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.jav
> a:1041) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
> at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:353)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
> 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:177)
>
> Here is the Realm entry:
> <Realm className="org.apache.catalina.realm.JDBCRealm"
> debug="99"
> driverName="org.gjt.mm.mysql.Driver"
> connectionURL="jdbc:mysql://bdg.pindad.co.id/James?user=test;p
> assword=test"
> userTable="Users" userNameCol="username"
> userCredCol="password"
> userRoleTable="userroles" roleNameCol="rolename" />
>
> I already have Apache James running. Could it be in conflict with
> Tomcat?
> If I remove the Realm entry, then Tomcat would run perfectly.
> The question is, how can I run both servers at the same place
> and in the
> same time?
>
> TIA,
> Oki
>