Re: Question About Tomcat 11.0.5

2025-04-08 Thread Christopher Schultz
Juan, On 4/6/25 9:36 AM, juan wrote: I read it But couldn't make it work After hours i got it : This configuration looks acceptable at first glance. When you use this configuration, you said you "couldn't make it work". Can you be more spec

Re: Question About Tomcat 11.0.5

2025-04-06 Thread juan
Hi I read it But couldn't make it work After hours i got it : Thanks On Sun, 6 Apr 2025 at 00:57, Chuck Caldarale wrote: > > > On 2025 Apr 5, at 12:49, juan wrote: > > > > Yes, I read it, but can't find which attributes from sslhostconfig > shou

Re: Question About Tomcat 11.0.5

2025-04-05 Thread Chuck Caldarale
> On 2025 Apr 5, at 12:49, juan wrote: > > Yes, I read it, but can't find which attributes from sslhostconfig should I > use > And on internet couldn't find any examples, all of them use clientAuth If you read the 9.0.x documentation for clientAuth, it says this: clientAuth This is an a

Re: Question About Tomcat 11.0.5

2025-04-05 Thread juan
Yes, I read it, but can't find which attributes from sslhostconfig should I use And on internet couldn't find any examples, all of them use clientAuth Thanks On Sat, 5 Apr 2025, 19:13 Chuck Caldarale, wrote: > > > On 2025 Apr 5, at 10:55, juan wrote: > > > > Hi > > > > I'm migrating from tomcat

Re: Question About Tomcat 11.0.5

2025-04-05 Thread Chuck Caldarale
> On 2025 Apr 5, at 10:55, juan wrote: > > Hi > > I'm migrating from tomcat 9 to tomcat 11.0.5 > > I need a client cert validation. Mi server.xml in tomcat 9 : > > > *keyAlias="karun-tomcat-server-cert" > > > keystoreFile="/home/german/Developement/eclipseAngular/tomcat-server.jks" > keys

Question About Tomcat 11.0.5

2025-04-05 Thread juan
Hi I'm migrating from tomcat 9 to tomcat 11.0.5 I need a client cert validation. Mi server.xml in tomcat 9 : Adding clientAuth="true" does the trick, and my client has to have a certificate provided by me. But in tomcat 11 clientAuth doesn't exist in connector and even reading documentation

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Christopher Schultz
Christoph, On 11/17/23 03:55, Christoph Kukulies wrote: Am 16.11.2023 um 20:12 schrieb Christopher Schultz What is the user-owner of the JVM process? root      125216  0.0  0.0      0     0 ?        I    09:42   0:00 [kworker/0:0-events] root      125221  0.0  0.0      0     0 ?        I   

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Christoph Kukulies
> Am 16.11.2023 um 20:19 schrieb l...@kreuser.name: > > Hi Chris*, > > >> Am 16.11.2023 um 20:12 schrieb Christopher Schultz >> : >> >> Christoph, >> >> On 11/15/23 10:32, Christoph Kukulies wrote: >>> I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. >>> I'm wonde

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Simon Matter
Hi, > I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. > > I'm wondering about the following in the logs: > > Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database > [UserDatabase] from updated source > [file:/var/lib/tomcat9/conf/tomcat-users.xml] > Nov 15 16

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread Christopher Schultz
Peter, On 11/16/23 14:19, l...@kreuser.name wrote: Hi Chris*, Am 16.11.2023 um 20:12 schrieb Christopher Schultz : Christoph, On 11/15/23 10:32, Christoph Kukulies wrote: I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. I'm wondering about the following in the lo

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread logo
Hi Chris*, > Am 16.11.2023 um 20:12 schrieb Christopher Schultz > : > > Christoph, > > On 11/15/23 10:32, Christoph Kukulies wrote: >> I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. >> I'm wondering about the following in the logs: >> Nov 15 16:19:23 mail tomcat9[83

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread Christopher Schultz
Christoph, On 11/15/23 10:32, Christoph Kukulies wrote: I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. I'm wondering about the following in the logs: Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database [UserDatabase] from updated source [file:/var/li

Wondering about tomcat-users.xml could not be found

2023-11-15 Thread Christoph Kukulies
I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. I'm wondering about the following in the logs: Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database [UserDatabase] from updated source [file:/var/lib/tomcat9/conf/tomcat-users.xml] Nov 15 16:19:23 mail tomcat

Re: question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
Thanks Christopher Il 08/09/2023 17:51, Christopher Schultz ha scritto: Ivano, On 9/8/23 11:17, Ivano Luberti wrote: Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive socket

Re: question about tomcat manager Server Status page

2023-09-08 Thread Christopher Schultz
Ivano, On 9/8/23 11:17, Ivano Luberti wrote: Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive sockets count: 1 But looking at the thread list under the line I can count 24

question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive sockets count: 1 But looking at the thread list under the line I can count 24 lines. So what is the number of thread current

Re: Question about Tomcat 8.5.77 and CVE-2022-0778

2022-03-21 Thread Mark Thomas
On 21/03/2022 16:26, Matthew Mellon wrote: Tomcat 8.5.77 was published on March 17. The Windows distribution contains tcnative-1.dll, version 1.2.31. Tcnative-1.dll appears to be statically linked to OpenSSL, and was built in 2021, prior to the fix for CVE-2022-0778 being published by OpenSSL.

Question about Tomcat 8.5.77 and CVE-2022-0778

2022-03-21 Thread Matthew Mellon
Tomcat 8.5.77 was published on March 17. The Windows distribution contains tcnative-1.dll, version 1.2.31. Tcnative-1.dll appears to be statically linked to OpenSSL, and was built in 2021, prior to the fix for CVE-2022-0778 being published by OpenSSL. The tcnative source tree was updated to "re

Re: a question about tomcat thread

2017-08-24 Thread Mark Thomas
On 24/08/17 21:39, Christopher Schultz wrote: > Mark, > On 8/23/17 4:26 PM, Mark Thomas wrote: >> On 23/08/17 21:17, Christopher Schultz wrote: >>> Max threads >= current thread count Current thread count >= >>> current thread busy Current thread count >= Keeped alive sockets >>> count > >> Tha

Re: a question about tomcat thread

2017-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/23/17 4:26 PM, Mark Thomas wrote: > On 23/08/17 21:17, Christopher Schultz wrote: >> To whom it may concern, >> >> On 8/22/17 10:28 PM, ophusky wrote: >>> Server version: Apache Tomcat/8.0.35 Server built: May 11 >>> 2016 21:57:08 UTC

Re: a question about tomcat thread

2017-08-23 Thread Mark Thomas
On 23/08/17 21:17, Christopher Schultz wrote: > To whom it may concern, > > On 8/22/17 10:28 PM, ophusky wrote: >> Server version: Apache Tomcat/8.0.35 Server built: May 11 2016 >> 21:57:08 UTC Server number: 8.0.35.0 OS Name:Linux OS >> Version: 3.2.35 Architecture: amd64 JVM Ver

Re: a question about tomcat thread

2017-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 8/22/17 10:28 PM, ophusky wrote: > Server version: Apache Tomcat/8.0.35 Server built: May 11 2016 > 21:57:08 UTC Server number: 8.0.35.0 OS Name:Linux OS > Version: 3.2.35 Architecture: amd64 JVM Version:

a question about tomcat thread

2017-08-22 Thread ophusky
Server version: Apache Tomcat/8.0.35 Server built: May 11 2016 21:57:08 UTC Server number: 8.0.35.0 OS Name:Linux OS Version: 3.2.35 Architecture: amd64 JVM Version:1.8.0_45-b14 JVM Vendor: Oracle Corporation _

Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 5/22/17 3:19 PM, André Warnier (tomcat) wrote: > On 22.05.2017 20:35, Cai, Charles [COMRES/RTC/RTC] wrote: >> Here attached is my server.xml host configure: >> _

RE: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-23 Thread Cai, Charles [COMRES/RTC/RTC]
Charles Cai | T +1 440 329 4888 -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Monday, May 22, 2017 3:19 PM To: users@tomcat.apache.org Subject: Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack On 22.05.2017 20:35, Cai

Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-22 Thread tomcat
On 22.05.2017 20:35, Cai, Charles [COMRES/RTC/RTC] wrote: Hi there, Server Specs: Server version: Apache Tomcat/7.0.54 Server built: May 19 2014 10:26:15 Server number: 7.0.54.0 OS Name:Windows Server 201

Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-22 Thread Cai, Charles [COMRES/RTC/RTC]
Hi there, Server Specs: Server version: Apache Tomcat/7.0.54 Server built: May 19 2014 10:26:15 Server number: 7.0.54.0 OS Name:Windows Server 2012 OS Version: 6.2 Architecture: amd64 JVM Version:

Re: questions about tomcat 7 executor with rest services

2015-10-13 Thread Brian Millett
Thanks > On Oct 12, 2015, at 5:01 PM, Mark Thomas wrote: > > On 12 October 2015 21:26:30 BST, Brian Millett wrote: >> I’m looking for some insight / info into using executor thread pool for >> a tomcat 7 server that handles many REST services. >> Wondering if a large maxThreads in an Executo

Re: questions about tomcat 7 executor with rest services

2015-10-12 Thread Mark Thomas
On 12 October 2015 21:26:30 BST, Brian Millett wrote: >I’m looking for some insight / info into using executor thread pool for >a tomcat 7 server that handles many REST services. >Wondering if a large maxThreads in an Executor would have better >through put than the same maxThreads for a normal

questions about tomcat 7 executor with rest services

2015-10-12 Thread Brian Millett
I’m looking for some insight / info into using executor thread pool for a tomcat 7 server that handles many REST services. Wondering if a large maxThreads in an Executor would have better through put than the same maxThreads for a normal connector? What scenario would encourage the use of an

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-11 Thread Rob Silver
Thank you for verifying that ! It helps a lot I know the TRACE and OPTIONS may be a different story - Trace at least can be disabled. I greatly appreciate your response! On Fri, Aug 8, 2014 at 7:50 PM, Rob Silver wrote: > Is it true that by default on a Apache Tomcat 7.025 server RESTFUL verbs

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/10/14, 4:44 AM, Mark Thomas wrote: > On 09/08/2014 13:31, Christopher Schultz wrote: >> Rob, >> >> On 8/8/14, 7:50 PM, Rob Silver wrote: >>> Is it true that by default on a Apache Tomcat 7.025 server >>> RESTFUL verbs are enabled as part

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-10 Thread Mark Thomas
On 09/08/2014 13:31, Christopher Schultz wrote: > Rob, > > On 8/8/14, 7:50 PM, Rob Silver wrote: >> Is it true that by default on a Apache Tomcat 7.025 server RESTFUL >> verbs are enabled as part of the HTTP protocol Tomcat uses? > > Tomcat does not filter HTTP verbs other than TRACE out of the b

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rob, On 8/8/14, 7:50 PM, Rob Silver wrote: > Is it true that by default on a Apache Tomcat 7.025 server RESTFUL > verbs are enabled as part of the HTTP protocol Tomcat uses? Tomcat does not filter HTTP verbs other than TRACE out of the box. If you

Question about Tomcat Rest Verbs initial settings allowed

2014-08-08 Thread Rob Silver
Is it true that by default on a Apache Tomcat 7.025 server RESTFUL verbs are enabled as part of the HTTP protocol Tomcat uses? Anotherwards if I hade a restful web application - perhaps a spring mvc one would it work out of the box as far as security constraints go? I have not yet seen any way to c

Re: About tomcat 8.0.0 dev documentation

2012-12-13 Thread Mark Thomas
Ram Laxman wrote: >Hi there, > >  I want to know how to access the tomcat dev 8.0.0 documentation  >  which having actual URL  >  http://ci.apache.org/projects/tomcat/tomcat8/docs/index.html >  but unable to access it. >  When I try to access it from Google cached copy,    >  the

RE: Some questions about Tomcat ISAPI Connector and its documentation

2012-03-11 Thread Konstantin Preißer
Hello Konstantin Kolinko and André Warnier, thank you both for your replies. > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Sunday, March 11, 2012 12:14 AM > To: Tomcat Users List > Subject: Re: Some questions about Tomcat ISAPI Co

Re: Some questions about Tomcat ISAPI Connector and its documentation

2012-03-10 Thread Konstantin Kolinko
2012/3/11 Konstantin Preißer : > Hi all, > > I have some questions about the documentation of the ISAPI Connector 1.2.32 > (and about the connector itself). > > > 1. In the Reference Guide for IIS > (http://tomcat.apache.org/connectors-doc/reference/iis.html), the registry > options are listed.

Re: Some questions about Tomcat ISAPI Connector and its documentation

2012-03-10 Thread André Warnier
Konstantin Preißer wrote: ... 2. I observed that when a request is made to IIS which is mapped to Tomcat, and the request path contains the string "WEB-INF", like http://www.example.com/test/asdf/blahblah/blah/WEB-INF/blahbla/asdf then the ISAPI connector logs a statement like this: [Sat Mar 1

Some questions about Tomcat ISAPI Connector and its documentation

2012-03-10 Thread Konstantin Preißer
Hi all, I have some questions about the documentation of the ISAPI Connector 1.2.32 (and about the connector itself). 1. In the Reference Guide for IIS (http://tomcat.apache.org/connectors-doc/reference/iis.html), the registry options are listed. For the option "enable_chunked_encoding" which

Re: Question about Tomcat Windows service configuration

2011-12-31 Thread Naveen Alex
Hi chuck, Its on the system d drive itself. On Saturday, December 31, 2011, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: >> From: Naveen Alex [mailto:naveen.a...@gmail.com] >> Subject: Re: Question about Tomcat Windows service configuration > >> I have t

RE: Question about Tomcat Windows service configuration

2011-12-31 Thread Caldarale, Charles R
> From: Naveen Alex [mailto:naveen.a...@gmail.com] > Subject: Re: Question about Tomcat Windows service configuration > I have the tomcat folder outside of the program files in windows. How far outside? On a local drive, or a network mounted one? - Chuck THIS COMMUNICATION MA

Re: Question about Tomcat Windows service configuration

2011-12-31 Thread Naveen Alex
Thanks for the reply. I tried that and it doesnt work. I have assigned an admin user to run the service and all the admin permissions to the webapps folder. I have the tomcat folder outside of the program files in windows. Not sure why it doesnt work. Any other suggestions? Thanks and regards,

Re: Question about Tomcat Windows service configuration

2011-12-31 Thread Konstantin Kolinko
2011/12/31 Naveen Alex : > Hi, > > I am stuck with an issue on Tomcat 6.x version. > > I have two folder under /webapps/ folder called "appstore" and > 'static-content". appstore has a UI which will write files to a folder in > "static-content" directory under webapps. > > Everything works fine whe

Question about Tomcat Windows service configuration

2011-12-31 Thread Naveen Alex
Hi, I am stuck with an issue on Tomcat 6.x version. I have two folder under /webapps/ folder called "appstore" and 'static-content". appstore has a UI which will write files to a folder in "static-content" directory under webapps. Everything works fine when i run tomcat as a standalone version b

About tomcat 6.0 and jcom lib

2011-06-16 Thread 国清 mack Lu
Hi all I have a problem about the tomcat6.0.32 server config when I use the jcom lib to do the print job. when I use the unpack version and click startup.bat to start the server in windows xp ,I can use the JCOM lib to do the print job. but when I start the tomcat (Install version) width wi

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
On 21/12/2009 19:08, Pascal Vachon wrote: > Thanks for your quick answer... but doesn't that require a different DNS > host name for my three development environments? Yes. > Like I mentionned in my question, I would like to use the same DNS host > name for my three development environments...

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
host name for my three development environments... but use a different folder for each one of them in my URL. I just don't know how to make the autoDeploy works inside nested folders. Pascal From: Mark Thomas To: Tomcat Users List Date: 12/21/2009 01:57 PM Subject: Re: Question about To

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
On 21/12/2009 18:50, Pascal Vachon wrote: > Is there a way to keep my logic in place... and still satisfy the > developers demand (be able to deploy applications themselves using a .WAR > file)? > Again, I'm new to Tomcat, so sorry if this looks like a weird question. You can use virtual hosting

Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
Hi, I'm new to Tomcat, but I managed to install Tomcat 6.020 which I use on a development server (production server will come soon). I have three development environments on this server, which are DEV, TEST and STAGE. Here's what my directory looks like: \Tomcat 6.0\webapps\WebAppMan\dev \Tomc

Re: doubts about tomcat form based authentication

2009-10-20 Thread Josh Gooding
page in web.xml file but the page was not at proper > location. Hence I was getting 404 file not found. Now I can access the role > error page for authorization error. Thanks a lot for all your insights. > > regards, > nirvan. > -- > View this message in context: >

Re: doubts about tomcat form based authentication

2009-10-20 Thread Nirvann
. regards, nirvan. -- View this message in context: http://www.nabble.com/doubts-about-tomcat-form-based-authentication-tp25970503p25984106.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
On Tue, Oct 20, 2009 at 10:55 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nirvann, > > On 10/20/2009 2:50 AM, Nirvann wrote: >> The first thing is what mechanism can be used to handle authorization >> errors. For authentication we have control of jsp pages

Re: doubts about tomcat form based authentication

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nirvann, On 10/20/2009 2:50 AM, Nirvann wrote: > The first thing is what mechanism can be used to handle authorization > errors. For authentication we have control of jsp pages (Login and Login > error pages). But there is nothing to let users know th

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
I would also google "making internet explorer display your error page" ...this is something I learned in the "apache cookbook"...IE will display it's own error message if your error page isn't at least 512 bytes...anyway you might want to research this a little Did you define a custom 403 page? Ar

Re: doubts about tomcat form based authentication

2009-10-20 Thread Markus Schönhaber
Nirvann: > I mean't authorization. Consider a scenario as follows. There are two users, > admin and user. Consider two pages adminPage.jsp and userPage.jsp. Admin has > rights to both the pages but user can access only userPage.jsp. Lets assume > that the user logs in as user (not admin) and acces

Re: doubts about tomcat form based authentication

2009-10-20 Thread Nirvann
d. As you have indicated it should fail through 403 access denied. But, I am getting "HTTP 404 - File not found" in IE and blank page in Mozilla. -- View this message in context: http://www.nabble.com/doubts-about-tomcat-form-based-authentication-tp25970503p2

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
Mozilla. In IE I get a 404 resource > not found. In mozilla it just displays a blank page. > > regards, > nirvan. > > -- > View this message in context: > http://www.nabble.com/doubts-about-tomcat-form-based-authentication-tp25970503p25970503.htm

Re: configuration about tomcat for work with mysql/J connector

2009-03-20 Thread Je suis la poubelle
Most Mysql+JSP tutorials found on the web aren't uptodate as they're still teaching people to use "org.gjt.mm.mysql.Driver" but it's better to use "com.mysql.jdbc.Driver", cf: http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html But otherwise it's ok

Re: configuration about tomcat for work with mysql/J connector

2009-03-19 Thread Rusty Wright
http://lmgtfy.com/?q=tomcat+mysql+tutorial E.g., http://www.roseindia.net/mysql/mysqldatabase.shtml Tomas Rodriguez wrote: Hi all I'm new in Tomcat and java, I installed already Tomcat 6.0 for windows 2000, I have to mysql server and the connector/j for work together mysql and Tomcat. I dec

configuration about tomcat for work with mysql/J connector

2009-03-19 Thread Tomas Rodriguez
Hi all I'm new in Tomcat and java, I installed already Tomcat 6.0 for windows 2000, I have to mysql server and the connector/j for work together mysql and Tomcat. I declare a variable for connector mysql/j in panel control/system/advance(enviroment variable) , this variable have the mysql conn

Re: about tomcat-users.xml

2008-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, nocturna_gr wrote: > i am not sure i have understood right about the tomcat-users.xml file... > Where are the basic roles defined? There are no basic roles defined for Tomcat in general. The tomcat-users.xml file allows you t

about tomcat-users.xml

2008-11-14 Thread nocturna_gr
terface. Why is that? What does the "role1" do? Thanks -- View this message in context: http://www.nabble.com/about-tomcat-users.xml-tp20504868p20504868.html Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: Question about Tomcat context

2008-10-24 Thread Caldarale, Charles R
> From: Peter Crowther [mailto:[EMAIL PROTECTED] > Subject: RE: Question about Tomcat context > > > From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > > JAVA_OPTS="-XX:MaxPermSize=512m -Xms24m -Xmx512m" For server environments, you usually want to set Xms to

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
> From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > But when i launch tomcat with this env vars : > JAVA_OPTS="-XX:MaxPermSize=512m -Xms24m -Xmx512m" Well, yes :-). That should give you enough perm space. > Tomcat looks like not really care about the memory i grant to JVM. > It's seems th

Re: Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
Hi, Thanks to you too for your answers. > Have you tried just deploying it N times, making sure all the jars are in > WEB-INF/lib? > Each webapp should get its own classloader, and hence will have its own copies > of Hibernate and your singleton. I *think* they'll have different contexts, > to

Re: Question about Tomcat context

2008-10-24 Thread Serge Fonville
gt; Jerome Lepage > AKEROZ > > > - Original Message - > From: "Serge Fonville" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Friday, October 24, 2008 11:37 AM > Subject: Re: Question about Tomcat context > > > First a few questi

Re: Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
rge Fonville" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, October 24, 2008 11:37 AM Subject: Re: Question about Tomcat context First a few questions; What does the app do Do the deployed applications differ What is the reason you want them separate Do they s

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
> From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > I have developped a web application on Tomcat (5.0.28). > My webapp use Hibernate 3 and i have a Singleton pattern too. > > I want have my webapp deployed N time in same Tomcat Server. > But i don't want to share context, hibernate and Sing

Re: Question about Tomcat context

2008-10-24 Thread Serge Fonville
First a few questions; What does the app do Do the deployed applications differ What is the reason you want them separate Do they share anything, reaml,db,files, Do you need to be able to update them easily (all in one go) How do you intend to deploy them, war, copy, remote Is it an option to u

Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
Hi @ll, I have developped a web application on Tomcat (5.0.28). My webapp use Hibernate 3 and i have a Singleton pattern too. I want have my webapp deployed N time in same Tomcat Server. But i don't want to share context, hibernate and Singleton from one webapp to other. (Like database access i

回复: about tomcat default error page

2008-10-20 Thread 李征
t 已发送: 2008/10/17(周五), 下午6:05:25 主题: Re: about tomcat default error page Hi 李征, I don't know the answer to your question, but here is a recommendation : To avoid delays in answering your question, it is always helpful to specify : - on which platform this happens (Windows, Unix, Linux,..) - what

Re: about tomcat default error page

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 李征, 李征 wrote: > i use apache with tomcat. > i don't want tomcat to generate its default error page when a error happens. > instead, i want to show my error page which i set in the apache conf file. > > i know that i can use to do this, but i don't

Re: about tomcat default error page

2008-10-17 Thread André Warnier
Hi 李征, I don't know the answer to your question, but here is a recommendation : To avoid delays in answering your question, it is always helpful to specify : - on which platform this happens (Windows, Unix, Linux,..) - what version of Apache - what version of Tomcat - what connector you use between

about tomcat default error page

2008-10-17 Thread 李征
i use apache with tomcat. i don't want tomcat to generate its default error page when a error happens. instead, i want to show my error page which i set in the apache conf file. i know that i can use to do this, but i don't want to do it twice -- both apache and tomcat. is there any configurati

Re: problem about tomcat session management

2008-05-17 Thread Bill Barker
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Zufeng, > > Zufeng Huang wrote: > | Recently, I am suffering a problem about tomcat session management. > | It is a si

Re: problem about tomcat session management

2008-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zufeng, Zufeng Huang wrote: | Recently, I am suffering a problem about tomcat session management. | It is a sign-in service, sometimes the user A logs in, system sets | user¡¯s information in session and then a piece of JSP codes to read | the user

problem about tomcat session management

2008-05-17 Thread Zufeng Huang
Hi all, Recently, I am suffering a problem about tomcat session management. It is a sign-in service, sometimes the user A logs in, system sets user¡¯s information in session and then a piece of JSP codes to read the user¡¯s name from session, but the user gets another user¡¯s name in

problem about tomcat session management

2008-05-17 Thread Zufeng Huang
Hi all, Recently, I am suffering a problem about tomcat session management. It is a sign-in service, sometimes the user A logs in, system sets user¡¯s information in session and then a piece of JSP codes to read the user¡¯s name from session, but the user gets another user¡¯s name in

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: Since the hasRole is being called, can you not do a super.hasRole against the stripped user name of the Principal. If so won't that suffice? Gabe, Yeah, I was thinking that. The hasRole though takes two parameters... a Principal and the role nam

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread eborisow
see if that works. Although, that won't help me in the future when I don't know the password. Thanks, Eric -- View this message in context: http://www.nabble.com/Question-about-Tomcat-IIS-and-NTLM-authentication-tp14997483p15054271.html Sent from t

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: I guess I misunderstood your objective. You are not interested in manipulating the user name. You just want to check if the stripped user name is in a specific role? Gabe, Yeah, I guess that sums it up better than my original post. I thought that may

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-23 Thread eborisow
aybe if I could just manipulate the principal name that I could just pass that along to hasRoles and everything would work similarly. If you have any other ideas on how I could do that, I would be grateful. Thanks, Eric -- View this message in context: http://www.nabble.com/Question-about-Tomc

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread Gabe Wong
eborisow wrote: mgainty wrote: NAMES: You cannot change to any names unknown to your (NTLM) authentication algorithm http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalin a/realm/RealmBase.html#authenticate(java.lang.String,%20java.lang.String) Martin Martin,

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread eborisow
Group dn: cn=manager,ou=groups,dc=mycompany,dc=com member: cn=username,ou=people,dc=mycompany,dc=com So, I want to go from my user autheticated as DOMAIN\username to finding out if that user is contained in my LDAP group. Does that sound possible? Thanks, Eric -- View this message in context: h

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread Martin Gainty
/tomcat-5.5-doc/catalina/docs/api/org/apache/catalin a/realm/RealmBase.html#authenticate(java.lang.String,%20java.lang.String) Martin - Original Message - From: "eborisow" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 22, 2008 8:43 PM Subject: Re: Question about Tom

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread eborisow
n("Checking for role name: " + roleName); // need to create a new Principal here, I think boolean userHasRole = super.hasRole(newPrincipal, roleName); System.out.println("User has role: " + userHasRole); return userHasRole; } Thanks, Eric

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: Could be how logging output is setup. The constructor may be created before output gets redirected elsewhere. Look in the other log files under the logs directory. Also is the realm configured in server.xml or context.xml? Gabe, Here's the thing. I

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread eborisow
's the thing. I also added logging (just System.out for right now) to the hasRole method and I saw the output from that method. The realm is defined in the server.xml. Thanks, Eric -- View this message in context: http://www.nabble.com/Question-about-Tomcat-IIS-and-NTLM-authentication-tp149974

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread Gabe Wong
eborisow wrote: Gabe Wong wrote: Check the syntax as it was just done on the fly. Here's the latest. I created a class that extends JNDIRealm and I can see some debug messages in my constructor, but I don't see my authenticate method getting invoked. I just wanted to see if I could

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-22 Thread eborisow
System.out.println("Principal Name: " + principal.getName()); System.out.println("Finished authenticate"); return principal; } Does anyone see what I'm doing wrong? Thanks, Eric -- View this message in context: http://www.nabble.com/Question-

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-21 Thread Gabe Wong
Mark Thomas wrote: eborisow wrote: If someone has been able to get this working and could provide some help, that would be great. Haven't tried it but you should be able to create a custom Realm by extending the existing JNDIRealm and manipulating the user name, probably by overriding the a

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-21 Thread eborisow
. -- View this message in context: http://www.nabble.com/Question-about-Tomcat-IIS-and-NTLM-authentication-tp14997483p15006094.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail:

Re: Question about Tomcat/IIS and NTLM authentication

2008-01-21 Thread Mark Thomas
eborisow wrote: If someone has been able to get this working and could provide some help, that would be great. Haven't tried it but you should be able to create a custom Realm by extending the existing JNDIRealm and manipulating the user name, probably by overriding the authenticate() methods

Question about Tomcat/IIS and NTLM authentication

2008-01-21 Thread eborisow
this message in context: http://www.nabble.com/Question-about-Tomcat-IIS-and-NTLM-authentication-tp14997483p14997483.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail:

any doubt about tomcat contexts... help me please

2008-01-15 Thread Anderson Borges Coutinho
Hi., a nice day for all,. i have four applications at my tomcat 5.5 server, those applications are 4 war files, and i need share one java object between contexts... can you help me ? thanks -- Anderson Borges Coutinho

Re: Question about tomcat bugzilla which is resolved but not fixed.

2007-12-14 Thread Bill Barker
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dan wrote: >> Hi, >> I notice that this issue has been marked fixed, but the comments on there >> indicate that the bug isnt actually fixed, and that the problem remains. >> Indeed, looking in the source of 5.5.25 it doe

Re: Question about tomcat bugzilla which is resolved but not fixed.

2007-12-14 Thread Mark Thomas
Dan wrote: > Hi, > I notice that this issue has been marked fixed, but the comments on there > indicate that the bug isnt actually fixed, and that the problem remains. > Indeed, looking in the source of 5.5.25 it does not seem to contain the code > in the patch in this issue. The actual patch ap

Question about tomcat bugzilla which is resolved but not fixed.

2007-12-14 Thread Dan
Hi, We've come across a problem in Tomcat 5.5.17 not completely dissimilar to the following issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=33374 I notice that this issue has been marked fixed, but the comments on there indicate that the bug isnt actually fixed, and that the problem re

RE: Advice about Tomcat on x86_64 architecture..

2007-10-18 Thread Swapnil.Kale
- Peter > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

  1   2   >