a colleague of mine ran into this problem just yesterday, though
it was with an oracle 8i instance.

be sure you have the oracle driver in the $JAKARTA_HOME/common/lib
directory.

if it's already there, i bet you're running windows.  :)

apparently installing tomcat on windows creates a shortcut to
launch tomcat.  if you use that shortcut, you'll get this problem.
apparently the $JAKARTA_HOME/common/lib directory is not set in
the classpath when you use this shortcut.

browse to your $JAKARTA_HOME/bin directory and manually run the
startup script.  see if that helps.

                   - david -


On 2002.04.10 02:03 Mehmet Ugur Kuzu (LinkPlus) wrote:
> I am getting error like at the bottom when i want to use jdbc realm
> against
> oracle 9i db,
> is this a bug ?
> how can i resolve this ,
> 
> 
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.2
> Catalina.start: LifecycleException:  Exception opening database
> connection:
> jav
> a.sql.SQLException: oracle.jdbc.driver.OracleDriver
> LifecycleException:  Exception opening database connection:
> java.sql.SQLExcepti
> on: oracle.jdbc.driver.OracleDriver
>         at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
> 
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
> )
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:3
> 88)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:506
> )
>         at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>         at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> ----- Root Cause -----
> java.sql.SQLException: oracle.jdbc.driver.OracleDriver
>         at 
> org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
>         at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
> 
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
> )
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:3
> 88)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:506
> )
>         at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>         at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> 
> 
> 
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to