Re: Tomcat 7 Valve not logging correct response size

2011-12-04 Thread Konstantin Kolinko
2011/12/5 Antonios Kogias : > Good morning, > >  I'm using Tomcat 7.0.16 and a Valve in the server.xml file that uses the %B > option to log the "Bytes sent, excluding HTTP headers" > (http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html). > > directory="logs" >               prefix="localhos

Re: Name comp is not bound in this Context

2011-12-04 Thread Konstantin Kolinko
2011/12/5 Jerry Malcolm <2ndgenfi...@gmail.com>: > I'm currently migrating from Tomcat 5.5 to 7.0.  I have everything pretty > much running now.  But I have one webapp that has run fine for years on > 5.5, but will not run on 7.0.  I get the following error message: > javax.naming.NameNotFoundExcep

Tomcat 7 Valve not logging correct response size

2011-12-04 Thread Antonios Kogias
Good morning, I'm using Tomcat 7.0.16 and a Valve in the server.xml file that uses the %B option to log the "Bytes sent, excluding HTTP headers" (http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html). directory="logs" prefix="localhost_access_log." suffix=".txt"

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
From: André Warnier To: Tomcat Users List Sent: Monday, December 5, 2011 4:13:33 AM Subject: Re: MVC or Model2 with Tomcat Blaxton wrote: > > > > >  From: André Warnier > To: Tomcat Users List > Sent: Monday, December

RE: Do any of the Tomcat LDAP-type realms support "no password" authentication?

2011-12-04 Thread ohaya
oh...@cox.net wrote: > > "Caldarale wrote: > > > From: oh...@cox.net [mailto:oh...@cox.net] > > > Subject: Re: Do any of the Tomcat LDAP-type realms support "no password" > > > authentication? > > > > > In other words, even though my valve code can assert a user > > > into Tomcat,

Re: Character set issue

2011-12-04 Thread Konstantin Kolinko
2011/12/5 André Warnier : > Hi. > > I need help with a problem on a Tomcat system.  The system is of difficult > access, and I cannot access it directly right now (this is Sunday night in > Europe). > I know that the system runs Tomcat 6.something, under Oracle/Sun Java 1.6, > and that's all I can

Re: MVC or Model2 with Tomcat

2011-12-04 Thread André Warnier
Blaxton wrote: From: André Warnier To: Tomcat Users List Sent: Monday, December 5, 2011 2:00:09 AM Subject: Re: MVC or Model2 with Tomcat Blaxton wrote: From: Pid * To: Tomcat Users List Sent: Sunday, December 4,

RE: Disabling Apps in host root

2011-12-04 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Disabling Apps in host root > When I start tomcat What exact version? We're not mind-readers, and capabilities vary considerably depending on what level you're on. > it tries to start an app for every folder in the > host root d

Name comp is not bound in this Context

2011-12-04 Thread Jerry Malcolm
I'm currently migrating from Tomcat 5.5 to 7.0. I have everything pretty much running now. But I have one webapp that has run fine for years on 5.5, but will not run on 7.0. I get the following error message: javax.naming.NameNotFoundException: Name comp is not bound in this Context. It occurs

Disabling Apps in host root

2011-12-04 Thread Jerry Malcolm
When I start tomcat, it tries to start an app for every folder in the host root directory. Some folders are really apps (with WEB-INF), and some are folders that are not apps at all. It starts up the apps in folders with WEB-INF, but also shows other folders as apps in the manager. I would like

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
From: André Warnier To: Tomcat Users List Sent: Monday, December 5, 2011 2:00:09 AM Subject: Re: MVC or Model2 with Tomcat Blaxton wrote: > > > > >  From: Pid * > To: Tomcat Users List > Sent: Sunday, December 4, 2011

Re: MVC or Model2 with Tomcat

2011-12-04 Thread André Warnier
Blaxton wrote: From: Pid * To: Tomcat Users List Sent: Sunday, December 4, 2011 11:10:08 PM Subject: Re: MVC or Model2 with Tomcat On 4 Dec 2011, at 16:17, Blaxton wrote: From: André Warnier To: Tomcat Users List

Character set issue

2011-12-04 Thread André Warnier
Hi. I need help with a problem on a Tomcat system. The system is of difficult access, and I cannot access it directly right now (this is Sunday night in Europe). I know that the system runs Tomcat 6.something, under Oracle/Sun Java 1.6, and that's all I can say right now. The platform is RedHa

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
From: Pid * To: Tomcat Users List Sent: Sunday, December 4, 2011 11:10:08 PM Subject: Re: MVC or Model2 with Tomcat On 4 Dec 2011, at 16:17, Blaxton wrote: > > > > > > From: André Warnier > To: Tomcat Users List > Sent:

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Pid *
On 4 Dec 2011, at 16:17, Blaxton wrote: > > > > > > From: André Warnier > To: Tomcat Users List > Sent: Sunday, December 4, 2011 6:51:58 PM > Subject: Re: MVC or Model2 with Tomcat > > Blaxton wrote: >> I have created ROOT directory and placed index.jsp in ROOT

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
From: André Warnier To: Tomcat Users List Sent: Sunday, December 4, 2011 6:51:58 PM Subject: Re: MVC or Model2 with Tomcat Blaxton wrote: > I have created ROOT directory and placed index.jsp in ROOT directory > the same as your example: > /path/to/appbase/

Re: MVC or Model2 with Tomcat

2011-12-04 Thread André Warnier
Blaxton wrote: I have created ROOT directory and placed index.jsp in ROOT directory the same as your example: /path/to/appbase/ROOT/index.jsp-> myhost.com/index.jsp but that didn't work. I followed following instructions but those didn't work either. http://www.jguru.com/faq/view.jsp?EI

Re: Do any of the Tomcat LDAP-type realms support "no password" authentication?

2011-12-04 Thread André Warnier
oh...@cox.net wrote: "Caldarale wrote: From: oh...@cox.net [mailto:oh...@cox.net] Subject: Re: Do any of the Tomcat LDAP-type realms support "no password" authentication? In other words, even though my valve code can assert a user into Tomcat, and even if that same user already exists in t

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
I have created ROOT directory and placed index.jsp in ROOT directory the same as your example: /path/to/appbase/ROOT/index.jsp    -> myhost.com/index.jsp but that didn't work. I followed following instructions but those didn't work either. http://www.jguru.com/faq/view.jsp?EID=91006 http://wi

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Pid
On 04/12/2011 09:32, Blaxton wrote: > Apache 2.2.16 is connected to Tomcat 6.0.29 through mod_jk version 2 > and every thing is working fine, but to implement Model2 or MVC, I need > to serve JSP files from apache document root and don't know what is > the best soluction. Why do you need to do

MVC or Model2 with Tomcat

2011-12-04 Thread Blaxton
Apache 2.2.16  is connected to  Tomcat 6.0.29 through mod_jk version 2 and every thing is working fine, but to implement Model2 or MVC, I need to serve JSP files from apache document root and don't know what is the best soluction. Tried adding following to apache config file but that didn't help