Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 64302 invoked from network); 18 Apr 2011 15:55:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 15:55:44 -0000 Received: (qmail 65228 invoked by uid 500); 18 Apr 2011 15:55:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 65150 invoked by uid 500); 18 Apr 2011 15:55:44 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 65143 invoked by uid 99); 18 Apr 2011 15:55:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 15:55:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 15:55:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E6ADFA7A02 for ; Mon, 18 Apr 2011 15:55:05 +0000 (UTC) Date: Mon, 18 Apr 2011 15:55:05 +0000 (UTC) From: "Palenkara, Jogesh (Contractor) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1926749503.64647.1303142105941.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JCR-1975) Connection timed out IO Exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021077#comment-13021077 ] Palenkara, Jogesh (Contractor) commented on JCR-1975: ----------------------------------------------------- Hi jira. Did you find any solution for your connection timeout issue. I am facing the same issue in production.please help. My email id is nirajcognizant@gmail.com > Connection timed out IO Exceptions > ---------------------------------- > > Key: JCR-1975 > URL: https://issues.apache.org/jira/browse/JCR-1975 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: core 1.4.5 > Environment: Linux (CentOs), Oracle XE 10g, Tomcat 6, JDK 1.6, Magnolia Enterprise 3.6.3, JNDI > Reporter: Edgar Vonk > Attachments: jackrabbit_ioexceptionlog.txt > > > We are running Jackrabbit 1.4.5 as part of the Magnolia Enterprise CMS. We are running into Jackrabbit - database connection problems on some occasions. We do not understand why and when these happen. When they do all we can do is restart Tomcat (with Magnolia) and then everything seems to run fine again until the next time this happens. > We have looked into this issue together with Magnolia but have so far failed to come up with a solution. We have not even been able to reproduce the issue. It only happens on our production environment (where we have the database server on a separate machine from our two app servers). > I have also reported this issue on the Magnolia form: http://www.nabble.com/Using-Oracle-with-a-JNDI-datasource-in-Tomcat-td21114284.html > We are using a JNDI persistence manager set-up. Our Jackrabbit persistence manager configuration looks as follows: > {code} > > > > > > > {code} > Our datasource in Tomcat: > {code} > name="jdbc/magnolia" > auth="Container" > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.OracleDriver" > url="jdbc:oracle:thin:@//CHANGEME:1521/XEXDB" > username="CHANGEME" > password="CHANGEME" > maxActive="20" > maxIdle="10" > maxWait="-1" /> > {code} > In the log files we see: > java.sql.SQLRecoverableException: Io exception: Connection timed out > I will upload the full log file excerpt. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira