aspose file tools*
The moose likes JDBC and the fly likes Connection pooling with weblogic6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection pooling with weblogic6.1 " Watch "Connection pooling with weblogic6.1 " New topic
Author

Connection pooling with weblogic6.1

Nilesh Chokhadia
Greenhorn

Joined: Sep 12, 2003
Posts: 10
My Source code is
String user = "sa";
String password1 = " ";
String server = "Support@SQLSERVER:1433";
Properties props = new Properties();
props.put("user", user);
props.put("password", password1);
props.put("server", server);
try
{


Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
System.out.println("hello");
con =
DriverManager.getConnection("jdbc:weblogic:mssqlserver4",props);
System.out.println("hello!!!");
I Configured Connectionpooling with weblogic6.1
Name=supportPool
Url=jdbc:jdbc:weblogic:mssqlserver4:Support@SQLSERVER
Driver=weblogic.jdbc.mssqlserver4.Driver
Properties=
user=sa
Password=
Server=Support@SQLSERVER:1433

Errror was
hello
no connection pool!! Login failed for user 'sa'. Severity 14, State 1, Procedure
'null null', Line 0 Unable to connect, please check your server's version and a vailability.
 
wood burning stoves
 
subject: Connection pooling with weblogic6.1