Returning Connections to Pool

Does anyone know how long iAS 6.5 SP1 (on W2K) takes to return connections to the pool after close() is called? Does the app server wait until the end of a transaction to return connections to the pool, even if close() was called earlier?

Hello,
I understand that a good code must release resources
exactly.
But the problem is that I have 50 coders that write
thousand of JSPs and not all of them write a good
code. You need to hold code reviews. You can't try to band-aid the situation, you have to have standards, conventions, etc.
And it is impossible to check & debug every JSP
for resource-leaking (a question of time-money). This is a design problem. If you are putting code inside of JSP's (which I believe is a bad thing), then you will pay the price. If you use JSP's for presentation only, then you don't need to worry about this, much.
It is very important for a stable system that allocated
resources must be released in every case early of
late. The good idea is to use GC to control
finalization & releasing of resources. In this way
for example it makes every application server to
return allocated db connection to pool. It works
perfectly with local VM.No, no, no. Don't use GC to control ANYTHING. Release the resources back to the server when you're done with them, not when the object is getting collected.
Remote GC uses object expiration time (TTL) that
equals 15 minutes. If rmi have not received "ping"
for that objects from remote system during this time,
they are finalized locally. The time of 15 minutes is
reasonable for some objects type, but some resources
(like db connections from pool) required to be
finalized more rapidly. Is there any method to set
manually the TTL for rmi object?Again, don't do this. You're shooting yourself in the foot. Create all the timers you want, but don't rely on the GC.

Similar Messages

  • How do I set miminum # of connections for pool with Oracle and Tomcat?

    Hi,
    I can't seem to find any attribute to initialize the number of connections for my connection pool. Here is my current context.xml file under my /App1 directory:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1" />
    </Context>
    I've been googling and reading forums, but haven't found a way to establish the minimum number of connections. I've tried all sorts of parameters like InitialLimit, MinLimit, MinActive, etc, with no success.
    Here is some sample code that I am testing:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xxx");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    rst = stmt.executeQuery("SELECT username, server from v$session where username is not null");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; Server: " + rst.getString(2);
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    I'm using a utility to repeatedly call a JSP page that uses this class and displays the message variable. This utility allows me to specify the number of concurrent web requests and an overall number of requests to try. While that is running, I look at V$SESSION in Oracle and occassionaly, I will see a brief entry for app1 or adavey depending on the timing of my query and how far along the code has processed in this example. So it seems that I am only using one connection at a time and not a true connection pool.
    Is it possible that I need to use the oci driver instead of the thin driver? I've looked at the javadoc for oci and the OCIConnectionPool has a setPoolConfig method to set initial, min and max connections. However, it appears that this can only be set via Java code and not as a parameter in my context.xml resource file. If I have to set it each time I get a database connection, it seems like it sort of defeats the purpose of having Tomcat maintain the connection pool for me and that I need to implement my own connection pool. I'm a newbie to this technology so I really don't want to go this route.
    Any advice on setting up a proper connection pool that works with Tomcat and Oracle proxy sessions would be greatly appreciated.
    Thanks,
    Alan

    Well I did some more experiments and I am able to at least create a connection pool within my example code:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    boolean cache_enabled = ds.getConnectionCachingEnabled();
    if (!cache_enabled){
    ds.setConnectionCachingEnabled(true);
    Properties cacheProps = new Properties();
    cacheProps.put("InitialLimit","5");
         cacheProps.put("MinLimit","5");
    cacheProps.put("MaxLimit","10");
    ds.setConnectionCacheProperties(cacheProps);
              conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xyz");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    //rst = stmt.executeQuery("SELECT 'Success obtaining connection' FROM DUAL");
    rst = stmt.executeQuery("SELECT user, SYS_CONTEXT ('USERENV', 'SESSION_USER') from dual");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; sys_context: " + rst.getString(2);
    message += "; Was cache enabled?: " + cache_enabled;
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(OracleConnection.PROXY_SESSION); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    In my context.xml file, I tried to specify the same Connection Cache Properties as attributes, but no luck:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1"
    ConnectionCachingEnabled="1" MinLimit="5" MaxLimit="20"/>
    </Context>
    These attributes seemed to have no effect:
    ConnectionCachingEnabled="1" ; also tried "true"
    MinLimit="5"
    MaxLimit="20"
    So basically if I could find some way to get these attributes set within the context.xml file instead of my code, I would be a happy developer :-)
    Oh well, it's almost Miller time here on the east coast. Maybe a few beers will help me find the solution I'm looking for.

  • CF 10 getting random resets : Detail: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset).

      These resets appear to coincide with a clearing of the cached queries for the DSN from memory, breaking all my sub queries that try to use the initial cached one.  I am grasping at straws to discover the reset culprit, the DSN tests always show OK, there is not packet loss at the switch level.  If anyone has some suggestions, I am all ears!
      The resets are completely random and under no load.  My sql 2008 r2 box is set to unlimited connections.
    An example of a DSN setup is :
    Maintain Connections [x]
    String Format [ ]
    Max Pooled Statements 100
    Timeout 20 Interval 7
    Query Timeout 0
    Login Timeout 30
    CLOB [ ]
    BLOB [ ]
    Long Text Buffer 64000
    Blob Buffer 64000
    Validate Connection [ ]
    I am running the following :
    CF Enterprise 10,0,13,287689
    Tomcat 7.0.23.0
    Ubuntu 1204 x64
    Java VM 20.4-b02
    Java 1.6 (Sun Microsystems Inc)
      I have seen it suggested to uncheck the maintain connections advanced options but this doesn't seem like a good approach to the problem and will cause more stress on the sql box IMHO.
      I have also seen it suggested to enable Validate Connection but documentation on this is a bit sparse...
    Here are more examples of the initial reset error and then the subsequent cache related errors :
    Database Error Information:
    Native Error Code: 0
    SQL State: 08S01
    Query Error: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server.
    Custom Error Code: 08S01
    Database Error Information:
    Native Error Code: 0
    SQL State: n/a
    Query Error:
    Query Of Queries runtime error.
    Table named GlobalDetails was not found in memory. The name is misspelled or the table is not defined.
    Custom Error Code: n/a
    Thanks in advance to anyone who has a suggestion.

    Hi, could DBA check MS SQL Server connection logs???
    May be server has some limits (for example sessions, memory and e.t.c.)

  • Unable to get a connection for pool - ResourceUnavailableException

    Hi
    I have a BPEL process which starts a child instance of another asynchronous BPEL process for each message in an XML file. The child BPEL process makes a call to the Oracle Apps JCA Adapter to push the data into E-Business Suite.
    All works perfectly except when the number of messages exceeds a certain limit (15 or so). The error received is as follows:
    "Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SyncPersonRecord' failed due to:
    JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    ebsPeoplesoftEmployees:SyncPersonRecord [ SyncPersonRecord_ptt::SyncPersonRecord(InputParameters,OutputParameters) ] :
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue:
    javax.resource.spi.ApplicationServerInternalException:
    Unable to get a connection for pool = 'eis/Apps/Apps',
    weblogic.common.resourcepool.ResourceUnavailableException:
    No resources currently available in pool eis/Apps/Apps to allocate to applications.
    Either specify a time period to wait for resources to become available, or increase the size of the pool and retry.. Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections.
    Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution."
    Obviously what is happening is the connection pool maximum is reached (currently 15) and this is throwing the error.
    What I need to do is to implement the suggestion of "specifying a time period to wait" and I was hoping someone could tell me how I do this?
    I have tried setting the 'Connection Creation Retry Frequency' parameter to 30 seconds which made no difference and also have checked the documentation on "Configuring and Managing JDBC Data Sources for Oracle WebLogic Server".
    Does anyone know if this is something that is implemented directly in the BPEL process/composite or in the connection source itself.
    Many thanks

    Open the jndi : eis/Apps/Apps in /console - config tab - increase the initial and max conn capacity and save it. Retry the scenario

  • Using Ant task wlserver/wlconfig: Received exception while creating connection for pool.

    Hi,
    I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
    <target name="jdbcinfo">
    <wlconfig password="weblogic"
    username="weblogic"
    url="${url}"
    <query domain="mydomain" type="Server"
    name="myserver" property="serverbean"
    />
    <create type="JDBCConnectionPool"
    name="jdbcpoolA"
    property="jdbcPoolProp">
    <set value="false"
    attribute="ShrinkingEnabled"
    <set value
    attribute="
    <set value="${serverbean}"
    attribute="Targets"/>
    The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
    Once I add the target I get the following error
    <JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
    Please any help will be greatly appreciated.
    Thanks

    In your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
    Timo

  • Oracle 9.i Driver issues when connecting a pool in WLS6.1

    Ok. Ammendment to other message as I haven't gotten a solution yet. My problem is
    I am using Oracle 9.i on a Sun UNIX box and using Weblogic 6.1 SP2 on another box.
    Trying to connect a pool between the two of them.
    Obviously, there has to be a way to do this but none of the documentation seems to
    tell you how. I am used to doing MS SQL drivers on NT so I am a little new to this.
    I would appreciate it if someone has a solution to this problem that will help me.
    The error I am getting is as follows:
    Starting Loading jDriver/Oracle .....
    <Jun 7, 2002 9:04:25 AM CDT> <Error> <JDBC> <Cannot startup connection pool "FargoPool"
    weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
    /usr/local/wlserver6.1/lib/solaris/oci901_8/libweblogicoci37.so: ld.so.1: /home/bea/jdk131/jre/bin/../bin/sparc/native_threads/java:
    fatal: libclntsh.so.9.0: open failed: No such file or directory
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy17.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy17.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Ok. Ammendment to other message as I haven't gotten a solution yet. My problem is
    I am using Oracle 9.i on a Sun UNIX box and using Weblogic 6.1 SP2 on another box.
    Trying to connect a pool between the two of them.
    Obviously, there has to be a way to do this but none of the documentation seems to
    tell you how. I am used to doing MS SQL drivers on NT so I am a little new to this.
    I would appreciate it if someone has a solution to this problem that will help me.
    The error I am getting is as follows:
    Starting Loading jDriver/Oracle .....
    <Jun 7, 2002 9:04:25 AM CDT> <Error> <JDBC> <Cannot startup connection pool "FargoPool"
    weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
    /usr/local/wlserver6.1/lib/solaris/oci901_8/libweblogicoci37.so: ld.so.1: /home/bea/jdk131/jre/bin/../bin/sparc/native_threads/java:
    fatal: libclntsh.so.9.0: open failed: No such file or directory
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy17.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy17.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Error making initial connections for pool

              I'm using WLS6.1 on NT, trying my personal implementation of a connector (non
              CCI pattern) with a particular EIS.
              i'm having this error... what depends from?:
              ####<25-ott-00 19.52.41 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190014> <Initializing connection pool for resource adapter
              BlackBoxNoTx.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190035> <There was/were 1 physical connection(s) created with
              the following Meta Data: Product name of EIS instance: DBMS:cloudscape Product
              version of EIS instance: 3.5.1 Maximum number of connections supported from different
              processes: 0 User name for connection: null>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190026> << BlackBoxNoTx > Connection Pool initialization has
              completed successfully.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190014> <Initializing connection pool for resource adapter
              SMJConnector.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.52.47 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.53.06 CEST> <Error> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190024> << SMJConnector > Error making initial connections
              for pool. Reason: examplescnnct.ConnectionImpl>
              ####<25-ott-00 19.53.06 CEST> <Warning> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190025> << SMJConnector > Connection Pool has been initialized
              with no connections.>
              ####<25-ott-00 19.53.06 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190026> << SMJConnector > Connection Pool initialization has
              completed successfully.>
              ####<25-ott-00 19.54.30 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <Application Manager Thread> <> <> <190027> << SMJConnector > Shutting down connections.>
              ####<25-ott-00 19.54.30 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <Application Manager Thread> <> <> <190028> << SMJConnector > Connections shutdown
              successfully.>
              

    Have you configured your principal map? Connection pools are initially populated using the
              default ("*") principal from the map.
              http://edocs.bea.com/wls/docs61/jconnector/config.html#1237429
              HTH.
              FilAiello wrote:
              > I'm using WLS6.1 on NT, trying my personal implementation of a connector (non
              > CCI pattern) with a particular EIS.
              >
              > <examplesServer>
              > <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              > Managed Security Context.>
              > ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              Tom Mitchell
              [email protected]
              Very Current Beverly, MA Weather
              http://www.tom.org:8080
              

  • HT4183 The "Trust" setting does not work with 10.8.2, even openssl s_client -connect ...:636 returned CONNECTED(00000003) verify return:1

    even openssl s_client -connect ...:636 returned
    CONNECTED(00000003)
    verify return:1
    No client certificate CA names sent
    SSL handshake has read 1518 bytes and written 456 bytes
    New, TLSv1/SSLv3, Cipher is AES256-SHA
    Server public key is 2048 bit
    Secure Renegotiation IS supported
    Compression: NONE
    Expansion: NONE
    SSL-Session:
        Protocol  : TLSv1
        Cipher    : AES256-SHA
    Key-Arg   : None
        Start Time: 1363044139
        Timeout   : 300 (sec)
        Verify return code: 0 (ok)
    Connect to OD without SSL works fine.
    Anybody else?
    Henri

    Hi,
    here are some more informations about the problem.
    The root CA certificate is imported as trusted in the system keychain of the server and the client. A certificate evaluation returns "valid certificates, trusted ...".
    The client bind fails with this messages, e.g. Kerio Control is able the use LDAPS, so it seams just the problem with the trustability of the certificates. Keychain trusts the certificates, OD client bind not, this is not so consistent.
    Any idee?
    Thanks
    Henri
    2013-03-14 19:39:02.776804 CET - Trigger - notified opendirectoryd:nodes;lastServerChanged;/LDAPv3/ldaps://macpro....:636
    2013-03-14 19:39:02.793467 CET - 71825.330426.330427, Module: AppleODClientLDAP - unable to create connection to LDAP server - ldap_search_ext_s for the ro
    otDSE failed with error 'server connection failed' (-1) error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (self signed cert
    ificate in certificate chain)
    2013-03-14 19:39:02.793501 CE
    CONNECTED(00000003)
    depth=1 /C=DE/...
    Certificate chain
    0 s:/CN=macpro...
       i:/C=DE//OU=IT/CN=*.office.../emailAddress=admin@...
    verify error:num=19:self signed certificate in certificate chain
    verify return:0

  • Is ePrint email name returned to the pool of addresses if deleted or removed?

    Just want to know if I delete my ePrinter name from the web site, will that name be returned to the pool of available names or it that name now be blown for good? 
    Example:   Printer name - [email protected]
    If I delete this printer will the name - printerdownstairs be put back in for use so I can use it again with a new printer?  Or is printerdownstairs gone for good?
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!
    This question was solved.
    View Solution.

    Hello nastehu.
    The ePrint email address would be available again after 6 months.
    Cheers!
    Wixma.
    I am an HP employee.
    Say thanks by clicking the Kudos star in the post.
    If my reply resolved your problem, please mark it as as Accepted Solution so that it can be found easier by other people.

  • How can I know the connections are pooled?

    Hi. everyone.
    I am wondering how I can monitor the connections are pooled.
    I am using web-logic as a web server and oracle9ir2 as a
    database server.
    When I was deploying an application to the web-logic, I created a
    connection pool.
    And then, I run the application respectively(exactly two).
    However, there is only one session in the "V$SESSION" dictionary.
    I do not understand why there is only session in the V$SESSION, although
    I run two application respectively.
    In addition, how can I monitor the oracle conenctions are pooled?
    Does V$SESSION have nothing to do with oracle connection pool?
    Thanks in advance.
    Have a good day.
    Best Regards
    Ho.

    Dear Sabdar Syed.
    Thanks for your reply.
    Here is the result of v$license.
    SQL> select * from v$license;
    SESSIONS_MAX : 0
    SESSIONS_WARNING : 0
    SESSIONS_CURRENT : 6
    SESSIONS_HIGHWATER : 6
    USERS_MAX : 0
    What does it mean, sessions_max(0), sessions_current(6), users_max(0)
    I am still confused.
    Could you give me a more detailed explanations?
    Thanks in advance. Have a good day.
    Regards.
    Ho.

  • JCO Connection constructor: Pool already initialized

    Hi Folks,
    while i'm configuring a JCO connection to R/3, i got a little problem:
    In my class constructor i initialize a client pool.
    JCO.addClientPool(sapSID, sapMaxConnections, sapMandant, sapUser, sapPasswort, sapLanguage, sapSystem, sapSystemNumber);
    JCO.getClientPoolManager().getPool(sapSID).setMaxWaitTime(maxWaitTime);
    problem:
    when there is already a client pool, the application crashes
    solution:
    check if there is already a connection-pool with this name
    i tried the following:
    1) Check if there's a pool with the name
              if (JCO.getClientPoolManager().getPool(sapSID).getName()==sapSID) {
    ==> which leads to a null pointer exception because logically there is no pool and as the doc says "if there's no pool, .getPool(String) will return null, which leads to:
    2) Check if null
              if (JCO.getClientPoolManager().getPool(sapSID)==null) {
    but unfortunately. this won't work either.. null point exception again.
    anyone got a hint?
    thx in advance,
    lars
    Message was edited by:
            Lars Paetzold

    i remove the waittime part now, but it won't work anyway:
    java.lang.NullPointerException
    if (JCO.getClientPoolManager().getPool(sapSID)==null) {
         if (JCO.getClientPoolManager().getPool(sapSID).getName().toString()==sapSID.toString()) {
         } else {
              JCO.addClientPool(sapSID, sapMaxConnections, sapMandant, sapUser,
                                  sapPasswort, sapLanguage, sapSystem, sapSystemNumber);     
    if i'm not checking if there is any kind of pool, everything works fine until i call the application a second time and the pool is already initialized

  • Delay in the release of connections to pool after closing.

    Hi,
    I'm using typical jdbc code to close the Connections got through ConnectionPool created on Weblogic 8.1. When the data access / update code is completed execution, I could observe couple of connections still open in the weblogic console connections monitor screen.
    These open connections are getting released after 15 minutes approximately, provided if I'm not accessing any DB access/update code till then.
    I'm using the following code for closing all the jdbc resources.
    public static void closeAllResources(){
             try{
                 if (rSet != null){
                    rSet.close();
                    rSet = null;
                 if (rSet2 != null){
                      rSet2.close();
                     rSet2 = null;
                 if (preStatement != null){
                     preStatement.close();
                     preStatement = null;
                 if (callStatement != null){
                    callStatement.close();
                    callStatement = null;
                 if (conn != null){
                     conn.close();
                     conn = null;
             catch (SQLException e){
    }I'm closing the jdbc resources as follows in finally block...
    public static boolean saveXXX(String userid, ArrayList list) throws SQLException{
         BaseDAO  baseDAO = null;
             String scode= null;
              try {
              baseDAO = new BaseDAO();
                  conn = baseDAO.getConnection();                  callStatement = baseDAO.prepareCallableStatement("call pkg_1.pr_add_XXX(?,?)");
                                 callStatement.setObject(1, userid);     
                 callStatement.setObject(2, scode);
         int saveResult = callStatement.executeUpdate();
         finally {
         closeAllResources();
         return true;
    }Both the above methods are present in the same java class.
    Can sombody help me in resolving the issue immediately?
    Regards
    Sudarsan

    Do you understand what a connection pool is and how it works at all?
    It is a pool of open connections. It therefore perfectly fine and appropriate for their to be open connections from your pool to your database once you have returned them to the pool. These connections will be kept alive for a period of time (in your case apparently 15 minutes) to serve the next request for a connection from the pool.
    This is really the whole point of using a connection pool. Reuse.

  • SChannel Errors on Front Ends Affecting Client Connectivity Between Pools

    We have an SE pool in Asia.  A user tried attending a conferencing hosted on the US EE pool but received an error.  Looking in the logs I see the following error (30988) in the Lync events on the Asia server:
    Sending HTTP request failed. Server functionality will be affected if messages are failing consistently.
    Sending the message to https://uslyncpool.company.loc:444/LiveServer/Focus failed. IP Address is xxx.xxx.xxx.xxx. Error code is 2EFE. Content-Type is application/delegateAuthz+xml.
    Http Error Code is 0.
    Cause: Network connectivity issues or an incorrectly configured certificate on the destination server. Check the eventlog description for more information.
    Resolution:
    Check the destination server to see that it is listening on the same URI and it has certificate configured for MTLS. Other reasons might be network connectivity issues between the two servers.
    Followed by the warning (32052):
    An HTTP application request sent to a Service timed-out. Requests will be retried but if this error continues to occur functionality will be affected.
    Url: https://uslyncpool.company.loc:444/LiveServer/Focus
    Cause: Network related error or destination service being non-functional.
    Resolution:
    Ensure that the Service is provisioned and functioning correctly. If any network related errors are reported by the Service ensure that they are resolved.
    On one of the US servers (we will call it serverB) I see this Lync event (14428) around 25 seconds later:
    TLS outgoing connection failures.
    Over the past 28 minutes, Lync Server has experienced TLS outgoing connection failures 2 time(s). The error code of the last failure is 0x80090322 (The target principal name is incorrect.) while trying to connect to the server "serverA.company.loc"
    at address [xxx.xxx.xxx.xxx:5061], and the display name in the peer certificate is "Unavailable".
    Cause: Most often a problem with the peer certificate or perhaps the DNS A record used to reach the peer server. Target principal name is incorrect means that the peer certificate does not contain the name that the local server used to connect. Certificate
    root not trusted error means that the peer certificate was issued by a remote CA that is not trusted by the local machine.
    Resolution:
    Check that the address and port matches the FQDN used to connect, and that the peer certificate contains this FQDN somewhere in its subject or SAN fields. If the FQDN refers to a DNS load balanced pool then check that all addresses returned by DNS refer
    to a server in the same pool. For untrusted root errors, ensure that the remote CA certificate chain is installed locally. If you have already installed the remote CA certificate chain, then try rebooting the local machine.
    We are also seeing the following SChannel (36884) error on our servers (but not at the same time as the errors above):
    The certificate received from the remote server does not contain the expected name. It is therefore not possible to determine whether we are connecting to the correct server. The server name we were expecting is serverA.company.loc. The SSL connection
    request has failed. The attached data contains the server certificate.
    We are seeing this periodically and from other locations.
    What is odd is serverA seems to expect to find its name in serverB's certificate.  This is a two server EE pool and I have never seen that requirement.  We have the pool name and each server name in the SANs along with all the other typical names
    (sip, lyncdiscover, etc.) on both servers but I have never seen anything state that the FQDNs of all machines in the pool need to be in the certificate on every server.  I fact, the wizard doesn't even do it.
    Am I wrong on that?
    Lync Server 2010 CU7, hardware load balanced

    You need to install each other’s Root Certificate in local computer’s Trusted Certification Authorities store. Delete the duplicated certificates in personal store on server in both Asia and US.
    Check if you can ping FQDN uslyncpool.company.loc from server in Asia.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Weblogic realm authentication failure getting connection from pool

    We are getting this error when we try to get a connection from the
    pool for a Tx Data Source. We are successfully getting connections
    from a (non-Tx) Data Source.
    java.lang.SecurityException: Authentication for user Fitness_demo
    denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.security.acl.Security.doAsPrivileged(Security.java:481)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:127)
    We have added the DB user as a user in the realm, which usually does
    the trick; but in this case it does not. We are using Merant's
    JSQLConnect type 2 driver for SQL Server, and we are running on
    Solaris. The scenario works fine using Oracle Thin driver on Windows.
    Do we need ACL entries or something? We do not have any ACL entries
    now.
    Thanks,
    -wes

    We are getting this error when we try to get a connection from the
    pool for a Tx Data Source. We are successfully getting connections
    from a (non-Tx) Data Source.
    java.lang.SecurityException: Authentication for user Fitness_demo
    denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.security.acl.Security.doAsPrivileged(Security.java:481)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:127)
    We have added the DB user as a user in the realm, which usually does
    the trick; but in this case it does not. We are using Merant's
    JSQLConnect type 2 driver for SQL Server, and we are running on
    Solaris. The scenario works fine using Oracle Thin driver on Windows.
    Do we need ACL entries or something? We do not have any ACL entries
    now.
    Thanks,
    -wes

  • Job Scheduler DS consumes all connections in Pool.

    Hi all,
    I use Weblogic 12.1.3.
    My objective is to create a job scheduler, with commonj Timer API to run a in a cluster environment.
    For this, I created a cluster with two node servers (I created this in the integrated weblogic server in Jdeveloper, for simplicity).
    Then I created the DataSource which points to the table where the weblogic_timers and active tables are, which are needed for persistance of the timers, targeted this DS on the nodes in the cluster, and then went to the Cluster -> Configuration -> Scheduling and selected the respective data source as "Data Source For Job Scheduler".
    After I do this and the servers are up, all the connections in the DS pool are consumed. It seems like connections are continuosly made from weblogic to the database.
    The connection itself seems ok, since I can connect from SQLDeveloper and also tested it when I created the DataSource.
    If I have a look in the logs of the two servers, I see errors like this:
    <BEA-000627> <Reached maximum capacity of pool "JDBC Data Source-2", making "0" new resource instances instead of "1".>
    Can you give me an idea of what the issue might be?
    Please let me know if I should provide more information.
    Thanks.

    It's not an issue WebLogic can address. The thortech application is independently using
    the UCP connection pool product, not WebLogic connection pooling, so Thortech APIs
    would be the only way to debug/reconfigure the UCP.

Maybe you are looking for

  • Ipod is not recognized by the windows our the itunes

    Hi I receive my ipod nano(2gb) by August, it was running fine, without a problem, but now i can recharge it because windows our itunes does not recognized my ipod is connected. I even have try to recharged in true the electricity but the resolte was

  • How to get a global string value to be the value of a JSF output box?

    im useing Jdeveloper 10 i have made a JSF, JSP page i have a backing bean for that page. in there i have made a global value: private string test = "TESTING"these codes have been generated: public void setTester(HtmlOutputText outputText6) { this.tes

  • Uix BC4J: create a link download to download my resultsets

    Greetings, The case: - i've created my flows using the amazing uix bc4j technology; - end users can manipulate their data (view and update) - Now i'd like to create a link which will point over the query result and download the data with csv or xls f

  • Float before production reg.

    HI dudes, one of my client is having one issue regarding floats, they are using float before production in the schedule margin key and they complaining that the total production time for production order according the basic start  and finish dates is

  • [AS3] Access library object by variable name

    Let's say I have a button which sets the variable color to green: var color:String = "green" I have a movieclip in my library called "green". With AS2 we could simply use: whatever.attachMovie(color, "someclip", 1); In AS3 this works perfectly fine: