RE: Tomcat 8 encoding issues: unable to change the default encoding iso-8859-1 to utf-8 in http header

2015-01-22 Thread Prabhu Mannu
Hi all, Found the issue it's the jsp page itself that was encoded in iso-8859-1 format. Sighs .. I became such a noob. Sorry all for the trouble. With regards Prabhu -Original Message- From: Prabhu Mannu [mailto:pra...@fernridge.com] Sent: Friday, 23 January, 2015 3:21 PM To: users@

Tomcat 8 encoding issues: unable to change the default encoding iso-8859-1 to utf-8 in http header

2015-01-22 Thread Prabhu Mannu
Hi all, Firs off Sorry if this question appears too noob. Currently in my application I get this warning. HTML1114: Codepage iso-8859-1 from (HTTP header) overrides conflicting codepage utf-8 from (META tag) File: index.action Application uses struts 2, spring, hibernate, jpa + tiles 3 framework

Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8

2015-01-22 Thread Terry Medearis
Chris,    Another question... So, I understand that the Tomat class has been introduced, but is there anything in the Catalina class that remains that can be utilized in place of the .process method? Thanks, Terry From: Terry Medearis To: Tomcat Users List Sent: Thursday, January 22,

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Leonid Rozenblyum
Hello Mark! I'll investigate deeper the SingleSignOn class to understand how to extend it to allow adding the session always. To summarize : my understanding of current behaviour is following: - if a web application uses authentication (has security-constraint?) -> then SingleSignOn will provid

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Mark Thomas
On 22/01/2015 16:25, Leonid Rozenblyum wrote: > So doesn't "As soon as the user logs out of one web application (for > example, by invalidating the corresponding session if form based login > is used), the user's sessions in all web applications will be > invalidated. " ( this phrase is from offici

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Leonid Rozenblyum
So doesn't "As soon as the user logs out of one web application (for example, by invalidating the corresponding session if form based login is used), the user's sessions in all web applications will be invalidated. " ( this phrase is from official doc) imply that all sessions are invalidated and th

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Mark Thomas
On 22/01/2015 16:12, Leonid Rozenblyum wrote: > Probably the attachment will be cut out by the mailing server. > So I send the text of the test.jsp here: > > Hello > > User Principal: <%= request.getUserPrincipal() %> > > <% > if (request.getUserPrincipal() != null ) { > %> > User is authentica

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Leonid Rozenblyum
Probably the attachment will be cut out by the mailing server. So I send the text of the test.jsp here: Hello User Principal: <%= request.getUserPrincipal() %> <% if (request.getUserPrincipal() != null ) { %> User is authenticated, allow to set session attribute <% request.getSession().setAttri

Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8

2015-01-22 Thread Terry Medearis
Chris,    Embedded?  Yes, I guess that it is.  I'm sorry, I've worked with Tomcat in the past, but not much with this application, and I do not understand much about the architecture of this aspect of the application that I have inherited.  I will check the Tomcat class and look for the unit tes

Re: [ Tomcat8 ] [ SingleSignOn ] > 2 Webapplications

2015-01-22 Thread Leonid Rozenblyum
I think I could reproduce my problem also on experimenting with your examples! I went exactly by your steps but my JSP is an extended version of yours ( I add it to attachment ) In the ROOT/test.jsp I added code to set a session attribute if the user principal is not null. I expect that after log

Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8

2015-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Terry, On 1/21/15 5:33 PM, Terry Medearis wrote: > Greetings,I have inherited code that calls: > org.apache.catalina.startup.Catalina.process(args). So... embedded? > I now need to upgrade this code to Tomcat 8. Currently, we are > using Tomcat 6

Re: SSL issue in tomcat

2015-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ason, On 1/22/15 1:26 AM, Jason Y wrote: > What I changed in server.xml is adding > sslEnabledProtocols="TLSv1.2,TLSv1.1,TLSv1". If you want to be able to handle SSL handshakes (and not just TLS ones like some older clients might require), you'll

Re: Mod_jk Configuration

2015-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 1/21/15 6:41 PM, Chris Arnold wrote: >> Chris, > >> On 1/21/15 5:56 PM, Chris wrote: You must have changed something >> since your original >configuration. Do you have "JkMount ajp13" >> somewhere? You need to use >the worker name and not

Re: Android 5.0 SSL handshake failure

2015-01-22 Thread Matthew Mah
On 01/22/2015 04:19 AM, Mark Thomas wrote: On 22/01/2015 00:12, Matthew Mah wrote: On 01/21/2015 03:24 PM, Christopher Schultz wrote: Have you tried a plain-old HTTPS connection? No Websocket? I just tried HTTPS using HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(

Re: Tomcat 8.0.17 output buffer issues

2015-01-22 Thread Mark Thomas
On 21/01/2015 22:40, Shaun Morton wrote: > We will be creating a .jsp and putting it in a .war for you. Should be > tomorrow. The issue is confirmed. We are working on the fix and a new 8.0.x release now. Mark > > Shaun Morton > Legal Files Software > 217-726-6000 Ext. 341 > sh...@legalfiles

Re: Android 5.0 SSL handshake failure

2015-01-22 Thread Mark Thomas
On 22/01/2015 00:12, Matthew Mah wrote: > On 01/21/2015 03:24 PM, Christopher Schultz wrote: >> Have you tried a plain-old HTTPS connection? No Websocket? > I just tried HTTPS using > > HttpsURLConnection urlConnection = (HttpsURLConnection) > url.openConnection(); > try { > try { > In