Re: Problems with ImageIO custom service providers with Tomcat = 6.0.24

2010-03-30 Thread Simone Giannecchini
Ciao Mark, thanks for your answer. The short explanation is the one I gave It looks like that ImageIO additional service providers are not loaded anymore at runtime via the standard jar META-INF/services mechanism. Longer explanation is as follows. ImageIO allows to define additional

No WWW-Authenticate header sent when error-page 401 is configured

2010-03-30 Thread Nick Wiedenbrück
Hi, I'm trying to get digest authentication working on Tomcat 5.5.23. I got it working on Tomcat 6 and Jetty, but I've got a problem with Tomcat 5.5.23, because there no WWW-Authenticate header is sent. I figured out that it will work if I remove error-page 401 configuration from my web.xml.

Re: Problems with ImageIO custom service providers with Tomcat = 6.0.24

2010-03-30 Thread Mark Thomas
On 30/03/2010 08:03, Simone Giannecchini wrote: Ciao Mark, thanks for your answer. The short explanation is the one I gave It looks like that ImageIO additional service providers are not loaded anymore at runtime via the standard jar META-INF/services mechanism. Longer explanation is as

Re: Problems with ImageIO custom service providers with Tomcat = 6.0.24

2010-03-30 Thread Simone Giannecchini
On Tue, Mar 30, 2010 at 9:41 AM, Mark Thomas ma...@apache.org wrote: On 30/03/2010 08:03, Simone Giannecchini wrote: Ciao Mark, thanks for your answer. The short explanation is the one I gave It looks like that ImageIO additional service providers are not loaded  anymore at runtime via the

Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Ratnavel Sundaramurthi
Hi, How to install tomcat 6.0.X in IBM P series box running with RHEL 5. I see rpms available only for tomacat 5.x. Environment: Machine: IBM P series OS:RHEL 5.0 Java version: Java 1.6 Any help is appreciated. Thanks, Ratnavel.

Re: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Partha Goswami
1st need to define JAVA_HOME , and better u download tomcat from tomcat website. then confugure it Run it. On Tue, Mar 30, 2010 at 5:48 PM, Ratnavel Sundaramurthi ratnavel.sundaramur...@aspiresys.com wrote: Hi, How to install tomcat 6.0.X in IBM P series box running with RHEL 5. I see

Re: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread André Warnier
Ratnavel Sundaramurthi wrote: Hi, How to install tomcat 6.0.X in IBM P series box running with RHEL 5. I see rpms available only for tomacat 5.x. Environment: Machine: IBM P series OS:RHEL 5.0 Java version: Java 1.6 Any help is appreciated. Hi. 1) If you want a package

RE: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5 (And you should anyway first install a reasonable Java JVM 1.6 before Tomcat; usually people here do not consider the OpenJDK JVM as reasonable for Tomcat).

Tomcat login

2010-03-30 Thread Stéphanie Cettou
Hi, I use Tomcat 5.5. I have a JSP application. The login is implemented with database. Realm className=org.apache.catalina.realm.JDBCRealm . I need to increase the security. I want that the user have only 3 retry for the login, the user must change the password every months, I need

Proposal : Enhancing docs for RemoteIpValve and RemoteIpFilter

2010-03-30 Thread Cyrille Le Clerc
Dear all, I would be very happy to enhance the docs of the RemoteIpValve (1) and the RemoteIpFilter (2) if the project is interested. I was thinking about adding sample to explain * the difference between the internal proxies list and the trusted proxies list, * how to handle https

Re: Tomcat login

2010-03-30 Thread André Warnier
Stéphanie Cettou wrote: Hi, I use Tomcat 5.5. I have a JSP application. The login is implemented with database. Realm className=org.apache.catalina.realm.JDBCRealm . I need to increase the security. I want that the user have only 3 retry for the login, the user must change the

Re: Tomcat login

2010-03-30 Thread Stéphanie Cettou
Hi André, thank you very much for your fast answer. No, not all user have an active directory account (or yes but in 3 different emplacement...). And the web site must to be accessible everytime from anywhere... My idea is to use a new active directory only to manage user and password...the

Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Eric Laflamme
Hi, We have a lot of server using virtualization (xen source) and we have a lot of problem with tomcat. Tomcat process seems to stop responding after undetermined time and write in loop this in the catalina.out: Error occurred during initialization of VM Could not reserve enough space for

RE: Tomcat login

2010-03-30 Thread Caldarale, Charles R
From: Stéphanie Cettou [mailto:s.cet...@gmail.com] Subject: Re: Tomcat login There are an other solution? Best if you can upgrade to Tomcat 6 (usually very easy to do from 5.5), and then use the CombinedRealm in conjunction with the JNDIRealm and LockOutRealm:

RE: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Caldarale, Charles R
From: Eric Laflamme [mailto:elafla...@iweb.com] Subject: Virtualization (Xen, vmware) + Tomcat Error occurred during initialization of VM Could not reserve enough space for object heap That would indicate you're not allocating enough virtualized memory to the virtual server - that's your

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Peter Crowther
There are two uses of virtual machine here. I'll distinguish the Java virtual machine and the Xen virtual machine. On 30 March 2010 16:29, Eric Laflamme elafla...@iweb.com wrote: We have a lot of server using virtualization (xen source) and we have a lot of problem with tomcat. Tomcat process

RE: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Caldarale, Charles R
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: Virtualization (Xen, vmware) + Tomcat Error occurred during initialization of VM Could not reserve enough space for object heap OK, so that's the Java virtual machine

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Eric Laflamme
Hi Peter, Thank you for you answer.. Le 2010-03-30 à 11:37, Peter Crowther a écrit : There are two uses of virtual machine here. I'll distinguish the Java virtual machine and the Xen virtual machine. Yes, I'm talking more of Xen VM. On 30 March 2010 16:29, Eric Laflamme

Re: Proposal : Enhancing docs for RemoteIpValve and RemoteIpFilter

2010-03-30 Thread Filip Hanik - Dev Lists
simply open a bugzilla ticket and attach your patch there Filpi On 03/30/2010 09:02 AM, Cyrille Le Clerc wrote: Dear all, I would be very happy to enhance the docs of the RemoteIpValve (1) and the RemoteIpFilter (2) if the project is interested. I was thinking about adding sample

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Peter Crowther
On 30 March 2010 16:45, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: Virtualization (Xen, vmware) + Tomcat Error occurred during initialization of VM Could

Re: Tomcat login

2010-03-30 Thread Stéphanie Cettou
I will get the issue list, because I think that with Tomcat 6 I can't do all..(But I don't know Tomcat) - Get more roles at an user (my code is ready for a JDBCRealm login) * read/modify pages and object - Check type of password (more that 8 char, special char,...) - Ask new password every month

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread André Warnier
Eric Laflamme wrote: ... We tried to specifiy the memory for tomcat like: -Xmx1024M -Xms512M But nothing seems to help. Does anybody have any ideas for this behaviour? Keep -Xms and -Xmx the same. If you do that, Java will allocate all the heap as it starts. You will either get a failure

Re: Tomcat login

2010-03-30 Thread David kerber
On 3/30/2010 12:04 PM, Stéphanie Cettou wrote: I will get the issue list, because I think that with Tomcat 6 I can't do all..(But I don't know Tomcat) - Get more roles at an user (my code is ready for a JDBCRealm login) * read/modify pages and object - Check type of password (more that 8 char,

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Pid
On 30/03/2010 16:29, Eric Laflamme wrote: Hi, We have a lot of server using virtualization (xen source) and we have a lot of problem with tomcat. Tomcat process seems to stop responding after undetermined time and write in loop this in the catalina.out: Error occurred during initialization

Re: Tomcat login

2010-03-30 Thread Stéphanie Cettou
Hi, I found: http://jeftek.com/222/using-java-code-with-active-directory/ I think I will use this exemples to manage the users via java. Or I found Spring Security framework..but I don't understand if it doe's all of my issues or not... thank you very much for all answer! Stéphanie

RE: Connecting to a Database

2010-03-30 Thread Propes, Barry L
Oh ok, I see. You've added a valve to the manager app. I probably need to do that, and have not. Thanks. -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Monday, March 29, 2010 5:38 PM To: 'Tomcat Users List' Subject: RE: Connecting to a

RE: Connecting to a Database

2010-03-30 Thread Leo Donahue - PLANDEVX
I only added that valve because I did not want just anyone to be able to type http://mydomain.com/manager/html and get the Tomcat manager login challenge. That valve should not have any effect on your DataSourceRealm. You should probably post the data Chuck asked for. Where is the Realm for

Re: Tomcat login

2010-03-30 Thread André Warnier
Stéphanie, I don't want to interfere with the other people here who are trying to help you in the direction of a pure Tomcat solution. I am incompetent in that area, while they are, and their recommendations may in the end be better than mine. So let's say that there are alternative ways in

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Eric Laflamme
Hi, Let me first apologize for that, I'm pretty new with mailing list.. It won't happen again. -- Eric Laflamme [iWeb] IT Architecture Specialist Spécialiste de l'Architecture TI http://www.iWeb.com/ Le 2010-03-30 à 12:11, Pid a écrit : On 30/03/2010 16:29, Eric Laflamme wrote: Hi,

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Eric Laflamme
Hi Peter, Here is the information about the server: We have a Xen Host with CentOS release 5.4 (Final) In that host, we have a vm with CentOS release 5.4 (Final) We install a cPanel 11.25 The version of tomcat is 5.5.28 The tomcat we use is the one package with cPanel.

Re: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Harry Metske
Chuck, a bit off-topic, but since we might have to choose the next few months which JVM to use on Intel/Linux, I am interested in why you think the OpenJDK is pretty awful ? regards, Harry 2010/3/30 Caldarale, Charles R chuck.caldar...@unisys.com From: André Warnier [mailto:a...@ice-sa.com]

RE: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Caldarale, Charles R
From: Eric Laflamme [mailto:elafla...@iweb.com] Subject: Re: Virtualization (Xen, vmware) + Tomcat Here is the information about the server: Except the critical bit, which is how much virtualized memory have you provisioned the virtual server with? The evidence points to that being

RE: using tomcat maven plugin

2010-03-30 Thread fachhoch
Sorry for not answering in that thread. Here are the plugin details http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html n828cl wrote: From: fachhoch [mailto:fachh...@gmail.com] Subject: using tomcat maven plugin I am struggling hard to setup datasource in tomact, mine is

RE: tomcat maven plugin datasource

2010-03-30 Thread fachhoch
Here are the plugin details http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html n828cl wrote: From: fachhoch [mailto:fachh...@gmail.com] Subject: Re: tomcat maven plugin datasource I did as per the plugin instructions , what am i missing ? Telling us what plugin you're

RE: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Caldarale, Charles R
From: Harry Metske [mailto:harry.met...@gmail.com] Subject: Re: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5 Chuck, a bit off-topic, but since we might have to choose the next few months which JVM to use on Intel/Linux, I am interested in why you think the

RE: using tomcat maven plugin

2010-03-30 Thread Caldarale, Charles R
From: fachhoch [mailto:fachh...@gmail.com] Subject: RE: using tomcat maven plugin Sorry for not answering in that thread. Here are the plugin details http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html In a brief review of the doc for that plugin, I saw nothing to indicate that

RE: Connecting to a Database

2010-03-30 Thread Propes, Barry L
Right -- ok, that's good. And I will do so (post the data Chuck asked for). -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Tuesday, March 30, 2010 11:34 AM To: 'Tomcat Users List' Subject: RE: Connecting to a Database I only added that valve

Re: No WWW-Authenticate header sent when error-page 401 is configured

2010-03-30 Thread Konstantin Kolinko
2010/3/30 Nick Wiedenbrück mailinglists...@googlemail.com: I got it working on Tomcat 6 and Jetty, but I've got a problem with Tomcat 5.5.23, It will not work with 5.5.23, because it is some issue that was fixed in a later version. (Headers were cleared when rendering a custom page). Search

Re: [OT] SecurityManager and Java Policy Files

2010-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/29/2010 7:56 PM, Konstantin Kolinko wrote: 2010/3/25 Christopher Schultz ch...@christopherschultz.net: I will try to be brief in my answers below, so please excuse some apparent harshness. (...) In the Tomcat SecurityManager

Tomcat 7 and securityfilter [or A Love Letter to markt]

2010-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, One of the major architectural changes I've heard about coming in Tomcat 7 is the removal of the Valve interface in favor of using the standard javax.servlet.Filter interface. IIRC, the current implementation of container-managed authentication

AW: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Steffen Heil
Hi Can you post: - `uname -a` inside both your dom0 as well as your domU - the config file for your domU - `ps aux | grep java` inside your domU - `free` inside your domU - `xm list` inside your dom0 Maybe there will be hints to help you. I am running lots of tomcats in domUs (actually all

AW: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Steffen Heil
And maybe `xm info` in the dom0. -Ursprüngliche Nachricht- Von: Steffen Heil [mailto:li...@steffen-heil.de] Gesendet: Mittwoch, 31. März 2010 00:12 An: 'Tomcat Users List' Betreff: AW: Virtualization (Xen, vmware) + Tomcat Hi Can you post: - `uname -a` inside both your dom0 as well as

Re: Tomcat 7 and securityfilter [or A Love Letter to markt]

2010-03-30 Thread Mark Thomas
On 30/03/2010 23:05, Christopher Schultz wrote: All, One of the major architectural changes I've heard about coming in Tomcat 7 is the removal of the Valve interface in favor of using the standard javax.servlet.Filter interface. Getting Tomcat 7 to move from Valves towards Filters is one of

Submitting a patch

2010-03-30 Thread ntwrkd
Is the a HOWTO located somewhere on the best way to submit a patch? Thanks, Matthew - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Submitting a patch

2010-03-30 Thread Bob Hall
--- On Tue, 3/30/10 at 9:56 PM, ntwrkd ntw...@gmail.com wrote: Is the a HOWTO located somewhere on the best way to submit a patch? http://www.lmgtfy.com/?q=tomcat+patch+submit - Bob - To unsubscribe, e-mail: