Creating Connection Pool for DB2 V6.1

Hi,
I have created the Connection Pool to point to the DB2 database and has successfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declared in
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks.

Hi Jimmy,
You need to assign a target for your connection pool.
You may do it by going to console, selecting Target
tab on the pool and chose servers your want to run
the connection pool. If you use pre-6.1 version of
weblogic, you will need to reboot the server after you
assigned targets to it.
Regards,
Slava Imeshev
"Jimmy" <[email protected]> wrote in message
news:3c04ad6b$[email protected]..
>
Hi,
I have created the Connection Pool to point to the DB2 database and hassuccessfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declaredin
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks.

Similar Messages

  • Steps to create Connection pool for Oracle apps Adapter.

    Hi All,
    Could please tel me the steps to create connection pool for Oracle Apps Adapter.
    Thanks,
    Parker

    Steps are given in section "Configuring Connection Information" in Apps Adapter User guide at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • Setting up connection pool for DB2

    "whats are the settings (URL, driver, properties) required to set up a connection pool for DB2 on OS/390 ?I'm using "COM.ibm.db2.jdbc.app.DB2Driver" as DB2 driver

    Amit wrote:
    >
    "whats are the settings (URL, driver, properties) required to set up a connection pool for DB2 on OS/390 ?I'm using "COM.ibm.db2.jdbc.app.DB2Driver" as DB2 driverHi. If you can successfully use that driver with one of it's simple
    JDBC example programs, then show me that example, at least the
    part that makes the connection, and I'll show you how to define a pool.
    Joe
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
    Send resumes to [email protected]

  • Unable create Connection pool for Oracle apps Adapter.

    Hi All,
    We are trying to create a connection pool for Oracle Apps adapter in 11G SOA suite.
    However during the process getting the following error:
    An error occurred during activation of changes, please see the log for details.
    A <jndi-name> is specified for the resource adapter bean in weblogic-ra.xml, however no <resourceadapter-class> element is specified in ra.xml
    Can any one help us on this.
    Thanks
    Parker.

    Please refer section "Configuring Connection Information" at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • Cant create connection Pool for MS SQL Server 2000 with Microsoft Driver

    i am using bea weblogic server 6.1, i cant create connection pool while using MS
    SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft website. when
    i give the following class name for JDBC driver and the connection url and click
    apply while selecting the available server, a number of exception appears in default
    server (that is the connection pool cannot be created..... cannot load the driver
    class).
    URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
    Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
    when i use the above setting in a JDBC simple application in Jbuilder
    7.0 the application runs successfully and fetches the data deom MS SQL database
    but in at Bea connection Pool is not created with these settings. i do give appropriate
    username and password in properties field in connection pool. Thankx for any help!

    khabbab wrote:
    That was the original code part from "startweblogic" :
    :runWebLogic
    echo on
    set PATH=.\bin;%PATH%
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
    echo off
    and i changed it to :
    :runWebLogic
    echo on
    set PATH=.\bin;%PATH%
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\Program Files\Microsoft
    SQL Server 2000 Driver for JDBC\lib\msbase.jar;D:\Program Files\Microsoft SQL
    Server 2000 Driver for JDBC\lib\msutil.jar;D:\Program Files\Microsoft SQL Server
    2000 Driver for JDBC\lib\mssqlserver.jar;I suggest moving or copying the three ms driver jars to a directory that has no blanks
    in it so the classpath doesn't have blanks in it. Ie:
    go to the "D:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib"
    directory and do this:
    mkdir D:\microsoft_jdbc_driver
    cp *.jar D:\microsoft_jdbc_driver
    Then make the classpath include D:\microsoft_jdbc_driver\msbase.jar etc.
    Joe
    >
    >
    echo off
    when i save and run the bat file, server appears then disappears.
    Joseph Weinstein <[email protected]_this> wrote:
    khabbab wrote:
    The class path which is echoed at server startup does not include thepaths to
    driver jar files. when i edited the "startweblogic.bat" file and includedthe
    driver class paths to jar files, now the server doesnot even run. tellme what
    to do now???Show me what change you made to the startweblogic file.
    Joe
    Joseph Weinstein <[email protected]_this> wrote:
    khabbab wrote:
    kindly tell me how can i check that the class paths for driver jarfiles are included
    in that string? thanks. also tell me can not i use the jdriver forsql server
    2000?.The startup script will echo what it's doing, including printing out
    the classpath
    it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
    for
    basic JDBC, but the MS drivfer is preferable in some ways.
    Joe
    Joseph Weinstein <[email protected]_this> wrote:
    khabbab wrote:
    i am using bea weblogic server 6.1, i cant create connection
    pool
    while
    using MS
    SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
    website.
    when
    i give the following class name for JDBC driver and the connectionurl and click
    apply while selecting the available server, a number of exception
    appears
    in default
    server (that is the connection pool cannot be created..... cannot
    load
    the driver
    class).The server startup script creates a string that will become the
    classpath
    for the server.
    This string is part of the java call to start the server with a-classpath
    argument. You need to
    make sure the MS driver jars are part of that classpath string.
    Joe
    URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
    Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
    when i use the above setting in a JDBC simple applicationin Jbuilder
    7.0 the application runs successfully and fetches the data deom
    MS
    SQL database
    but in at Bea connection Pool is not created with these settings.
    i
    do give appropriate
    username and password in properties field in connection pool.
    Thankx
    for any help!
    khabbab wrote:
    The class path which is echoed at server startup does not include thepaths to
    driver jar files. when i edited the "startweblogic.bat" file and includedthe
    driver class paths to jar files, now the server doesnot even run. tellme what
    to do now???
    Joseph Weinstein <[email protected]_this> wrote:
    khabbab wrote:
    kindly tell me how can i check that the class paths for driver jarfiles are included
    in that string? thanks. also tell me can not i use the jdriver forsql server
    2000?.The startup script will echo what it's doing, including printing out
    the classpath
    it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
    for
    basic JDBC, but the MS drivfer is preferable in some ways.
    Joe
    Joseph Weinstein <[email protected]_this> wrote:
    khabbab wrote:
    i am using bea weblogic server 6.1, i cant create connection
    pool
    while
    using MS
    SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
    website.
    when
    i give the following class name for JDBC driver and the connectionurl and click
    apply while selecting the available server, a number of exception
    appears
    in default
    server (that is the connection pool cannot be created..... cannot
    load
    the driver
    class).The server startup script creates a string that will become the
    classpath
    for the server.
    This string is part of the java call to start the server with a-classpath
    argument. You need to
    make sure the MS driver jars are part of that classpath string.
    Joe
    URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
    Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
    when i use the above setting in a JDBC simple applicationin Jbuilder
    7.0 the application runs successfully and fetches the data deom
    MS
    SQL database
    but in at Bea connection Pool is not created with these settings.
    i
    do give appropriate
    username and password in properties field in connection pool.
    Thankx
    for any help!

  • Problem when creating connection pool for Informix

    Hi all,
    could you please help me to create a connection pool for informix?
    I use a com.informix.jdbcx.IfxXADataSource driver and here are the properties
    user=informix
    password=informix
    url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
    dataSourceName=TestEntityPool2
    portNumber=1526
    databaseName=vka
    ifxIFXHOST=TW010766
    serverName=vka
    Here is the error message :
    Error during Data Source creation: weblogic.common.ResourceException: DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
    Could you please tell me what's wrong with the configuration?
    Many thanks in advance.
    Hoang

    Hoang Nguyen wrote:
    For JBuilder :
    URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    Driver : com.informix.jdbcx.IfxXADataSource
    username : informix; password : informix
    For WebLogic :
    URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    Driver : com.informix.jdbcx.IfxXADataSource
    Properties : password=informix
    user=informixOk. The problem may have to do with your reiterating all the properties below.
    url=jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    portNumber=1526
    databaseName=vka
    serverName=vka
    ifxIFXHOST=tra019746All these above are implicit in the URL you give to jBuilder and weblogic.
    Try defining the pool with only the user and password as properties.
    >
    >
    Error:
    Error during Data Source creation: weblogic.common.ResourceException:
    DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
    at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
    at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
    at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
    at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
    Thanks Joe
    Hoang Nguyen wrote:
    Joseph,
    The driver that I use comes from informix.
    I've tried with JBuilder and no problem. JBuilder can connect to informixand
    I can see the tables from JBuilder.
    There's something wrong in the configuration with Weblogic.
    Many thanks for your help.I understand that there's something wrong with the configuration with
    weblogic,
    but the problem is due to a mistake in the input you gave to the pool
    definition,
    and I want to solve that. Please show me the URL, driver name and properties
    you give to JBuilder to make Informix connections. Also, show me the
    first few lines
    that get printend out when you run the weblogic start script. I want
    to see the
    line that prints out the classpath used in the script for starting the
    server.
    thanks,
    Joe
    Joseph Weinstein <[email protected]> wrote:
    Ok, I would like you to download Informix's driver from them, and
    run one of their example programs, just to prove you can connect to
    informix, using their driver, with no weblogic in the picture. We
    have
    to establish that, because that's all weblogic will be doing anyway.
    Once
    we know how to connect to informix via JDBC, we can do weblogic stuff.
    Joe
    Hoang Nguyen wrote:
    Hi,
    I forgot to mention that I'm working with Weblogic server 7 and
    Informix 2000 9.20.
    For the configuration, I followed the example given by Weblogic
    http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#thirdparty001,
    table 5.2
    Here is the example given by weblogic :
    user=username
    url=jdbc:informix-sqli://dbserver_name_or_ip:port_num/dbname:informixserver=dbserver_name_or_ip
    password=password
    portNumber =port_num;
    databaseName=dbname
    serverName=dbserver_name
    ifxIFXHOST=dbserver_name_or_ip
    If you take a look at the link, you'll see a note :
    "In the Properties string, there is a space between portNumber and=". I've tried
    that but it seems that this bug had been resolved. When I put the
    space,
    I've
    an number exception.
    Thanks for your help.
    Hoang
    Joseph Weinstein <[email protected]> wrote:
    Nguyen Hoang wrote:
    Hi all,
    could you please help me to create a connection pool for informix?
    I use a com.informix.jdbcx.IfxXADataSource driver and here are
    the
    properties
    user=informix
    password=informix
    url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
    dataSourceName=TestEntityPool2
    portNumber=1526
    databaseName=vka
    ifxIFXHOST=TW010766
    serverName=vka
    Here is the error message :
    Error during Data Source creation: weblogic.common.ResourceException:DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi)
    (TestEntityPool2)
    This means the pool was unable to make an informix connection withthe
    properties
    you gave. Please show me the few lines from an informix driver
    example
    program
    that makes a successful JDBC connection to the DBMS you want, andI will
    show
    you how to define a pool for weblogic to do the same.
    Joe
    at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
    at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
    at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
    at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
    Could you please tell me what's wrong with the configuration?
    Many thanks in advance.
    Hoang

  • Connection Pools for DB2 UDB 8.2 on a SUN AS 8.1

    Hi,
    has somebody experience or knows a place where I can get more information in setting up a connection pool to a DB2 UDB 8.2 database from a SUN AS 8.1 server?
    I'm struggling now for some weeks to get this working, but it doesn't work. I've tried the JDBC JAR's delivered with DB2 but get configuration errors. When I use the JDBC JAR's mentioned in the SUN AS documentation, it seems that the SUN AS 8.1 opens a connection, which is refused on the DB2 side.
    The setup of a connection pool to a Postgres DB worked directly. The connection pool is correctly setup in the SUN AS but the ping doesn't work.
    Hope somebody can help.
    Regards

    Hi Jagadish,
    added the finest to connector and resource-adapter. Here is the output:
    [#|2006-01-16T09:03:14.540+0100|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
    [#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ConnectorServiceImpl :: checkAndLoadResource resolved to load Db2Pool|#]
    [#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
    [#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
    [#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
    [#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
    [#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
    [#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
    [#|2006-01-16T09:05:38.587+0100|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|RAR6017 : Failed to get connection pool object via JNDI lookup : Db2Pool|#]
    [#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|
    com.sun.enterprise.connectors.ConnectorRuntimeException: This pool is not bound in JNDI :
         at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.obtainManagedConnectionFactory(ConnectorConnectionPoolAdminServiceImpl.java:949)
         at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1089)
         at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:507)
         at com.sun.enterprise.connectors.ConnectorRuntime.testConnectionPool(ConnectorRuntime.java:504)
         at com.sun.enterprise.admin.mbeans.ResourcesMBean.pingConnectionPool(ResourcesMBean.java:1908)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
         at com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:291)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:192)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: javax.naming.NameNotFoundException: Db2Pool not found
    |#]
    [#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection :: obtainManagedConnectionFactory threw exception. SO doing checkAndLoadPoolResource|#]
    [#|2006-01-16T09:05:38.603+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|No classloader available with connector descriptor|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds loader :: null|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
    [#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds ADDING to registry [email protected]0|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Added the active resource adapter to connector registry|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl:: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds env =server ? true|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds publishing descriptor __SYSTEM/descriptors/__ds|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
    [#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|current RAConfig In Descriptor []|#]
    [#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Found/returing Connector descriptor in connector registry.|#]
    [#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourcesUtil :: isEnabled|#]
    [#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourcesUtil :: isEnabled JdbcConnectionPool is pool/config - enabled :true|#]
    [#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;| JdbcConnectionPoolDeployer - deployResource : JdbcConnectionPool calling actualDeploy|#]
    [#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;| JdbcConnectionPoolDeployer - actualDeployResource : JdbcConnectionPool|#]
    [#|2006-01-16T09:05:38.993+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|parseTransactionSupportString: passed in txSupport =>LocalTransaction|#]
    [#|2006-01-16T09:05:39.009+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setpassword(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , passwd ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdelimiter(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , # ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdriverProperties(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , setdriverType#2##setdeferPrepares#false## ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setvalidationMethod(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , table ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdatabaseName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , dataBaseName ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setvalidationTableName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , TABLE_ADDRESS ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setconnectionValidationRequired(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , false ] |#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setguaranteeIsolationLevel(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , false ] |#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setuser(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , user ] |#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
    [#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setclassName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String  , com.ibm.db2.jcc.DB2SimpleDataSource ] |#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Created MCF object : |#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|poolName : Db2Pool : txSupport : 1|#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Added MCF to connector registry.|#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection:: checkAndLoadPoolResource is true|#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection :: Now calling obtainManagedConnectionFactory again|#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returning the MCF from connector registry.|#]
    [#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection:: done obtainManagedConnectionFactory again|#]
    [#|2006-01-16T09:05:39.071+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|using subject: Betreff:
         Principal: user
         Private Authentisierung: javax.resource.spi.security.PasswordCredential@26702a03
    |#]
    I think the exception is thrown because the pool was never allocated. So this exception should be okay.
    Then comes a lot of reflection stuff (at least in my opinion) and finally there is a try to open the connection. What I don't understand is why there is
    [#|2006-01-16T09:05:39.071+0100|FINE| ... |[b]using subject: Betreff:
    'Betreff' is normally the start for a german mail???
    But nevertheless I think I will realize your second suggestion and write a java client which opens a datasource. This make take some time (one or two days).
    THX a lot for your help.
    PS: There is some kind of syntax highlighting error within the exception code. So the rest of the text is also bold. Don't know how to reset that, but I hope it is readable.

  • Help!!!  Connection Pool for DB2 problem !!

    I created a DB2 connection pool in the weblogic.properties, but when
    weblogic server starting, I got the following error message:
    Thursday August 24 14:26:47 CST 2000:<E> <WebLogicServer> Failed to invoke
    startup class
    weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.Jdbc
    Startup
    java.security.AccessControlException: access denied (java.sql.SQLPermission
    setLog)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.sql.DriverManager.setLogStream(DriverManager.java:397)
    at weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
    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)
    I don't know how to solve it, and if I use Console to create a Connection
    pool, I can successful create it...........please help me !!! I have checked
    the weblogic.policy file, but I can not find any problem........
    the configuration in the weblogic.properties as below:
    weblogic.jdbc.connectionPool.ForumPool=\
    url=jdbc:db2:forum,\
    driver=COM.ibm.db2.jdbc.app.DB2Driver,\
    loginDelaySecs=1,\
    initialCapacity=2,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=administrator.user,\
    props=user=db2admin;password=db2admin
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.ForumPool=everyone
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.JtsForumDS=ForumPool
    weblogic.jdbc.DataSource.NonJtsForumDS=ForumPool

    You may want to try the JDBC newsgroup.
    Michael Girdley
    BEA Systems Inc
    "DataL" <[email protected]> wrote in message news:[email protected]...
    I created a DB2 connection pool in the weblogic.properties, but when
    weblogic server starting, I got the following error message:
    Thursday August 24 14:26:47 CST 2000:<E> <WebLogicServer> Failed to invoke
    startup class
    weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.Jdbc
    Startup
    java.security.AccessControlException: access denied(java.sql.SQLPermission
    setLog)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.sql.DriverManager.setLogStream(DriverManager.java:397)
    at weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
    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)
    I don't know how to solve it, and if I use Console to create a Connection
    pool, I can successful create it...........please help me !!! I havechecked
    the weblogic.policy file, but I can not find any problem........
    the configuration in the weblogic.properties as below:
    weblogic.jdbc.connectionPool.ForumPool=\
    url=jdbc:db2:forum,\
    driver=COM.ibm.db2.jdbc.app.DB2Driver,\
    loginDelaySecs=1,\
    initialCapacity=2,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=administrator.user,\
    props=user=db2admin;password=db2admin
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.ForumPool=everyone
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.JtsForumDS=ForumPool
    weblogic.jdbc.DataSource.NonJtsForumDS=ForumPool

  • Error Creating Connection Pool for Microsoft SQL Server

    I am trying to create a connection pool that connects to a MS SQl Server but it keeps giving me an error
    Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Missing class: com.microsoft.sqlserver.jdbc.SQLServerDriver Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils Loader: oc4j:10.1.3 Code-Source: /D:/jdevstudiobase1013/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\jdevstudiobase1013\j2ee\home\oc4j.jar This load was initiated at system.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
    I have added the Microsoft Jar to the D:/jdevstudiobase1013/j2ee/home/lib/ and also to D:/jdevstudiobase1013/j2ee/home/. Please any suggestion would be welcome

    I am trying to create a connection pool that connects to a MS SQl Server but it keeps giving me an error
    Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Missing class: com.microsoft.sqlserver.jdbc.SQLServerDriver Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils Loader: oc4j:10.1.3 Code-Source: /D:/jdevstudiobase1013/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\jdevstudiobase1013\j2ee\home\oc4j.jar This load was initiated at system.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
    I have added the Microsoft Jar to the D:/jdevstudiobase1013/j2ee/home/lib/ and also to D:/jdevstudiobase1013/j2ee/home/. Please any suggestion would be welcome

  • Problem creating connection pool for Sybase

    I'm trying to create a connection pool with Sybase as the database, as follows:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    I get the following error:
    java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
    nection(..., Properties).
    Any pointers on what's wrong?
    Rgds

    Hi. there's no line continuation stuff after the driver line.
    Try:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    and make sure there's no whitespace in the properties file after any of
    the '\'s in these lines.
    Joe
    Eeshan wrote:
    >
    I'm trying to create a connection pool with Sybase as the database, as follows:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    I get the following error:
    java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
    nection(..., Properties).
    Any pointers on what's wrong?
    Rgds

  • Error creating connection pool for WLS6.1 for DB2 connect

    Hi,
    We have installed licensed copy of Weblogic 6.1 Applciation server on HPUX 11.0.
    Our backend system is DB2 on Mainframe (S/390). We have installed DB2Connect
    JDBC driver ver 7.1 on HPUX. While creating pool throught weblogic console with
    following parameters:
    Name: DB2Pool
    URL:jdbc:db2:INFOSYSG
    Driver Classname: COM.ibm.db2.jdbc.app.DB2Driver
    Properties:
    user=jargon
    password=jargon
    Then appropriate Target was selected.
    When server was started following error was recevied on console:
    "CLI0647E Error allocating DB2 environment handle, rc=db2jdbc"
    Any pointers to the solution are welcome.
    Regards,
    Punam Chordia
    Infosys Technologies Ltd, Pune
    Phone: 91-20-2932000 Ext. 5650
    Fax: 91-20-2932832

    Hi,
    thank you for your answer, but i already fixed my problem.
    i simply put the profile-script of the db2-instance into the start script of the
    weblogic server.
    i didn´t really figure out so far which variable was missing, but now it works.
    unfortunately i found that this driver supports only 2 connections at the same
    time when using jdk 1.3.0 :-(.
    Regards,
    Andreas Koch
    Netfidelity Consulting GmbH
    tel +49 211 6012330
    fax +49 211 6012320
    mail [email protected]
    Joseph Weinstein <[email protected]> wrote:
    If you can connect to DB2 on your own, using their
    driver and their JDBC examples, then show me the code
    that works, and show me the classpath and OS environment
    you're running in, and I'll show you what should be
    done for the server.
    Andreas Koch wrote:
    Hi,
    unfortunately i have the same problem and found no solution so far.
    you may check my start-script, but in my eyes all db/2 stuff shouldbe
    found.
    thanks for urgent help
    Andreas Koch
    NetFidelity Consulting Gmbh
    [email protected]
    "Slava Imeshev" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    Hi Punam,
    You need to make sure that all driver's native libraries are
    available to the Weblogic. Check if SQLLIB\bin is on the path
    and let us know if it helps.
    Regards,
    Slava Imeshev
    "Punam" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We have installed licensed copy of Weblogic 6.1 Applciation server
    on
    HPUX
    11.0.
    Our backend system is DB2 on Mainframe (S/390). We have installedDB2Connect
    JDBC driver ver 7.1 on HPUX. While creating pool throught weblogic
    console
    with
    following parameters:
    Name: DB2Pool
    URL:jdbc:db2:INFOSYSG
    Driver Classname: COM.ibm.db2.jdbc.app.DB2Driver
    Properties:
    user=jargon
    password=jargon
    Then appropriate Target was selected.
    When server was started following error was recevied on console:
    "CLI0647E Error allocating DB2 environment handle, rc=db2jdbc"
    Any pointers to the solution are welcome.
    Regards,
    Punam Chordia
    Infosys Technologies Ltd, Pune
    Phone: 91-20-2932000 Ext. 5650
    Fax: 91-20-2932832
    Name: startWebLogic.sh
    startWebLogic.sh Type: Kornshell Script File (application/x-unknown-content-type-mks_shell)
    Encoding: x-uuencode

  • Error Message while creating connection pool

    Hi all,
    I got the following error message while creating connection pool for the
    SQL Server thru the Application Server Admin Console.
    The message is,
    An error has occured.
    Operation 'create.Jdbc.ConnectionPool' failed in 'resources' Config Mbean. Target exception message :
    JdbcConnectionPool Already Exists: cannot add duplicate.
    But the connection pool for the SQL Server was not there in the list.
    What may be the possible reason for this error.
    i was trying to deploy a BMP entiy bean using the Sun Application Server.
    Prior deploying i just tried to create connection pool and test the connection using the Admin Console
    Please help me by providing a solution.

    Kriti Sundar Mazumder wrote:
    Hi
    I am getting an following error message, while creating database connection pool
    in weblogic 7.
    "<Jun 18, 2004 4:52:36 AM CDT> <Error> <JDBC> <001060> <Cannot startup connection
    pool "MyJDBCConnectionPool" java.sql.SQLException: [IBM][JDBC Driver] CLI0647E
    Error allocating DB2 environment handle, rc=-1.>"
    Can anyone help me out in this regard
    Regards
    KritiHi. I am no expert, but it sounds like a problem with the privileges the user
    has... The best thing is to step back to a simpler environment. Can you try
    connecting to DB2 with a simple program like utils.dbping? Please look at our
    driver docs for the DB2 driver, because there are several variations in connect
    properties depending on the type of DB2 you are connecting to...
    Joe

  • Setting up connection pool for cloudscape 10 embedded database

    I got problem with setting connection pool via admin console for cloudscape 10 embedded in j2ee 1.4 (Application server 8.1), what im doing is:
    -in resources/jdbc/ConnectionPools i add a new pool
    - datasource classname i set up as: "org.apache.derby.jdbc.EmbeddedXADataSource"
    -resource type: "javax.sql.XADataSource"
    -DatabaseName: "jdbc:derby:D:\\Programowanie\J2EE\domains\domain1\config\notesData"
    -set no password and user, becouse i havet set this in database
    and when i ping to that datebase i got error:"Operation 'pingConnectionPool' failed in 'resources' Config Mbean."
    when i change Datasource Classname to: "org.apache.derby.jdbc.EmbeddedDataSource", this error occur:
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection object cannot be null
    what im doing wrong? i look everywhere and i cant find solution to my problem...hope you can help me.
    Thanks,
    Krystian

    Amit wrote:
    >
    "whats are the settings (URL, driver, properties) required to set up a connection pool for DB2 on OS/390 ?I'm using "COM.ibm.db2.jdbc.app.DB2Driver" as DB2 driverHi. If you can successfully use that driver with one of it's simple
    JDBC example programs, then show me that example, at least the
    part that makes the connection, and I'll show you how to define a pool.
    Joe
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
    Send resumes to [email protected]

  • Help in creating the connection pool  for Oracle 8i using Jdriver

    Hi
    Iam pretty new to Weblogic and would be greatfull if some one can help me
    out in finding the parameters to be specified in Weblogic console for creating
    a Connection pool for Oracle 8i database running on solaris. I have installed
    necessary client libraries in weblogic machine.
    The details for my database are as follows
    database name : mydb
    database server : 173.24.24.1
    database port : 1521
    username : myuser
    I would appreciate if you can provide me the following details to be entered in
    weblogic console for creating the connection pool
    URL
    DRIVER CLASS NAME
    PROPERTIES
    ACL NAME
    PASSWORD
    Thanks,
    S Hari

    Hari
    Jdbc Connection Pool Configuration
    URL= jdbc:weblogic:oracle
    DRIVER CLASS NAME=weblogic.jdbc.oci.Driver
    PROPERTIES
    user=myuser
    password=<password in mydb>
    server=mydb
    After configuring Connection Pool Select Targets tab. Select Server from Available
    to Chosen.
    Deepak
    Hari wrote:
    Hi
    Iam pretty new to Weblogic and would be greatfull if some one can help me
    out in finding the parameters to be specified in Weblogic console for creating
    a Connection pool for Oracle 8i database running on solaris. I have installed
    necessary client libraries in weblogic machine.
    The details for my database are as follows
    database name : mydb
    database server : 173.24.24.1
    database port : 1521
    username : myuser
    I would appreciate if you can provide me the following details to be entered in
    weblogic console for creating the connection pool
    URL
    DRIVER CLASS NAME
    PROPERTIES
    ACL NAME
    PASSWORD
    Thanks,
    S Hari

  • Problem creating a connection pool for mssql server

    Hi
    i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    please can someone help out on this
    Ifeanyichukwu

    I assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
    If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
    Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
    If that doesn't work post your connect pool settings.
    Good luck
    Mike

Maybe you are looking for