The first problem :

You need to add your JDBC jars to the wrapper.properties file serach for
the place where the classpath of the JVM is constructed  and add your
jar there..


Second Problem:

Is known bug of 3.2.2 VErsion of JDBCRealm go for 3.2.3 AFAIK it
corrected in that version.., but has to do with a connection problem
when initializing JDBCRealm

hth 

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Joe Clem [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles 1 de agosto de 2001 8:06
> Para: [EMAIL PROTECTED]
> Asunto: Oracle JDBCRealm
> 
> 
> Here it goes.
> 
> Tomcat 3.2.2
> Tomcat running on NT using IIS
> I am using oracle8i on a unix server
> put classes111.zip in TOMCAT_HOME/lib and renamed to classes111.jar
> I have verified that this jdbc driver is compatible with the oracle8i
> server.
> 
> The following is in my server.xml file
> <RequestInterceptor
>               className="org.apache.tomcat.request.JDBCRealm"
>               debug="0"
>               driverName="oracle.jdbc.driver.OracleDriver"
>               connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
>               connectionName="doej"
>               connectionPassword="pass"
>               userTable="users" userNameCol="username"
> userCredCol="password"
>               userRoleTable="user_roles" roleNameCol="role_name" />
> 
> When I try to start my jakarta service I get a 
> ClassNotFoundError and it
> will not start.  I am assuming it cannot find the class.  I checked
> classes111.jar and the class "oracle.jdbc.driver.OracleDriver" does
> exist.
> 
> I then, for fun, ran tomcat from a dos window.  There I get a 
> different
> error: "MissingResourceException:  Can't find resource for bundle
> java.util.PropertyResourceBundle, key
> jdbcRealm.checkConnectionSQLException.
> 
> When I tried to access jsp files from a browser on a 
> different machine I
> could get to the tomcat example jsp's, so tomcat was indeed up and
> running.  The authentication stuff wasn't working.
> 
> Can anybody help?  I am very confused about the 2 different errors.  I
> am actually confused that I get any errors.
> 
> Any help would be appreciated.
> 
> Thanks.
> 
> Joe
> 
> 

Reply via email to