Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Etienne Lacombe
Hello, Setup Linux Tomcat 5.5.20 Java 1.6 I would like some help in locating the cause of a problem on a Tomcat 5.5.20 server. The server runs fine for some days and then suddenly stops responding to requests - the client's browser waits for a respond and times out. On the server, the

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
My full element then: autoDeploy="true"> debug="0" /> www.myvirtualhost.com subdomain.myvirtualhost.com className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" managerClassName="org.apache.catalina.cluster.session.DeltaManager"

Re: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Franck Borel
Hi Etienne, Etienne Lacombe schrieb: Hello, Setup Linux Tomcat 5.5.20 Java 1.6 Two ideas: (1) I am not shure if Tomcat 5.5.20 is compatible with Java 1.6. (2) Turn on the AccessLogValve in your server.xml config file, so you can see if the client requests attain your Tomcat. If no

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > My full element then: yeah... remove the context defs from server.xml and put them in META-INF/context.xml, which is a dir/file inside your webapp. this method of defining contexts is not encouraged, because you have to restart the server to reload the config, amongst

HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Hello! I'm getting the following error: "HTTP/1.1 400 no host matches server name myserver" Why this happens? workers.properties # -- # Load Balancer worker PFH # -- worker.pfhbalancer.type= lb worker.pfhbalancer.balanced_workers= upg4out,upg7out # -

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread David Delbecq
In your server.xml, you probably have configured a host (probably www.server.domain) but didn't configure the host (server). If you don't use host aliasing (that is different webapsp for different hostname), just configure a default host. En l'instant précis du 26/09/07 12:14, Andrew Hole s'expri

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
This is output from mod_jk debug: [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] jk_uri_worker_map.c (545): Found an exact match pfhbalancer -> /outpat/gateway [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] mod_jk.c (1832): Into handler jakarta-servlet worker=pfhbalancer r->proxyreq=0 [Wed Sep 26

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Host name on server.xml: wrote: > This is output from mod_jk debug: > > [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] jk_uri_worker_map.c > (545): Found an exact match pfhbalancer -> /outpat/gateway > [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] mod_jk.c (1832): Into > handler jakarta-servlet

Java 1.6

2007-09-26 Thread Marco
Hello, I read in previous post today that someone wasn't sure whether Java 1.6 is compatible with tomcat 5.5. This is new to me. Does anyone know more about this (more specifically, what versions of tomcat DO work with SUN jvm 1.6)? Regards, Marco.

Re: Java 1.6

2007-09-26 Thread David Smith
I think that was pure speculation. I use JDK 1.6 w/ Tomcat 5.5 in production and have had no issue. --David Marco wrote: Hello, I read in previous post today that someone wasn't sure whether Java 1.6 is compatible with tomcat 5.5. This is new to me. Does anyone know more about this (more

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Do you have some suggestion to solve this problem? On 9/26/07, Andrew Hole <[EMAIL PROTECTED]> wrote: > Host name on server.xml: > > > On 9/26/07, Andrew Hole <[EMAIL PROTECTED]> wrote: > > This is output from mod_jk debug: > > > > [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] jk_uri_worker_map

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-26 Thread Daniel M Garland
Christopher Schultz wrote: Is Eclipse re-setting the serialVersionUID for each compile, or do you have one explicitly set in your code? (Meaning, does the serialVersionUID ever change?) Well in Eclipse I said 'add generated ID', but this declares a final static long that hasn't changed becaus

Re: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread David Smith
Regarding the ideas: 1. tomcat 5.5 and java 1.6 should be fine together. 2. If all threads are busy, the AccessLogValve may not show anything. Something _seems_ to be causing your jdk to turn into a zombie. Sending a kill signal to the tomcat process so you get a thread dump is probably best

Re: AJP Flush Packet causing text/plain output

2007-09-26 Thread Rémy Maucherat
On 9/24/07, Larry Reisler <[EMAIL PROTECTED]> wrote: > We recently switched our development JBOSS instance from 4.05GA to 4.21GA Which AJP connector is used in JBoss exactly ? Normally, the two connectors in org.apache.coyote.ajp cannot be doing what you see. Rémy --

Setting ClientAuth parameter to true

2007-09-26 Thread Subhash.NarayananDroupathy
Hi, I am unable to set client authentication for SSL in tomcat 5.5.2. I have generated the certificate for the client and imported the same into the server's keystore so that the server can verify the client's certificate. The following is the modification I make on server.xml. on

Re: Java 1.6

2007-09-26 Thread Pid
David Smith wrote: > I think that was pure speculation. I use JDK 1.6 w/ Tomcat 5.5 in > production and have had no issue. Likewise, and they go very nicely indeed. p > --David > > Marco wrote: > >> Hello, >> >> >> >> I read in previous post today that someone wasn't sure whether Java >> 1.6

RE: Setting ClientAuth parameter to true

2007-09-26 Thread Clinton J. Totten
I am currently doing the samething right now and am able to access porst 8443. What is the error that you are getting? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 8:31 AM To: users@tomcat.apache.org Subject: Setting ClientAuth

RE: Setting ClientAuth parameter to true

2007-09-26 Thread Clinton J. Totten
>From inspection of your connector properties it looks like your missing the keystoreType attribute and the truststoreType attribute. If you check the documentation via this link (http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html) it will tell you what you can have as a value in this field.

Filter GET and POST

2007-09-26 Thread Franck Borel
Hi, i have a problem with an application that only accept GET requests. Now, I would like to know, if there is any possibility to write a filter, who is able to change the method from POST to GET. I see that the FORM-Authentication could speek GET after authentication with POST method. Is th

RE: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Caldarale, Charles R
> From: Daniel M Garland [mailto:[EMAIL PROTECTED] > Subject: Re: Virtual Host and dynamic webapp reloading > > One other problem: docBase must point to the same directory as appBase. The result is endless confusion within Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR O

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: > Another strange thing is since this started happening I don't ever see > the session count in the manager app increase above zero, even though if > I sit in front of the webapp my session is persisted across the > cluste

Re: java.net.MalformedURLException: no protocol: Files/thirdparty/TOMCAT/common/classes/

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, Jeffrey Nguyen (jeffrngu) wrote: > common.loader=${catalina.home}/common/classes,${catalina.home}/common/i1 > 8n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/ > lib/*.jar > > where "catalina.home" is resolved to "C:/Pr

Re: java.net.MalformedURLException: no protocol: Files/thirdparty/TOMCAT/common/classes/

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, Jeffrey Nguyen (jeffrngu) wrote: > I have a Tomcat servlet which communicates with a stand-alone java > application using RMI. I got the above exception whenever my servlet > makes an RMI call. Actually, could you post the full stack trace?

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Hi guys, I'm still having this problem. Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. We have VM Ware Server as the hardware - could this cause the problem? I have a firewall on the machine with only the HTTPS port open. In the config file there is the stand

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: > Do you have some suggestion to solve this problem? Wow, are you impatient! |p >> Host name on server.xml: >> >> The "defaultHost" attribute allows one of your entries to respond to any request that does not match one

Migration of Tomcat 3.2 to Tomcat 6.0

2007-09-26 Thread Parandhaman, Vishnu Prasad (STSD)
Hi, Could anyone point out if there's a practical guide / tip to migrate from tomcat 3.2 to tomcat 6.0 ? (had anyone done before) Basically there are lot of changes between the 3.2 and 6.0 versions in terms of structure and files. Moreover the older tomcat 3.2 was used along with apache (through

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Hmm maybe this little bit of extra info helps Physical Hardware: 656MB RAM 2.4 Ghz Xeon Processor Martin Cavanagh wrote: Hi guys, I'm still having this problem. Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. We have VM Ware Server as the hardware - could thi

Re: Filter GET and POST

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Franck, Franck Borel wrote: > i have a problem with an application that only accept GET requests. Now, > I would like to know, if there is any possibility to write a filter, who > is able to change the method from POST to GET. What do you mean by tha

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Cavanagh wrote: > Hi guys, I'm still having this problem. > > Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and > 26.09. Strange. What is the uptime of your operating system? Perhaps it's being rebooted every ni

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Yes, I have... in defaultHost i have value localhost. On 9/26/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrew, > > Andrew Hole wrote: > > Do you have some suggestion to solve this problem? > > Wow, are you impatient! |p > > >> Host na

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Franck Borel
Hi Martin, Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. We have VM Ware Server as the hardware - could this cause the problem? What kind of network connection are you using? NAT or Bridge? I have a firewall on the machine with only the HTTPS port open. In

Re: Migration of Tomcat 3.2 to Tomcat 6.0

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vishnu, Parandhaman, Vishnu Prasad (STSD) wrote: > Hi, > Could anyone point out if there's a practical guide / tip to migrate > from tomcat 3.2 to tomcat 6.0 ? > ([has] anyone done [this] before) I don't think anyone has ever made that jump before, s

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > Hmm maybe this little bit of extra info helps Not really, but answering Pid's question below might, as would following David's suggestions. > 656MB RAM That's an awfully small amount of me

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat crash @ midnight - but why? >> >> 656MB RAM > > That's an awfully small amount of memory for a modern system, but is > probably not pertinen

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Gabe Wong
Check Windows Scheduled Tasks, to see what runs around that time. Could be a resource issue. A background task or even a load spike from a search bot. How much memory is allocated to the VMWare instance? Also did you check the Tomcat logs? Martin Cavanagh wrote: Hi guys, I'm still having this

Re: Filter GET and POST

2007-09-26 Thread Franck Borel
Hi Christopher, thank you very much for your answer. i have a problem with an application that only accept GET requests. Now, I would like to know, if there is any possibility to write a filter, who is able to change the method from POST to GET. What do you mean by that? Do you just want to c

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Peter Crowther
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] > Physical Hardware: > 656MB RAM > 2.4 Ghz Xeon Processor Crikey. And a host OS (what host?), VMware on top of that, then Windows 2003 as a guest OS? Do you have any RAM left for Tomcat? - Peter

Certificates, CLIENT-CERT Authentication and Authorization

2007-09-26 Thread Edwin K. Brown
I’m doing this to provide an _outline_ of what is needed to be done to get CLIENT-CERT authentication and authorization working in Tomcat 6. This is high level because each implementation will have to be done to suit your own needs. This first part deals with the JAAS related code that you ha

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Pid
Christopher Schultz wrote: > Chuck, > > Caldarale, Charles R wrote: >>> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] >>> Subject: Re: Tomcat crash @ midnight - but why? >>> >>> 656MB RAM >> That's an awfully small amount of memory for a modern system, but is >> probably not pertinent. > > Esp

clustering

2007-09-26 Thread John Coleman
Hi, We have a thin web application that basically just manages the front end for a remote business layer that handles the heavy session state stuff and persistence. Basically the webapp emits and receives data as XML and after some processing makes it available to the clients. We want to cl

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
I've gotta say I've had a miserable time with this one. I've tried nearly permutation of configurations in the Tomcat documentation and nothing seems to work; either I get the default host or a white blank screen. What I need is for www.mydomain.com to host mywebapp on the default path and an

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Thanks for your answers Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Cavanagh wrote: Hi guys, I'm still having this problem. Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. Strange. What is the uptime of you

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Hi Frank Franck Borel wrote: Hi Martin, Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. We have VM Ware Server as the hardware - could this cause the problem? What kind of network connection are you using? NAT or Bridge? not sure and I don't have direct acce

Re: Filter GET and POST

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Franck, Franck Borel wrote: >> I'm not sure why you'd want to do this, since >> servlets do not really distinguish between GET and POST parameters -- >> the API abstracts that complexity away from your code. > > If I change the request from POST to G

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Hi Charles Caldarale, Charles R wrote: From: Martin Cavanagh [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat crash @ midnight - but why? Hmm maybe this little bit of extra info helps Not really, but answering Pid's question below might, as would following David's suggestions. There

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Thats how much RAM the Virtual Machine has. I'm not sure what the actual host machine has, but I'm assuming at least 1024 MB. I believe this virtual machine is the only one on the Server. Martin Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Cha

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Thanks Gabe. I've checked the Windows Scheduled Tasks - unfortunately they are empty. The VMWare instance has 656MB RAm. Tomcat logs are quite boring - they only indicate that the Tomcat is being shutdown The catalina logs show 21.09.2007 00:00:00 org.apache.coyote.http11.Http11AprProtocol p

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: >unpackWars="true" autoDeploy="true"> > > That docBase="." is going to give you nothing but trouble. Why can't you just do this: 1. Start with a clean install of Tomcat. 2. Modify CATALINA_HOME/conf/server.xml

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Sorry everyone - no the the Virtual Machine has 656 MB RAM. The Host has something > 656MB Ram (1GB?) Martin Peter Crowther wrote: From: Martin Cavanagh [mailto:[EMAIL PROTECTED] Physical Hardware: 656MB RAM 2.4 Ghz Xeon Processor Crikey. And a host OS (what host?), VMware on top of

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
the JVM is using the default parameters. I installed JRE 1.5.0_11 (which was upto date at the time...) Should I be using custom parameters? VMWare means the the host machine, doesn't know that there is no "real" hardware beneath it Martin I'm not overly familiar with VMWare, but is that

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Alexey Solofnenko
Maybe it is caused by automatic Windows Update. Did you check it? - Alexey. Martin Cavanagh wrote: Hi guys, I'm still having this problem. Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and 26.09. We have VM Ware Server as the hardware - could this cause the problem?

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
I would appreciate if you would give me some hints how this dispatcher servlet should work. Also, what needs to be done to restrict Tomcat to list the directories that contain java script and images. thanks On 9/26/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > > alla winter wrote: > > My app

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Thanks Alexey. Notifications only :( Keep the ideas coming guys! just to to check - there is no hidden setting in Tomcat which says - shut me down at midnight sometimes for an inexplainable reason? Martin Alexey Solofnenko wrote: Maybe it is caused by automatic Windows Update. Did you chec

Re: Security restrictions for Tomcat

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alla, alla winter wrote: > I would appreciate if you would give me some hints how this dispatcher > servlet should work. How about this: 1. Check user id against requested path. a. Return FORBIDDEN for unauthorized access b. Open file and serve by

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Cavanagh wrote: > just to to check - there is no hidden setting in Tomcat which says - > shut me down at midnight sometimes for an inexplainable reason? I think they removed that in 5.5.23, so you should be safe. It was fun while it la

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Gabe Wong
Sounds very much like a memory issue as echoed by others on the list. What is the Memory Heap size used by the JVM? Martin Cavanagh wrote: Thanks Gabe. I've checked the Windows Scheduled Tasks - unfortunately they are empty. The VMWare instance has 656MB RAm. Tomcat logs are quite boring - t

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
Hi Chris, I have three virtual hosts that I want to have hosting a webapp on the default path. Each host has a few aliases for subdomains etc. So I don't really want to have ROOT.war in CATALINA_HOME/webapps, partly because I want to keep the manager app and partly because I would have a ROOT.

Re: Java 1.6

2007-09-26 Thread Daniel M Garland
Is there any performance increase that you've noticed? Pid wrote: David Smith wrote: I think that was pure speculation. I use JDK 1.6 w/ Tomcat 5.5 in production and have had no issue. Likewise, and they go very nicely indeed. p --David Marco wrote: Hello, I read in previous post t

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > I've gotta say I've had a miserable time with this one. I've tried > nearly permutation of configurations in the Tomcat documentation and > nothing seems to work; either I get the default host or a white blank > screen. You're almost certainly mixing the remnants of the v

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Hassan Schroeder
On 9/26/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > So I would've thought that Have you read this? -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
Thanks for the quick response. So, I want to make sure that understand it right : you are proposing that the servlet should display the file, instead of allowing Tomcat to invoke Microsoft Word to disply the file content. The only issue with that is that the file is created in the RTF format and i

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Pid
Martin Cavanagh wrote: > just to to check - there is no hidden setting in Tomcat which says - > shut me down at midnight sometimes for an inexplainable reason? Oh yeah, forgot about that one. Filip, Remy et al have a funny sense of humour - they're always building crazy easter eggs into Tomcat.

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: > I have three virtual hosts that I want to have hosting a webapp on > the default path. Different apps, or the same app on each virtual host? > Each host has a few aliases for subdomains etc. So I don't really > want to

Re: Java 1.6

2007-09-26 Thread Pid
Daniel M Garland wrote: > Is there any performance increase that you've noticed? I've not benchmarked it, but our annual traffic high point passed (with a traffic increase) and without the normal tuning and tweaking this time. So I'd have to say anedoctally - yes. I'm not sure if compiling Tomca

Re: Security restrictions for Tomcat

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alla, alla winter wrote: > Thanks for the quick response. > So, I want to make sure that understand it right : you are proposing that > the servlet should display the file, instead of allowing Tomcat to invoke > Microsoft Word to disply the file cont

Re: Java 1.6

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel M Garland wrote: > Is there any performance increase that you've noticed? Relative to what? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQ

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread David kerber
Is your tomcat set to roll the log files at midnight? Maybe there's something going on related to that? Pid wrote: Martin Cavanagh wrote: just to to check - there is no hidden setting in Tomcat which says - shut me down at midnight sometimes for an inexplainable reason? Oh yeah, f

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Gabe Wong [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > Sounds very much like a memory issue as echoed by others on the list. I don't think so. Lack of RAM might cause performance problems due to excessive paging, but it's not going to cause a shutdown

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > There is no \bin\shutdown.bat file - so this isn't being directly > triggered. That just means you installed from the .exe rather than the .zip distribution. Something could still be running

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Alexey Solofnenko
InstallShield now has auto update feature too. Plus there is auto update in antiviruses, Google Pack, other products. Also disk defragmenters may want to reboot the machine to defragment system files. Sometimes they log messages in EventLog. Martin Cavanagh wrote: Thanks Alexey. Notification

Re: UTF8

2007-09-26 Thread Amnon Lahav
i just noticed the reply , i don't understand what u mean would you mind explaining ? On 9/23/07, Lucas Galfaso <[EMAIL PROTECTED]> wrote: > > hi, > What happens if you escape every char in the XML file? This is you > replace character number nnn to "&#nnn;" (quotes for clarity.) The > number ha

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Thanks Pid - some good tips Pid wrote: Martin Cavanagh wrote: just to to check - there is no hidden setting in Tomcat which says - shut me down at midnight sometimes for an inexplainable reason? Oh yeah, forgot about that one. Filip, Remy et al have a funny sense of humour - they're

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
David kerber wrote: Is your tomcat set to roll the log files at midnight? Maybe there's something going on related to that? no i don't think so - (but how do I control that - It would be cool to use that). Its pretty much a standard Tomcat installation - with HTTPS turned on and HTTP turned o

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > Hmmm - how houw I change the JVM into a Server JVM? Server vs client JVM is likely to be totally irrelevant, but in any event, run the tomcat6w.exe program, go to the Java tab, and see what is

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
Caldarale, Charles R wrote: From: Martin Cavanagh [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat crash @ midnight - but why? There is no \bin\shutdown.bat file - so this isn't being directly triggered. That just means you installed from the .exe rather than the .zip distribution. Someth

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Pid
Martin Cavanagh wrote: > Thanks Pid - some good tips > Hmmm - how houw I change the JVM into a Server JVM? (google is your friend). -server will do it, if it's not autoselected. >> - >> To start a new topic, e-mail: users@tomca

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > The Server is started with \Tomcat\bin\tomcat5.exe //RS//Tomcat5 - is > that normal? Yes, that's fine. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MAT

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > -server will do it, if it's not autoselected. Tomcat is running a Windows service, so command line options cannot be used. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIET

SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
Hi Experts, I am facing a strange problem in my tomcat application. Suddenly it generates following Exceptions java.io.FileNotFoundException: /server/http/site/music.yamaha.com/site/work/SESSIONS.ser (Too many open files) at java.io.FileOutputStream.open(Native Method) ..

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Jim Cox
Each time when Tomcat has crashed, it has been at midnight. At exactly midnight my program changes log directorys - from 20-09-2007 to 21-09-2007. This is a TimerTask. A thread which runs at exactly midnightat each of these crashes it has reported "Can't create directory '\.cs-aterm\logs\SY

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Smith
I would think this would be the root issue: "Too many open files" What OS are you running. Some limit the number of open file handles. Also might want to check to be sure you are closing files when finished with them in your webapp. --David Ranjan Kumar Baisak wrote: Hi Experts,

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Pid
Martin Cavanagh wrote: > Each time when Tomcat has crashed, it has been at midnight. At exactly > midnight my program changes log directorys - from 20-09-2007 to > 21-09-2007. This is a TimerTask. A thread which runs at exactly > midnightat each of these crashes it has reported "Can't creat

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread David Delbecq
Are you behind an apache server, using mod_jk? Or is tomcat accessed directly. As omeone suggested, check you have a valid default host in tomcat. If you are behind an apache web server, you might to check it's not the apache server that answer with HTTP400 (tomcat error pages always include to

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat crash @ midnight - but why? >> >> -server will do it, if it's not autoselected. > > Tomcat is running a Windows service, so command line options cannot be > used. > > - Chuck (doh) > THIS COMMUNICATION

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Tim Funk
To test the TimerTask theory - I'd suggest changing the TimerTask to run at 12:30 and see the next crash -Tim Pid wrote: Martin Cavanagh wrote: Each time when Tomcat has crashed, it has been at midnight. At exactly midnight my program changes log directorys - from 20-09-2007 to 21-09-2007.

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
I am confused now web.xml instructs Tomcat what application needs to be called for a given MIME type for example: - rtf application/vnd.ms-word Tomcat pass the request to the third party application based on the MIME type, so if I show the link to the .RTF file and the user selects the l

Re: Security restrictions for Tomcat

2007-09-26 Thread Pid
alla winter wrote: > I am confused now > web.xml instructs Tomcat what application needs to be called for a given > MIME type No, unless you've got some weird setup on a windows machine Tomcat is not opening MSWord. The mime type is sent to the browser in an http header, and the browser decides w

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
I would think this would be the root issue: "Too many open files" We dont have much file handling operations in our web applications, but again I am going to look minutely all IO operations in my application. What OS are you running. Some limit the number of open file handles. Also might want

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
OK, I got it, the content type will do the trick. Thanks But I would appreciate if you answer on my second question regarding the directory listing I can see all the directory listing except WEB-INF directory. I am using all default XMLs for configuration without any changes, except web.xml were

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Darek Czarkowski
Martin Cavanagh wrote: Each time when Tomcat has crashed, it has been at midnight. At exactly midnight my program changes log directorys - from 20-09-2007 to 21-09-2007. This is a TimerTask. A thread which runs at exactly midnightat each of these crashes it has reported "Can't create di

RE: Security restrictions for Tomcat

2007-09-26 Thread Mitesh Shah
To disable directory listing, change tag value to 'false' for init parameter of listing in web.xml listings FALSE Mitesh Shah Hosted Services Engineer eClinicalWorks LLC -Original Message- From: alla winter [mailto:[EMAIL PROTECTED] Sent: Wednes

RE: Security restrictions for Tomcat

2007-09-26 Thread Caldarale, Charles R
> From: alla winter [mailto:[EMAIL PROTECTED] > Subject: Re: Security restrictions for Tomcat > > I can see all the directory listing except WEB-INF directory. > I am using all default XMLs for configuration without any > changes, except web.xml were I defined my servlets. Directory listings ar

BASIC auth question, simple example...

2007-09-26 Thread Greg Morphis
Hi, I'm a n00b so bare with me! I've got Tomcat 5.5 installed on my machine to the default location c:\Tomcat5.5 I'm trying to get a simple example of BASIC auth running and I'm not having any luck. I created the folder C:\Tomcat5.5\webapps\security\ In there I have C:\Tomcat5.5\webapps\security

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Darek Czarkowski
Ranjan Kumar Baisak wrote: I would think this would be the root issue: "Too many open files" We dont have much file handling operations in our web applications, but again I am going to look minutely all IO operations in my application. What OS are you running. Some limit the number of open fi

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
To see your current settings use 'ulimit -a'. If you want to make permanent changes edit /etc/security/limits.conf Everything in a system is a file, not just a single webpage, the default are not enough for your requirements. Ok now I got it. default value for open files is 1024 and I think I

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
Ranjan Kumar Baisak a écrit : but I would love to know any such commands/utilities exist that can tell me detail about what are the files getting opened in my web application which results such exception. lsof will do it - To

Re: BASIC auth question, simple example...

2007-09-26 Thread David Delbecq
Greg Morphis a écrit : I created the folder C:\Tomcat5.5\webapps\security\ So webapp name is "security", reachabel by http://server/security/ Protected Area /security/* dau You mapped security constraint to f

RE: Tomcat crash @ midnight - but why?

2007-09-26 Thread Caldarale, Charles R
> From: Darek Czarkowski [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat crash @ midnight - but why? > > Now, this would be funny, can you search the source code of > the deployed application for System.exit call? Doesn't quite fit the symptoms. When a webapp calls System.exit(), the following

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
In unix, opened pipe (stdout/stdin, etc) and network sockets are considered opened files btw Ranjan Kumar Baisak a écrit : To see your current settings use 'ulimit -a'. If you want to make permanent changes edit /etc/security/limits.conf Everything in a system is a file, not just a single webp

Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Etienne Lacombe
Hello, I would like some help in locating the cause of a problem on a Tomcat 5.5.20 server. I looked at many things but I don't know what else to look for. Setup Linux Tomcat 5.5.20 Java 1.6 The server runs fine for some days and then suddenly stops responding to requests - the client's

  1   2   >