• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with JDBC-ODBC with WL6.0

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've set the connection pool config correctly using these:
driver = sun.jdbc.odbc.JdbcOdbcDriver
url = jdbc dbc:METATABLE (im using MS access database)
i can access this url using my tomcat using the appropriate driver class and url.
in weblogic i setup the poolmanager in the wl console with the same driver and url information
and i access the pool in my code:
"Driver myDriver = (Driver) Class.forName("weblogic.jdbc.pool.Driver").newInstance();



Properties props = new Properties();props.put("connectionPoolID", "JDBCAccessPool");
Connection dataConn = myDriver.connect("jdbc:weblogic ool", props);
"
but in weblogic 6.0 im using the same configuration but somehow its giving me this error at the mydriver.connect statment:
"java.sql.SQLException: Pool connect failed: weblogic.common.ResourceException: None available"
what is wrong? please help

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
could anybody solve this problem?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic