Re: "Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Konstantin Kolinko
2014-12-18 4:12 GMT+03:00 Mike Wertheim : > I'm trying to upgrade from Tomcat 7.0.41 with APR to Tomcat 8.0.15 with > APR. (I'm using JDK 1.8.0.25 on CentOS.) > > My first step was to upgrade to Tomcat Native library 1.1.32 and APR 1.5.1 > while still using Tomcat 7.0.41. This combination works g

Re: "Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Mike Wertheim
Thanks for the suggestion. I made my SSL Connector look more like the Connector you sent, and I am still getting the exact same "Invalid Server SSL Protocol" error. The changes that I made, which had no effect, were: - added protocol="org.apache.coyote.http11.Http11AprProtocol" - changed sslProto

Re: "Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Sanaullah
Hi Mike. here is my working configuration with APR. I hope this will work for you. Regards, Sanaullah On Thu, Dec 18, 2014 at 6:15 AM, Mike Wertheim wrote: > > I should have included this in the previous message. > > The AprLifecycleListener is declared in server.xml like this: >SSLE

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Nan Ge
> > > Which part of "WEB-INF/lib is only ever scanned for JARs. Everything > else is ignored." did you not understand? Yes, I see that only WEB-INF/lib/*.jar files are scanned. > > And which directories/classpath the document indicates when it saying > "If > > true, any directories found on t

Re: "Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Mike Wertheim
I should have included this in the previous message. The AprLifecycleListener is declared in server.xml like this: On Wed, Dec 17, 2014 at 5:12 PM, Mike Wertheim wrote: > > I'm trying to upgrade from Tomcat 7.0.41 with APR to Tomcat 8.0.15 with > APR. (I'm using JDK 1.8.0.25 on CentOS.) >

"Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Mike Wertheim
I'm trying to upgrade from Tomcat 7.0.41 with APR to Tomcat 8.0.15 with APR. (I'm using JDK 1.8.0.25 on CentOS.) My first step was to upgrade to Tomcat Native library 1.1.32 and APR 1.5.1 while still using Tomcat 7.0.41. This combination works great. My webapp starts up and is accessible using

Re: Tomcat cluster with static membership

2014-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Theo, On 12/17/14 11:22 AM, Théo Chamley wrote: > Mark, things haven't changed on Tomcat8 for the logging properties, > your configuration did work. > > In the end, I had two problems: * My client did not have a > element in his web.xml This was

Re: tomcat on windows 2012 weirdness

2014-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cris, On 12/17/14 2:15 PM, Cris Berneburg - US wrote: > Ameer (and Chris) > > I discovered something else. When accessing the internal web site > by name, it does not work right. But when I access the web site by > IP address, it functions correc

Re: Tomcat 7 ssl by default

2014-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Duncan, On 12/17/14 12:32 PM, Lyallex wrote: > Yea I thought of this, the problem is I currently have a user area > that requires a login and all this is currently configured in > web.xml and I'm not sure how all this will fit together. I'll try a

RE: tomcat on windows 2012 weirdness

2014-12-17 Thread Konstantin Preißer
Hi, > -Original Message- > From: Cris Berneburg - US [mailto:cberneb...@caci.com] > Sent: Wednesday, December 17, 2014 8:15 PM > To: 'Tomcat Users List' > Subject: RE: tomcat on windows 2012 weirdness > > Ameer (and Chris) > > I discovered something else. When accessing the internal web

RE: tomcat on windows 2012 weirdness

2014-12-17 Thread Cris Berneburg - US
Chris >>> When emitting a URL onto a page for a client, the application needs to run >>> the URL through a call to HttpServletResponse.encodeURL(String) or >>> HttpServletResponse.encodeRedirectURL(String). These methods will add the >>> ";jsessionid=[id]" path parameter to the URL when the cli

RE: tomcat on windows 2012 weirdness

2014-12-17 Thread Cris Berneburg - US
Ameer (and Chris) I discovered something else. When accessing the internal web site by name, it does not work right. But when I access the web site by IP address, it functions correctly! > If you are using IE9, it has a very useful utility in its developer tool to > capture network traffic.

RE: tomcat on windows 2012 weirdness

2014-12-17 Thread Cris Berneburg - US
Chris Thanks again for your replies. Meh, sorry for the double-negative about the cookies. :-) One thing I learned by trial and error is that accessing the internal web site by name behaves wrongly, but accessing it by IP behaves rightly! Also, I must be wrong about the cookies being enabled

Re: Tomcat 7 ssl by default

2014-12-17 Thread Lyallex
Yea I thought of this, the problem is I currently have a user area that requires a login and all this is currently configured in web.xml and I'm not sure how all this will fit together. I'll try a few things out and see what happens. Thanks for taking the time to respond Duncan On 17 December 20

Re: Tomcat 7 ssl by default

2014-12-17 Thread Mark Thomas
On 17/12/2014 17:10, Lyallex wrote: > Tomcat 7.0.42 > jdk1.7.0_51 > Ubuntu 12.04/CentOS dev/deploy > > I have been reading more and more about Google and the like > prioritising sites that employ https/ssl by default. Currently my site > does not use https but delegates payment to a secure payment

Tomcat 7 ssl by default

2014-12-17 Thread Lyallex
Tomcat 7.0.42 jdk1.7.0_51 Ubuntu 12.04/CentOS dev/deploy I have been reading more and more about Google and the like prioritising sites that employ https/ssl by default. Currently my site does not use https but delegates payment to a secure payment provider who does, thusly I have avoided going th

Re: Tomcat cluster with static membership

2014-12-17 Thread Théo Chamley
On 2014-12-09 19:01, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/9/2014 9:48 AM, Daniel Mikusa wrote: On Tue, Dec 9, 2014 at 9:16 AM, Théo Chamley wrote: On 2014-12-08 21:22, Ameer Mawia wrote: Hi Theo, Since you are using static membership and NOT dynamic(multi

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 10:38, Nan Ge wrote: > On Wed, Dec 17, 2014 at 4:07 PM, Mark Thomas wrote: >> >> On 17/12/2014 01:56, Nan Ge wrote: >> >>> And the directory structure looks like this: >>> F:\PROJECTS\MYAPP >>> ├─src >>> │ └─main >>> │ ├─java >>> │ └─webapp >>> │ └─WEB-INF >>> │

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Nan Ge
On Wed, Dec 17, 2014 at 4:07 PM, Mark Thomas wrote: > > On 17/12/2014 01:56, Nan Ge wrote: > > > And the directory structure looks like this: > > F:\PROJECTS\MYAPP > > ├─src > > │ └─main > > │ ├─java > > │ └─webapp > > │ └─WEB-INF > > │ └─lib > > └─target > > └

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 01:56, Nan Ge wrote: > And the directory structure looks like this: > F:\PROJECTS\MYAPP > ├─src > │ └─main > │ ├─java > │ └─webapp > │ └─WEB-INF > │ └─lib > └─target > └─myapp //this is my web application context root > ├

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 02:08, Nan Ge wrote: > On Wed, Dec 17, 2014 at 2:43 AM, Mark Thomas wrote: >> >> On 16/12/2014 18:00, Christopher Schultz wrote: >>> Nan, >>> >>> On 12/16/14 5:37 AM, Nan Ge wrote: I'm using Tomcat8. I'm not quite understand about the description of 'scanAllDirectories' att