Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Martin Cavanagh
My logs are being being redirected to other directorys, where log levels are being applied. This are just the tomcat logs, since its tomcat which is crashing. The logs from stdout are just cases where things are still (or also) being written to Std out -which is the exception rather than the

RE: Tomcat hangs when shutting down

2007-09-26 Thread Caldarale, Charles R
> From: Andrew Friebel [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat hangs when shutting down > I have no AprLifecycleListener to comment out in server.xml The APR connector did not exist in Tomcat 5.0. > Sep 26, 2007 9:00:57 AM org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 liste

RE: Tomcat hangs when shutting down

2007-09-26 Thread Andrew Friebel
There was a network issue which I got to the bottom of, but I still have a problem with tomcat hanging when I shut it down. I appreciate your feedback, but neither of these solutions actually assist me. I have a valid hosts file with the correct IP for the hostname, and I have no AprLifecycleList

RE: Setting ClientAuth parameter to true

2007-09-26 Thread Subhash.NarayananDroupathy
Thanks for getting back Filip. I had done this too.. what I did was : created a server keystore and imported the client certificate into it. Then the gave the server keystore location to the 'truststoreFile' parameter. Once this modification is done in server.xml I restart tomcat but its not rea

RE: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Caldarale, Charles R
> From: Etienne Lacombe [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.20 Stops Responding > > I followed your advice and killed the JVM so as to get the > stack trace when it stopped responding this afternoon. It's not actually necessary to terminate the process in order to trigger a thread d

Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Etienne Lacombe
David, I followed your advice and killed the JVM so as to get the stack trace when it stopped responding this afternoon. Here is what we had in the log before the stack trace: 3:27 org.apacheThreadPool logFull All threads (250) are currently busy, waiting. Increase maxThreads (250) or check

CacheRowSetImpl and Tomcat

2007-09-26 Thread Joe Riopel
Hi, I am trying to use a CacheRowSetImpl, from com.sun.rowset, and I am having some trouble with it. The reason I am sending it out to the Tomcat list is because the same code works in a simple Java class I wrote to test it. I am assuming, which is wrong to do, that this is a threading issue. I ha

Re: Analog of mod_rewrite in Tomcat?

2007-09-26 Thread Hassan Schroeder
On 9/26/07, Ken Bowen <[EMAIL PROTECTED]> wrote: > Is there an analog of mod_rewrite which operates in Tomcat? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new top

Analog of mod_rewrite in Tomcat?

2007-09-26 Thread Ken Bowen
Hi all, Is there an analog of mod_rewrite which operates in Tomcat? It would be used if one was running Tomcat alone as a server without Apache in front of it. Thanks in advance, Ken Bowen - To start a new topic, e-mail: user

RE: Tomcat hangs when shutting down

2007-09-26 Thread Andrew Friebel
Gabe, Thanks for your reply. I have suspected a network issue, but hadn't seen anything that indicated this on other forums. I appreciate your input and will pursue the network issue further. Thanks for pointing me in the right direction. Regards, Andrew -Original Message- From

Tomcat 5.5.25 -> 6.0.14 upgrade problem

2007-09-26 Thread aku1234
My code works on Tomcat 5.5.25, but when I move it to Tomcat 6.0.14 it stops working. When it starts up it succefully loads Acegi(Spring) which is using JNDI. Then when it tries to load Hibernate which uses the same JNDI resource, it doesn't work. Hibernate and JNDI work just fine on Tomcat 5.5.

JSTL and XML

2007-09-26 Thread Luke Vanderfluit
Hi. Ive been using x:parse etc. to display some xml thats stored in a database. I want to do some conditional stuff but cant get x:choose, x:when and x:otherwise to compile. This is my code: (further down is the error I get) /~ \

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: SESSIONS.ser (Too many open files) >> >> Most of the files opened are JAR files (not sure why they >> stay open; the JVM must assume that an ope

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 can "cd" to all 4 paths w/o any problem (see below). > > C:\>echo %CATALINA_HOME% > C:\Program Files\thirdparty\TOMCAT Your CATALINA_HOME still has a space in it, jst like it has all along. You need to a

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
For reasons i don't know, windows forbids removal of file to which there are active handle. just delete everything and look at what was not deleted? :p BTW, Is there are any utility like lsof for windows system. - To s

RE: SESSIONS.ser (Too many open files)

2007-09-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: SESSIONS.ser (Too many open files) > > Most of the files opened are JAR files (not sure why they > stay open; the JVM must assume that an opened JAR file will > eventually be used again) Typical classloaders only load classes o

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

2007-09-26 Thread Jeffrey Nguyen \(jeffrngu\)
Hi Chris, I can "cd" to all 4 paths w/o any problem (see below). I also verified that TransactionRef class is part of CATALINA_HOME/common/lib/naming-factory.jar C:\>echo %CATALINA_HOME% C:\Program Files\thirdparty\TOMCAT C:\>cd %CATALINA_HOME%/common/classes C:\Program Files\thirdparty\TOMCAT\

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: > By default, lsof show all files for all processes, thise can be very big > man lsof will give you description of lsof parameter. There should be > one to restrict to a specific process :) Yup: $ lsof -p pid Looking at

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
David Delbecq wrote: By default, lsof show all files for all processes, thise can be very big man lsof will give you description of lsof parameter. There should be one to restrict to a specific process :) I think, I got the root cause of this problem. After analyzing the lsof output, I found

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ranjan, Ranjan Kumar Baisak wrote: > BTW, Is there are any utility like lsof for windows system. Like always, google is your friend: http://www.microsoft.com/technet/sysinternals/SystemInformation/Handle.mspx You can also use Process Explorer (ment

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Steve Ochani
On 26 Sep 2007 at 16:22, Ranjan Kumar Baisak wrote: > BTW, Is there are any utility like lsof for windows system. Yes, filemon. http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx > > regards, > Ranjan > > David Delbecq wrote: > > In his case, 1024 might be a quite low limit

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
By default, lsof show all files for all processes, thise can be very big man lsof will give you description of lsof parameter. There should be one to restrict to a specific process :) Ranjan Kumar Baisak a écrit : I got a tool called process explorer for windows. After running lsof in linux, I

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
I got a tool called process explorer for windows. After running lsof in linux, I got lits of files and its count is more than 1024 (something around 5000 odd,). Hence I would appreciate your help to analyze lsof output. regards, Ranjan Ranjan Kumar Baisak wrote: BTW, Is there are any utilit

RE: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Caldarale, Charles R
> From: Etienne Lacombe [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.20 Stops Responding > > I was sure my Email had not been sent so that's > why I resent it. You can always check the archives to see if your message has made it to the rest of world: http://marc.info/?l=tomcat-user http://ma

Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Etienne Lacombe
Sorry Chuck - I was sure my Email had not been sent so that's why I resent it. I hadn't seen David answers but thanks for pointing it out - I looked into the history and found it. Thanks David and others. I'm looking into this using those suggestions. Will see what I get. Etienne ---

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
BTW, Is there are any utility like lsof for windows system. regards, Ranjan David Delbecq wrote: In his case, 1024 might be a quite low limit fora server. count jars/ classes files, compiled jsps, resources files, network connection, logging files and it increases quite quickly Christopher

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
In his case, 1024 might be a quite low limit fora server. count jars/ classes files, compiled jsps, resources files, network connection, logging files and it increases quite quickly Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RB, Ranjan Kumar Baisak wrote:

Re: Java 1.6

2007-09-26 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Java 1.6 I don't believe that javac has undergone significant upgrades through the years... Actually, it has

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ranjan, Ranjan Kumar Baisak wrote: > Yes, I believe there are some problem with application code. So instead > of increasing file descriptor limit, I am running lsof to find out what > are the files getting opened by application. Recently we have adde

Re: IMP - Requests not reaching Tomcat Server

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mrimony, Mrinmoy Pal wrote: > Problem – Some of the requests not reaching Tomcat server from Siebel > Application. Sounds like this isn't a Tomcat problem. If Tomcat isn't getting the request, it certainly can't fail! > Siebel is posting the message

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
I really appreciate with the kind of response I am getting from this list. Just as I would caution anyone who is running out of memory to check to see /why/ they were running out of memory before they blindly increase the heap size, I have to caution you to investigate /why/ you are running out o

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 had actually tried to define the value for catalina.home explicitely > in catalina.properties file, but I still can't get this working. Not sure if catalina.home can actually be specified here. You may h

RE: Java 1.6

2007-09-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Java 1.6 > > Really? Other than crap like auto-boxing, attributes, and > foreach-style 'for' syntax, what has the compiler done for > me, lately? I see all that as syntactic sugar. Agreed, that is just syntax "enhancement". I

RE: IMP - Requests not reaching Tomcat Server

2007-09-26 Thread Mrinmoy Pal
Hello, We are facing a problem related to Tomcat and so posting this query. This is a critical issue for us and so any pointer is appreciated. Problem – Some of the requests not reaching Tomcat server from Siebel Application. This is happening for some of the requests and not all of them. Both ap

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RB, Ranjan Kumar Baisak wrote: > >> 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 fo

RE: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Caldarale, Charles R
> From: Etienne Lacombe [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.20 Stops Responding > > I would like some help in locating the cause of a problem on > a Tomcat 5.5.20 server. Any particular reason for reposting the exact same message when David S already suggested something to try? Why

Re: Java 1.6

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Java 1.6 >> >> I don't believe that javac has undergone significant upgrades through >> the years... > > Actually, it has, but the big improvem

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

2007-09-26 Thread Jeffrey Nguyen \(jeffrngu\)
Thanks Chris for getting back to me on. I had actually tried to define the value for catalina.home explicitely in catalina.properties file, but I still can't get this working. In catalina.properties file, my "common.loader" entry has 4 paths as listed below. common.loader=${catalina.home}/co

RE: BASIC auth question, simple example...[SOLVED]

2007-09-26 Thread Caldarale, Charles R
> From: Greg Morphis [mailto:[EMAIL PROTECTED] > Subject: Re: BASIC auth question, simple example...[SOLVED] > > I was thinking / referred to the /webapps/ directory. Note the comment in web.xml: > > > - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERI

RE: Java 1.6

2007-09-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Java 1.6 > > I don't believe that javac has undergone significant upgrades through > the years... Actually, it has, but the big improvements were between 1.3 and 1.5. The javac in Java SE 6 doesn't appear to be much different f

Re: Security restrictions for Tomcat

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alla, alla winter wrote: > I am confused now > web.xml instructs Tomcat what application needs to be called for a given > MIME type Nope. This is mapping file extensions to MIME types. Totally different. Notice that you don't see "msword.exe" anywher

Re: BASIC auth question, simple example...[SOLVED]

2007-09-26 Thread Greg Morphis
That was it David.. I was thinking / referred to the /webapps/ directory. Thanks On 9/26/07, David Delbecq <[EMAIL PROTECTED]> wrote: > Greg Morphis a écrit : > > I created the folder > > C:\Tomcat5.5\webapps\security\ > > > So webapp name is "security", reachabel by http://server/security/ > >

RE: clustering

2007-09-26 Thread Caldarale, Charles R
> From: John Coleman [mailto:[EMAIL PROTECTED] > Subject: clustering > > I expect I will just have to deploy the application > twice to 2 different contexts, but how is that dealt > with when configuring load balancing and clustering, > or can I just use different port numbers? Yes, you can use

Re: Security restrictions for Tomcat

2007-09-26 Thread alla winter
you guys are Awesome thanks a lot. On 9/26/07, Mitesh Shah <[EMAIL PROTECTED]> wrote: > > > To disable directory listing, change tag value to 'false' for init > parameter > of listing in web.xml > > >listings >FALSE > > > > Mitesh Shah > Hosted Services Engin

Re: Setting ClientAuth parameter to true

2007-09-26 Thread Filip Hanik - Dev Lists
Your trust store will need to contain the cert the client is supposed to send up, Filip [EMAIL PROTECTED] wrote: 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 t

Re: Java 1.6

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, Pid wrote: > I'm not sure if compiling Tomcat under 1.6 would produce even better > performance - I don't know enough about byte code to comment on that, > but some of the more enlightened listers may do. I don't believe that javac has undergone

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

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

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: 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: 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: 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

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: 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

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: 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 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: 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 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: 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: 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: 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: 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
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: 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 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

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 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

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 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 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 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
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 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: 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 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: 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 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 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: 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: 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 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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 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 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 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: 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 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: 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
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

  1   2   >