MSSQL2000 jdbc driver on UNIX --- (again)
From: david (huangjuichung_at_seed.net.tw)
Date: 04/01/04
- Next message: John Harkin: "Microsoft JDBC driver support connection pooling out of the box"
- Previous message: Ursula Clementi: "socket closed exception code=10055"
- Next in thread: Lars-Inge Tønnessen: "Re: MSSQL2000 jdbc driver on UNIX --- (again)"
- Reply: Lars-Inge Tønnessen: "Re: MSSQL2000 jdbc driver on UNIX --- (again)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Apr 2004 22:16:52 +0800
Hi sir,
First of all, please accept my deep appreicate upon your helps. Thank you.
Yes, it was classpath problem. I revised my .profile and then it can work.
\^O^/
Although I solve this problem, but other problem occur ... Here, could you
please
give me an idea to solve it ?
My environment setting are showed as below:
In my .profile :
PATH = $PATH: /opt/java/bin
export PATH
CLASSPATH =
.:/opt/jdbc/msbase.jar:/opt/jdbc/msutil.jar:/opt/jdbc/mssqlserver.jar
export CLASSPATH
In my /etc/passwd :
david ... :/usr/bin/sh
I am going to show a simple form on UNIX, therefore, I do a sample code and
it works very well on windows platform.
But can not show anything on UNIX. I do some changes in my /etc/passwd file,
that is, I revised the shall setting from
"/usr/bin/sh" to "/sbin/sh". And then I relogin again. Strange ??? , it
works. But can not find java command. (I think that it
didn't run .profile while I relogin again. Also, can not access MSSQL2000).
So,I typed "/opt/java/bin/java sample" to
run it ---- success.
Is there any idea to set up this environment ?
(1) Can show a form.
(2) Can access the MSSQL2000.
(3) /usr/bin/sh is neccessary, but not /sbin/sh
Thanks for your attention and time.
I expect to have an idea from you.
Best regards,
David Huang
- Next message: John Harkin: "Microsoft JDBC driver support connection pooling out of the box"
- Previous message: Ursula Clementi: "socket closed exception code=10055"
- Next in thread: Lars-Inge Tønnessen: "Re: MSSQL2000 jdbc driver on UNIX --- (again)"
- Reply: Lars-Inge Tønnessen: "Re: MSSQL2000 jdbc driver on UNIX --- (again)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|