File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Problem with Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem with Connection Pooling" Watch "Problem with Connection Pooling" New topic
Author

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(java.net .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
Bikash
[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.
------------------
Tom
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
Hi,
I for got to write Iam trying to connect weblogic6.0 to sqlserver7.0 through connection pooling.
Thanks for ur valuable Time
Bikash
------------------
 
Consider Paul's rocket mass heater.
 
subject: Problem with Connection Pooling