File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pooling with weblogic6.1

 
Nilesh Chokhadia
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic