RE: Empty *jsp_java file after upgrade to Tomcat 8.0.26

2016-02-01 Thread Yasi Xi (yxi)
Loop in Mark -Yasi -Original Message- From: Yasi Xi (yxi) Sent: Tuesday, February 02, 2016 9:17 AM To: Tomcat Users List Subject: Empty *jsp_java file after upgrade to Tomcat 8.0.26 Hi, Dear Mark T and all Sorry to resend this mail. I don't quite understand Mark's comment on this pro

Re: rotate catalina.out without restart?

2016-02-01 Thread Rainer Frey (Inxmail GmbH)
> On 01.02.2016, at 16:42, Harald Dunkel wrote: > > Hi folks, > > would it be possible to integate apache's rotatelogs > into catalina.sh to support daily rotation of catalina.out > without restart? On linux, (system) logrotate ha a “copytruncate” option that could be used. You’d need to check

Empty *jsp_java file after upgrade to Tomcat 8.0.26

2016-02-01 Thread Yasi Xi (yxi)
Hi, Dear Mark T and all Sorry to resend this mail. I don't quite understand Mark's comment on this problem. WHAT IS THE PROBLEM I'm doing Tomcat upgrade for my J2EE server. When Tomcat is upgraded from 7.0.54 to 8.0.26, 1) I get lots of empty *_jsp.java files in /opt/apache-tomcat_1

Re: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Björn Raupach
> On 01 Feb 2016, at 17:30, Mark Thomas wrote: > > On 01/02/2016 15:27, Björn Raupach wrote: >>> On 01 Feb 2016, at 16:20, Mark Thomas wrote: >>> On 1 February 2016 14:07:57 GMT+00:00, "Björn Raupach" >>> wrote: > > > Do I need a Apache HTTPD fronted? >>> >>> No. The name of your v

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread George Sexton
On 2/1/2016 10:16 AM, Christopher Schultz wrote: processConnection WARNING: processCallbacks status 2 No description of the underlying error. :( I would imagine someone finally disabled SSLv3 on the database server, so you have to use a higher protocol to connect to it? +1 I've been working

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 18:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nithin, On 2/1/16 11:55 AM, Bomma, Nithun wrote: We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding

Re: HTTP communication

2016-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim, On 2/1/16 4:53 AM, Maxim Neshcheret wrote: > There is such option in my app (heartbeats from server to client) > but I’m curious why connection becomes stale if I don’t send any > heartbeats. Any networking component can decide that a connecti

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nithin, On 2/1/16 11:55 AM, Bomma, Nithun wrote: > We are using Tomcat 6.x for one of our application. It was working > fine until today morning and all of sudden we tomcat application > was not responding and was throwing below errors: > > > Feb 1,

Re: Tomcat Server - Arraylist java.util.ConcurrentModificationException issue

2016-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Please don't hijack threads. If you want to start a new thread, please start a new email message addressed to this list; don't find an existing message and reply to it. - -chris On 2/1/16 7:50 AM, Subhro Paul wrote: > Hi Team, > > Our web app

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 17:55, Bomma, Nithun wrote: Hello, We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding and was throwing below errors: Feb 1, 2016 9:00:16 AM com.microsoft.sqlserver.jdbc.SQLServer

com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread Bomma, Nithun
Hello, We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding and was throwing below errors: Feb 1, 2016 9:00:16 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin WARNING: ConnectionID:96

Re: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Mark Thomas
On 01/02/2016 15:27, Björn Raupach wrote: >> On 01 Feb 2016, at 16:20, Mark Thomas wrote: >> On 1 February 2016 14:07:57 GMT+00:00, "Björn Raupach" >> wrote: >>> Do I need a Apache HTTPD fronted? >> >> No. The name of your virtual host (or one of its aliases) must match the >> host header.

Re: WebAppClassLoaderBase.clearReferencesThreads warning

2016-02-01 Thread Yuval Schwartz
Hello Terence, Thanks for the input. I shutdown the ScheduledExecutorService in the contextDestroyed method of the app's ServletContextListener class as well. I also call shutDownNow() followed by an if statement with !awaitTermination() as the condition. Are you sure that the new warning that I'

Re: rotate catalina.out without restart?

2016-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harald, On 2/1/16 10:42 AM, Harald Dunkel wrote: > would it be possible to integate apache's rotatelogs into > catalina.sh to support daily rotation of catalina.out without > restart? Nope. > This would be #1 on my wish list for version 9. If you u

Re: WebAppClassLoaderBase.clearReferencesThreads warning

2016-02-01 Thread Terence M. Bandoian
On 2/1/2016 8:54 AM, Yuval Schwartz wrote: Hello Mark, I think that the issue below was related to the way I was shutting down an instance of ScheduledExecutorService. I changed the way it is shutdown when the context is destroyed...I will update here if I don't receive any more warnings. Howev

rotate catalina.out without restart?

2016-02-01 Thread Harald Dunkel
Hi folks, would it be possible to integate apache's rotatelogs into catalina.sh to support daily rotation of catalina.out without restart? This would be #1 on my wish list for version 9. Keep on your good work Harri - To unsub

Re: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Björn Raupach
> On 01 Feb 2016, at 16:29, Jeffrey Janner wrote: > >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Monday, February 01, 2016 9:21 AM >> To: Tomcat Users List >> Subject: Re: Virtual Hosting, HTTP 302 to HTTPS? >> >> On 1 February 2016 14:07:57 GMT+00:00,

RE: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Jeffrey Janner
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, February 01, 2016 9:21 AM > To: Tomcat Users List > Subject: Re: Virtual Hosting, HTTP 302 to HTTPS? > > On 1 February 2016 14:07:57 GMT+00:00, "Björn Raupach" > wrote: > >Dear group, > > > >I have two web

Re: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Björn Raupach
> On 01 Feb 2016, at 16:20, Mark Thomas wrote: > > On 1 February 2016 14:07:57 GMT+00:00, "Björn Raupach" wrote: >> Dear group, >> >> I have two web applications (a,b) that are both reachable via >> subdomains: >> >> a.example.com >> b.example.com

Re: Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Mark Thomas
On 1 February 2016 14:07:57 GMT+00:00, "Björn Raupach" wrote: >Dear group, > >I have two web applications (a,b) that are both reachable via >subdomains: > >a.example.com >b.example.com > >For b.example.com exists a SSL certifi

Re: WebAppClassLoaderBase.clearReferencesThreads warning

2016-02-01 Thread Yuval Schwartz
Hello Mark, I think that the issue below was related to the way I was shutting down an instance of ScheduledExecutorService. I changed the way it is shutdown when the context is destroyed...I will update here if I don't receive any more warnings. However, I now get a warning: WARNING [main] org.

Tomcat Server - Arraylist java.util.ConcurrentModificationException issue

2016-02-01 Thread Terence M. Bandoian
On 2/1/2016 6:50 AM, Subhro Paul wrote: Hi Team, Our web application has a "header.jsp" which has 2 Arraylist on it. Each ArrayList has more than 50 items inside. The code is to identify the mobile device and requested page and transfer the call to mobile page accordingly. This code works fine

Virtual Hosting, HTTP 302 to HTTPS?

2016-02-01 Thread Björn Raupach
Dear group, I have two web applications (a,b) that are both reachable via subdomains: a.example.com b.example.com For b.example.com exists a SSL certificate. a.example.com does not need SSL. The HTTP

RE: client ssl renegotiation after invalidating session

2016-02-01 Thread George Stanchev
Yeah I forgot to mention that this works for NIO and BIO connectors. Not sure about the APR. And been there in regards to the caching in the browser. There is nothing I have found either... George -Original Message- From: Gael Abadin [mailto:gael.aba...@imatia.com] Sent: Monday, Febru

Tomcat Server - Arraylist java.util.ConcurrentModificationException issue

2016-02-01 Thread Subhro Paul
Hi Team, Our web application has a "header.jsp" which has 2 Arraylist on it. Each ArrayList has more than 50 items inside. The code is to identify the mobile device and requested page and transfer the call to mobile page accordingly. This code works fine once we restart the server and can con

Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
Hi Olaf, Just repeat here what I have already replied to André’s comment. “First about network. Client and server are in the same segment and there are no firewalls in between them. Second I expect connection to be alive because during initiation I specify 'keep-alive' property of HTTP request. A

Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
Hi Christoph There is such option in my app (heartbeats from server to client) but I’m curious why connection becomes stale if I don’t send any heartbeats. On 29/01/16 16:04, "Christoph Nenning" wrote: >> I have a problem with my java application related to HTTP communication. >> >> Applica

Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
Hi André, First about network. Client and server are in the same segment and there are no firewalls in between them. Second I expect connection to be alive because during initiation I specify 'keep-alive' property of HTTP request. Also Tomcat and WLS are configured to support keepalive connections

Re: client ssl renegotiation after invalidating session

2016-02-01 Thread Gael Abadin
Thank you very much for your reply, I tried your solution on APR, NIO and BIO connectors but it seems my problem comes from somewhere else. >From what I could gather, it is a matter of browser SSL credentials store mechanism, and it doesn't seem to have a solution yet (even the suggested window.c