This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Problem with Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Problem with Connection Pooling" Watch "Problem with Connection Pooling" New topic

Problem with Connection Pooling

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi there,
I have a problem about using a connection pool in a servlet.Server giving error(Can't open socket on MyPool:1433.check host and port number and make sure security manager allows this connection.You can also try running Socket Applet( .unknownhostException: MyPool).In Driver classname:-weblogic.jdbc.mssqlserver4.Driver.In key=value section(user=sa
password=none because in sqlserver there is no password).And in "target" section I chosen myserver.Please guide me how I can slove this problem.I tried but could not find the way."MyPool" is my connection pool name.
Following r my codes:-
It is my servlet file:-

It is my html file:-

Thanks for ur valuable Time
[This message has been edited by David O'Meara (edited December 10, 2001).]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Let's try the JDBC forum.
Sun Certified Programmer for the Java� 2 Platform
Moderator of the forums:
J2EE and EJB
Other Java APIs

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
I for got to write Iam trying to connect weblogic6.0 to sqlserver7.0 through connection pooling.
Thanks for ur valuable Time
I agree. Here's the link:
subject: Problem with Connection Pooling
jQuery in Action, 3rd edition