Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

oracle.jdbc.driver problem in tomcat 4.1.27

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Virtual Host  
Author Message
smoo

External


Since: Jan 09, 2004
Posts: 1



(Msg. 1) Posted: Fri Jan 09, 2004 5:48 am
Post subject: oracle.jdbc.driver problem in tomcat 4.1.27
Archived from groups: alt>apache>configuration (more info?)

i keep getting an error message when trying to use my servlets. they
seem to indicate that the oracle files cannot be found even though they
appear in my classpath and compile with javac correctly.

Any way to tell tomcat where this is or where to look for the files?

code sample:

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;


public class Lookup extends HttpServlet
{
private static void loadJDBCDriver ()
{
System.out.println ( "Loading database driver..." );

try
{
DriverManager.registerDriver ( new
oracle.jdbc.driver.OracleDriver() );
System.out.println ( "Oracle driver loaded..." );
}

 >> Stay informed about: oracle.jdbc.driver problem in tomcat 4.1.27 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Fri Jan 09, 2004 9:21 am
Post subject: Re: oracle.jdbc.driver problem in tomcat 4.1.27 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

smoo <smoo DeleteThis @ah.no.com> wrote:
 > Any way to tell tomcat where this is or where to look for the files?

Put them in the WEB-INF/lib directory of your application or dump
them directly in the $JAVA_HOME/jre/lib/ext directory.

Davide

--
| A little rudeness and disrespect can elevate a meaningless interaction
| into a battle of wills and add drama to an otherwise dull day.
| --Calvin discovers Usenet
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: oracle.jdbc.driver problem in tomcat 4.1.27 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache--->Tomcat problem - Hi, The problem is as follows: IE ---> Apache ---> Tomcat This is what I write down in a web browser: http://IP_address:port/xyz and this is what tomcat gets: http://host_name:port/xyz Can someone tell me what should I change in Apache server..

Tomcat Servlet deployment problem - Hello, I am not too familar with Apache, so I am going to try to describe my problem as clear as possible, but I may leave out something critical due to my lack of experience with Apache. If I do please let me know. I have a servlet that we coded and..

Apache & Tomcat & Struts Integration Problem - Hi All I hope someone can give me a hand on this. Thanks in advance. Environment: W2k Tomcat 5.0.6 Apache 2.0 Struts 1.1 Mod_jk2-2.0.43.dll (rename to mod_jk2.dll) Apache httpd.conf LoadModule jk2_module modules/mod_jk2.dll DirectoryIndex index.htm...

SSL and Oracle 9iAS - Has anyone found a way to upgrade SSL for iAS without actually upgrading Oracle iAS .. ? I tried downloading and compileing the new ssl binaries ( 0.9.6k ). However the logs for Apache say that it is still using 0.9.5. It is possible it is because..

Oracle's Apache in 9iAS v2 on SuSE Linux SLES7 - Hi, I've just installed Oracle 9iAS rel 2 on SuSE Linux Enterprise 7. Installation went fine and everything seemed normal, but after a reboot Apache can no longer start. Here is the relavent section of my error log. [Tue Jul 8 14:43:36 2003] [error]...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]