Re: Oracle Driver

2001-05-18 Thread Geoffrey Van Nuffelen

Hi Gregor,

I already tried it but it's not working.

I recieve this error message in the servlet.log :

2001-05-18 04:41:56 - path=/struts-client :action: Initializing
application data source org.apache.struts.action.DATA_SOURCE
2001-05-18 04:41:56 - path=/struts-client :action: Exception initializing
application data source org.apache.struts.action.DATA_SOURCE -
java.sql.SQLException: createConnection: java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver
 at
org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:555)
 at
org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:10
49)
 at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

- Original Message -
From: Gregor Rayman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 4:20 PM
Subject: Re: Oracle Driver


 put it under

 /WEB-INF/lib/classes12.zip





Re: Oracle Driver

2001-05-18 Thread Gregor Rayman

Geoffrey Van Nuffelen [EMAIL PROTECTED] has problems with
Oracle driver.

Hi Geoffrey,

try to

a) rename the classes12.zip to classes12.jar

if it does not help

b) move the file unter jakarta-tomcat/lib directory and restart tomcat

if this does not help

c) move the file under $JAVA_HOME/lib (and restart tomcat)

--
gR







Re: Oracle Driver

2001-05-18 Thread Geoffrey Van Nuffelen

Thanks to All,

It's working ! I forgot to change the name to .jar .

Geoffrey...
- Original Message - 
From: Turgay Zengin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 2:45 PM
Subject: Re: Oracle Driver


 I put classes12.zip (and any other archive the web application needs) in 
 WEB-INF/lib directory. Don't forget to change the name of the file to 
 classes12.jar
 This works for me.
 
 HTH,
 Turgay.
 
 ---
 Hi all,
 
 Where I have to put the Oracle Driver ?
 
 If I put it under the directory /classes I recieve this error message :
 
 Error: 500
 Location: /struts-client/logon.jsp
 Internal Servlet Error:
 ...
 ...
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.