Re: recommend a host please.

2010-06-18 Thread Camy
http://www.eapps.com http://www.eapps.com is a good choice if you are searching for Tomcat 6. In what regards your DNS these have to be changed usually at the current registrar if you want to point them to your future hosting provider. yuccanel wrote: Please can someone also explain

Re: Help with Log Level in Tomcat 6 Logging

2010-06-18 Thread Jonathan Jackson
Konstantin, Thanks very much for your time. Your explanation makes things clearer. cheers Jon On 17 June 2010 14:37, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Jonathan Jackson jonathan.x.jack...@gmail.com: The problem I have is that in my daily rolling

Jailrootting

2010-06-18 Thread Luca Gervasi
Hallo, I'm using Java(TM) SE Runtime Environment 1.6.0_20-b02 Java HotSpot(TM) 64-Bit Server VM) Apache Tomcat/6.0.26 (vanilla) is there a way to chroot each webapp in its actual context? Using a code like this: Process p = Runtime.getRuntime().exec(cat /etc/passwd);

Re: DefaultServlet and default character encoding

2010-06-18 Thread Felix Schumacher
On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacher felix.schumac...@internetallee.de: For the moment I have written a filter, which sets a default encoding, as soon as Response.setContentType(String type) is called and

Re: Jailrootting

2010-06-18 Thread Mikolaj Rydzewski
Luca Gervasi wrote: i can read my /etc/passwd from a malicious jsp. Where can i find infos on limiting filesystem access / visibility ? Google for SecurityManager. Check conf/catalina.policy file within tomcat installation. If you are really concerned about security and you have to run

Re: DefaultServlet and default character encoding

2010-06-18 Thread Rainer Jung
On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacherfelix.schumac...@internetallee.de: For the moment I have written a filter, which sets a default encoding, as soon as

Re: disabling copy of context.xml to conf/Catalina/localhost

2010-06-18 Thread Pid
On 17/06/2010 17:35, Rajeev Verma wrote: Thanks for the response pid. I am using Tomcat 6.0.26 with java 1.6 on Windows XP. I have two applications (application AU and AC) under same webapps. AC does not have a context.xml though AU has. There is a dependency between AU and AC and AC need to

how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread dB .
This question is all over the internet, without a satisfactory answer. We have a Tomcat deployment in which we install many web apps. We call this thing a services host. It has a log4j configuration that forwards logs into a file. I'd like to change the file pattern to include the name of the

Re: DefaultServlet and default character encoding

2010-06-18 Thread Felix Schumacher
On Fri, 18 Jun 2010 12:50:31 +0200, Rainer Jung rainer.j...@kippdata.de wrote: On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacherfelix.schumac...@internetallee.de: For the moment I have

Re: DefaultServlet and default character encoding

2010-06-18 Thread Rainer Jung
On 18.06.2010 13:50, Felix Schumacher wrote: On Fri, 18 Jun 2010 12:50:31 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix

Re: how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread Erik Bertelsen
2010/6/18 dB. dbl...@dblock.org: This question is all over the internet, without a satisfactory answer. We have a Tomcat deployment in which we install many web apps. We call this thing a services host. It has a log4j configuration that forwards logs into a file. I'd like to change the file

RE: how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread dB .
That's exactly what I am trying to avoid :) I have a lot of web apps and developers that stand on their head for logging. My customers end up finding logs all over the place and enforcing it by convention is getting harder and harder. I'd like to configure logging for them rather than leave

Re: HTTP connector to be aware of proxied SSL requests

2010-06-18 Thread Mark Thomas
On 18/06/2010 00:36, Matthew Peterson wrote: Out of interest, what are some of the security risks around non-trusted proxies injecting the x-forwarded-* headers? Mainly an issue if you use the RemoteAddressValve or a similar mechanism to secure your webapp based on client IP address. If an

Re: recommend a host please.

2010-06-18 Thread Kerry Jacabson
Hi, We use www.webappcabaret.com which supports both Tomcat 5.x and Tomcat 6.x. In addition you are able to configure local DNS settings via a control panel (cPanel or Plesk). --- On Fri, 6/18/10, Camy personal20002...@yahoo.com wrote: From: Camy personal20002...@yahoo.com Subject: Re:

Proxying HTTP (REST) calls

2010-06-18 Thread Solomon Duskis
We have a whole bunch of distributed HTTP REST services, XML/JSon oriented APIs (all running on tomcat 5.5) with slightly different usage nuances. We now have to front those services. The plan is to do forward urls like /proxy/prefix/remoteUrl. to remote server/remote url. Beyond proxying, this

Re: how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread Gurkan Erdogdu
Hello dB; This is the step by step actions to configure your log4j logging in one place in Tomcat lib/log4j.properties Actions - 1- Remove logging.properties from conf/logging.properties 2- Remove tomcat-juli.jar from bin/tomcat-juli.jar 3- Get tomcat-juli.jar and

RE: how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread dB .
And can I do this for an application I don't know anything about? I mean all I really want is log4j.appender.R.File=${catalina.base}/logs/${APPLICATION.NAME}.log dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Gurkan Erdogdu

RE: Application stops responding, jk worker in error state

2010-06-18 Thread Neil Aggarwal
Rainer: If you are going to post part of your log file, please also do provide your mod_jk configuration and version information. I am using mod_jk 1.2.30 which I built from the source tarball. My application just locked up so I did a tail -f on the mod_jk log and made a request to it.

RE: Application stops responding, jk worker in error state

2010-06-18 Thread Neil Aggarwal
Rainer: I am attaching the properties for my jk configuation and a screen shot of the JK Status in case it helps. It looks like the mailing list software stripped the attachments from my email. Here is the list of jk properties: worker.server_name=tweb1.retcgroup.com worker.server_port=80

Re: Application stops responding, jk worker in error state

2010-06-18 Thread Rainer Jung
On 18.06.2010 22:44, Neil Aggarwal wrote: Rainer: If you are going to post part of your log file, please also do provide your mod_jk configuration and version information. I am using mod_jk 1.2.30 which I built from the source tarball. My application just locked up so I did a tail -f on the

RE: Application stops responding, jk worker in error state

2010-06-18 Thread Neil Aggarwal
Rainer: Hmmm, errno 11 is often EAGAIN. What platform are you using (OS, version)? I am using CentOS 5.5 freshly installed, not an upgrade. I tried that as a fix to this problem. I wiped the server clean and reinstalled everything from scratch. It was on CentOS 5.4 before and I had the same

Re: recommend a host please.

2010-06-18 Thread Andrew Bruno
I've been very happy with http://www.rosehosting.com/virtserv.html On 18/06/2010, at 6:08 PM, Camy personal20002...@yahoo.com wrote: http://www.eapps.com http://www.eapps.com is a good choice if you are searching for Tomcat 6. In what regards your DNS these have to be changed usually at