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
ср
ср, 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
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
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
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
-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
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
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
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
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
-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
> 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
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 "
> 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
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
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
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
- 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
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
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à
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
-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;
>
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
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
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
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
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
> 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
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
> 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=
>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
> 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
> 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
> 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
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
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
--
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
> 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
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
> 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
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
> 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
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
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
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
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
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 ?
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
> 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
> 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
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
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
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" />
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
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
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
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
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
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
59 matches
Mail list logo