Re: Configuration question

2014-04-17 Thread Terence M. Bandoian
On 4/17/2014 9:01 AM, Mark Murphy wrote: Here is the configuration, as you can see the default host is set and the IP is not aliased. in server.xml ... ... ... ... www.torque-wrench-recalibration.com www.myerstorquetracker.com ... in web.xml .

Re: Tomcat @ Windows & Cyrillic

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/15/14, 4:41 PM, André Warnier wrote: > Petr Nemecek wrote: >> Hi all, >> >> I need to use cyrillic in my webapp. >> >> What I did: * Added -Dfile.encoding=utf-8 to the Java options * >> Added URIEncoding="UTF-8" to the connector in ser

Re: Tomcat logging with Log4j

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 4/16/14, 10:15 AM, Scott Bailey wrote: > I was able to get one of our developers and it was simple for them > to add the logging for our app to the logback we are using a file > and add logging rotation. My issue is resolved. Thanks for th

Re: removeValve() in Container object

2014-04-17 Thread Mark Thomas
On 17/04/2014 19:15, Joaquin Obieta wrote: > The Tomcat 7 ContainerBase object still has references to removeValve, but > not the method. The Tomcat 6 documentation has the method explicitly defined: > > https://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/core/ContainerBase.html >

removeValve() in Container object

2014-04-17 Thread Joaquin Obieta
We are upgrading a solution to Tomcat 7 and have run into several challenges in dealing with the Tomcat context. We've overcome how to retrieve the context object, but are currently struggling with a replacement for the "removeValve()" method. In Tomcat 6, that method was inherited by StandardC

Re: [OT] Configuration question

2014-04-17 Thread Mark Murphy
No frameworks, no standard configurations, it is so bad that the only way to deploy changes is to manually find the file that needs replacing, and replace it. I can't even use a war file to deploy. If I was in charge, I would probably rewrite even if it was still Java, though I might be able to kee

Re: [OT] Configuration question

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/17/14, 11:01 AM, Mark Murphy wrote: > Yes, I inherited this mess part time when the original developer > left, and am trying to keep it alive, and fix problems as they > arise. There are a lot of issues, some cosmetic, and others not so >

Re: [OT] Configuration question

2014-04-17 Thread Mark Murphy
Yes, I inherited this mess part time when the original developer left, and am trying to keep it alive, and fix problems as they arise. There are a lot of issues, some cosmetic, and others not so much. The current staff is planning to rewrite using an environment that they are more familiar with, pr

Re: http status 400 question

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/16/14, 7:54 PM, David Wall wrote: > > On 4/16/2014 3:17 PM, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> >> The access log of course does not give the whole story. It's >> possible that the clien

RE: Best practice to programmatically get the disableURLRewriting context attribute value

2014-04-17 Thread Sauvel Laurent
Thanks for your answer. 1. Before testing the code below with different Tomcat configurations, I would like to know if there is a better way to do what I want. I'm not really satisfied with this code that is closely related to Tomcat classes. 2. The original problem is that I would like to: a)

Re: Apache Tomcat 7 load-balancing and clustering

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fidelis, On 4/17/14, 7:14 AM, MNYANYI, FIDELIS wrote: > Hi, > > I'm relatively new to Apache Tomcat, especially on > clustering/load-balancing. The question I have is: > > Can I implement load-balancing of Apache Tomcat 7 instances using > nativ

Re: [OT] Configuration question

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/17/14, 10:01 AM, Mark Murphy wrote: > Here is the configuration, as you can see the default host is set > and the IP is not aliased. > > in server.xml ... connectionTimeout="2" redirectPort="443" /> ... protocol="org.apache.coyote.

RE: Patching Tomcat for Heartbleed

2014-04-17 Thread Cormier, Greg
Chris/Konstatin, Thanks for your help. It was indeed the wrong binary, I had used the x32 instead of x64. I also forced APR as recommended. Kicked the server and we're all good! Many thanks, Greg -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent

Re: Configuration question

2014-04-17 Thread Mark Murphy
Here is the configuration, as you can see the default host is set and the IP is not aliased. in server.xml ... ... ... ... www.torque-wrench-recalibration.com www.myerstorquetracker.com ... in web.xml ... Entire App /*

RE: Configuration question

2014-04-17 Thread Jeffrey Janner
> -Original Message- > From: Mark Murphy [mailto:jmarkmur...@gmail.com] > Sent: Wednesday, April 16, 2014 12:42 PM > To: Tomcat Users List > Subject: Configuration question > > How do I prevent Tomcat 6 from responding to a request to an IP > address, that is I only want my Tomcat server t

Re: Apache Tomcat 7 load-balancing and clustering

2014-04-17 Thread Daniel Mikusa
On Apr 17, 2014, at 7:14 AM, MNYANYI, FIDELIS wrote: > Hi, > > I'm relatively new to Apache Tomcat, especially on clustering/load-balancing. > The question I have is: > > Can I implement load-balancing of Apache Tomcat 7 instances using native > solutions if any. I mean without putting e

Re: Apache Tomcat 7 load-balancing and clustering

2014-04-17 Thread Mark Thomas
On 17/04/2014 12:14, MNYANYI, FIDELIS wrote: > Hi, > > I'm relatively new to Apache Tomcat, especially on > clustering/load-balancing. The question I have is: > > Can I implement load-balancing of Apache Tomcat 7 instances using > native solutions if any. No. > I mean without putting either Apa

Apache Tomcat 7 load-balancing and clustering

2014-04-17 Thread MNYANYI, FIDELIS
Hi, I'm relatively new to Apache Tomcat, especially on clustering/load-balancing. The question I have is: Can I implement load-balancing of Apache Tomcat 7 instances using native solutions if any. I mean without putting either Apache HTTPD or other load-balancing hardware/software in fro

Re: Best practice to programmatically get the disableURLRewriting context attribute value

2014-04-17 Thread Mark Thomas
On 10/04/2014 14:01, lo lo wrote: > Tomcat version 6.0.x on Linux OS > > Hi all, > > I have an application deployed on several customers Tomcat servers. > > The Tomcat versions are different (6.0.16, 6.0.37, etc.) and asking all > customers to upgrade to the latest Tomcat version would be too tr