Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Connection pooling with weblogic6.1

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic