How to Troubleshoot the Connection Pool Exception?

Dear Oracle Gurus, very good afternoon to you.
I'm looking forward for some tips/troubleshoting guide to escape from the below exception, that occres very frequently to one of application that 100+ users will login from different locations & work on and update the data and save their work, where all in sudden they can't acces the application and it gets down.
Most of the times in the server log I observed below.
weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool RemoteDesktop.main to allocate to applications, please increase the size of the pool and retry..
Please help me on, how to overcome this kind of exception.
In Weblogi c server I see below kind of Warnings.
If you set the buffer size to zero in a servlet, it would fail to respond and would initiate an infinite loop in the server. WebLogic Server would ultimately display a Errors:
ExecuteThread: '157' for queue: 'weblogic.kernel.Default' has been busy for "633" seconds working on the request "Http Request: : ../updates/process_manager.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.
I searched over google for this kind of error, See otherusers posted the same kind of errors but didn't have any positive replies to troubleshoot this issue.
I also got Oracle Dev link on Weblogic version upgrade product where they fixed similar kind of error it seems. Which is shown below.
http://docs.oracle.com/cd/E13222_01/wls/docs61/notes/bugfixes2.html -- BUG # CR106186
details:
"Suspend Checker Thread" prio=10 tid=0x23eb90 nid=0xfec runnable
<May 14, 2003 10:53:34 AM PDT> <Warning> <WebLogicServer> <000337>
<ExecuteThread: '10' for queue: 'default' has been busy for "1,181" seconds working on the request "Http Request: servlet_uri", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
This problem was solved with a code fix.
Looking forward for some help, Thank you inadvance.
FYI..
I'm using oracle thin driver JDBC connection/Weblogic 8.1
Edited by: user1072948 on Apr 26, 2012 11:55 AM

I agree that looking into the number of connections that you have open when you see
weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool RemoteDesktop.main to allocate to applications, please increase the size of the pool and retry..
would be a good idea; but I would suggest that you don't increase without thinking about the consequences. I would look more closely at what the connections to the database are doing, for instance, how long are the connection being left open for? What are the queries that are being run? Should you expect to see all the connections in the connection pool being used? What is the current connection pool limit? Are you simply going to increase the number of connections to find that they are also waiting? What is the load on the database at the time?
It's the other error that you say you see
ExecuteThread: '157' for queue: 'weblogic.kernel.Default' has been busy for "633" seconds working on the request "Http Request: : ../updates/process_manager.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.
What does this JSP do? Why would this be busy for so long? Is it related to the previous exception that you have? I'd ask you delevelopment team to look into this.
In short, it sounds like you have load issues on your server(s) and a careful tuning of the system after a full analysis (thread dumps, heap profiling, connection pool monitoring and code review) would probably be beneficial. It may be that restricting the thread pool may help, it may be that increasing the connection pool would help. I'd not plump for a quick fix here.

Similar Messages

  • How to change the connection pool configuration on OC4J?

    Hi everybody,
    I am developing an application with JDeveloper which is running on an OC4J standalone server, we have 2 enviroments, the develop server and the server of the client, and the data base connection configurations are differents.
    The problem is that if we try to deploy the application (we have deploy on the develop server) on the client server and try to change the connection pool configuration the application cannot connect to the data base, we need to re-build the project with the client connection pool configuration.
    We tried to change the configuration on the enterprise manager of the OC4J, on "JDBC Resources" panel, and the test the connection is ok, but when try to access to the application we get an Exception. After that we try to do that changing the parameters from the datasources.xml file on the application, but the result is the same.
    How can we change the DataBase configuration without re-build the project?
    Thanks very much
    Tony

    Meaning you have created just the empty data-sources.xml and not configured any Connection Pool and DataSource in JDev?
    In Oracle AS 10.1.3 you have two ways to do this:
    1. Use JDev and configure the data-sources.xml (Context Menu -> Properties)
    2. In Oracle AS: Select application -> Administration -> Services -> JDBC Resources -> Create Pool and Create DataSource
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to track the connection pool refresh details

    Hi,
    Could you please help to track the connection pool refresh details.
    Thanks
    Panneer

    Hi,
    I want track connection pool refresh details for oracle application server 10.1.3.4.
    Please help me to get this info.
    Thanks
    Panneer

  • How to create the connection pool using jdbc20 driver?

    Hi all,
    My configuration is WL4.5 SP5 + jdk1.2.2+WinNT+ Oracle thin driver
    8.1.6.
    It is creating the connections with weblogic.jdbc.pool.Driver, whereas i
    want the connections in the pool to be created with jdbc20 driver. This
    how my pool definition is defined.
    weblogic.jdbc.connectionPool.PoolName=\
    url=jdbc:oracle:thin:@<IP address>:<Instance>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=40,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=5,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=XXXX;password=XXXX
    The reason is I want to use BLOB's. I have a message posted in jdbc news
    group with the exception i got. But since this more of a environement
    issue i am posting it here.
    Any help is appreciated,
    Thanks
    John

    Here is the correct pool definition.
    ################JDBC20 Driver#########################
    weblogic.jdbc.connectionPool.jdbc20Pool=\
    url=jdbc20:weblogic:oracle,\
    driver=weblogic.jdbc20.oci.Driver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=1,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=SCOTT;password=tiger;server=goldengate
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.jdbc20Pool=guest
    Hope this helps,
    --Kumar
    Kuppuswamy Seshadhri wrote:
    I think you are missing the port number.
    A working example,
    Ensuring
    - TSNAMES is setup and the service is running
    - set ORACLE_HOME variable in setenv.cmd
    weblogic.jdbc.connectionPool.theOraclePool=\
    url=jdbc:oracle:thin:@IPADRESS:1521:orcl,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=XXXX;password=XXXX;
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.theOraclePool=everyone
    Kuppu
    "John Galt" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    My configuration is WL4.5 SP5 + jdk1.2.2+WinNT+ Oracle thin driver
    8.1.6.
    It is creating the connections with weblogic.jdbc.pool.Driver, whereas i
    want the connections in the pool to be created with jdbc20 driver. This
    how my pool definition is defined.
    weblogic.jdbc.connectionPool.PoolName=\
    url=jdbc:oracle:thin:@<IP address>:<Instance>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=40,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=5,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=XXXX;password=XXXX
    The reason is I want to use BLOB's. I have a message posted in jdbc news
    group with the exception i got. But since this more of a environement
    issue i am posting it here.
    Any help is appreciated,
    Thanks
    John

  • How can i use connection pool within the sqlj?

    hello
    i am a beginner to sqlj,i find all of the sample code from the oracle DON'T use connectionpool,they only write the database url to "connection.properties" file,but i think in the production environment we should use the connectionpool to optimise the querying,i usually use the weblogic connection pool.
    how can i use the connection pool within the sqlj?
    thank you very much!

    Im not sure if I understand. :)
    English is not my best language...
    Looking up the connection again? Do you mean I have to create new DataSource object and bind it again to ServletContext?

  • How to create a connection pooling in Netbeans 6.0 using the oracle driver

    hi all,
    I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
    I tried to create a connection pooling using tomcat web server.
    I have included the following code in context.xml and web.xml.
    CONTEXT.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/network1">
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    username="scott"
    password="tiger"
    factory="BasicDataSourceFactory"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
    maxActive="20"
    maxIdle="10"
    maxwait="-1"/>
    </Context>
    WEB.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
    classes 111.jar,
    classes 111_g.jar
    classes12.jar
    classes 12_g.jar
    classes12dms.jar
    classes12dms_g.jar
    nls_charset11.jar
    nls_charset12.jar
    ocrs12.jar
    ojdbc14.jar
    ojdbc14_g.jar
    Then i stop the tomcat web server and start it again.
    In jsp page i have included the following code:
    Context ctx=new InitialContext();
    Context envctx=(Context)ctx.lookup("java:comp:env");
    DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
    Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
    please help me how to create a connection pooling and rectify the error in conneciton.
    Thanks in advance

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • How can I switch the connection pool dynamically during on load happens

    HI,
    I have two data bases which holds same data. i.e Prod_db, Prod_db1,
    I want to switch the connection pool dynamically during load happens
    Ex: During load happens i want to hit prod_db1, after load completes i want to hit prod_db. How to achieve this.

    create dynamic repository variable for DSN using init block so that value is changes based on your timings and use this in connection pool.
    If you use same user and passwords for both the databases that would be easy or else need to follow the same for uid and pwd.
    That should work, if not update.
    If helps pls mark correct/helpful

  • How can I use the Connection Pool with DB2

    Hi All,
    I am facing the problem with the usage for the Connection Pool.
    I want to use DB2 via JNDI lookup.
    But when starting the Weblogic server, Error occured with the following message.
    <Error> <JDBC> <Cannot startup connection pool "MyJDBCPool" Cannot load driver class : com.ibm.db2.jdbc.app.DB2Driver>
    DB2 and Weblogic are on the same machine.
    In case of the use of remote DB2 database, I also encountered the same error.
    Configurations are as follows.
    <JDBCConnectionPool DriverName="com.ibm.db2.jdbc.app.DB2Driver"
    MaxCapacity="10" Name="MyJDBCPool"
    Password="{3DES}gCGsOfD9M6iwOtgL2v/NpA==" Targets="myserver"
    TestConnectionsOnReserve="false" TestTableName="test" URL="jdbc:db2://localhost:6789/yongjoo"/>
    <SNMPAgent Name="mydomain"/>
    <JDBCDataSource JNDIName="acsdb" Name="acsdb" PoolName="MyJDBCPool" Targets="myserver"/>
    Could you please give some information about this problem? I will appreciate your kindness.

    Hi Joe,
    Thanks your help.
    Perhaps It's my fault for Weblogic console's setting.
    After I reset the target server in console, Error message disappeared.
    But, when I call the TestCode, I encountered another error message. The error
    is NameNotFoundException.
    When lookingup the JNDI name, NameNotFoundException errer occured. I tried to
    change my setting and JNDI name, but the results are the same.
    Would you please give me some information about this one more time? I will be
    appreciated for your help.
    Follows are Config.xml
    <JDBCConnectionPool DriverName="com.ibm.db2.jdbc.app.DB2Driver" MaxCapacity="10"
    Name="MyJDBCPool" Password="{3DES}gCGsOfD9M6iwOtgL2v/NpA==" Targets="myserver"
    TestConnectionsOnReserve="false" TestTableName="test"
    URL="jdbc:db2://localhost:6789/yongjoo"/> <SNMPAgent Name="mydomain"/>
    <JDBCDataSource JNDIName="acsdb" Name="acsdb" PoolName="MyJDBCPool"
    Targets="myserver"/>
    and follows are TestCode,
    url = "t3://localhost:7001"; //default URL
    datasource = "jdbc/acsdb";
    Context ctx = null;
    Hashtable p = new Hashtable();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    try{
    ctx = new InitialContext(p);
    System.err.println("initialContext(p)"+ctx); <-- success
    ds = (DataSource)ctx.lookup("java:comp/env/jdbc/acsdb");
    }catch(NameNotFoundException ne){
    throw new ConnectionException(); .
    }catch(NamingException ne){
    throw new ConnectionException();

  • The connection pool does not exist?

    Can somebody tell what is happening? For some reason the Sun Java Application Server 8 seems to think that there is no connection pool. For a moment everything worked. I did not change the configuration but now I get this message (if I open the admin console and ping the Connection Pool its there). Here is a part of the server.log file:
    [#|2006-05-06T19:12:54.453+0300|WARNING|sun-appserver-pe8.1_02|javax.enterprise|_ThreadID=10;|UTIL5047: Connection Pool does not exist: [DB2 yhteysConnectionPool]|#]
    [#|2006-05-06T19:12:54.453+0300|WARNING|sun-appserver-pe8.1_02|javax.enterprise|_ThreadID=10;|UTIL5048: Error Loading Jdbc Resource: [jdbc/aarre]|#]
    [#|2006-05-06T19:12:54.453+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise|_ThreadID=10;|Error loading Jdbc Resource:jdbc/aarre. skipping...|#]
    [#|2006-05-06T19:12:55.031+0300|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Exception occurred while satisfying optional package dependencies : {0}
    java.lang.NullPointerException
         at com.sun.enterprise.deployment.backend.OptionalPkgDependency.satisfyOptionalPackageDependencies(OptionalPkgDependency.java:183)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:270)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:591)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:237)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]

    Hi,
    I'm experiencing the same problem.
    Did you solve the problem and if yes how ?
    Thanks,
    EDH

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • How do i use Connection pool in JSP pages

    Hey everyone,
    I am using a connection pool in my web application. I am using DbConnectionBroker from Javaexchange.com. It has a class that creates a connection pool available for the servlets. I am trying to figure out that how to use connection pool within the JSP pages if I want to connect to the database. In the servlets i am using DBConnectionBroker pool = (DbConnectionBroker) getServletContext().getAttribute("dbPool") to get database connection. How Can i use this in JSP page to get a db connection.
    Thanks

    If the reference to the connection pool is already stored as an ServletContex attribute, try:
    <jsp:useBean id="dbPool" scope="application" class="com.javaexchange.dbConnectionBroker" />
    <%
    Connection con = dbPool.getConnection();
    %>

  • How to test if connection pool is set up correctly in WL 7 SP 7

    Hi all,
    2 questions.
    1) how do i test if the connection pool i set is working? in the testing tab of the jdbc connection pool in the console page, there is a Test Table Name, i entered 'dual' in the text field. After i clicked apply, there is no indication if i set it up correctly.
    2)After i configure the connection pool, do i need to configure the data sources?

    Could you please try using a "Test_When" statement?
    Karthik

  • How to implement a connection pooling in servlet

    hi all,
    how to implement a connection pooling in servlet.i want to know how to implement it in tomcat in a struts based environment.
    any input to the topic is appreciated.
    Thanks
    Sudha

    Take a look at JNDI
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

  • Regarding the connection pool Error

    Hi All,
    I am using weblogic10.3. While starting the server we are able to see the below exceptions in the logs which was causing the server to failed state ,even we resume the
    server,the server will come to running state but the instance will not be there in the connection pool monitoring tab .once we restart the server again,its working.
    can you please let me know why we are getting these errors and any help to remove these.
    ####<Apr 14, 2010 6:29:29 AM CDT> <Error> <Server-name> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
    Kernel>> <> <> <1271244569352> <BEA-149205> <Failed to initialize the application 'dsname' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.SystemResourceDeployment.prepare(SystemResourceDeployment.java:55)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter
    could not establish the connection
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:251)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.SystemResourceDeployment.prepare(SystemResourceDeployment.java:55)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Looks like the Database URL may not be correct or may be the TNS name OR some n/w issue between WLS BOX and the DB Box. Please try the following to Double Check it.
    <font color=red><b>Test Number-1</b></font><BR>
    <font color=maroon><b>Step1).</b></font> Add JDBC Driver also in the Classpath or Better run *"setWLSEnv.sh"*
    <font color=maroon><b>Step2).</b></font> Use WLS DB Ping utility:
    Syntax:
    java -classpath /bea103/wl_server103/server/lib/weblogic.jar utils.dbping ORACLE_THIN <dbUserName> <dbPasswoes> <dbURL>
    Example:
    java -classpath /bea103/wl_server103/server/lib/weblogic.jar utils.dbping ORACLE_THIN scott tiger databaseHostName:1521:P15215h
    <font color=red><b>Test Number-2</b></font>
    Please run the Following Program from your WLS Server Box:
    import java.sql.*;
    public class TestConnection
    public static void main(String ar[]) throws Exception
    System.out.println("\n\t Database URL: "+ar[0]);
    System.out.println("\n\t Database UserName: "+ar[1]);
    System.out.println("\n\t Database Password: "+ar[2]);
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("\n\t Driver Class Registered and Loaded Successfully...");
    System.out.println("\n\n\n\t Trying to Connect to Database....");
    Connection con=DriverManager.getConnection(ar[0],ar[1],ar[2]);
    System.out.println("\n\n\n\t CONNECTED TO DATABASE SUCCESSFULLY");
    To RUN:
    java -classpath /opt/app/yourOracelDriverLocation/ojdbc6.jar:.: TestConnection oracelJdbcURL Oracleusername Oraclepassword
    if above fails to connect to DataBase ...it simply means Connectivity issue with your database friom the WebLogic Box.
    Thanks
    Jay SenSharma

  • IFS-10620: Unable to construct connection pool exception

    I am getting the "IFS-10620: Unable to construct connection pool" exception on the browser
    when I try to run the Airport example from the "Writing an iFS Custom Renderer" http://technet.oracle.com/products/ifs/htdocs/xsl/index.htm
    technical brief.
    Technet tells me that in this case I should (a) run it under jdk 1.1.8, and
    (b) have classes111.zip from the jdbc directory included in the classpath.
    (c) DatabaseUrl field in IfsDefault.properties is defined properly.
    I have modified one of the classes to output the relevant system parameters when
    initialised, and I get the enclosed output in (a) on loading the servlet.
    Together with paths (b) and classpath(c) settings,it seems that the requirements
    are met but it still gives the error. Any suggestions of where we go wrong?
    Oracle, IFS and JWS are installed on the same NT machine, and the iFS GUI works.
    The value of the DatabaseUrl field was empty (juts "@", I then changed it to
    "@machinename" but to no avail).
    Thanks
    Nikolay Mehandjiev
    [email protected]
    Enclosures
    (a) output from the modified servlet on loading
    javawebserver: java.version is 1.1.8
    javawebserver: java.class.version is 45.3
    javawebserver: java-vm.version is null
    javawebserver: java.class.path is \Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\j
    re\lib\rt.jar;\Oracle\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes1
    11.zip;\Oracle\Ora81\lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\O
    ra81\ifs\lib\repos.jar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email
    .jar;\Oracle\Ora81\ifs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora
    81\ifs\lib\release.jar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\
    custom_classes;\Oracle\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\O
    racle\Ora81\ifs\lib\webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\
    ifs\jws\lib\servlet.jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\
    lib\javac.jar;\Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\jre\lib\rt.jar;\Oracl
    e\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes111.zip;\Oracle\Ora81
    \lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\Ora81\ifs\lib\repos.j
    ar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email.jar;\Oracle\Ora81\i
    fs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora81\ifs\lib\release.j
    ar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\custom_classes;\Orac
    le\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\Oracle\Ora81\ifs\lib\
    webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\ifs\jws\lib\servlet.
    jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\lib\javac.jar;C:\Ora
    cle\Ora81\ifs\jre\lib\rt.jar;C:\Oracle\Ora81\ifs\jre\lib\i18n.jar;C:\Oracle\Ora8
    1\ifs\jre\lib\classes.zip;C:\Oracle\Ora81\ifs\jre\classes
    javawebserver: java.library.path is null
    (b) Path values
    C:\Oracle\Ora81\ifs\bin>set PATH
    Path="C:\Oracle\Ora81\ifs\bin";C:\Oracle\Ora81\bin;C:\jdk1.1.8\bin;C:\WINNT\syst
    em32;C:\WINNT;C:\WINNT\system32\nls\ENGLISH;C:\WINNT\system32\nls;C:\Oracle\Ora8
    1\orb\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    (c) Classpath values
    C:\Oracle\Ora81\ifs\bin>set CLASSPATH
    CLASSPATH=Files\Exceed.nt\hcljrcsv.jar;C:\Oracle\Ora81\orb\classes\yoj.jar;C:\Or
    acle\Ora81\orb\classes\share.zip;C:\Oracle\Ora81\jdbc\lib\classes111.zip
    null

    I have the same error when I try to connect from another machine to iFS.
    oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
    oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
    oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connectio
    n
    iFS API is working only with jdk1.1.8 ?
    I'm just using your API and I can assure you that IfsDefault.properties is as you advice and inluded in classpath.
    Please reply if you have any solution to this
    Thank you verry much

Maybe you are looking for