Re: How to make a webapp restart

2010-06-28 Thread Rafa Orteu
Hi. I think that it could be something like http://www.mulesoft.com/tomcat-reload Regards, 2010/6/29 Dola Woolfe > > > > > - Original Message > From: "Caldarale, Charles R" > To: Tomcat Users List > Sent: Mon, June 28, 2010 5:54:47 PM > Subject: RE: How to make a webapp restart > >

Re: exception on hitting tomcat url

2010-06-28 Thread vinay basavanal
Ya sorry for that Tomcat version is 6.0.16 and am attaching the server.xml file on 8089 ajp connector is defined in xml but i dont know anything about ajp connector and HTTp is configured on 8081 when i hit http://localhost:8081 i get http 400 and when i hit http://localhost:8089 i get exception

"Application" vars -

2010-06-28 Thread Eric P
I've been loading up my web.xml with context and init params for my first app, but I'm thinking at some point it'd be nice to tweak these values on the fly while the app is running. What are some good practices to accomplish this? I'm leaning towards storing all application variables in a datab

RE: connector configuration values - need help to review

2010-06-28 Thread dB .
Just curious, what are you using this setup for besides authentication? Thx dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Rumpa Giri [mailto:rg...@healthfusion.com] Sent: Monday, June 28, 2010 5:24 PM To: users@tomcat.apache.org Subject: connector config

Re: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Pid
On 28/06/2010 23:19, Okubo, Yasushi (TSD) wrote: > On 28/06/2010 21:21, Okubo, Yasushi (TSD) wrote: >> Yes, I do. >> >> >name="webclust2" >>expireSessionsOnShutdown="false" > > Hmm. > > Can you unset the DeltaManager name attribute on all of your in

RE: questions on documentation for configuring AJP connector

2010-06-28 Thread Rumpa Giri
>> Needed also : the version of the isapi_redirector you are using (try using the most recent one). Not sure I changed the log_level to debug and info - the version did not print in the logs. We inherited it as a legacy setup - originally timestamped 2004 so must be really old version. We are upgr

Re: connector configuration values - need help to review

2010-06-28 Thread André Warnier
Rumpa Giri wrote: We are currently using - Tomcat - 5.5.25 on Windows XP 64bit and 32bit machines JDK 1.5 IIS 6 Trying to upgrade to latest connector, after changing according to the documentation I am able to browse our application behind IIS. Locally the application is behavin

Re: How to make a webapp restart

2010-06-28 Thread Dola Woolfe
- Original Message From: "Caldarale, Charles R" To: Tomcat Users List Sent: Mon, June 28, 2010 5:54:47 PM Subject: RE: How to make a webapp restart > From: Dola Woolfe [mailto:dolac...@yahoo.com] > Subject: How to make a webapp restart > > What setting makes a webapp restart when a

RE: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Okubo, Yasushi (TSD)
On 28/06/2010 21:21, Okubo, Yasushi (TSD) wrote: > Yes, I do. > > name="webclust2" >expireSessionsOnShutdown="false" Hmm. Can you unset the DeltaManager name attribute on all of your instances? p Hi Pid I moved expireSessionOnShutdown, but the

Re: questions on documentation for configuring AJP connector

2010-06-28 Thread André Warnier
Rumpa Giri wrote: We are currently using - Tomcat - 5.5.25 JDK 1.5 IIS 6 Windows XP 64bit and 32bit machines Needed also : the version of the isapi_redirector you are using (try using the most recent one). We are trying to upgrade to the latest connector. While going through the

RE: How to make a webapp restart

2010-06-28 Thread Caldarale, Charles R
> From: Dola Woolfe [mailto:dolac...@yahoo.com] > Subject: How to make a webapp restart > > What setting makes a webapp restart when a .jar changes under > tomcat/lib? Nothing. Since the jar is in tomcat/lib, it's handled by the common class loader, so you have to restart Tomcat to get the upda

How to make a webapp restart

2010-06-28 Thread Dola Woolfe
Hi, What setting makes a webapp restart when a .jar changes under tomcat/lib? Many thanks in advance, Dola - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomca

Re: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Pid
On 28/06/2010 21:21, Okubo, Yasushi (TSD) wrote: > Yes, I do. > > name="webclust2" >expireSessionsOnShutdown="false" Hmm. Can you unset the DeltaManager name attribute on all of your instances? p > -Original Message- > From: Pid [mailt

connector configuration values - need help to review

2010-06-28 Thread Rumpa Giri
We are currently using - Tomcat - 5.5.25 on Windows XP 64bit and 32bit machines JDK 1.5 IIS 6 Trying to upgrade to latest connector, after changing according to the documentation I am able to browse our application behind IIS. Locally the application is behaving fine with the follow

RE: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Okubo, Yasushi (TSD)
Yes, I do. mailto:p...@pidster.com] Sent: Monday, June 28, 2010 1:09 PM To: Tomcat Users List Subject: Re: question for sso session replication in tomcat 6.0.26 On 28/06/2010 19:58, Okubo, Yasushi (TSD) wrote: > > Hi Pid > > I got more detailed log and it looks like clustersinglesignon is > de

Re: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Pid
On 28/06/2010 19:58, Okubo, Yasushi (TSD) wrote: > > Hi Pid > > I got more detailed log and it looks like clustersinglesignon is > deregistering sso session on other nodes. > > 0. session destroyed C0641336BF4E6B4654927AA3337EAB9F.jvm1 by shutdown > [on node1] > > 1. clustersinglesignon is cal

questions on documentation for configuring AJP connector

2010-06-28 Thread Rumpa Giri
We are currently using - Tomcat - 5.5.25 JDK 1.5 IIS 6 Windows XP 64bit and 32bit machines We are trying to upgrade to the latest connector. While going through the worker properties variables to set we have few questions regarding the following - 1) connection_pool_size - >> U

Re: APR usage question regarding multi-core and mutliple virtual hosts...

2010-06-28 Thread Pid
On 28/06/2010 18:58, Tony Anecito wrote: > Hi All, > > I noticed using Firefox with a plugin yslow that it recommends using only 4 > virtual hosts instead of the 16 I have for serving images. Does it give an explanation for why 4 is better than 16? > I am using a 6 core system and want to make

RE: where to set value of ALLOW_EQUALS_IN_VALUE property

2010-06-28 Thread Caldarale, Charles R
> From: Julie Fellenz [mailto:julie.fell...@doit.wisc.edu] > Subject: Re: where to set value of ALLOW_EQUALS_IN_VALUE property > > Will this property (ALLOW_EQUALS_IN_VALUE) still provide security > required for confidential data? If you're sending confidential data in a cookie over an unencrypte

Re: where to set value of ALLOW_EQUALS_IN_VALUE property

2010-06-28 Thread Julie Fellenz
Dear Tomcat user: Will this property (ALLOW_EQUALS_IN_VALUE) still provide security required for confidential data? Best regards, Julie Fellenz - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comm

RE: question for sso session replication in tomcat 6.0.26

2010-06-28 Thread Okubo, Yasushi (TSD)
Hi Pid I got more detailed log and it looks like clustersinglesignon is deregistering sso session on other nodes. 0. session destroyed C0641336BF4E6B4654927AA3337EAB9F.jvm1 by shutdown [on node1] 1. clustersinglesignon is calling singlesignon to invalidate session [ssoId=7BA0AB7AE2BFDB08CE2EBE

APR usage question regarding multi-core and mutliple virtual hosts...

2010-06-28 Thread Tony Anecito
Hi All, I noticed using Firefox with a plugin yslow that it recommends using only 4 virtual hosts instead of the 16 I have for serving images. I am using a 6 core system and want to make sure I take advantage of it using Apache APR so I setup more than 4 virtual hosts. I am using multiple virt

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:51, Tomislav Petrović wrote: > Pid said on 28.6.2010 15:49: >> On 28/06/2010 14:46, Tomislav Petrović wrote: >>> Caldarale, Charles R said on 28.6.2010 15:32: > From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Webapp reloading issue and intermittent 404 errors

question : how to get debug log

2010-06-28 Thread Okubo, Yasushi (TSD)
Hi expert I would like get the further detail log defined in the source in such a way that a) containerLog.debug() or log.isDebugEnabled(). I tried to change log level defined in conf/logging.properties, but I am not getting what I want. For example, if I want to print debug message from s

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
Pid said on 28.6.2010 15:49: On 28/06/2010 14:46, Tomislav Petrović wrote: Caldarale, Charles R said on 28.6.2010 15:32: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Webapp reloading issue and intermittent 404 errors Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:46, Tomislav Petrović wrote: > Caldarale, Charles R said on 28.6.2010 15:32: >>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>> Subject: Webapp reloading issue and intermittent 404 errors >>> >>> Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update number >>> exact

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
Caldarale, Charles R said on 28.6.2010 15:32: >> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >> Subject: Webapp reloading issue and intermittent 404 errors >> >> Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update number >> exactly but can find out if necessary. > > Try moving to

Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
First of all apologies for problems with my first post Posting again completely new. I have two problems with a fairly complex webapp. I don't know if they are related or not. Webapp has been deployed on several dozens of customers without problem and tested in our lab on several configur

Re: Classloading

2010-06-28 Thread Pid
On 28/06/2010 14:14, Peter Crowther wrote: > On 28 June 2010 14:07, Ockleford Paul (NHS Connecting for Health) < > paul.ocklef...@nhs.net> wrote: > >> Pretty much and I don't know the reason why that is, I am not in charge of >> the linux servers I only started looking into it because I couldn't g

RE: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Webapp reloading issue and intermittent 404 errors > > Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update number > exactly but can find out if necessary. Try moving to 6.0.26, or 6.0.27 when it comes out in a few days. Th

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:25, Tomislav Petrović wrote: > I have two problems with a fairly complex webapp. I don't know if they > are related or not. > Webapp has been deployed on several dozens of customers without problem > and tested in our lab on several configurations without problem. > > However one

RE: Tomcat current thread count

2010-06-28 Thread Caldarale, Charles R
> From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com] > Subject: Re: Tomcat current thread count > > Here we go again. Same comments apply as before: You have numerous Timer-x threads going, which makes me suspicious that your webapp is starting up extra threads and not properly managi

Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
I have two problems with a fairly complex webapp. I don't know if they are related or not. Webapp has been deployed on several dozens of customers without problem and tested in our lab on several configurations without problem. However one customer has following two issues. Tomcat is: Apache Tomca

Re: Classloading

2010-06-28 Thread Peter Crowther
On 28 June 2010 14:07, Ockleford Paul (NHS Connecting for Health) < paul.ocklef...@nhs.net> wrote: > Pretty much and I don't know the reason why that is, I am not in charge of > the linux servers I only started looking into it because I couldn't get my > method to work but it worked on my local wi

RE: Classloading

2010-06-28 Thread Ockleford Paul (NHS Connecting for Health)
Thanks for the link, useful reading, and thanks for the explanation too. Paul -Original Message- From: Shay Rojansky [mailto:r...@roji.org] Sent: 28 June 2010 13:54 To: Tomcat Users List Subject: Re: Classloading Nope, it doesn't... Your webapp's classloader delegates to the common class

RE: Classloading

2010-06-28 Thread Ockleford Paul (NHS Connecting for Health)
Pretty much and I don't know the reason why that is, I am not in charge of the linux servers I only started looking into it because I couldn't get my method to work but it worked on my local windows environment. The entire web app is classes so its actually a class in WEB-INF\classes, that for s

RE: exception on hitting tomcat url

2010-06-28 Thread Caldarale, Charles R
> From: vinay basavanal [mailto:vinay.s...@gmail.com] > Subject: Re: exception on hitting tomcat url > > i i have this line can u explain me Highly unlikely that anyone other than your therapist can explain you. You apparently didn't bother to read Pid's suggested link, and you still avoid tel

Re: Classloading

2010-06-28 Thread Pid
On 28/06/2010 13:48, Ockleford Paul (NHS Connecting for Health) wrote: > Hi, > > Thanks very much for confirming that and for providing me with more > information. One thing I still find strange though is how SupplementaryEdit > (in the webapp) is able to call a class loaded by the "common" clas

Re: Classloading

2010-06-28 Thread Shay Rojansky
Nope, it doesn't... Your webapp's classloader delegates to the common classloader when it can't find something in the webapp - this is the point of having the common classloader! For example, it allows you to share some common infrastructure (e.g. DB driver) between several webapps. So classes in

RE: Classloading

2010-06-28 Thread Ockleford Paul (NHS Connecting for Health)
Hi, Thanks very much for confirming that and for providing me with more information. One thing I still find strange though is how SupplementaryEdit (in the webapp) is able to call a class loaded by the "common" classloader? Does it not work the other way round as well? Thanks, Paul -Orig

Re: exception on hitting tomcat url

2010-06-28 Thread vinay basavanal
sorry for wrong reply * * i i have this line can u explain me On Mon, Jun 28, 2010 at 5:59 PM, vinay basavanal wrote: > no i dont have ajp connector > > > On Mon, Jun 28, 2010 at 5:41 PM, Peter Crowther < > peter.crowt...@melandra.com> wrote: > >> Do you have an AJP connector configured on p

Re: Classloading

2010-06-28 Thread Shay Rojansky
Hi Paul. Yes, this is the normal behavior. As you found out, Tomcat uses a different classloader for the "common" classes than that used for for loading your webapp classes. Basically, when your application loads PracCalc, Tomcat looks first in the "common" directory and loads it from there. Then

Re: exception on hitting tomcat url

2010-06-28 Thread vinay basavanal
no i dont have ajp connector On Mon, Jun 28, 2010 at 5:41 PM, Peter Crowther wrote: > Do you have an AJP connector configured on port 8081, rather than a HTTP > connector? That would explain the symptom you're seeing. > > - Peter > > On 28 June 2010 11:24, vinay basavanal wrote: > > > HI all,

Re: Tomcat 6.0.26

2010-06-28 Thread Shay Rojansky
Hi John. Both John and I were right... Moving your directory outside ROOT was the first step. Now, in your web.xml, the element is wrong. It should contain a servlet class that should be found under your WEB-INF/classes directory. So if you want to reference the class that you have under comlink

Classloading

2010-06-28 Thread Ockleford Paul (NHS Connecting for Health)
Hi, I had a problem this morning that took me a while to sort out, and now I know what the issue is I was hoping somebody could explain why the problem was happening. I assume it is because one class had been loaded by a different classloader, and so wasn't available to the second class. I hav

Re: exception on hitting tomcat url

2010-06-28 Thread Peter Crowther
Do you have an AJP connector configured on port 8081, rather than a HTTP connector? That would explain the symptom you're seeing. - Peter On 28 June 2010 11:24, vinay basavanal wrote: > HI all, > >my tomcat starts with no problem but when i hot > http://localhost:8081/where 8081 is the por

upgrading jsf 1.1.5 to jsf 1.2.3

2010-06-28 Thread Raees Ahmad
Hi, I am upgrading my existing jsf 1.1.5 application to jsf 1.2.3 and getting following error : SEVERE: StandardWrapper.Throwable java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you proper

Re: exception on hitting tomcat url

2010-06-28 Thread Pid
On 28/06/2010 11:38, vinay basavanal wrote: > Hi all, > >please help me out Be patient, and please read this: http://catb.org/esr/faqs/smart-questions.html p > On Mon, Jun 28, 2010 at 3:54 PM, vinay basavanal wrote: > >> HI all, >> >> my tomcat starts with no problem but when i hot

processing exception

2010-06-28 Thread vinay basavanal
Hi all, tomcat starts normally there is web application in tomcat webapps folder but when i hit http://localhost:8081/ where 8081 is tomcat port i get SEVERE: BAD packet signature 18245 Jun 28, 2010 3:50:58 PM org.apache.jk.common.ChannelSocket processConnection SEVERE: Error, processing conn

Re: exception on hitting tomcat url

2010-06-28 Thread vinay basavanal
Hi all, please help me out On Mon, Jun 28, 2010 at 3:54 PM, vinay basavanal wrote: > HI all, > > my tomcat starts with no problem but when i hot > http://localhost:8081/where 8081 is the port that tomcat runs > i get following error > EVERE: BAD packet signature 18245 > Jun 28, 2010 3:50

exception on hitting tomcat url

2010-06-28 Thread vinay basavanal
HI all, my tomcat starts with no problem but when i hot http://localhost:8081/where 8081 is the port that tomcat runs i get following error EVERE: BAD packet signature 18245 Jun 28, 2010 3:50:58 PM org.apache.jk.common.ChannelSocket processConnection SEVERE: Error, processing connection java.l

Re: Tomcat current thread count

2010-06-28 Thread Ozgur Ozdemircili
Hi, Here we go again. Let`s see if it accepts. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Fri, Jun 25, 2010 at 8:04 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Özgür, > > On 6/25/201

Re: Tomcat 6.0.26

2010-06-28 Thread John Byrne
Hi Charles This is my current structure. C:\Tomcat 6.0\webapps\comlinks\WEB-INF\classes> My web pages are in comlinks and java class files in classes Are we getiing closer? John On 27 June 2010 18:17, Caldarale, Charles R wrote: >> From: John Byrne [mailto:jbmulti...@gmail.com] >> Subje

Re: Tomcat 6.0.26

2010-06-28 Thread John Byrne
Hi Shay copy of directory structure C:\Tomcat 6.0\webapps\comlinks\WEB-INF\classes> I have changed this it incorporate your suggestions. I attach a copy of web.xml many thanks for your help. Kind Regards John On 27 June 2010 15:54, Shay Rojansky wrote: > John, > > Can you please send your