my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection pooling with weblogic6.1
 
Similar Threads
Establishing JDBC Connection Using Port Ips
weblogic6.1 connectionpool withSqlserver7.0
Exception In Creating Connection Pool
JDriver for microsoft sql server 2000
URGENT cannot connect to mssql DB