Hello,
Firstly all apologize for my english.
Secondly, I've got some problems to connect to a DB2 database with
JDBC client.
My configuration is :
- DB2 8.1 on an AIX server (name rs26 for the further example)
- Standalone application on Windows XP using JDBC to connect to the
DB2 database
And when I try the connection, I have this error message :
COM.ibm.db2.jdb c.DB2Exception: [IBM][CLI Driver] CLI0106E Connection
is closed. SQLSTATE=08003
[IBM][CLI Driver] CLI0106E Connection is closed. SQLSTATE=08003
Do you know why I have this error ?
If some supplementary informations are needed, there is the example :
AIX Server :
-------
I start the database with the command db2start
I know I have a TCP configuration (port 50000) for my database (netsat
command confirms this)
Then I launch db2jstrt 60000 for starting the JDBC applet on 60000
port
Finally, the name of my database's instance is stel71
-------
Windows CLient :
-------
I'am using DB2 JDBC drivers which are provided by DB2 on the AIX
server :
- Driver class : COM.ibm.db2.jdb c.net.DB2Driver (I've the same
problem with ".app" instead of ".net")
- database URL : jdbc:db2://rs26:60000/stel71 (I think it's correct
!)
-------
I hope you have all the informations.
Thanks for your help ... 4 4123
Are you using connection pool?? If yes, check whether the connection is
pool is valid or not..(I guess this may be a problem. correct me if am
wrong)
WantedToBeDBA.
Thiru.
Thank you for your answer !
I don't think I'm using a connection pool but in order to be sure how
can I know if I use a connection pool ?
"Thiru" <Wa***********@ gmail.com> wrote in message news:<11******* *************** @o13g2000cwo.go oglegroups.com> ... Are you using connection pool?? If yes, check whether the connection is pool is valid or not..(I guess this may be a problem. correct me if am wrong)
WantedToBeDBA. Thiru.
Are you using any App Servers such as WebLogic, WebSpeare? If so check
the app server configuration file. If its custom designed app then
contact developer or do code walk through
Cheers,
Thiru.
WantedToBeDBA.
In fact, the database has to be connected with another application
(which manage contents, documents ...) and then with a WebSphere
Portal in order to search documents (and another thinks). For the
first application, the connection with the database is done with JDBC.
But it doesn't work and I try to understand why before trying the
connection with WebSphere Portal !
"Thiru" <Wa***********@ gmail.com> wrote in message news:<11******* **************@ g14g2000cwa.goo glegroups.com>. .. Are you using any App Servers such as WebLogic, WebSpeare? If so check the app server configuration file. If its custom designed app then contact developer or do code walk through
Cheers, Thiru. WantedToBeDBA. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: kaiwing18 |
last post by:
Hi ,
I have a problem relate to java and database. Could anyone answer me
?Please see the following code.
import java.sql.*;
public class Result {
public static void main(String args) {
|
by: sridhar nagabhurshana |
last post by:
hello
I am trying to connect to mysql database using connector/J jdbc driver
this is my code
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
|
by: Swami |
last post by:
Hi,
I have installed MQ SQL Server 2000 on my laptop and trying to use
SPARTA 2000 JDBC Driver (inetmssql.jar) to connect to the local db. I
wrote a sample Java app to test the connection and I get the following
error trace,
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
SQLException: SQLState(08S01)
{sql7=true, port=1433, user=sa, url=jdbc:inetdae7:US0211737-WP01:1433,
|
by: Swami |
last post by:
Hi,
I have installed MQ SQL Server 2000 on my laptop and trying to use
SPRINTA 2000 JDBC Driver (inetmssql.jar) to connect to the local db. I
wrote a sample Java app to test the connection and I get the following
error trace,
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
SQLException: SQLState(08S01)
{sql7=true, port=1433, user=sa, url=jdbc:inetdae7:US0211737-WP01:1433,
|
by: Dani |
last post by:
Hi everyone
Description of the problem:
Using a PreparedStatement to write down an integer (int) plus a
timestamp for testing purposes. When read out again the integer looks
very different. We found that it was shifted three Bytes to the left,
i.e. 4 becomes hex 4000000 which is 67108864 in decimal base. This
means that the value written and the value read sometimes do not
match, which is of course inacceptable for all real world...
| |
by: aka |
last post by:
Hi
I have a DB2 v8.1 on AIX and DB2 Connect EE on Solaris wich is connected to
OS/390 DB2 subsystems via APPC / SNA. I have cataloged the DB2 Connect
instance as tcpip node and then the Host DB cataloged on that node...this
works from v7.2 Fixpack 11 clients and servers, but with v8.1 server I get
SQL1334N.
Does anyone has an idea?
Thanks
|
by: mailkhurana |
last post by:
Hii ,
I am trying to use a type 2 driver to connect to DB2 0n AIX 5
I have a small java test to class to establish a conneciton with the db
.. I am NOT using WAS or any appserver
When I try to connect to the DB I get the following exception
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
|
by: vikas.bhatia |
last post by:
Is this still true?
http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/58c6c36ce9006d50/778f98749d8e2983?lnk=st&q=DB2+Connect+product+license&rnum=6#778f98749d8e2983
would a standard type 4 driver, jar file copy into the WEB-INF/lib
folder not work?
I am trying to access db2 8 on z/os though a java app server.
thanks.
|
by: mayur1 |
last post by:
Hello everybody,
I am trying to connect to DB2 V 8.1 on Red Hat Linux V5 from WebSphere Application Server V6 on Windows Server 2003.
The problem that i am facing is that its not able to opent the socket on the port to communicate with the was and the db2.
here is the error i get:
00000043 ResourceMgrIm I WSVR0049I: Liaison de DefaultEJBTimerDataSource en tant que jdbc/DefaultEJBTimerDataSource
00000043 ResourceMgrIm I WSVR0049I:...
|
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...
|
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,...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |