ca't create connection pool in weblogic5.1


EJB programming & troubleshooting: ca't create connection pool in weblogic5.1

  1. hai to everybody,
    if i tried to create a connecion pool in
    weblogic5.1.the following error occured(if i use jts driver)
    java.sql.SQLException: User SCOTT is unknown in realm
            at weblogic.jdbcbase.jts.Driver.connect(
            at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(
            at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(
            at weblogic.common.internal.ResourceAllocator.makeResources(, Compiled Code)
            at weblogic.common.internal.ResourceAllocator.<init>(, Compiled Code)
            at weblogic.jdbc.common.internal.ConnectionPool.startup(
            at weblogic.jdbc.common.internal.JdbcInfo.initPools(, Compiled Code)
            at weblogic.jdbc.common.internal.JdbcInfo.startup(
            at weblogic.jdbc.common.internal.JdbcStartup.main(
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.t3.srvr.StartupThread.runMain(
            at weblogic.t3.srvr.StartupThread.doWork(, Compiled Code)
    Thu Apr 22 16:45:34 GMT+05:30 1999:<I> <JDBC Pool> Sleeping in createResource()
    Thu Apr 22 16:45:35 GMT+05:30 1999:<E> <JDBC Pool> Failed to create connection pool "oraclePool"wing error occured

  2. It looks like your Connection pool is not setup correctly.

    Could you post the connection pool entry from the file. Also the entries for :-


  3. You need to add something like...

    weblogic.password.SCOTT=<password you will pass to JDBC URL>


    Looks like you are setting the pool to be accessible by user SCOTT but that you never told the server about user SCOTT.


  4. Try changing your connection properties from file.
  5. Try changing your connection properties from file.