Sybase jConnect barfs - Weblogic

This is a discussion on Sybase jConnect barfs - Weblogic ; I added the following to weblogic.properties: # # Sybase jConnect JDBC connection pool # weblogic.jdbc.connectionPool.sybasePool=3D\ url=3Djdbc:sybase:Tds:localhost:2638,\ driver=3Dcom.sybase.jdbc.SybDriver,\ testTable=3Dsybase, initialCapacity=3D1,\ maxCapacity=3D4,\ props=3Duser=3Dweblogic;password=3Dweblogic;server=3Dsybase,\ allow=3Deveryone However, when I start WebLogic, I get the following: Fri Oct 13 17:32:49 PDT 2000:<I> <JDBC Pool> Creating ...

+ Reply to Thread
Results 1 to 3 of 3

Sybase jConnect barfs

  1. Default Sybase jConnect barfs

    I added the following to weblogic.properties:

    #
    # Sybase jConnect JDBC connection pool
    #
    weblogic.jdbc.connectionPool.sybasePool=3D\
    url=3Djdbc:sybase:Tds:localhost:2638,\
    driver=3Dcom.sybase.jdbc.SybDriver,\
    testTable=3Dsybase,
    initialCapacity=3D1,\
    maxCapacity=3D4,\
    props=3Duser=3Dweblogic;password=3Dweblogic;server=3Dsybase,\
    allow=3Deveryone

    However, when I start WebLogic, I get the following:

    Fri Oct 13 17:32:49 PDT 2000:<I> <JDBC Pool> Creating connection pool
    sybasePool
    with:{aclName=3Dweblogic.jdbc.connectionPool.sybasePool, poolName=3DsybaseP=
    ool}
    Fri Oct 13 17:32:49 PDT 2000:<E> <JDBC Pool> Failed to create connection
    pool "sybasePool"
    java.lang.Exception: Missing startup value "url" in JDBC Connection Pool
    sybasePool
    at
    weblogic.jdbc.common.internal.ConnectionPool.getPoolValue(ConnectionPool.ja=
    v
    a:359)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:24=
    6
    )
    at
    weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200=
    )
    at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)

    Why? The URL parameter is clearly there, and I've tried replacing localhost
    with the IP address.
    The error makes no sense.

    Environment:
    Windows 2000
    Sun JDK 1.3
    WebLogic 5 sp6 (latest trial)
    Sybase 7 (latest trial)
    jConnect 5 (driver bundled with WebLogic)


    - danz





  2. Default Re: Sybase jConnect barfs

    You are missing the \ after testTable=3Dsybase,

    -- Rob=18

    Dan Zivkovic wrote:
    >=20
    > I added the following to weblogic.properties:
    >=20
    > #
    > # Sybase jConnect JDBC connection pool
    > #
    > weblogic.jdbc.connectionPool.sybasePool=3D\
    > url=3Djdbc:sybase:Tds:localhost:2638,\
    > driver=3Dcom.sybase.jdbc.SybDriver,\
    > testTable=3Dsybase,
    > initialCapacity=3D1,\
    > maxCapacity=3D4,\
    > props=3Duser=3Dweblogic;password=3Dweblogic;server=3Dsybase,\
    > allow=3Deveryone
    >=20
    > However, when I start WebLogic, I get the following:
    >=20
    > Fri Oct 13 17:32:49 PDT 2000:<I> <JDBC Pool> Creating connection pool
    > sybasePool
    > with:{aclName=3Dweblogic.jdbc.connectionPool.sybasePool, poolName=3Dsybas=

    ePool}
    > Fri Oct 13 17:32:49 PDT 2000:<E> <JDBC Pool> Failed to create connection
    > pool "sybasePool"
    > java.lang.Exception: Missing startup value "url" in JDBC Connection Pool
    > sybasePool
    > at
    > weblogic.jdbc.common.internal.ConnectionPool.getPoolValue(ConnectionPool.=

    jav
    > a:359)
    > at
    > weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:=

    246
    > )
    > at
    > weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    > at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:2=

    00)
    > at
    > weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    > at java.lang.reflect.Method.invoke(Native Method)
    > at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    > at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    > at
    > weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    >=20
    > Why? The URL parameter is clearly there, and I've tried replacing localho=

    st
    > with the IP address.
    > The error makes no sense.
    >=20
    > Environment:
    > Windows 2000
    > Sun JDK 1.3
    > WebLogic 5 sp6 (latest trial)
    > Sybase 7 (latest trial)
    > jConnect 5 (driver bundled with WebLogic)
    >=20
    > - danz



  3. Default Re: Sybase jConnect barfs

    "Rob Woollen" <please_no_more_email@spam.com> wrote in message
    news:39E8D693.28E3A656@spam.com...
    > You are missing the \ after testTable=3Dsybase,
    >
    > -- Rob=18
    >


    Oh, rats! Thanks, Rob. Good eye.





+ Reply to Thread