You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gita <gi...@it.lv> on 2002/06/21 09:29:37 UTC
Catalina.start: LifecycleException:
Hello!
I have installed new version of tomcat 4.0.4, which i want working
with j2sdk1.4.0. There for i added two jars wich is important for that
in classpathes ojdbc14.jar and nls_charset12.jar.
My server.xml looks like that:
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
connectionName="username"
connectionPassword="passwd"
driverName="oracle.jdbc.OracleDriver"
connectionURL="jdbc:oracle:thin:@datsuns:1521:dev8i"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
When im starting Tomcat i get such error:
HttpConnector Opening server socket on all host IP addresses
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Catalina.start: LifecycleException: Exception opening database connection: jav
a.sql.SQLException: oracle.jdbc.OracleDriver
LifecycleException: Exception opening database connection: java.sql.SQLExcepti
on: oracle.jdbc.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.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.sql.SQLException: oracle.jdbc.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.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Any suggestions?
Gita
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Catalina.start: LifecycleException:
Posted by Tia Haenni <ja...@kc.rr.com>.
I haven't heard of classes112.zip, but I can tell you that you should be
able to find the right drivers at the oracle site:
http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
(requires login with free online account id)
I have used the classes12.zip file by unzipping, jar up, and put in
<tomcat home>\common\lib
Gita wrote:
>Hi,
>
>I have classes111.jar and this is not working. Where can i get
>classes112.jar?
>(New JDBC supporting only jar files and will not accept zips.)
>
>Gita
>
>RS> hi Gita,
>
>RS> AFAIK the type 4 driver for oracle is called classes112.zip...u have to put
>RS> this zip file in <tomcat home>\lib...if it is still unable to find the
>RS> driver...then rename it as classes112.jar or simply unzip the zip file to
>RS> classes..
>
>RS> HTH,
>
>RS> ravi
>
>RS> ----- Original Message -----
>RS> From: "Gita" <gi...@it.lv>
>RS> To: "Tomcat Users List" <to...@jakarta.apache.org>
>RS> Sent: Friday, June 21, 2002 12:59 PM
>RS> Subject: Catalina.start: LifecycleException:
>
>
>
>
>>>Hello!
>>>
>>>I have installed new version of tomcat 4.0.4, which i want working
>>>with j2sdk1.4.0. There for i added two jars wich is important for that
>>>in classpathes ojdbc14.jar and nls_charset12.jar.
>>>
>>>My server.xml looks like that:
>>> <Realm className="org.apache.catalina.realm.MemoryRealm" />
>>>
>>> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
>>> connectionName="username"
>>> connectionPassword="passwd"
>>> driverName="oracle.jdbc.OracleDriver"
>>> connectionURL="jdbc:oracle:thin:@datsuns:1521:dev8i"
>>> userTable="users" userNameCol="user_name"
>>>
>>>
>RS> userCredCol="user_pass"
>
>
>>> userRoleTable="user_roles" roleNameCol="role_name" />
>>>
>>>When im starting Tomcat i get such error:
>>>
>>>HttpConnector Opening server socket on all host IP addresses
>>>Starting service Tomcat-Standalone
>>>Apache Tomcat/4.0.4
>>>Catalina.start: LifecycleException: Exception opening database
>>>
>>>
>RS> connection: jav
>
>
>>>a.sql.SQLException: oracle.jdbc.OracleDriver
>>>LifecycleException: Exception opening database connection:
>>>
>>>
>RS> java.sql.SQLExcepti
>
>
>>>on: oracle.jdbc.OracleDriver
>>> at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
>>> at
>>>
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>
>
>>>)
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>
>
>>>88)
>>> at
>>>
>>>
>RS> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>
>RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>
>
>>>java:39)
>>> at
>>>
>>>
>RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>
>
>>>sorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>>>----- Root Cause -----
>>>java.sql.SQLException: oracle.jdbc.OracleDriver
>>> at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
>>> at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
>>> at
>>>
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>
>
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>
>
>>>)
>>> at
>>>
>>>
>RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>
>
>>>88)
>>> at
>>>
>>>
>RS> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>
>RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>
>
>>>java:39)
>>> at
>>>
>>>
>RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>
>
>>>sorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>>>
>>>
>>>Any suggestions?
>>>
>>>Gita
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
>>>
>RS> <ma...@jakarta.apache.org>
>
>
>>>For additional commands, e-mail:
>>>
>>>
>RS> <ma...@jakarta.apache.org>
>
>
>
>
>
>
>----------------------------------------------------------------------------
>Gita Kakse Information Technologies
>Programming engineer 10 Miesnieku str.
> Riga LV-1050, Latvia
>e-mail: gita@it.lv phone: +371-7227577
>http://www.it.lv cell: +371-9799679
>----------------------------------------------------------------------------
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re[2]: Catalina.start: LifecycleException:
Posted by Gita <gi...@it.lv>.
Hi,
I have classes111.jar and this is not working. Where can i get
classes112.jar?
(New JDBC supporting only jar files and will not accept zips.)
Gita
RS> hi Gita,
RS> AFAIK the type 4 driver for oracle is called classes112.zip...u have to put
RS> this zip file in <tomcat home>\lib...if it is still unable to find the
RS> driver...then rename it as classes112.jar or simply unzip the zip file to
RS> classes..
RS> HTH,
RS> ravi
RS> ----- Original Message -----
RS> From: "Gita" <gi...@it.lv>
RS> To: "Tomcat Users List" <to...@jakarta.apache.org>
RS> Sent: Friday, June 21, 2002 12:59 PM
RS> Subject: Catalina.start: LifecycleException:
>> Hello!
>>
>> I have installed new version of tomcat 4.0.4, which i want working
>> with j2sdk1.4.0. There for i added two jars wich is important for that
>> in classpathes ojdbc14.jar and nls_charset12.jar.
>>
>> My server.xml looks like that:
>> <Realm className="org.apache.catalina.realm.MemoryRealm" />
>>
>> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
>> connectionName="username"
>> connectionPassword="passwd"
>> driverName="oracle.jdbc.OracleDriver"
>> connectionURL="jdbc:oracle:thin:@datsuns:1521:dev8i"
>> userTable="users" userNameCol="user_name"
RS> userCredCol="user_pass"
>> userRoleTable="user_roles" roleNameCol="role_name" />
>>
>> When im starting Tomcat i get such error:
>>
>> HttpConnector Opening server socket on all host IP addresses
>> Starting service Tomcat-Standalone
>> Apache Tomcat/4.0.4
>> Catalina.start: LifecycleException: Exception opening database
RS> connection: jav
>> a.sql.SQLException: oracle.jdbc.OracleDriver
>> LifecycleException: Exception opening database connection:
RS> java.sql.SQLExcepti
>> on: oracle.jdbc.OracleDriver
>> at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
>> at
RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>>
>> at
RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>> at
RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>>
>> at
RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>> )
>> at
RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>> 88)
>> at
RS> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>> ----- Root Cause -----
>> java.sql.SQLException: oracle.jdbc.OracleDriver
>> at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
>> at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
>> at
RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>>
>> at
RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>> at
RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>>
>> at
RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>> )
>> at
RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>> 88)
>> at
RS> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>>
>>
>> Any suggestions?
>>
>> Gita
>>
>>
>> --
>> To unsubscribe, e-mail:
RS> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
RS> <ma...@jakarta.apache.org>
>>
----------------------------------------------------------------------------
Gita Kakse Information Technologies
Programming engineer 10 Miesnieku str.
Riga LV-1050, Latvia
e-mail: gita@it.lv phone: +371-7227577
http://www.it.lv cell: +371-9799679
----------------------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Catalina.start: LifecycleException:
Posted by Ravishankar S <ra...@ionidea.com>.
hi Gita,
AFAIK the type 4 driver for oracle is called classes112.zip...u have to put
this zip file in <tomcat home>\lib...if it is still unable to find the
driver...then rename it as classes112.jar or simply unzip the zip file to
classes..
HTH,
ravi
----- Original Message -----
From: "Gita" <gi...@it.lv>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, June 21, 2002 12:59 PM
Subject: Catalina.start: LifecycleException:
> Hello!
>
> I have installed new version of tomcat 4.0.4, which i want working
> with j2sdk1.4.0. There for i added two jars wich is important for that
> in classpathes ojdbc14.jar and nls_charset12.jar.
>
> My server.xml looks like that:
> <Realm className="org.apache.catalina.realm.MemoryRealm" />
>
> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
> connectionName="username"
> connectionPassword="passwd"
> driverName="oracle.jdbc.OracleDriver"
> connectionURL="jdbc:oracle:thin:@datsuns:1521:dev8i"
> userTable="users" userNameCol="user_name"
userCredCol="user_pass"
> userRoleTable="user_roles" roleNameCol="role_name" />
>
> When im starting Tomcat i get such error:
>
> HttpConnector Opening server socket on all host IP addresses
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4
> Catalina.start: LifecycleException: Exception opening database
connection: jav
> a.sql.SQLException: oracle.jdbc.OracleDriver
> LifecycleException: Exception opening database connection:
java.sql.SQLExcepti
> on: oracle.jdbc.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.StandardHost.start(StandardHost.java:638)
> at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>
> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> ----- Root Cause -----
> java.sql.SQLException: oracle.jdbc.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.StandardHost.start(StandardHost.java:638)
> at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>
> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>
>
> Any suggestions?
>
> Gita
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>