Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Yes Rainer, just what you say. I know that using watchresource will restart all servlets. I just want to restart one servlet, not all. Does tomcat provide a solution to restart a specified servlet when a resource changes??? I don't want to get all my web application restarted. Another beha

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Yes Rainer, just what you say. I know that using watchresource will restart all servlets. I just want to restart one servlet, not all. Does tomcat provide a solution to restart a specified servlet when a resource changes??? I don't want to get all my web application restarted. > On 27.09.2010 15

Re: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Julio
Hehehe thanks anyway, i appreciate it. But yes, it was the comparison and the case of both words. Le 27/09/2010 à 21:57, Bob Hall a écrit : > Oops, just saw the [solved] msg... > > --- On Mon, 9/27/10 at 7:55 PM, Bob Hall wrote: > >> --- On Mon, 9/27/10 at 11:24 AM, Caldarale, Charles R >>

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Bob Hall
Oops, just saw the [solved] msg... --- On Mon, 9/27/10 at 7:55 PM, Bob Hall wrote: > --- On Mon, 9/27/10 at 11:24 AM, Caldarale, Charles R > > wrote: > > > > The security-role is right below the > > security-constraint > > > closing tag and above the login-config opening > tag. > > > > Sorry

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Bob Hall
Julio, --- On Mon, 9/27/10 at 11:24 AM, Caldarale, Charles R wrote: > > The security-role is right below the > security-constraint > > closing tag and above the login-config opening tag. > > Sorry, I missed it.  However, the > element normally comes /after/ > ; not sure if that's required by

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread Pid
On 27/09/2010 14:45, Julie Gautier wrote: > authentify... Like it. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Tomcat ldap authentication with 403 Forbidden error [solved]

2010-09-27 Thread Julio
It's solved. The problem is that the ldap group name is in uppercase while the security-role as well as the auth-constraint have the name in lowercase. Thanks. Le 27/09/2010 à 13:24, "Caldarale, Charles R" a écrit : >> From: Julio César Chaves Fernández [mailto:hent...@gmail.com] >> Subject:

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread André Warnier
Wesley Acheson wrote: Hi is that all thats in the log. It appears read timeout should be caused by an upstream IO Exception. That is obviously what the server is saying. It seems that the server is trying to read what the browser should be sending, but that the browser closes the connection be

Unit testing a CometProcessor Servlet

2010-09-27 Thread Nabble User
Does anyone have tips for unit testing a servlet that implements CometProcessor? I have a servlet similar in structure to the the Chat Servlet example here: http://tomcat.apache.org/tomcat-6.0-doc/aio.html So, examples for testing that servlet code would be beneficial. Thanks in advance.

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread Wesley Acheson
Hi is that all thats in the log. It appears read timeout should be caused by an upstream IO Exception. Wes On Mon, Sep 27, 2010 at 2:51 PM, Julie Gautier wrote: > Hello, > > I wrote a web application, that works great with a server under Tomcat > 6.0.13 and client with Windows XP OS, in which us

RE: session won't timeout

2010-09-27 Thread Caldarale, Charles R
> From: Jing Chen [mailto:jin...@yahoo.com] > Subject: session won't timeout > For some reason, some user's session just won't timeout and > showing active in the system for days. The user has already > closed the browser. > What could be possible reasons for sessions being active for > so lon

Re: session won't timeout

2010-09-27 Thread Rainer Jung
On 27.09.2010 20:16, Jing Chen wrote: Hi, I have a web app running on JBoss. I have made sure the following: 1. /jbossweb-tomcat55.sar/conf/web.xml to set the session timeout as 30 minutes: 30 2. I am using sessionCreated/sessionDestroyed and valueBound/valueUnbound to monitor th

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Caldarale, Charles R
> From: Julio César Chaves Fernández [mailto:hent...@gmail.com] > Subject: Re: Tomcat ldap authentication with 403 Forbidden error > The security-role is right below the security-constraint > closing tag and above the login-config opening tag. Sorry, I missed it. However, the element normally

session won't timeout

2010-09-27 Thread Jing Chen
Hi, I have a web app running on JBoss. I have made sure the following: 1. /jbossweb-tomcat55.sar/conf/web.xml to set the session timeout as 30 minutes: 30 2. I am using sessionCreated/sessionDestroyed and valueBound/valueUnbound to monitor the active sessions in the system 3. there

Re: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Julio César Chaves Fernández
Hi, i'm working with Tomcat 5.5.31 ... but i've also tested this configuration on 6.0.29 and it displays the same error. The security-role is right below the security-constraint closing tag and above the login-config opening tag. Thanks. On Mon, Sep 27, 2010 at 12:37 PM, Caldarale, Charles R < ch

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Caldarale, Charles R
> From: Julio César Chaves Fernández [mailto:hent...@gmail.com] > Subject: Tomcat ldap authentication with 403 Forbidden error > i'm working with Tomcat What *exact* version? > This is the security section in the app web.xml I don't see any element in the above, which is required. - Chuck

WAR Deployment before starting the cluster

2010-09-27 Thread Romain Petit
Hello, We have 2 tomcat servers in cluster with session sharing and notifyListenersOnReplication=true. The application deployed uses a HttpSessionBindingListener to be aware of the number of licenses used by a user on the 2 servers. This configuration works great when the 2 servers are

Re: Error in documentation, Tomcat 6

2010-09-27 Thread Mark Thomas
On 27/09/2010 17:58, André Warnier wrote: > At the end of this page : > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#log4j When looking at doc bugs I'd recommend working with the CI output which will reflect and changes since the last release. The link above will always be from the late

Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Julio César Chaves Fernández
Hi, i'm working with Tomcat and i've configured a Realm for user authentication against Oracle OID. Sniffing the communication between the client and the OID server everything seems to be fine, but when the user authenticates the application then displays the 403 forbidden error page. This is the

Error in documentation, Tomcat 6

2010-09-27 Thread André Warnier
At the end of this page : http://tomcat.apache.org/tomcat-6.0-doc/logging.html#log4j there is this paragraph : If you have multiple instances of Tomcat, each with a separate $CATALINA_HOME but a shared $CATALINA_BASE, then you can configure log4j on a per instance basis by replacing reference

Re: Errors not logging to catalina.out after redeploy

2010-09-27 Thread Roy McMorran
On 9/23/10 8:15 PM, Roy McMorran wrote: We are observing an odd behavior after upgrading to 6.0.29. Ordinarily if an exception occurs this will be logged to catalina.out. When Tomcat is first started (we use jsvc) this is the case as expected. However if the webapp is redeployed (without a

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Julie Gautier
Ok, I'll try. Thanks. Julie Gautier ACTES SUD 04 90 49 33 71 -Message d'origine- De : Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com] Envoyé : lundi 27 septembre 2010 16:20 À : Tomcat Users List Objet : Re: Tomcat 6.0 and Windows 7 On 27.9.2010 15:45, Julie Gautier wrote: >

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread Ognjen Blagojevic
On 27.9.2010 15:45, Julie Gautier wrote: I installed the web application on a server : I installed Apache Tomcat (as a service) on the server machine and put my web application under Apache Software Foundation\Tomcat 6.0\webapps\ROOT. The first client machine is mine (running XP), the second one

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread Rainer Jung
On 27.09.2010 15:42, jmorati...@dit.upm.es wrote: Many thanks Caldarale. I'm working with tomcat 6, but a I was looking so quickly for an answer that I didn't realise that it was the tomcat 3.2 user manual, but that explained me what happened. I think that will help me for this kind of tasks

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Julie Gautier
1. Yes, it's exactly the same file 2. What do you mean by network "section" ? 3. I'm not sure for the last questions (I'm not a server specialist, I'm more a java developer), I'll try to explain the environment : I installed the web application on a server : I installed Apache Tomcat (as a servic

RE: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Many thanks Caldarale. I'm working with tomcat 6, but a I was looking so quickly for an answer that I didn't realise that it was the tomcat 3.2 user manual, but that explained me what happened. I think that will help me for this kind of tasks > From: jmorati...@dit.upm.es [mailto:jmorati...@dit

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread André Warnier
Caldarale, Charles R wrote: From: Maximilian Stocker [mailto:m...@talentoyster.com] Subject: RE: Tomcat 6.0 and Windows 7 Sorry but no. This statement does not match the "localhost" part you also mentioned. I'll bite. Why do you say that? The "localhost" part of the log file name refers to

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread André Warnier
Maximilian Stocker wrote: Sorry but no. This statement does not match the "localhost" part you also mentioned. Maximilian, For a minute, you had me doubt there. So sorry but no, your mistake, not mine. The server will always create this "localhost.log" file. It is the server that is "local

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Caldarale, Charles R
> From: Maximilian Stocker [mailto:m...@talentoyster.com] > Subject: RE: Tomcat 6.0 and Windows 7 > Sorry but no. This statement does not match the > "localhost" part you also mentioned. I'll bite. Why do you say that? The "localhost" part of the log file name refers to the name attribute,

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Julie Gautier
Hi, No, I manage the server where the application is stored and it didn't change ! The server OS didn't change ! Only the client : if I try with a machine under XP it works (IE or FF), if I try under W7, it doesn't (IE nor FF) ! And the log file on the server is really called "localhost.2010-09-25.

RE: About ContainerBackgroundProcessor thread

2010-09-27 Thread Caldarale, Charles R
From: jmorati...@dit.upm.es [mailto:jmorati...@dit.upm.es] Subject: Re: About ContainerBackgroundProcessor thread Here is the explanation I found: http://tomcat.apache.org/tomcat-3.2-doc/uguide/tomcat_ug.html You can't seriously be using Tomcat 3.2, are you? That hasn't been supported for eon

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Maximilian Stocker
Sorry but no. This statement does not match the "localhost" part you also mentioned. So really what is changing is that both the client and the server are changing to Windows 7. Start by looking at your firewall settings. -Original Message- From: Julie Gautier [mailto:j.gaut...@actes-su

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Julie Gautier
Thanks for your quick reply ! It's correct : the only thing that changes is the client. For the browser question, the behavior is the same with IE 8 or FF. Thanks for your help. Julie Gautier -Message d'origine- De : André Warnier [mailto:a...@ice-sa.com] Envoyé : lundi 27 septembre 2010

Re: Tomcat 6.0 and Windows 7

2010-09-27 Thread André Warnier
Julie Gautier wrote: Hello, I wrote a web application, that works great with a server under Tomcat 6.0.13 and client with Windows XP OS, in which user has to upload (text) files that are read and exploited. I tried this application (on a client machine) under Windows 7 and it works with uploade

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
I answer me: I'm using reloadable="true" in my context. Is that the reason a found this behaviour??? Am I right??? If I use reloadable="false" init method of servlets will not be executed, am I right??? Here is the explanation I found: http://tomcat.apache.org/tomcat-3.2-doc/uguide/tomcat_ug.ht

Tomcat 6.0 and Windows 7

2010-09-27 Thread Julie Gautier
Hello, I wrote a web application, that works great with a server under Tomcat 6.0.13 and client with Windows XP OS, in which user has to upload (text) files that are read and exploited. I tried this application (on a client machine) under Windows 7 and it works with uploaded files around 5-6 kb b

About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Hi all, I have developed an application which instanciates a singleton class in the init method of a servlet. This servlet is defined in the web.xml with the 1 tag. This singleton class start a Thread which notifies the singleton class when a configuration file has changed. The thread checks if th

Re: BOE LDAP Configuration

2010-09-27 Thread André Warnier
Carter, Reginald wrote:

Re: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-09-27 Thread Mark Thomas
On 27/09/2010 03:39, sbrejeon wrote: > The spec says that "If A or B is an enum, coerce both A and B to enum, apply > operator". > Does't it simply mean that both A and B must be coercible to enums. instead > of if A is an enum then B must be an enum of type A, or vice versa. No. Both must be of t