RE: server.xml setting broken with Tomcat 9.0.81

2024-02-28 Thread Jonathan Ho
answer some of your questions: I tested with 9.0.86, 9.0.82, 9.0.81 and they all gave the me same error/failure. -Original Message- From: Konstantin Kolinko Sent: Wednesday, February 28, 2024 10:48 AM To: users@tomcat.apache.org Subject: Re: server.xml setting broken with Tomcat 9.0.81 ср

Re: server.xml setting broken with Tomcat 9.0.81

2024-02-28 Thread Konstantin Kolinko
ср, 28 февр. 2024 г. в 14:42, Jonathan Ho : > > I have following connectors in server.xml file and working for a long time > with various version of Tomcat 9 until I upgrade to 9.0.81 or newer versions. > I verified that 9.0.80 is working. > What I am getting from 9.0.81 on startup is I will get

Re: server.xml password encryption instead of plain text

2017-05-26 Thread tomcat
es the subject of the certificate in Windows user's personal certificates. Then you don't need to enter password at all. -Harri -Original Message- From: John Palmer [mailto:johnpalm...@gmail.com] Sent: 25. toukokuuta 2017 17:01 To: Tomcat Users List Subject: Re: server.xml password e

Re: server.xml password encryption instead of plain text

2017-05-26 Thread Dhaval Jaiswal
personal certificates. Then you don't need to enter password > at all. > > -Harri > > -Original Message- > From: John Palmer [mailto:johnpalm...@gmail.com] > Sent: 25. toukokuuta 2017 17:01 > To: Tomcat Users List > Subject: Re: server.xml password encrypt

RE: server.xml password encryption instead of plain text

2017-05-26 Thread Pesonen, Harri
o:johnpalm...@gmail.com] Sent: 25. toukokuuta 2017 17:01 To: Tomcat Users List Subject: Re: server.xml password encryption instead of plain text I haven't tested it yet, but if you're on a Windows platform you MAY be able to tell Tomcat to use the Windows Certificate Store (an thus NO

Re: server.xml password encryption instead of plain text

2017-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 5/25/17 10:00 AM, John Palmer wrote: > On Thu, May 25, 2017 at 7:46 AM, Vidyadhar > wrote: > >> On Thu, 25 May 2017 at 6:01 PM, Dhaval Jaiswal >> wrote: >> >>> How can we avoid defining plain text password in server.xml​ or >>> is there

Re: server.xml password encryption instead of plain text

2017-05-25 Thread John Palmer
I haven't tested it yet, but if you're on a Windows platform you MAY be able to tell Tomcat to use the Windows Certificate Store (an thus NOT have a password in server.xml) by adding something like this to the Java Options: -Djavax.net.ssl.trustStoreProvider=SunMSCAPI -Djavax.net.ssl.trustStoreType

Re: server.xml password encryption instead of plain text

2017-05-25 Thread Vidyadhar
On Thu, 25 May 2017 at 6:01 PM, Dhaval Jaiswal wrote: > How can we avoid defining plain text password in server.xml​ or is there a > way i can encrypt the password in server.xml. ​ > There are couple of examples on https://wiki.apache.org/tomcat/FAQ/Password -- Regards, Vidyadhar

Re: server.xml socketBuffer setting

2014-06-20 Thread Wang, John
It was caused by a bug in Windows Server 2008 R2. Take a look at this http://support.microsoft.com/kb/2577795 On 6/18/14, 15:18, "David kerber" wrote: >On 6/17/2014 11:34 AM, David kerber wrote: >> Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. >> >> What should I use

Re: server.xml socketBuffer setting

2014-06-18 Thread David kerber
On 6/17/2014 11:34 AM, David kerber wrote: Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. What should I use as a guideline for setting the socketBuffer setting in server.xml? Should it just be big enough to handle a single response with a little headroom? Or does it h

Re: server.xml shutdown port command string

2013-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 4/17/13 11:34 PM, Caldarale, Charles R wrote: >> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] >> Subject: RE: server.xml shutdown port command string > >> If I am the only person deploying

RE: server.xml shutdown port command string

2013-04-17 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: RE: server.xml shutdown port command string > If I am the only person deploying web apps (that I have developed), should I > still consider changing this command string value to something more compl

RE: server.xml shutdown port command string

2013-04-17 Thread Leo Donahue - RDSA IT
From: Caldarale, Charles R [chuck.caldar...@unisys.com] Subject: RE: server.xml shutdown port command string > From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: server.xml shutdown port command string > Is the "

RE: server.xml shutdown port command string

2013-04-17 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: server.xml shutdown port command string > Is the "command string" what is being called the password on the > security-howto page? Yes, they're the same thing; the text should be more consistent. Note that the shutd

Re: server.xml hostname from ServletContext

2012-10-01 Thread Mark Eggers
On 10/1/2012 4:11 PM, Konstantin Kolinko wrote: 2012/10/1 Mark Eggers : On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using virtual hosts and need

Re: server.xml hostname from ServletContext

2012-10-01 Thread Konstantin Kolinko
2012/10/1 Mark Eggers : > On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: >> >> Is the configured hostname available in ServletContext? I see it in >> debugger, but I don't see any method to access it from ServletContext >> class. I am using virtual hosts and need this value inside my >> ServletContext

Re: server.xml hostname from ServletContext

2012-10-01 Thread Mark Eggers
On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using virtual hosts and need this value inside my ServletContextListener ::contextInitialized() call ba

Re: server.xml for ldap connection

2012-07-24 Thread Mark Eggers
- Original Message - > From: Rahul R > To: Tomcat Users List > Cc: > Sent: Monday, July 23, 2012 10:28 PM > Subject: server.xml for ldap connection > > Hi All, > > > This is the snippet from my server.xml of my tomcat which takes care of > ldap connection. > >                 debug

Re: Server.xml and xsd

2010-05-27 Thread Yann STEPHAN
Okay thanks for all your replies. Diving into the archives :) Yann On Fri, May 28, 2010 at 1:01 AM, Mark Thomas wrote: > On 27/05/2010 19:11, Yann Stephan wrote: > > Does it exist a xsd file for server.xml ? > > No. Search the archives if you want to know why. > > Mark > > > The goal is to gen

Re: Server.xml and xsd

2010-05-27 Thread Mark Thomas
On 27/05/2010 19:11, Yann Stephan wrote: > Does it exist a xsd file for server.xml ? No. Search the archives if you want to know why. Mark > The goal is to generate a server.xml file from various rpms and add various > valves or listeners. > > > > Connector1.xml à RPM 1 > > Connector2.xmlà

Re: Server.xml and xsd

2010-05-27 Thread Pid *
On 27 May 2010, at 19:11, Yann Stephan wrote: > Does it exist a xsd file for server.xml ? No. If I remember correctly the reason is that the file may contain elements with custom attributes. You can define XML entities and use those to refer to external files. Then place "&connectors;" in th

Re: server.xml formatting guide

2009-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 12/14/2009 1:14 PM, Jeffrey Janner wrote: > [Along] those same lines, is it permissible to line-split items inside > quotes? > For example, the compressableMimeType list can get mighty long. Is it > acceptible to write it like; >

RE: server.xml formatting guide

2009-12-14 Thread Jeffrey Janner
Aong those same lines, is it permissible to line-split items inside quotes? For example, the compressableMimeType list can get mighty long. Is it acceptible to write it like; compressableMimeType="text/html, text/xml, text/plai

Re: server.xml formatting guide

2009-12-04 Thread André Warnier
gerhardus.geldenh...@gta-travel.com wrote: Hi Just wondering if there is any standard or recommendation for the formatting of server.xml config file for tomcat. You know, there are some XML editors which really are nice, and they allow you to choose the fonts and colors for each type of syntact

Re: Server.xml config

2009-07-17 Thread dori
If this Connector is supporting non-SSL requests, and a request is received for which a matching requires SSL transport, Catalina will automatically redirect the request to the port number specified here http://tomcat.apache.org/tomcat-6.0-doc/config/http.html http://tomcat.apache.org/tomcat-6.0

Re: Server.xml config

2009-07-17 Thread Mark Thomas
dori wrote: > Hello all! Just a quick question. The deult connector in the server.xml file > which comes with tomcat 6 > > connectionTimeout="2" >redirectPort="8443" /> > > What is the point of the redirect port=8443 attribute. I have another > connector for

Re: server.xml configuration

2008-10-14 Thread André Warnier
Caldarale, Charles R wrote: From: gjj391 [mailto:[EMAIL PROTECTED] [...] I am using mod_jk to bypass apache and have tomcat serve everything. Then why bother with httpd at all? Hey ! I patented that line. - To start a new

RE: server.xml configuration

2008-10-14 Thread Caldarale, Charles R
> From: gjj391 [mailto:[EMAIL PROTECTED] > Subject: server.xml configuration > > I seem to have a bit of a issue when installing railo in > tomcat. Don't suppose you'd care to tell us which version of Tomcat? I am using mod_jk to bypass apache and have tomcat serve everything. Then why bother wi

Re: Server.xml Host Configuration

2008-07-24 Thread David Smith
I can see a couple of issues: 1. It's not recommended to have elements in server.xml. It works, but not recommended. 2. The Host's appBase and context's docBase attributes cannot point to the same directory. It worked in older versions of tomcat, but that behavior was considered a bug and

RE: Server.xml Host Configuration

2008-07-22 Thread Caldarale, Charles R
> From: Radcliffe, William H. [mailto:[EMAIL PROTECTED] > Subject: RE: Server.xml Host Configuration > > If he wants to have an access log, he needs the > element. The element was inside Look at the original post more carefully: http://marc.info/?l=tomcat-user&m=

RE: Server.xml Host Configuration

2008-07-22 Thread Radcliffe, William H.
>From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] >Subject: RE: Server.xml Host Configuration > >Remove the element; it should never be placed in server.xml and you don't need one. If he wants to have an access log, he needs the element. The element was inside , was in

RE: Server.xml Host Configuration

2008-07-22 Thread Caldarale, Charles R
> From: Radcliffe, William H. [mailto:[EMAIL PROTECTED] > Subject: RE: Server.xml Host Configuration > > As an addendum. If you want to remove the > element but still create an access log, you can create > a context.xml file. Note that the OP's AccessLogValve was inside t

RE: Server.xml Host Configuration

2008-07-22 Thread Radcliffe, William H.
> From: Caldarale, Charles R > Subject: Server.xml Host Configuration > Remove the element; it should never be placed in server.xml and you don't need one. As an addendum. If you want to remove the element but still create an access log, you can create a context.xml file. Place it as follow

RE: Server.xml Host Configuration

2008-07-21 Thread Caldarale, Charles R
> From: Tomcat User6 [mailto:[EMAIL PROTECTED] > Subject: Server.xml Host Configuration > >appBase="/usr/local/apache-tomcat-6.0.16/webapps/roller" Change appBase to "/usr/local/apache-tomcat-6.0.16/webapps"; appBase must never point directly to a specific webapp. > forum.abc123.com Remov

Re: [server.xml]Is there a file that defines the server.xml of tomcat?

2007-11-19 Thread Mark Thomas
zhongliang zhang wrote: > As the thread title,is there a file(xsd or dtd)that defines the syntax of the > server.xml of tomcat? > if there is one,can anybody send it to me? No. Because it is impossible to know in advance what custom valve, realm, manager etc may be used and what the attributes ar

Re: Server.xml Settings

2007-08-31 Thread Mark Thomas
Stasa Jerinic wrote: > Is there a way to declare the port="80" but only for host=dato.app.at? No. Connectors apply to the whole server. The Remote Address Valve applied at the host level (see http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) may help you do what you want to do. Mark --

Re: Server.xml Sort on Start

2007-05-25 Thread Mark H. Wood
On Thu, May 24, 2007 at 07:37:25PM -0700, Kyle B wrote: [snip] > In regards to Mark's statement. I'm not opposed to writing some XML parsing > tools to play nice with Tomcat. However, I'm still left trying to figure out > how Tomcat sorts that HashMap it creates for all elements. I've > looked for

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
> From: Kyle B [mailto:[EMAIL PROTECTED] > Subject: Re: Server.xml Sort on Start > > The Host elements do not contain backgroundProcesserDelay. Not by default, but one can be added. I wouldn't recommend it, since there doesn't seem to be much advantage to do so unl

Re: Server.xml Sort on Start

2007-05-24 Thread Kyle B
Mark H. Wood,UL 0115A,+1 317 274 0749, > [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood > Subject: Re: Server.xml Sort on Start > > I don't *know*, mind you, but random ordering suggests that the > container starts a thread for each 'host' and the checks are takin

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
> From: Mark H. Wood,UL 0115A,+1 317 274 0749, > [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood > Subject: Re: Server.xml Sort on Start > > I don't *know*, mind you, but random ordering suggests that the > container starts a thread for each 'host' and the c

Re: Server.xml Sort on Start

2007-05-24 Thread Mark H. Wood
I don't *know*, mind you, but random ordering suggests that the container starts a thread for each 'host' and the checks are taking place in those threads. Thread switching is influenced by lots of things and would be fairly unpredictable, so a bunch of threads setting up host objects could comple

RE: Server.xml Sort on Start

2007-05-23 Thread Caldarale, Charles R
> From: Kyle B [mailto:[EMAIL PROTECTED] > Subject: Server.xml Sort on Start > > Can anyone explain the server.xml sorting algorithm Tomcat > uses on start? Tomcat handles most configuration items by inserting them into a HashMap and then iterating over the contents. The resulting order should

Re: Server.xml Sort on Start

2007-05-23 Thread Kyle B
Martin, Thank you for your response. However, the issue does not relate to certain locations being denied access. The problem is that during Tomcat restart, it processes all WEB-INF folders and comes back with output like: -- INFO: Create Host deployer for direct deployment ( non-jmx ) M

Re: Server.xml Sort on Start

2007-05-23 Thread Martin Gainty
Kyle- someone probably put in a deny in your engine config in server.xml e.g. //if you see a Valve declaration such as and replace deny with allow and you should be good for all the addresses which were previously denied HTH/ Martin This email message and any files transmitted with it contain co

Re: server.xml configuration..

2007-03-06 Thread Li
m Funk [mailto:[EMAIL PROTECTED] Sent: 06 March 2007 11:37 To: Tomcat Users List Subject: Re: server.xml configuration.. Use a servlet filter which is mapped to *.jsp - see Google for more details on Servlet Filters. (javax.servlet.Filter) -Tim prt wrote: > Hi to all, > Where i have to config

RE: server.xml configuration..

2007-03-06 Thread Raghupathy, Gurumoorthy
Funk [mailto:[EMAIL PROTECTED] Sent: 06 March 2007 11:37 To: Tomcat Users List Subject: Re: server.xml configuration.. Use a servlet filter which is mapped to *.jsp - see Google for more details on Servlet Filters. (javax.servlet.Filter) -Tim prt wrote: > Hi to all, > Where i have to conf

Re: server.xml configuration..

2007-03-06 Thread Tim Funk
Use a servlet filter which is mapped to *.jsp - see Google for more details on Servlet Filters. (javax.servlet.Filter) -Tim prt wrote: Hi to all, Where i have to config and what, to prevent direct access to my jsp files ?

Re: server.xml configuration..

2007-03-05 Thread Li
You can move your jsp files which you would like to secure to WEB-INF/, and use dispatched way to access ... then you can define few error files like 404, 503 or your own error.jspwhich can be handled by your java class wish this helps On 3/6/07, prt <[EMAIL PROTECTED]> wrote: Hi to all, Wher

RE: server.xml

2007-01-18 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: server.xml > > 1. works fine when called from the server machine with the link > localhost:8080\test\test.html The above indicates Tomcat is listening on port 8080. However, it's unlikely the above actually worked with back slashes

RE: server.xml

2007-01-18 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I have a test file put in my webapps folder that > > 1. works fine when called from the server machine with the link > localhost:8080\test\test.html > 2. but http://www2.myhostmz.org/test/test.html shows page not > found I suspect a routing

Re: server.xml

2007-01-18 Thread David Delbecq
En l'instant précis du 01/18/07 15:22, [EMAIL PROTECTED] s'exprimait en ces termes: > Hi, > > Just recently I have installed tomcat and I still cannot make my > pages available. > > > I have a test file put in my webapps folder that > > 1. works fine when called from the server machine with the li

Re: server.xml question on Tag (ignore the question)

2006-04-20 Thread Rumpa Giri
Ignore the question, found the answer reading docs. Our tomcat instances did not open the http port only uses the Coyote/JK2 AJP 1.3 Connector. Thanks, Rumpa Giri Rumpa Giri <[EMAIL PROTECTED]> wrote: Hello, While configuring tomcat can I do the following in the server.xml? In the current ser

Re: server.xml question on Tag

2006-04-20 Thread Mark Thomas
Rumpa Giri wrote: I believe the intention was to create only the AJP connector, so doing the following should suffice right? Yep, this is fine if you only want access through IIS. enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" />

Re: server.xml question on Tag

2006-04-20 Thread Rumpa Giri
I am trying to understand our existing configuration. On our production servers, we use IIS as webserver, and I think we disabled the http connector by putting the extra protocol attribute right in the http connector tag. Thats why so many attributes. I believe the intention was to create only

Re: server.xml question on Tag

2006-04-20 Thread Mark Thomas
Rumpa Giri wrote: Hello, While configuring tomcat can I do the following in the server.xml? Probably not. What are you trying to achieve? What you have done is to create a AJP connector with a bunch of attributes it doesn't understand and will therefore ignore. Mark

Re: server.xml JNDIRealm question

2005-10-31 Thread Wendy Smoak
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> I was trying to get away with just using the JNDIRealm connector but if you don't mind I will use portions of your code for a custom JAAS Realm. That's what it's there for. :) Do check the recent list archives if you want to use a custom user princ

RE: server.xml JNDIRealm question

2005-10-31 Thread Klotz Jr, Dennis
omcat Users List Subject: Re: server.xml JNDIRealm question From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > I've added : > -Djavax.security.auth.useSubjectCredsOnly=false > To my Catalina options environment variable in Catalina.bat. > Now I get the error: > java.l

Re: server.xml JNDIRealm question

2005-10-31 Thread Wendy Smoak
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> I've added : -Djavax.security.auth.useSubjectCredsOnly=false To my Catalina options environment variable in Catalina.bat. Now I get the error: java.lang.SecurityException: Unable to locate a login configuration To get a JAASRealm to work with Kerber

RE: server.xml JNDIRealm question

2005-10-31 Thread Klotz Jr, Dennis
Ok I've made progress, whether it is backwards or not, I don't know yet. I've added : -Djavax.security.auth.useSubjectCredsOnly=false To my Catalina options environment variable in Catalina.bat. Now I get the error: java.lang.SecurityException: Unable to locate a login configuration a