Help setting up sqlite data source

2015-02-24 Thread nandy r
Hello, I wanted to setup tomcat+hibernate+JOTM+sqlite but could not find any information on sqlite setup. I did read a document on setting up datasources and also one tomcat document relating to mysql, postgresql. It appears I need to supply a resource name, auth, factory, driver class and url,

Re: Getting javax.net.ssl.SSLHandshakeException

2015-02-24 Thread dkumar
Dear Christopher , Perhaps you disabled SSLv3 and a client is trying to connect using SSLv3? We agree with your above statement. We have disabled SSLv3 on Tomcat server and our client is an exe which sends request using below code. URL server = new URL(url); jpro

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Felix Schumacher
Am 24. Februar 2015 22:20:00 MEZ, schrieb Red : >OS: Ubuntu 14.04.2 LTS >Oracle: 12.1.0.1.0 or 11.2.0.3.0 >Tomcat: 7.0.52-1ubuntu0.1 >odjbc: Ojdbc6 or Ojdbc7 (placed in /var/lib/tomcat7/lib) >java version "1.8.0_31" of "1.7.0_65" > >Context.xml: > type="javax.sql.DataSource" >dri

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Filip Hanik
unless DBCP changed of course. I would add ​the following property to your element​ factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html On Tue, Feb 24, 2015 at 3:47 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Red, On 2/24/15 4:20 PM, Red wrote: > OS: Ubuntu 14.04.2 LTS Oracle: 12.1.0.1.0 or 11.2.0.3.0 Tomcat: > 7.0.52-1ubuntu0.1 odjbc: Ojdbc6 or Ojdbc7 (placed in > /var/lib/tomcat7/lib) java version "1.8.0_31" of "1.7.0_65" > > Context.xml: type="java

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Mark Thomas
On 24/02/2015 21:20, Red wrote: > OS: Ubuntu 14.04.2 LTS > Oracle: 12.1.0.1.0 or 11.2.0.3.0 > Tomcat: 7.0.52-1ubuntu0.1 > odjbc: Ojdbc6 or Ojdbc7 (placed in /var/lib/tomcat7/lib) > java version "1.8.0_31" of "1.7.0_65" > > Context.xml: Which context.xml file? Mark -

Connection leak Tomcat7 and Oracle

2015-02-24 Thread Red
OS: Ubuntu 14.04.2 LTS Oracle: 12.1.0.1.0 or 11.2.0.3.0 Tomcat: 7.0.52-1ubuntu0.1 odjbc: Ojdbc6 or Ojdbc7 (placed in /var/lib/tomcat7/lib) java version "1.8.0_31" of "1.7.0_65" Context.xml: Immediately after tomcat startup, number of connection goes up until it reaches below: SQL> se

Re: Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread André Warnier
Seema Patel wrote: Hi, We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal on our intranet which is written in java jsp struts and jsp. I know that the tomcat and Java versions are old, but upgrading isn't a quick thing to do without lots of testing. The issue we have is that t

Re: URL rewrite in tomcat 7

2015-02-24 Thread André Warnier
Baran Topal wrote: Hi; Thanks for the swift replies. I am not allowed to tuckey's rewrite (at least until i cannot find a normative Tomcat solution). I looked for the documentation for 7.0. and Alias under Host is my solution however, after rewriting, i bookmark the page and want to reach via b

Re: URL rewrite in tomcat 7

2015-02-24 Thread Baran Topal
Hi; Thanks for the swift replies. I am not allowed to tuckey's rewrite (at least until i cannot find a normative Tomcat solution). I looked for the documentation for 7.0. and Alias under Host is my solution however, after rewriting, i bookmark the page and want to reach via bookmark but it fails

RE: mod_jk causing stuck Apache processes

2015-02-24 Thread Jesse Defer
> -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Monday, February 23, 2015 5:00 PM > To: Tomcat Users List > Subject: Re: mod_jk causing stuck Apache processes > > Am 24.02.2015 um 00:29 schrieb Jesse Defer: > >> -Original Message- > >> Am 23.02.2

[ANN] Apache Tomcat 8.0.20 available

2015-02-24 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.0.20. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language and Java WebSocket technologies. Apache Tomcat 8.0.20 includes numerous fixes for

How to close DB Connections while shutting down server

2015-02-24 Thread Rajesh Biswas
Dear Experts, I am using container managed datasource to manage the database connections. But while shutting down the server I am getting lot of messages like below: appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak W

Re: Tomcat 6 database connection issue

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, Sorry... I just can't read through all those reply-to-reply-to-reply-to lines anymore. I'm snipping them out since they are less relevant, now. On 2/24/15 10:50 AM, Mark Maciolek wrote: > Should have mentioned this: > > Switched to tomcat 7,

Re: Tomcat 6 database connection issue

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/24/15 10:49 AM, Mark Maciolek wrote: > seeing this in the logs: > > [Tue Feb 24 10:17:12 2015] [error] (70007)The timeout specified > has expired: proxy: read response failed from (null) (*) [Tue Feb > 24 10:17:14 2015] [error] ajp_read_

Re: Tomcat 6 database connection issue

2015-02-24 Thread Mark Maciolek
On 2/24/2015 10:22 AM, Daniel Mikusa wrote: On Tue, Feb 24, 2015 at 10:08 AM, Mark Maciolek wrote: On 2/23/2015 2:46 PM, Daniel Mikusa wrote: On Feb 23, 2015 12:49 PM, "Mark Maciolek" wrote: On 2/23/2015 12:37 PM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek wr

Re: Tomcat 6 database connection issue

2015-02-24 Thread Mark Maciolek
hi, seeing this in the logs: [Tue Feb 24 10:17:12 2015] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (*) [Tue Feb 24 10:17:14 2015] [error] ajp_read_header: ajp_ilink_receive failed [Tue Feb 24 10:17:14 2015] [error] (70007)The timeout specified has

Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread David kerber
On 2/24/2015 10:16 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 2/24/15 8:01 AM, Daniel Mikusa wrote: On Tue, Feb 24, 2015 at 7:33 AM, Peter Irbizon wrote: Hello, I would like to know if it is normal that tomcat7 runs on 3.9% CPU when idle? I saw

Re: Tomcat 6 database connection issue

2015-02-24 Thread Daniel Mikusa
On Tue, Feb 24, 2015 at 10:08 AM, Mark Maciolek wrote: > > On 2/23/2015 2:46 PM, Daniel Mikusa wrote: > >> On Feb 23, 2015 12:49 PM, "Mark Maciolek" wrote: >> >>> >>> On 2/23/2015 12:37 PM, Daniel Mikusa wrote: >>> On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek wrote: On 2

Re: Tomcat 6 database connection issue

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/24/15 10:08 AM, Mark Maciolek wrote: > added this line to my context xml and pool connections start > > factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" had to get > older tomcat-jdbc.jar now on to updating my web pages to use thi

Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 2/24/15 8:01 AM, Daniel Mikusa wrote: > On Tue, Feb 24, 2015 at 7:33 AM, Peter Irbizon > wrote: > >> Hello, I would like to know if it is normal that tomcat7 runs on >> 3.9% CPU when idle? I saw all other processes are at 0%, only >>

Re: Tomcat 6 database connection issue

2015-02-24 Thread Mark Maciolek
On 2/23/2015 2:46 PM, Daniel Mikusa wrote: On Feb 23, 2015 12:49 PM, "Mark Maciolek" wrote: On 2/23/2015 12:37 PM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek wrote: On 2/23/2015 9:55 AM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek wrote

Re: Getting javax.net.ssl.SSLHandshakeException

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Deepak, On 2/24/15 9:19 AM, dku...@ccilindia.co.in wrote: > We have migrated from apache tomcat 8.0.8 to apache tomcat > 8.0.18.(to prevent the poodle attack). Note that upgrading Tomcat is not necessary to mitigate SSL POODLE. Upgrading does have

Re: Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Seema, On 2/24/15 7:59 AM, Seema Patel wrote: > We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal > on our intranet which is written in java jsp struts and jsp. I know > that the tomcat and Java versions are old, but upgrading isn't

Getting javax.net.ssl.SSLHandshakeException

2015-02-24 Thread dkumar
Dear All, We have migrated from apache tomcat 8.0.8 to apache tomcat 8.0.18.(to prevent the poodle attack). But now we are facing the below issue. javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecor

Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread Daniel Mikusa
On Tue, Feb 24, 2015 at 7:33 AM, Peter Irbizon wrote: > Hello, > I would like to know if it is normal that tomcat7 runs on 3.9% CPU when > idle? I saw all other processes are at 0%, only tomcat7 is always at least > 3.9%. > 1.) What's your system like? How many CPUs / cores? Is it a VM or hard

Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread Seema Patel
Hi, We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal on our intranet which is written in java jsp struts and jsp. I know that the tomcat and Java versions are old, but upgrading isn't a quick thing to do without lots of testing. The issue we have is that the users keep getting

Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread John D. Ament
When you say idle, is there an application deployed to tomcat, or is it just the bare app server with nothing deployed? On Tue Feb 24 2015 at 7:35:31 AM Peter Irbizon wrote: > Hello, > I would like to know if it is normal that tomcat7 runs on 3.9% CPU when > idle? I saw all other processes are a

when idle tomcat runs on 3.9% CPU

2015-02-24 Thread Peter Irbizon
Hello, I would like to know if it is normal that tomcat7 runs on 3.9% CPU when idle? I saw all other processes are at 0%, only tomcat7 is always at least 3.9%.

CORS-Filter for all webapps?

2015-02-24 Thread Geod Master
Hi there, I am having issues with Cross-Origin Resource Sharing (CORS). I use Tomcat 7.0.57 with deegree-webservices 3.3.13 on both a Windows Server 2013 and Windows Pro SP1 on my localhost. I have a html with javascript-code and want to send requests with AJAX to a WFS running on the Tomcat Serve