Help me in classpath settings/Connection Pooling

hello,
When i configured my connectionpool with
Sun Java Application Server Admin Console
i found this error:
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not set for : com.microsoft.jdbcx.sqlserver.SQLServerDataSource
where do i need to change is there an error in the jvm classpath or
is it due to connection 2 the Server

Dear Customer,
As you can see, your pre-requisite checks are failing because you are not on supported OS version.
Please verify supported OS from SRSP guide (If you are on prior Siebel version 8.1.1.8) or Certification tab for all siebel versions from 8.1.1.9.
I hope it helps.
Best Regards,
Chetan

Similar Messages

  • Help please: What gets pinged - Connection Pool

    I have a connection pool set up and can "ping" it, but I cannot seem to use it in my application.
    What exactly gets "pinged" (what address)?
    For example, my setup looks like this:
    Data Source Class Name - net.sourceforge.jtds.jdbcx.JtdsDataSource
    Resource Type - javax.sql.XADataSource
    serverName - localhost
    port - 1433
    datasourceName - jdbc/testSqlServerDatasource
    databaseName - testdatabase
    Under the connection pools in the Application Server Admin Console, I can "ping" this connection.
    When I go out to a DOS prompt and try to ping, I cannot. What I tried was:
    ping localhost:1433/jdbc/testSqlServerDatasource
    ping localhost:1433/testSqlServerDatasource
    ping localhost/testSqlServerDatasource
    What exactly should I be able to "ping"?
    Note too that I have a JDBC Resource set up (also using the Admin Console) with a JNDI Name of testSqlServerDatasource.
    Thanks.

    The Ping in connection pool actualy tries to establish the connection with the database for which the configuration is provided in the Connection Pool page. The ping on DOS command is not same with what you actualy do in Connection Pool page. The DOS ping "helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them".

  • Strange problem since changing some settings Connection Pool

    Since changing the following settings in my connection pool, I have been seeing strange behavior with an application that has been deployed for over a year.
    <br><br>
    The settings I changed were the following:
    <br><br>
    Maximum Capacity: Changed from 25 to 100<br>
    Statement Cache Size: Changed from 10 to 200<br>
    Shrink Frequency: Changed from 900 to 300<br>
    Connection Reserve Timeout: Changed from 10 to 5<br>
    Maximum Waiting for Connection: Changed from 2147483647 to 50
    <br><br>
    I was wondering if anyone had any comments on these settings as well as any insight as to why I am seeing the results of a prepared statement
    <br>
    <b>("select count(*) from event where event_id = ?" )</b>
    <br>
    come back as <u>0</u> for the user that just created a record a few minutes before. At the same time another user can log in to the application and cause the same query to run and they get a count of <u>1</u> for the record the other user just created. Then if I restart Weblogic both users get a count of <u>1</u>
    <br><br>
    Driver 9.0.2.0.0<br>
    Weblogic 8.1.3.0

    try
    select * from v$session where lower(module) like 'jdbc%';if you don't find .... so... no connection from jdbc...
    Because when jdbc pool ... start.... It should create connection ... hold on database.

  • 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

  • How to use Connection pool in Reports

    Dear All,
    Please help me How to create Connection pool for Reports and How to use in Reports.
    Present i am using the report by passing parameter as P_JDBCPDS=username/password@databaseName. I thought this will not manage the coonection pool.
    For all reports and every time i am passing userName/password, how to avoid this. Please help me.
    1. How to create Connection pool for Report Server
    2. How to use that Connection pool in the Reports.
    Please help me.
    With Regards,
    Srinivas.

    Until now, I have not worked unfortunately with a connection pool, but, I have found a documentation about the Creating an Internal Connection Pool.
    http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b13593/cpdef.htm

  • HELP - DB2 v9 & App Server PE 9.0 - PING Connection Pool Failure - HELP

    I've been playing around with Studio Creator and DB2 v9 without any issues.
    So I figured I would installed App Server PE 9 and use this as my production server that I would deploy to from studio creator.
    However, in my efforts to set up db2/v9 I have been trying to ping a connection pool without any luck. I get the following message:
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [sunm][DB2 JDBC Driver]Resource Limits Reached( ALLOCATE MEMORY FOR NEW SQLSTT FAILED ). Diagnostic Info: FUNCTION ID = 0049 , PROBE POINT = 0400 , TRACE POINT = 0030 , SUBCODE1 = 8B0F0000, SUBCODE2 = 78A68A98, SUBCODE3 = 00000000, ERROR MSG = Parser: Memory allocation error.
    My datasource class name is com.sun.sql.jdbcx.db2.DB2DataSource.
    And my resource type is javax.sql.datasource
    I have copied smbase.jar, smdb2.jar and smutil.jar into c:\sun\appserver\lib
    and I have all of the properties (serverName, portNumber, databaseName, user, password) created and set accordingly.
    Any help would be greatly appreciated.

    Here is how I got the DB2 Express-C and Sun PE 9.0 to work. ( at least base connectivity wise )
    1. ) You have to have at least the DB2 Client installed on the system that will be communicating to the DB2 instance.
    2.) The following jars will be needed ( depending on the driver type used) . db2java.zip, db2jcc.jar, and db2jcc_license_cu.jar and use them in the App Server ->JVM settings -> Path Settings -> Classpath Suffix
    3.) The next setup is dependent on the Type driver you use
    I used the Type 4 and this is the resource setup I used.
    Connection Pool:
    Name: DB2TestPool
    Datasource Classname: com.ibm.db2.jcc.DB2SimpleDataSource
    Resource Type: javax.sql.ConnectionPoolDataSource
    Properties:
    user: xxxxxx
    password: xxxxxx
    databaseName: TEST
    serverName: <hostname of machine>
    portnumber: 50000
    driverType: 4
    URL: jdbc:db2://<hostname>:<port>/<database>
    JDBC Resource:
    JNDI Name: jdbc/TEST
    Pool Name: DB2TestPool
    With this configuration I was able to ping the database as well as connect to create an entity bean from a table. This should give you a starting point.
    I have yet to deploy my application, but should be doing that sometime today to verify that a connection can be made and used from within the application.

  • Help to Configure Connection Pool For Jdeveloper

    Hi ,
    I am using Jdeveloper 10.1.2 and Oravle AS 10.1.2.
    Language Used : J2EE,Struts and EJB
    I am portletizing struts application.
    I need help to configure Connection pool. By default it is taking a datasource.xml not the one i had defined. Pls help me out. Affecting the performance due to so many hit to db.
    regards,
    Jayashree Jegan

    Hi John,
    Go through this thread of mine. You will get the required information to setup the connection pool.
    SOAP adapter: WSDL issue
    Also just check in Visual Studio Help .NET Connector for Connection Config class settings. You will see all the relevent parameters related with connection pool.
    Regards.

  • JDC Connection Pooling compilation error .... Please help

    I am trying to implement the JDC Connection pooling classes that I downloaded from this site. The 3 classes are:
    JDCConnection.java
    JDCConnectionDriver.java
    JDCConnectionPool.java
    I am having trouble compiling the JDCConnection.java class. The error that is coming up is this:
    JDCConnection.java:7: pool.JDCConnection should be declared abstract; it does not define createStatement(int,int) in pool.JDCConnection
    public class JDCConnection implements Connection {
    If I change the class to an abstract one, then I get an error indicating that one of the other classes cannot call a "new" instance of it because it is abstract.
    I have all the classes in a package called pool and YES I have set all the classpaths so that javac knows where to find it. I have posted the JDCConnection.java class below so you can see it. I have not modified it from how I got it.
    package pool;
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    public class JDCConnection implements Connection {
    private JDCConnectionPool pool;
    private Connection conn;
    private boolean inuse;
    private long timestamp;
    public JDCConnection(Connection conn, JDCConnectionPool pool) {
    this.conn=conn;
    this.pool=pool;
    this.inuse=false;
    this.timestamp=0;
    public synchronized boolean lease() {
    if(inuse) {
    return false;
    } else {
    inuse=true;
    timestamp=System.currentTimeMillis();
    return true;
    public boolean validate() {
         try {
    conn.getMetaData();
    }catch (Exception e) {
         return false;
         return true;
    public boolean inUse() {
    return inuse;
    public long getLastUse() {
    return timestamp;
    public void close() throws SQLException {
    pool.returnConnection(this);
    protected void expireLease() {
    inuse=false;
    protected Connection getConnection() {
    return conn;
    public PreparedStatement prepareStatement(String sql) throws SQLException {
    return conn.prepareStatement(sql);
    public CallableStatement prepareCall(String sql) throws SQLException {
    return conn.prepareCall(sql);
    public Statement createStatement() throws SQLException {
    return conn.createStatement();
    public String nativeSQL(String sql) throws SQLException {
    return conn.nativeSQL(sql);
    public void setAutoCommit(boolean autoCommit) throws SQLException {
    conn.setAutoCommit(autoCommit);
    public boolean getAutoCommit() throws SQLException {
    return conn.getAutoCommit();
    public void commit() throws SQLException {
    conn.commit();
    public void rollback() throws SQLException {
    conn.rollback();
    public boolean isClosed() throws SQLException {
    return conn.isClosed();
    public DatabaseMetaData getMetaData() throws SQLException {
    return conn.getMetaData();
    public void setReadOnly(boolean readOnly) throws SQLException {
    conn.setReadOnly(readOnly);
    public boolean isReadOnly() throws SQLException {
    return conn.isReadOnly();
    public void setCatalog(String catalog) throws SQLException {
    conn.setCatalog(catalog);
    public String getCatalog() throws SQLException {
    return conn.getCatalog();
    public void setTransactionIsolation(int level) throws SQLException {
    conn.setTransactionIsolation(level);
    public int getTransactionIsolation() throws SQLException {
    return conn.getTransactionIsolation();
    public SQLWarning getWarnings() throws SQLException {
    return conn.getWarnings();
    public void clearWarnings() throws SQLException {
    conn.clearWarnings();
    Any help at all on this would be greatly appreciated.
    Thanks

    I didn't realize that I was extending an abstract class. Could you point out to me where it is in the code that I am doing this. Also, you tell me to "code this method", but I am not sure how to do that.
    Does that mean that I need to more specifically define the createStatement method like this:
    public java.sql.Statement createStatement(int resultSetType,
    int resultSetConcurrency)
    instead of:
    public Statement createStatement()
    like it is now.
    Please keep in mind that I would rather not declare the whole JDCConnection class as abstract since that means that I can't create a new instance of it from another class .... or am I wrong in my thinking. I really do appreciated any help anyone can give me.
    Thanks

  • Connection Pooling Help Needed

    Greetings.
    I am trying to get a database connection in Websphere 5.0 (running on Redhat Adv. Server) and my connection times are very, very slow. Below is the code to get the connection:
    Properties parms = new Properties();
    parms.setProperty(Context.INITIAL_CONTEXT_FACTORY,
    "com.ibm.websphere.naming.WsnInitialContextFactory");
    // Create the Initial Naming Context
    Context ctx = new InitialContext(parms);
    DataSource ds = (DataSource) ctx.lookup("jdbc/customer");
    Connection con = ds.getConnection();
    Here is the setup for the database connection within the Websphere Admin Console to an Oracle 8i database:
    Implementation: oracle.jdbc.pool.ConnectionPoolDataSource
    JNDI Name: jdbc/customer
    Statement Cache Size: 10
    Data source helper class name: com.ibm.websphere.rsadapter.OracleDataStoreHelper
    Connection Timeout: 1800
    Maximum Connections: 30
    Minimum Connections: 10
    Reap Time: 180
    Unused Timeout: 1800
    Aged Timeout: 0
    Purge Policy: Entire Pool
    We CAN connect to the database. We CAN run SQL statements and stored procedures just fine. Everything with the database is working correctly. ok, so here is the problem... The statement: Connection con = ds.getConnection(); Takes a long time. 3+ seconds. Every time. No Matter what the load is. We need to get this time down significantly. It's killing our web services.
    Using JMeter, We have tested it using a single thread and up to 50 concurrent threads and it all runs the same. 3+ seconds. We actually changed the code to create a database connection just using JDBC with no JNDI lookup and it runs at the same speed. It is almost as if the connection pool is not working correctly.
    So then we looked to see if we were ever getting the same connection twice, but when we printed out the object references, it looks like the connection is a brand new connection EVERY time because the object references are different. Please see the partial log file I have included below.
    Right now, our theory is that the connection pool is just getting us a new connection every time without reusing existing connections. We have played with all the settings on minimum connections, maximum connections, and everything else and nothing seems to help.
    Thank you to anyone that might be able to help us.
    Stephen
    Log File:
    ----- getDatabaseConnection() ------
    ERROR - 1 - Connection is com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7aac74cd
    ERROR -
    ----- getDatabaseConnection() ------
    1066140699427Using existing ds
    getting datasource took 0 milliseconds to complete.
    getting connection took 3733 milliseconds to complete.
    getDatabaseConnection took 3733 milliseconds to complete.
    ----- getDatabaseConnection() ------
    ERROR - 1 - Connection is com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7580f4cd
    ERROR -
    ----- getDatabaseConnection() ------
    1066140699707Using existing ds
    getting datasource took 0 milliseconds to complete.
    getting connection took 3454 milliseconds to complete.
    getDatabaseConnection took 3454 milliseconds to complete.
    ----- getDatabaseConnection() ------
    ERROR - 1 - Connection is com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@5b2b4cd
    ERROR -
    ----- getDatabaseConnection() ------
    1066140700199Using existing ds
    getting datasource took 0 milliseconds to complete.
    getting connection took 2965 milliseconds to complete.
    getDatabaseConnection took 2965 milliseconds to complete.
    ----- getDatabaseConnection() ------
    ERROR - 1 - Connection is com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@2301b4ce
    ERROR -
    ----- getDatabaseConnection() ------
    1066140699752Using existing ds
    getting datasource took 0 milliseconds to complete.
    getting connection took 3417 milliseconds to complete.
    getDatabaseConnection took 3417 milliseconds to complete.

    The problem might be the version of Driver Class you use... If you use Oracle 9x, u need to have new version of classes12.jar/zip. Do check it out.

  • SJSAS 8 connection pool settings ignored

    I have my connection pool settings set to 200 max connections and a 5 minutes max wait time. But when I run my application I get a "Cannot allocation more connections" exception after only 3 minutes and the database shows that there are less than 100 connections. What's the problem?
    Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:283)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:147)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(ConnectionFactoryAdapter.java:96)
    ... 30 more
    Caused by: com.sun.enterprise.resource.PoolingException: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:275)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:211)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:172)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:268)
    ... 33 more

    I face a similar problem.
    I'm using Sun Application Server 8.1 and my systems connects to Iplanet LDAP 5.1.
    have my connection pool settings set to 100 max connections and a 3 minutes max wait time. But when i run my application, i found that the server never release any of my connection even when the connection expires from the pool. If i run a load test, I get a "Cannot allocation more connections" exception after a while.
    If i run the same code in Sun App Server 6.1, it works fine. Is there some problem with Sun Application Server 8.1? Is there a patch for it?

  • 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

  • Hi Guys, can you please help me with Connection Pooling.

    I have:-
    Tomcat 5.0.27
    MySQL 4
    Apache 2.0.
    JSP web pages.
    I have been trying to get connection pooling working but i havent been successful yet. Please do help me make it happen.
    I have posted my server.xml and web.xml from /conf/. They are not edited. I have also included the pages that I am currently ussing to connect to the database.
    I need you to assist me with how I should edit the above.
    1.     SERVER.XML
    Where and how should I edit this file?
    2.     WEB.XML
    Where and how should I edit this file?
    3.     DATABASE_INFO.JSP
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    %>
    <%!
    public java.sql.Connection dataconnect() throws SQLException {
    Connection database_connector;
    database_connector = DriverManager.getConnection("jdbc:mysql://localhost/publications?user=hello&password=hello");
    return database_connector;
    %>
    <%!
    public java.sql.Connection adminconnect(javax.servlet.http.HttpSession session) throws SQLException {
    Connection database_connector;
    if (session.getAttribute("s_conn")!=null) {
    database_connector = (Connection) session.getAttribute("s_conn");
    if (database_connector.isClosed()) {
    database_connector = DriverManager.getConnection("jdbc:mysql://localhost/publications?user=hello&password=hello");
    } else {
    database_connector = DriverManager.getConnection("jdbc:mysql://localhost/publications?user=hello&password=hello");
    session.setAttribute("s_conn", database_connector);
    return database_connector;
    %>
    <%!
    public String filedir() {
    String directory = "C:/Tomcat/webapps/ROOT/publications/";
    return directory;
    %>
    etc
    Database Name : publications

    Hi,
    1- put your jdbc driver jar file in $CATALINA_HOME/common/lib (ex: C:\tomcat\common\lib )
    2- Next, modify the web application deployment descriptor (/WEB-INF/web.xml) to declare the JNDI name under which you will look up preconfigured data source
    take care of the ordering as below so resourc-ref tag is after taglib
    <resource-ref>
    <description>
    Resource reference to a factory for java.sql.Connection
    instances that may be used for talking to a particular
    database that is configured in the server.xml file.
    </description>
    <res-ref-name>
    jdbc/EmployeeDB
    </res-ref-name>
    <res-type>
    javax.sql.DataSource
    </res-type>
    <res-auth>
    Container
    </res-auth>
    </resource-ref>
    3- add an element like this to the /META-INF/context.xml file in the web application. ( under ../webapps/mywebapplication/WEB-INF
    <Context ...>
    <Resource name="jdbc/EmployeeDB" auth="Container"
    type="javax.sql.DataSource" username="hello" password="hello"
    driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/publications"
    maxActive="8" maxIdle="4"/>
    </Context>
    4- code sample
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    DataSource ds = (DataSource)
    envCtx.lookup("jdbc/EmployeeDB");
    Connection conn = ds.getConnection();
    ... use this connection to access the database ...
    conn.close();
    The default data source support in Tomcat is based on the DBCP connection pool from the jakarta commons
    Regards,
    Alan Mehio
    London,UK

  • Urgent...Help Needed.1. Helper Class 2. Connection Pool

    Hello,
    1. There are few helper classes which has to be
    shared b/w session and entity beans. But it
    seems,state of the object is not transfered to entity
    bean though the class has implemented Serializable
    interface. I have archived all the helper class and
    copied to j2ee\home\lib directory. The same jar file
    is made accessible to server via updating <library-
    path> in j2ee/home/config/application.xml file.
    2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using
    "OracleConnectionPoolDataSource" class. But i feel that connection pool is not utilised coz server hangs in the middle of the retrieval.
    The value of max-connections is 50.
    We are actually migrating from Weblogic 5.1.0 to Oracle 9i AS. In weblogic, we had given 10 max connections in weblogic.properties,it is working fine. But i dont understand why it is not working in 9i AS though the max-connections is 50.
    Kindly let me know the solution at the earliest as it is very urgent to get the program running...
    Thanx and Regards,
    Achyuth

    Hi,
    hopefully I can help you.
    1. There are few helper classes which has to be ...We have just the same constellation. We have put the HelperClasses in the
    J2EE/home/lib dir, NOT specifying it in the application.xml. So everything works fine.
    The only thing: never, again: never put these files within WEB-INF and the lib-dir.
    With the HelperClasses in both we have only faced massive problems, mostly ClasCastExceptions.
    We had once all the helperClasses within J2EE/home/applications/lib, but this requires to
    specify this dir within the orion-application.xml within the appl dir in applications-deployment.
    It also worked fine.
    2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using ...I'm not sure of this, but I think, the container handles Connection Pooling, no matter what Factory you
    specify. But I think, the Class hasn't to be OracleConnectionPool ... but I have to check this (right now
    I have no access to our datasource.xml ..)
    cu
    ed

  • Please help: Connection Pooling...

    Hi everybody,
    I am seeking help from our experienced fellows and senior programmers/developers.
    I am working with Struts framework, TomCat and JavaBeans and developing a website.
    I wanna make my own Connection Pooling class to handel all the connections.
    Actualy, I don't wanna make Connection to the DB through my each Action Classes,
    which are accessing the Database.
    Would you please advise me that how it is possible and how I will refere to
    my Connection Pooling Class within Struts framework. And if possible just give the
    hints about the structure of the Connection Pooling Class.
    Your kind help will be highly appreciated...
    VeeJay...
    [email protected]

    Hi..
    Is it a requirement that u must use u'r own connection pool??
    Coz each application server provides its connection pool.why dont u exploit one of those.. as u r using tomcat, definitely it wud also be providing a pool of its own.
    Kris

  • 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

Maybe you are looking for

  • How can I change the Apple ID on a device?

    I have two cell phones, one for my wife and one for me, and an Ipad. Somehow I ended up paying for ICloud back up twice because one phone is under a different apple ID. I want to change the apple ID on that phone so it can have the same Icloud backup

  • Need limited data in the prompts

    Hi All, Its kind of really urgent and important to me. I have a prompt which hold the emp name. In the list of values i need only the list which comes when is join the emp table with the fact. Like is its a SQL it would be lik this. select e.emp_name

  • Is there anyone who can advise me how to best save my projects ?

    Here is my plan.... once a project is finished I am going to back up to a DV tape (so if I need to re edit later) I will save a .img file to ext HD to burn discs if I need to later. (someone wants or loses a copy) save original dv footage for origina

  • Preference Pane for system wide audio EQ?

    Is there some sort of universal Equalizer I can apply to all my audio? A Preference Pane would be great! I listen to an internet radio client (XM Radio) that doesn't have any EQ control. I know Audio Hijack can do this. But I'd rather not run a whole

  • Selecting JTable continuous/discontinuous rows programatically

    Hi!! I am having a set on table row indexes which I need to programatically select...I am doing following way... String[] indexes = {2, 4, 6, 1, 9}; table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); for(int i = 0; i < indexe.len