Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Daniel Savard
2016-07-07 10:52 GMT-04:00 Sean Son : > So I should modify my connector to look like this? > > protocol="org.apache.coyote.http11.Http11NioProtocol" >maxThreads="150" keystoreFile="conf/tomcat.jks" > keystorePass="password"

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread tomcat
On 07.07.2016 15:05, Konstantin Kolinko wrote: 2016-07-07 12:57 GMT+03:00 Amit Pande : Hello all, In my server.xml, within in single Service element, I have two HTTP connectors defined listening on two different ports (12345 & 54321 for example). It is possible to

RE: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Mekkelsen Madden, Steve
Hi, sorry for delay and misinformation of the screenshot. The screenshot shows Fiddler seeing the correct xml using both NIO and NIO2 protocols. Fiddler does not see anything wrong with the requests themselves. However, when we enable more debugging on our server, the logs are showing this:

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread Konstantin Kolinko
2016-07-07 12:57 GMT+03:00 Amit Pande : > Hello all, > > > In my server.xml, within in single Service element, > > I have two HTTP connectors defined listening on two different ports (12345 > & 54321 for example). > > It is possible to apply the remote address/host filter

Issue with redirects

2016-07-07 Thread Robert Sulliman
Greetings, I'm having some difficulty with redirects on a new Tomcat setup I'm working on, hoping I can find some help here on what I'm missing. As you can see below, I have setup a redirect from port 8080 to 8443. When I load the hostname or localhost of the server on

Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Sean Son
So I should modify my connector to look like this? On Wed, Jul 6, 2016 at 6:50 AM, Ognjen Blagojevic < ognjen.d.blagoje...@gmail.com> wrote: > Sean, > > On 5.7.2016 17:14, Sean Son wrote: > >> Hello Daniel and all >> >> Here is the output.. the full output >> >> http://pastebin.com/AQckw6ig

Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Nasry Al-Haddad
One additional way to do it is to create a symbolic link in tomcat's $CATALINA_HOME/conf/engine/host/ that points to a fixed location where you deploy my-application.xml. But worth mentioning here is that you still have to have the passwords in plain text configuration files. In this method,

RE: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Mekkelsen Madden, Steve
Every request, making the environment virtually unstable and unusable since everything we do is using xml. Regards, Steve Mekkelsen Madden  |  Systems Engineer Fellow / DBA / Certified Scrum Master  | GCS |  Pegasystems Inc. Office: (617) 866.6023 | Mobile: (828) 729.9948 | Email:

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Felix Schumacher
Am 07.07.2016 um 18:32 schrieb Mekkelsen Madden, Steve: Every request, making the environment virtually unstable and unusable since everything we do is using xml. The second logs showed json :) In any case, can you reproduce the issue in a dev environment? It would be superb, if you could make

Tomcat 8.5 : Java SE 7, README.html mistake ?

2016-07-07 Thread Olivier Jaquemet
Tomcat 8.5 : Java SE 7, README.html mistake ? Hello all, As far as I know, Tomcat 8.5 requires Java SE 7, as indicated in many official sources (see below). However, one quite visible source is stating otherwise and may requires an update to prevent confusion, the README.html displayed on

Share data between applications

2016-07-07 Thread Nathan Quirynen
We have several applications deployed in Tomcat and want to add 1 application to handle authentication for all of the other applications. All applications are defined as different host elements in Tomcat configuration (server.xml) like following example: ... How I see it theoretically

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Felix Schumacher
Am 07.07.2016 um 15:04 schrieb Mekkelsen Madden, Steve: Hi, sorry for delay and misinformation of the screenshot. The screenshot shows Fiddler seeing the correct xml using both NIO and NIO2 protocols. Fiddler does not see anything wrong with the requests themselves. However, when we enable

Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Sean Son
Hello I tried adding the keyAlias to the connector and when i restarted Tomcat, and i browsed to the sever page, I got this error: Certificate Error There are issues with the site's certificate chain (net::ERR_CERT_COMMON_NAME_INVALID). Looks like adding the keyAlias to the connector did not

Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Sean Son
Copying Daniel and Ognjen on this On Thu, Jul 7, 2016 at 12:02 PM, Sean Son wrote: > Hello > > I tried adding the keyAlias to the connector and when i restarted Tomcat, > and i browsed to the sever page, I got this error: > > Certificate Error > There are

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread hugh holston
users-unsubscr...@tomcat.apache.org please unsubsribe From: "Mekkelsen Madden, Steve" To: Tomcat Users List Sent: Thursday, July 7, 2016 11:32 AM Subject: RE: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

Re: CONFIRM unsubscribe from users@tomcat.apache.org

2016-07-07 Thread Felix Schumacher
Am 07.07.2016 um 20:01 schrieb users-h...@tomcat.apache.org: Hi! This is the ezmlm program. I'm managing the users@tomcat.apache.org mailing list. I'm working for my owner, who can be reached at users-ow...@tomcat.apache.org. A request has been made to remove hughhols...@yahoo.com from

Re: Tomcat 8.5 : Java SE 7, README.html mistake ?

2016-07-07 Thread Mark Thomas
On 07/07/2016 17:44, Olivier Jaquemet wrote: > Tomcat 8.5 : Java SE 7, README.html mistake ? > > Hello all, > > As far as I know, Tomcat 8.5 requires Java SE 7, as indicated in many > official sources (see below). > > However, one quite visible source is stating otherwise and may requires > an

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Mark Thomas
On 07/07/2016 19:49, Mekkelsen Madden, Steve wrote: > This was reproduced in dev, staging, testqa on multiple servers. Yes, the > response shown is JSON which is puzzling since that only appears when using > NIO2. That's why there is so much confusion on this. At the end of the day, > I

Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Sean Son
On Thu, Jul 7, 2016 at 12:24 PM, Sean Son wrote: > Copying Daniel and Ognjen on this > > On Thu, Jul 7, 2016 at 12:02 PM, Sean Son < > linuxmailinglistsem...@gmail.com> wrote: > >> Hello >> >> I tried adding the keyAlias to the connector and when i restarted >>

RE: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Mekkelsen Madden, Steve
This was reproduced in dev, staging, testqa on multiple servers. Yes, the response shown is JSON which is puzzling since that only appears when using NIO2. That's why there is so much confusion on this. At the end of the day, I simply deployed Tomcat 8.5.3x64 Windows to each server and

Re: CONFIRM unsubscribe from users@tomcat.apache.org

2016-07-07 Thread Andy Smith
dont remove From: Felix Schumacher To: users@tomcat.apache.org Sent: Thursday, July 7, 2016 1:02 PM Subject: Re: CONFIRM unsubscribe from users@tomcat.apache.org Am 07.07.2016 um 20:01 schrieb users-h...@tomcat.apache.org: > Hi! This is the ezmlm

Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Christoph Nenning
> >> Hello. I am seeking some advice for the best ways to deploy Java web > >> applications to different Tomcat environments. > >> > >> In particular, my application requires that a JNDI resource be defined > >> for a database, where the database server address and credentials will > >> vary

Tomcat Embedded and Web Fragments

2016-07-07 Thread l.pe...@senat.fr
Hi. I am using Tomcat embedded, for integration tests. I do not find how to let it take in account web-fragments of included jars. Is there a specific config ? Does anyone have a working example ? I am using version 8.0.36. Thanks in advance, Ludovic | | AVANT D'IMPRIMER, PENSEZ A

Remote Address/Host Filter per connector ..

2016-07-07 Thread Amit Pande
Hello all, In my server.xml, within in single Service element, I have two HTTP connectors defined listening on two different ports (12345 & 54321 for example). It is possible to apply the remote address/host filter so that request to one of the ports (12345) are allowed only via localhost ?

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread tomcat
On 07.07.2016 11:57, Amit Pande wrote: Hello all, In my server.xml, within in single Service element, I have two HTTP connectors defined listening on two different ports (12345 & 54321 for example). It is possible to apply the remote address/host filter so that request to one of the ports

Re: Need help setting up SSL on Tomcat 8

2016-07-07 Thread Daniel Savard
2016-07-07 14:53 GMT-04:00 Sean Son : > > > On Thu, Jul 7, 2016 at 12:24 PM, Sean Son < > linuxmailinglistsem...@gmail.com> wrote: > >> Copying Daniel and Ognjen on this >> >> On Thu, Jul 7, 2016 at 12:02 PM, Sean Son < >> linuxmailinglistsem...@gmail.com> wrote:

Memory Leak Tomcat with Vaadin+Grails

2016-07-07 Thread Edwin Quijada
Hi! I having a weird problem with memory in my Tomcat , when I check the log I am getting this 06-Jul-2016 12:11:47.583 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [presales]

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread Amit Pande
Thanks for the reply André. Sorry I missed to mention the version but I am using Tomcat 8.0.30. Does the address component of the standard connector attribute take multiple entries ? E.g.address = ³127.0.0.1, localhost ³ ? I think my requirement is a different here. Tomcat listening on two

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread tomcat
On 07.07.2016 14:27, Amit Pande wrote: Thanks for the reply André. Sorry I missed to mention the version but I am using Tomcat 8.0.30. Does the address component of the standard connector attribute take multiple entries ? E.g.address = ³127.0.0.1, localhost ³ ? I think my requirement is a

Re: Share data between applications

2016-07-07 Thread tomcat
On 07.07.2016 17:48, Nathan Quirynen wrote: We have several applications deployed in Tomcat and want to add 1 application to handle authentication for all of the other applications. All applications are defined as different host elements in Tomcat configuration (server.xml) like following