473,804 Members | 3,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

no suitable driver db2 tomcat 4.0.6 linux redhat

Hi,

I try to connect to db2 with tomcat4.0.6 on linux redhat9.0. with
driver db2java.jar
I have always the same error "no suitable driver".

i try different actions that have read on the forum :

copy db2java.zip in $TOMCAT_HOME/common/lib
rename it in db2java.jar

copy db2profile in /etc/db2profile.d, rename it in db2profile.sh

I make a java client that connect to DB2 with no problem but when i
put the same code in JSP page, i have always the same error "no
suitable driver".

I have no more solutions.

Thanks to help me!
Nov 12 '05 #1
1 1934
RdR
Make sure the db2java.jar is pointed into your classpath , you might also
try putting the db2java.* files in the directory where your application
directory is from the Tomcat directory. If you are using version Version 8.2
of DB2, I think it is the db2jcc driver that you need to use.

Hope this helps,

RdR

"sebtiber" <se******@yahoo .fr> wrote in message
news:33******** *************** ***@posting.goo gle.com...
Hi,

I try to connect to db2 with tomcat4.0.6 on linux redhat9.0. with
driver db2java.jar
I have always the same error "no suitable driver".

i try different actions that have read on the forum :

copy db2java.zip in $TOMCAT_HOME/common/lib
rename it in db2java.jar

copy db2profile in /etc/db2profile.d, rename it in db2profile.sh

I make a java client that connect to DB2 with no problem but when i
put the same code in JSP page, i have always the same error "no
suitable driver".

I have no more solutions.

Thanks to help me!

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2916
by: J Peaks | last post by:
All, We are soon to be hosting a very important system but are currently having some problems with setting this up on our Redhat Linux environment. We are running the following: Redhat 9 (all updated using up2date) kernel 2.4.20-20.9 Apache 2 (specifically 2.0.40-21.5, the current default for Redhat 9) Tomcat 4 (I do not know exactly which version, this has been installed on
0
2388
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690 Segmentation fault /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb Installation of grant tables failed The log file simply shows a start and a stop of the server.
0
1592
by: Luong Phan | last post by:
--0-342085162-1061547060=:86593 Content-Type: text/plain; charset=us-ascii Hi all, In my web application, I use mysql supported by Redhat Linux 7.3 to store database, jakarta-tomcat-3.2.4, mysql-connector-java-3.0.6-stable-bin.jar, and JSP. Every time, I run the program:
0
1883
by: Priya | last post by:
Hi, I am having some problem with DB2 Universal JDBC driver. 1. The method getColumnType(columnNumber)of ResultSetMetaData always returns zero. 2. The method getColumnDisplaySize(ColumnNum) raises an exception, with exception message - not supported. Version of DB2 - 7.1
3
15405
by: Andrew Johnson | last post by:
Hi, I am trying to make a UBD DB2 7.2 connection using the Java COM.ibm.db2.jdbc.app.DB2Driver via Tomcat 3.2.1 on Solaris (and also on an AIX system with 3.3.1). I am attempting this either via JSP or a servlet. I have a separate java application that I can run from the command line and as long as the user has the correct env variables:
5
5692
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
8
3904
by: shenanwei | last post by:
I have DB2 v8.1.0.0 currently on Redhat 8.0 box. Want to upgrade it to V8.2, downloaded FP10_MI00138_RTCL.tar from IBM. Extracted and run db2_install, get the following error. # ./db2_install Specify one or more of the following keywords, separated by spaces, to install DB2 products.
0
1999
by: nurmaiza | last post by:
Hello, i'm using windows, eclipse, Tomcat 5.5 and JSP file trying to connect jdbc ms sql using jdts driver. i've download the driver and assigned the path at en.variable..but it give me an error no suitable driver anyone ve idea on what the setting shud i set?i've no idea after followed some instruction on web site still it give me the same error. this is my code <title>Obtain connection</title> </head> <body>
1
1622
by: priyamm | last post by:
Respected sir, sub: want to know oracle 9i driver Iam doing my project in core java.Iam using oracle 9i as database.I have created tables in oracle,but I don't know which driver name I should give to get connect java and oracle . Iam using Linux operating system(redhat) Kindly find a solution to my problem. Thanking...
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.