Solved

JDBC connection error

Posted on 2006-11-27
11
834 Views
Last Modified: 2013-12-10
I have a portal server instance running. It is running fine but it is throwing the following exception from time to time.

java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix
 = <weblogic>: ping failed, database not responding
java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix
 = <weblogic>: SQL exception
java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
        at com.pointbase.dbexcp.dbexcpException.getSQLException()Ljava/sql/SQLEx
ception;(Unknown Source)
        at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Lcom/poi
ntbase/net/netJDBCConnection;Ljava/io/DataOutputStream;BILjava/lang/String;[Ljav
a/lang/Object;)V(Unknown Source)
        at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Lcom/pointb
ase/net/netJDBCConnection;Ljava/io/DataOutputStream;I[Ljava/lang/Object;)V(Unkno
wn Source)
        at com.pointbase.net.netJDBCConnection.setAutoCommit(Z)V(Unknown Source)

        at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(Z)V(PoolConnection
.java:141)
        at weblogic.jms.store.JDBCIOStream.opendb()V(JDBCIOStream.java:2205)
        at weblogic.jms.store.JDBCIOStream.ping()V(JDBCIOStream.java:1286)
        at weblogic.jms.store.StoreRequest.doTheIO(Lweblogic/jms/store/StoreIOSt
ream;Z)Z(StoreRequest.java:355)
        at weblogic.jms.store.JMSStore.execute(Lweblogic/kernel/ExecuteThread;)V
(JMSStore.java:493)
        at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest
0
Comment
Question by:Wtritepo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 10

Expert Comment

by:ECollin
ID: 18022319
hi,

cross-post...


your domain uses a jms server with a jdbc persistence store. Unfortunatly the configured connection pool cannot reach the database.
Watch the configuration of the connection pool (cgJMSPool-nonXA)

Emmanuel
0
 
LVL 6

Expert Comment

by:Ajar
ID: 18029094
You can choose a file store for JMS to avoid this problem
0
 
LVL 6

Expert Comment

by:Ajar
ID: 18038624
The HARMLESS error is occuring while the server is testing the 'IDLE' connections for validity. You can disable this check by going to

[your domain]> JDBC Connection Pools> cgJMSPool-nonXA > connections>advanced

set the Test Frequency:  parameter to a high value
0
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
LVL 5

Expert Comment

by:Becky
ID: 18089771
cgJMSPool-nonXA is a connectin pool that Weblgoic automatically creates when you configure a new "Weblogic Enabled" domain instead of a "Regular" domain (it's one of the options in the domain configuration wizard)

Anyone that uses Weblogic Portal must run it in a "Weblogic Enabled" domain and not a standard domain because there are couple of back-end things that get ore-cofigured by weblogic for Portal and Weblogic Workshop applications.

** If you're not using conversational state (asynchronous) Web Services you won't encounter any problems and can ignore those errors. **

If you want to make the messages go away, re-create your domain and instead select a Weblogic Enabled domain type as opposed to the standard domain, then of course don't delete any of the internal connection pools, JMS queues, JMS servers, or the running instance of Pointbase that Weblogic configures and starts up. (Pointbase has a very small footprint)
0
 

Author Comment

by:Wtritepo
ID: 18176316
Thanks for your suggestions. I will try these.
0
 

Author Comment

by:Wtritepo
ID: 18523465
Can you please close the above question. I got it resolved.

thanks for your help
0
 
LVL 5

Expert Comment

by:Becky
ID: 18537280
How did you resolve it?
0
 
LVL 5

Expert Comment

by:Becky
ID: 18537290
cgJMSPool-nonXA is a standard connection pool name created by a Weblogic Workshop domain, so did creating a new Weblogic Workshop Enabled domain work, or did you hand-create them?  
0
 

Author Comment

by:Wtritepo
ID: 18655129
I have two instances of servers running in two different domains on two different ports but the same pointbase port . I changed one of them to run in a different pointbase port and I see that it is not thowing this exception anymore.

thanks,
Anu
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19271948
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working knowledge on Innopac Library System 2 190
Should we upgrade from Tomcat 7 to Tomcat 8 ? 5 828
websphere 1 114
Books that can get me started on JAVA 2 117
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question