Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weblogic 8.1 JDBC connection pool error

Status
Not open for further replies.

sumon24

Programmer
Dec 10, 2007
1
EU
Hello All,

I am trying to create a JDBC connection pool in weblogic 8.1
My database is MS SQL Server 2005. My database instance name is like MyServer\Test and the database name is MyTestDB. My database and weblogic are installed on different servers.
I am logging to my Weblogic console and going to
Services>JDBC>Connection Pool
In the 'Configure a connection pool' page I am giving the following details -
Database Name: MyTestDB
Host Name: MyServer\\Test <even tried "MyServer\Test">
Port:1433
Database User Name:sa
Password:***
Confirm Password:***

In the next page when I am trying to test the connection, it is throwing an error
"[BEA][SQLServer JDBC Driver]Error establishing socket to host and port: MyServer:1433. Reason: Connection refused: connect".
As you can see it is ignoring the Instance name "\Test", because I believe '\' is an escape character in UNIX. Hence i am using '\\', but without any result. I have tried IP address also, but nothing is working.

I am stuck with this for a long time.

Any help in this regard will be highly appreciable.

Best Wishes,
Sumon

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top