08-23-2006
unsatisfied link error occurs with DB2 when the profile is not sourced while using it with websphere.
stop WAS and source the db2 profile which will be under /home/<db_instance>/sqllib/db2profile.
restart the was.
test the database connection from WAS console navigate to JDBC providers and the db drivers.
regards,
Guru
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Discussion started by: ctcuser
2 Replies
2. Linux
I have an ant build file im using to build and run a software package im developing. I'm writing an automatic build script that will each night pull a clean project from CVS, build it, and run some tests on it. I have everything running but the tests. The test requires the running of a seperate... (0 Replies)
Discussion started by: kingfinny
0 Replies
3. Solaris
Hi Guys,
Please help me out. I am new to solaris. I am using solaris 10
___________________________________________________________
public class Filecheck{
public static void main(String args) {
System.out.println("LD_LIBRARY_PATH is : "+System.getProperty("java.library.path"));... (5 Replies)
Discussion started by: josh_chrisin
5 Replies
4. Solaris
Hello everyone,
I have installed Sun Studio 12 in my Sun Solaris 10 (x86) OS. At first, there was nothing wrong with it but recently, I couldn't open the Sun Studio IDE. When I try to open it, I keep on getting the following error messages:... (2 Replies)
Discussion started by: wintersakura
2 Replies
5. Shell Programming and Scripting
I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished. Any help is appreciated thanks. (1 Reply)
Discussion started by: developncode
1 Replies
6. Red Hat
Hi,
Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip... (3 Replies)
Discussion started by: lamoul
3 Replies
7. IP Networking
I'm looking for a couple high level pointers to writing a UDP server that will be acknowledging data at a rate of approximately twelve packets every second and will be running on and older but more or less dedicated Solaris 9 box.
Acknowledging the data packets is relatively simple, after... (2 Replies)
Discussion started by: allbread
2 Replies
8. Shell Programming and Scripting
Dear All,
I am using CentOS release 5.5 (Final).I want to monitoring the system activity through mail.But the <code>mail -s "Subject" user1@domain.com</code> is not working from the server.could you help me the procedure to generate mail from the server. (2 Replies)
Discussion started by: kpoobathi
2 Replies
9. AIX
Hey buddies,
I'd love to seek and destroy the cause of this error > . <
I get this in my browser (Error 500: java.lang.OutOfMemoryError) when I unsuccessfully try to access my Vios - IVM adress :(
To recover access to IVM adress I have to enter "oem_setup_env" mode and "kill -9 java's... (3 Replies)
Discussion started by: Xscaio
3 Replies
LEARN ABOUT PHP
db2_pclose
DB2_PCLOSE(3) 1 DB2_PCLOSE(3)
db2_pclose - Closes a persistent database connection
SYNOPSIS
bool db2_pclose (resource $resource)
DESCRIPTION
This function closes a DB2 client connection created with db2_pconnect(3) and returns the corresponding resources to the database server.
Note
This function is only available on i5/OS in response to i5/OS system administration requests.
If you have a persistent DB2 client connection created with db2_pconnect(3), you may use this function to close the connection. To avoid
substantial connection performance penalties, this function should only be used in rare cases when the persistent connection has become
unresponsive or the persistent connection will not be needed for a long period of time.
PARAMETERS
o $connection
- Specifies an active DB2 client connection.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Closing a persistent connection
The following example demonstrates a successful attempt to close a connection to an IBM DB2 i5/OS database.
<?php
$conn = db2_pconnect('', '', '');
$rc = db2_pclose($conn);
if ($rc) {
echo "Connection was successfully closed.";
}
?>
The above example will output:
Connection was successfully closed.
SEE ALSO
db2_close(3), db2_pconnect(3).
PHP Documentation Group DB2_PCLOSE(3)