Weblogic 9.2 - Problem with Connection Pool not releasing resources
We have a third party application that is running Weblogic 9.2 and has a connection pool to a SQL 2005 db for queries within it's batch process. What I have noticed is that it does not seem to be releasing SQL cpu back after the batch and this is causing issues with processes for other dB's within the instance. Has anyone encountered this issue and if so what is the solution (short of isolating it within it's own instance). Can the connection be reset to release resources?
Yes it is a weblogic connection pool. What I mean is that when a batch run I can see the CPU for the SQL process associated with the connection increase but when the batch is completed the CPU remains high when I would expect it to move back down to an 'idle' level as after that as all it would be doing is the occasional "select 1' ping to keep the connection active.
What i do see is that the cpu in activity monitor shows high cpu and it never goes down unless the connection is killed and re-established. As this is a shared instance other apps are complaining of slow running procs.
Similar Messages
-
Problem with file descriptors not released by JMF
Hi,
I have a problem with file descriptors not released by JMF. My application opens a video file, creates a DataSource and a DataProcessor and the video frames generated are transmitted using the RTP protocol. Once video transmission ends up, if we stop and close the DataProcessor associated to the DataSource, the file descriptor identifying the video file is not released (checkable through /proc/pid/fd). If we repeat this processing once and again, the process reaches the maximum number of file descriptors allowed by the operating system.
The same problem has been reproduced with JMF-2.1.1e-Linux in several environments:
- Red Hat 7.3, Fedora Core 4
- jdk1.5.0_04, j2re1.4.2, j2sdk1.4.2, Blackdown Java
This is part of the source code:
// video.avi with tracks audio(PCMU) and video(H263)
String url="video.avi";
if ((ml = new MediaLocator(url)) == null) {
Logger.log(ambito,refTrazas+"Cannot build media locator from: " + url);
try {
// Create a DataSource given the media locator.
Logger.log(ambito,refTrazas+"Creating JMF data source");
try
ds = Manager.createDataSource(ml);
catch (Exception e) {
Logger.log(ambito,refTrazas+"Cannot create DataSource from: " + ml);
return 1;
p = Manager.createProcessor(ds);
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Failed to create a processor from the given url: " + e);
return 1;
} // end try-catch
p.addControllerListener(this);
Logger.log(ambito,refTrazas+"Configure Processor.");
// Put the Processor into configured state.
p.configure();
if (!waitForState(p.Configured))
Logger.log(ambito,refTrazas+"Failed to configure the processor.");
p.close();
p=null;
return 1;
Logger.log(ambito,refTrazas+"Configured Processor OK.");
// So I can use it as a player.
p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW_RTP));
// videoTrack: track control for the video track
DrawFrame draw= new DrawFrame(this);
// Instantiate and set the frame access codec to the data flow path.
try {
Codec codec[] = {
draw,
new com.sun.media.codec.video.colorspace.JavaRGBToYUV(),
new com.ibm.media.codec.video.h263.NativeEncoder()};
videoTrack.setCodecChain(codec);
} catch (UnsupportedPlugInException e) {
Logger.log(ambito,refTrazas+"The processor does not support effects.");
} // end try-catch CodecChain creation
p.realize();
if (!waitForState(p.Realized))
Logger.log(ambito,refTrazas+"Failed to realize the processor.");
return 1;
Logger.log(ambito,refTrazas+"realized processor OK.");
/* After realize processor: THESE LINES OF SOURCE CODE DOES NOT RELEASE ITS FILE DESCRIPTOR !!!!!
p.stop();
p.deallocate();
p.close();
return 0;
// It continues up to the end of the transmission, properly drawing each video frame and transmit them
Logger.log(ambito,refTrazas+" Create Transmit.");
try {
int result = createTransmitter();
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Error Create Transmitter.");
return 1;
} // end try-catch transmitter
Logger.log(ambito,refTrazas+"Start Procesor.");
// Start the processor.
p.start();
return 0;
} // end of main code
* stop when event "EndOfMediaEvent"
public int stop () {
try {
/* THIS PIECE OF CODE AND VARIATIONS HAVE BEEN TESTED
AND THE FILE DESCRIPTOR IS NEVER RELEASED */
p.stop();
p.deallocate();
p.close();
p= null;
for (int i = 0; i < rtpMgrs.length; i++)
if (rtpMgrs==null) continue;
Logger.log(ambito, refTrazas + "removeTargets;");
rtpMgrs[i].removeTargets( "Session ended.");
rtpMgrs[i].dispose();
rtpMgrs[i]=null;
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Error Stoping:"+e);
return 1;
return 0;
} // end of stop()
* Controller Listener.
public void controllerUpdate(ControllerEvent evt) {
Logger.log(ambito,refTrazas+"\nControllerEvent."+evt.toString());
if (evt instanceof ConfigureCompleteEvent ||
evt instanceof RealizeCompleteEvent ||
evt instanceof PrefetchCompleteEvent) {
synchronized (waitSync) {
stateTransitionOK = true;
waitSync.notifyAll();
} else if (evt instanceof ResourceUnavailableEvent) {
synchronized (waitSync) {
stateTransitionOK = false;
waitSync.notifyAll();
} else if (evt instanceof EndOfMediaEvent) {
Logger.log(ambito,refTrazas+"\nEvento EndOfMediaEvent.");
this.stop();
else if (evt instanceof ControllerClosedEvent)
Logger.log(ambito,refTrazas+"\nEvent ControllerClosedEvent");
close = true;
waitSync.notifyAll();
else if (evt instanceof StopByRequestEvent)
Logger.log(ambito,refTrazas+"\nEvent StopByRequestEvent");
stop =true;
waitSync.notifyAll();
Many thanks.Its a bug on H263, if you test it without h263 track or with other video codec, the release will be ok.
You can try to use a not-Sun h263 codec like the one from fobs or jffmpeg projects. -
hi,
I have problems with Weblogic 5.1 connection pool. Normally it works
fine, but
under heavy load the connection pool doesn't work at all: it
negotiates a new connection every time.
Has anyone else had problems like this?
regards, EKMitesh Patel wrote:
What is your max capacity of the pool? Generally, max capacity value of
the pool should be no. of concurrent users connecting to database at
peak load.Hi Eino. Actually, I'll disagree temporarily with Mitesh ;-)
If your application is designed so that all JDBC work is done
during a single client-server invoke, such as in stateless session
beans, or servlets etc, you should only need as many connections
in the pool as your server has execute-threads. This is because
each thread will be handling one client at a time, and as long as
the code gets a pool connection, uses it, and closes it during the
one invocation, the closed connection will be there for the next.
one.
Let me see your pool definition. The only issue that may
cause occasional problems like you see, is if pool refresh is
running. Pool refresh will temporarily reserve all the currently-
unused pool conenctions to test them, and during this time, any
incoming application demand will cause the pool to make new connections
(or throw an exception!) to meet demand. If you have testConnsOnReserve
set to true, this is all the pool checking you need IMO. I would set
the refresh minute parameter to 99999999 to effectively turn off
refresh. I'm betting that will solve your issue. Let me know...
Joe
>
>
Mitesh
Eino Komsi wrote:
hi,
I have problems with Weblogic 5.1 connection pool. Normally it works
fine, but
under heavy load the connection pool doesn't work at all: it
negotiates a new connection every time.
Has anyone else had problems like this?
regards, EK -
Reg:Problem with Connection Pool
Hi all,
I copied DAc analysis RPD from the link (http://www.rittmanmead.com/2009/01/analyzing-bi-apps-etl-runs-using-obiee-and-the-dac-repository/ ) into my existing RPD by changing the connection pool of DAC Analysis RPD to the connection pool settings of my Existing RPD.
W_ETL_DEFN,W_ETL_DEFN_RUN,W_ETL_FOLDER,W_ETL_GROUP_STEP,W_ETL_PHASE,W_ETL_RUN_STEP,W_ETL_STEP,S_ETL_DAY
All these tables are coming from a schema BISchema.. Except S_ETL_DAY table. it is coming from the Usage Tracking tables and all the tables in the Usage tracking are coming from OBIAPP Schema.
In order to know about the ETL Runs Over time we need S_ETL_Day table..
So how do I import S_ETL_Day table to DAC folder..where the Schema of both DAC tables and Usage tracking table is Different.
Need Help....that you can do but there is a way to use that S_ETL_DAY table in do a double mapping in the BMM layer so that you can those fields in that particular table...
-
Problem with Connection Pooling
Hi,
I am using netbeans for developing web appliccation .I make datasource and then calliing that datasource but i am facing some error while calling.
The Code is..
private javax.sql.DataSource getMyDatabase() throws javax.naming.NamingException {
javax.naming.Context c = new javax.naming.InitialContext();
return (javax.sql.DataSource) c.lookup("java:comp/env/jdbc/Shopping1");
error is
Exception in connection from lookup:org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
please help me out...
Thanks
mayankVerify connection pool parameters including connection URL>
-
Problem with Connection Pooling of datasources in a web service
Hi,
I have been driven insane trying to fix this problem, I am trying to connect to a MS SQL data source from a web service in tomcat 4.1, so I have defined the data source through tomcats server administration pages and checked that it has inserted the correct code to server.xml. I have also added the relevant information to the web.xml and added the code to the service. when I start tomcat it outputs:
DbcpDataSourceFactory: driverClassName=com.microsoft.jdbc.sqlserver.SQLServerDriver, url=jdbc:microsoft:sqlserver://192.168.0.22:1433:databaseName=dbname, user=sa
but then these errors occours:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.IllegalStateException: Context path /RegistryServer is already in use
at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
... 42 more
and
[ERROR] Digester - -End event threw exception <java.lang.reflect.InvocationTargetException>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end
(Bootstrap.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.IllegalStateException: Context path /Xindice is already in use
at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
... 42 more
And when I try to use the data source my code gets the context but when getting the datasource it shows the error:
Error doing something: javax.naming.NamingException: DbcpDataSourceFactory: driverClassName is required
My server.xml reads:
<Resource name="jdbc/msService" scope="Shareable" type="javax.sql.DataSource"/>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<ResourceParams name="jdbc/msService">
<parameter>
<name>validationQuery</name>
<value></value>
</parameter>
<parameter>
<name>user</name>
<value>sa</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:microsoft:sqlserver://192.168.0.22:1433:databaseName=dbname</value>
</parameter>
<parameter>
<name>password</name>
<value>password</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
and my web.xml
<web-app>
<display-name>User Service</display-name>
<description>A service to perform user information orientated tasks</description>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<resource-ref>
<description> Resource reference to java.sql.Connection factory defined in server.xml</description>
<res-ref-name>jdbc/msService</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
I have read the other posts regarding this error and most mention that the jar files need to be in <root>/common/lib but I have deinitely put all the MS jar files here!!!
sorry this is such a long post but if any one has any idea it would be most appreciated!!!!
cheers
pastyHi,
I'm struggling with the same problem. One thing I noticed is that your url looks a bit different than others that I've seen:
Yours:
url=jdbc:microsoft:sqlserver://192.168.0.22:1433:databaeName=dbname, user=sa
Most other folks:
url=jdbc:microsoft:sqlserver://192.168.0.22:1433;databaseName=dbname; user=sa
Note the semicolons.
I don't know whether this will help you or not, but it's worth a try.
Does anyone know where I can get documentation for the options that MS' jdbc driver for SQL Server? I've googled groups and the web and can't find anything authoritative.
Dan
Hi,
I have been driven insane trying to fix this problem,
I am trying to connect to a MS SQL data source from a
web service in tomcat 4.1, so I have defined the data
source through tomcats server administration pages and
checked that it has inserted the correct code to
server.xml. I have also added the relevant
information to the web.xml and added the code to the
service. when I start tomcat it outputs:
DbcpDataSourceFactory:
driverClassName=com.microsoft.jdbc.sqlserver.SQLServer
river,
url=jdbc:microsoft:sqlserver://192.168.0.22:1433:databa
eName=dbname, user=sa
but then these errors occours:
java.lang.reflect.InvocationTargetException
at
at
at
t sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
at
at
t
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
AccessorImpl.java:39)
at
at
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at
at
at java.lang.reflect.Method.invoke(Method.java:324)
at
at
at
t
org.apache.commons.launcher.ChildMain.run(ChildMain.jav
:269)
Caused by: java.lang.IllegalStateException: Context
path /RegistryServer is already in use
at
at
at
t
org.apache.catalina.core.StandardHostDeployer.addChild(
tandardHostDeployer.java:523)
... 42 more
and
[ERROR] Digester - -End event threw exception
<java.lang.reflect.InvocationTargetException>
java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
dAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
ingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(
ethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end
(Bootstrap.java:203)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
dAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega
ingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.launcher.ChildMain.run(ChildMain.ja
a:269)
Caused by: java.lang.IllegalStateException: Context
path /Xindice is already in use
at
org.apache.catalina.core.StandardHostDeployer.addChild
StandardHostDeployer.java:523)
... 42 more
And when I try to use the data source my code gets the
context but when getting the datasource it shows the
error:
Error doing something: javax.naming.NamingException:
DbcpDataSourceFactory: driverClassName is required
My server.xml reads:
<Resource name="jdbc/msService" scope="Shareable"
le" type="javax.sql.DataSource"/>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFac
ory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<ResourceParams name="jdbc/msService">
<parameter>
<name>validationQuery</name>
<value></value>
</parameter>
<parameter>
<name>user</name>
<value>sa</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:microsoft:sqlserver://192.168.0.22:1433:da
abaseName=dbname</value>
</parameter>
<parameter>
<name>password</name>
<value>password</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</v>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
and my web.xml
<web-app>
<display-name>User Service</display-name>
<description>A service to perform user information
n orientated tasks</description>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<resource-ref>
<description> Resource reference to
to java.sql.Connection factory defined in
server.xml</description>
<res-ref-name>jdbc/msService</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
I have read the other posts regarding this error and
most mention that the jar files need to be in
<root>/common/lib but I have deinitely put all the MS
jar files here!!!
sorry this is such a long post but if any one has any
idea it would be most appreciated!!!!
cheers
pasty -
Hi All,
We have a repository that is built on top of a SQL server database and the front end application works fine.
We have now created another repository against another SQL Server database and wanted to have this as a separate subject area in the already existing application.
To do this, we have copied the three models (physical, business and presentation ) from the new rpd into the already existing rpd.
Doing this we were able to add another subject area folder in the front end application, but when we query the new subject folder we get the following error.
"Odbc driver returned an error (SQLExecDirectW)
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 28000 code: 18456 message: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.. (HY000)"
Any thoughts?
ThanksUsing OraclePooledConnection to get Poolable Connections (javax.sql.PooledConnection)
A sample data-source definition for this is:
<data-source
class="oracle.jdbc.pool.OracleConnectionPoolDataSource"
name="jdbc/pool/OracleConnectionPoolDS"
location="jdbc/pool/OracleConnectionPoolDS"
username="scott"
password="tiger"
url="jdbc:oracle:thin:@<hostname>:<port number>:<SID>"
/>
The DataSource created in this case is of type OracleConnectionPoolDataSource. A getPooledConnection()
call on the object returned from the lookup will return oracle.jdbc.pool.OraclePooledConnection and a
getConnection() call (either on the DataSource directly or on the pooled connection) will return
oracle.jdbc.driver.OracleConnection.
Cheers,
Asho -
Stored Procedure Call with Connection Pools
Hi everybody,
I have changed my Database-Connection to Connection Pooling.
No I try to call a stored procedure like this:
Connection connection;
CallableStatement callStmt;
Integer sp_result;
//--- Set callable stored procedure
String call = "{?=call myStoredProcedure(?,?,?)}";
try {
if( connection != null ) {
callStmt = connection.prepareCall( call );
callStmt.registerOutParameter( 1, java.sql.Types.INTEGER );
callStmt.setInt( 2, 3 );
callStmt.setString( 3, plz );
callStmt.setString( 4, ort );
callStmt.execute( call );
sp_result = new Integer( callStmt.getInt(1) );
callStmt.close();
result = sp_result.intValue();
} else {
log.error( "Connection = null" );
} catch( SQLException ex ) {
log.error( ex.toString() );
ServletUtils.forwardRequest(this, request, response,
"/error.jsp", "errorMsg", ex.toString() );
Without Connection Pooling, my Connection is of
'weblogic.jdbc.mssqlserver4.MicrosoftConnection'
With Connection Pooling my Connection is of
'weblogic.jdbc2.rmi.SerialConnection'
And now, the stored procedure can't be found anymore.
There comes an SQLException:
Gespeicherte Prozedur 'myStoredProcedure' konnte nicht gefunden werden.
Severity 16, State 62, Procedure 'myDBServer null', Line 5
One possibility is that the SerialConnection can't call the stored procedure
like the Microsoft-specific Connection (I use MS-SQL-Server)
Another is that the call have to be another stucture.
I would be pleased if somebody is expirienced in this behaviour.
Thousand thanx,
Hammer.You need to use a DataModifyQuery as your query does not return anything.
James : http://www.eclipselink.org -
I have a problem.
I bought Pages and Numbers for my iMac and so far everything was OK.
Suddenly i have a problem with connection to iCloud.
Dokuments created on iMac in Pages or Numbers are not transfered to iCloud. Not uploaded to iCloud. There is a sign (small shape of iCloud), that they are waiting to be uploaded to iCloud.
I think the iCloud is OK.
i can see and manage documents in iCloud. i can create them on iPad and see them and delete them in iCloud.
But not on iMac.
i dont know what has happened and I am not abble to find the solution. It was OK till some days ago….I have a similar problem! Everything stopped working after upgrading to Mac OS 10.8.4 through the App Store. Help!
-
After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.
1. Download the iOS 5.0.1: http://www.tobias-hartmann.net/2011/11/download-ios-5-0-1-veroffentlicht-direkte -downloadlinks/
2. open itunes,Click in iTunes while holding down the Shift key (on Windows) or Alt key (Mac) to restore and firmware -
I had a problem with my WRT54GS not connecting to my inte...
I had a problem with my WRT54GS not connecting to my internet until I cloned my old routers mac address. I was using a BEFW11S4 which was bullet proof and worked for several years until I changed to Wireless G. Upon purchasing the WRT54GS and setting up all parameters exactly like I had before I could not make any connections, wireless or otherwise until I cloned my mac address to the same address as my previous router. Apparently my ISP had that mac address registered and would not properly perform DHCP even though all other paremeters were correct. I read lots of messages here on line with issues with the WRT54GS connecting and this fixed my problem outright. If you upgrade from a previous generation router (Linksys or otherwise apparently) copy your old routers mac address and clone it to your new router and you should be able to connect. This fixed my problem after several hours and days of troubleshooting. Good Luck Karnage
As an alternative to using MAC address cloning, you can phone your ISP, tell them you have a new router, and tell them to reset their system to accept the MAC address of your new router. This way, you won't have to remember the old MAC address, in the event that you need to reset your router to factory defaults.
-
Problem with connecting to DB2 from ADFBC
I have a problem with connection to DB2 data using ADF BC components. Everything looks fine till I run the page(JSF) to see the data of a db2 table. I created a read only view object. This view is registered in the AM and from AM the view is returning the rows without any problem. But when I am running the page which has the view as a table these errors are thrown. Please help me to fix this.
JBO-30003: The application pool (od.mft.views.MFTServiceLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
## Detail 0 ##
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220
## Detail 0 ##
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
Thanks
GangsSteve, the tester works good as expected and its retreiving the rows. As I said earlier the problem is with the JSF page when I ran the page on Embeded Oc4j of Jdev the page showing the above. The exception does not show on the console.
Please let me know if you need any more details.
thanks
Gangs -
Problems using connection pooling
I'm having problems configuring connection pooling in oc4j. Have specified my datasource/connection pool in my data-sources.xml. I always get the following error when I try to access it with an instance of OracleConnectionPoolDataSource within my apps. The app server dosen't seem to create the connections when started 'cos its not displayed within Oracle dba studio. Can anyone tell what I need to do pls.
regards!
dyzke
//-- error displayed
Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
ter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java
:111)
// -- extract
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="MYDS"
location="jdbc/XXX"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
pooled-location="xxx/xxxx"
max-connections="10"
min-connections="3"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="admin"
password="admin"
url="jdbc:oracle:thin:@localhost:xxx"
inactivity-timeout="30"
/>see my answer in the other newsgroup.
please don't cross post.
"M. Hammer" <[email protected]> wrote in message
news:[email protected]..
Hi,
We have problems using connection pooling in a WLS 5.1.x - Cluster. Is it
possible to use CP in such a cluster at all ? The problem is, connections
will be opened and never been closed. How can I configure a cluster forCP?
>
I have a WLS-Cluster with 2 instances and my webApp uses connectionpooling.
By the way I get a connection on Instance 1, Instance 2 gets a connection
also, but never releases it.
In my opinion, the reference to the connection in the partner-instancewill
be lost.
How do I have to configure my cluster to work well with that stuff ?
Thank a lot,
Markus. -
Problem with connecting and syncing (quicktime.qts)
Hi,
I have a problem with connecting and syncing my Iphone to itunes.
iphone alone on PC -> uploading files (fotos) is possible
itunes starts normaly, if iphone is not conected.
if i connect iphone after starting itunes, or if i start itunes after connecting iphone i get an itunes-error with message:
AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
ModVer: 7.65.17.80 Offset: 00909a47
i test different things...
- used another USB-port
- used another PC
- used macbook of my wife instead PC
- deinstalled and new installed of itunes (older and newer versions) folow tutorials of apple
- use another USB-Cable...
I'm resigned, Please help me..
TomAppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
In this context, that can sometimes indicate trouble with a content file on the phone (or Touch).
Do you have any podcasts stored on the iPhone at the moment? If so, if you delete them from the phone, can you connect to iTunes without the error? -
Problem with connecting to free wifi after upgrading to Windows 8.1 from Windows 8
Hi
I had problems with connecting to free Wifi after upgrading my PC(Notebook) to Windows 8.1 from Windows 8. As I travel a lot within europe, I am used to being able to connect to Free Wifi(those that dont need a key or password to enter) but soon after downloading
Windows 8.1 I almost never was able to do this. I'd always get «LIMITED» even though the signal was strong.This was so fustrating,so much so that I reset my PC to clear it of Windows 8.1 and am now back to Windows 8.This is a shame because I was really liking
using Windows 8.1 and if not for this problem(which is a big one) I'd still be using it. If I download Windows 8.1 again from the Windows store what is the probability that I'll have the same problems?
Thanks PortozzygirlMore often than not when a device isn't working it is because the driver has become corrupted. Re-installing a fresh copy should help
http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly?SignedIn=1
http://captaindbg.com/how-to-update-drivers-on-windows-7/ (works on win 8 too)
Wanikiya and Dyami--Team Zigzag
Maybe you are looking for
-
I can go into disk utility and see the optical drive and mount what ever cd is in the drive and quicktime will play it. but i would like to have the dvd program recognize the optical drive and open what ever is in it.
-
Item level Info record PO text field in Purchase Order Me21n transaction
Hello All, I have to enter some information in the PO info record text field (which is in Item level Texts tab of ME21n transaction ) using an user-exit at the time of creation/change of purchase Order. Does anyone knows the user-exit and how to upda
-
Valid period for stored documents (Archive Link)
Hello, Can someone please confirm if the stored documents within Archive Link can be retrieved after more than 10 years or is there an expire date setting? Thanks.
-
hello guyz, i wanna develop a smartform in norwegian ..how can i do it.. plz advise.. regds
-
Help with Bridge CS5 reading RAWs from a Nikon d7100
So just bought a Nikon D7100, and not Bridge and PS CS5 cannot open my RAW photos. Is there something else I can do, besides upgrading to cs6?? My current version of bridge is 4.1.0.54 and photoshop 12.1