FW: HTTP Status 500 - with Apache Tomcat/5.5

2008-12-15 Thread hsuan
Hi all: when I run the http://localhost:8180/geant2-java-rrd-ma in the browser ,it's show the error message as follows : HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: FW: HTTP Status 500 - with Apache Tomcat/5.5

2008-12-15 Thread Piller Sébastien
Somewhere in your code, you're trying to decode a date which isn't on the right format: javax.servlet.ServletException: Unparseable date: Mon Dec 15 16:29:38 GMT+08:00 2008 You can either use a compatible SimpleDateFormat (with a pattern which goes fine) or remove that part of code.

Re: CATALINA_HOME

2008-12-15 Thread Naaag
Naaag wrote: Richard Dunne wrote: I have just download Apache Tomcat 6. I have configured tomcat according to http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Catalina-Home. My Tomcat directory is c:\Tomcat6\apache-tomcat-6.0.14. I tried starting startup.bat but got the error:

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-15 Thread Pieter Temmerman
A bit of more information. The session bean is implemented using com.sun.rave.web.ui.appbase.AbstractSessionBean I haven't found any relationship between that class and incompatibilities with Tomcat and/or the DeltaManager. I'm puzzled On Fri, 2008-12-12 at 13:24 +0100, Pieter Temmerman wrote:

Re: bad content type mod_jk 1.2.27

2008-12-15 Thread marcobalc
Hi all, I have tried with apache 2.0.63 and modjk 1.2.6 and the result is the same. Someone can help me to identify which tomcat class set the content type about a request? I want to add a log on source in order to understand why the same request have two different response (content type

How to setup Authentication for Tomcat integrated with IIS

2008-12-15 Thread mcarter19
Hi, I am basically a noob when it comes to Tomcat so I hope someone can help me out. I have a tomcat 5.5 and IIS 6.0 setup on my server. I have IIS setup using isapi redirect so that all jsp requests get sent to the Tomcat Server. This works fine. My problem has to do with security. I am

RE: why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread Caldarale, Charles R
From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Subject: RE: why we need CATALINA_HOME to install tomcat.. The reason is mostly for Unix/Linux users to faciltate the acces to tomcat installation directory in shell. And for setting tomcat as a service in Unix/Linux and so on

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Understanding Tomcat Memory Utilization Can someone help me understand why tomcat is configured to use 64MB, but claims to peak at 48MB Because that's all it needs to initialize. Unless you set -Xms == -Xmx, the JVM starts out

RE: Want to disable automatically generated Context element

2008-12-15 Thread Caldarale, Charles R
From: meharo [mailto:meh...@gmail.com] Subject: Want to disable automatically generated Context element I want to keep default setting deployOnStartup = true, but disable automatically generating Context element for any subdirectory within the application base directory You can't. A webapp

RE: bad content type mod_jk 1.2.27

2008-12-15 Thread Caldarale, Charles R
From: marcobalc [mailto:m.bal...@i-contact.it] Subject: Re: bad content type mod_jk 1.2.27 Someone can help me to identify which tomcat class set the content type about a request? For static content, it's org.apache.catalina.servlets.DefaultServlet. - Chuck THIS COMMUNICATION MAY CONTAIN

why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread Naaag
Hi, I am using Tomcat 6.0 with windows.I am able to run tomcat in my application by setting CATALINA_HOME and also able to run without setting CATALINA_HOME. I have exactly want , why we need CATALINA_HOME for configuring tomcat? please mail me the reason. Thanking u. Nag -- View this message

RE: why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread BEN HMIDA aymen
Hi, The reason is mostly for Unix/Linux users to faciltate the acces to tomcat installation directory in shell. And for setting tomcat as a service in Unix/Linux and so on windows -Message d'origine- De : Naaag [mailto:nag...@btpsoft.com] Envoyé : lundi 15 décembre 2008 14:33 À :

Re: CATALINA_HOME

2008-12-15 Thread Naaag
Richard Dunne wrote: I have just download Apache Tomcat 6. I have configured tomcat according to http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Catalina-Home. My Tomcat directory is c:\Tomcat6\apache-tomcat-6.0.14. I tried starting startup.bat but got the error: The CATALINA_HOME

Tomcat 6 classloading and the Servlet 2.5 API spec

2008-12-15 Thread Peter_Ford
I'm trying to clarify something about Tomcat 6 compliance to the Servlet 2.5 spec. The spec (section 9.7.2) says: The container should not allow applications to override or access the container’s implementation classes. In Tomcat 5 it looks like this was handled by having separate common,

Re: How to setup Authentication for Tomcat integrated with IIS

2008-12-15 Thread Kees de Kooter
In that case you need to use NTLM authentication. You might want to take a look at this: http://jcifs.samba.org/src/docs/ntlmhttpauth.html On Mon, Dec 15, 2008 at 15:37, mcarter19 mk_car...@hotmail.com wrote: Hi, I am basically a noob when it comes to Tomcat so I hope someone can help me

Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
We have 60 instances of tomcat 5.X running on an RHEL4 server. Each instance runs a copy of basically the same application, each for a different customer. According to their respective status pages, the tomcats are all configured to use a maximum of 64MB memory, but most peak at around 48MB.

Re: Unable to start tomcat server 6x

2008-12-15 Thread Gregor Schneider
Patha, I think you've received enough pointers here already. If you're logged in as root and you can't even write into a directory, it's pretty likely that either - the device is mounted read-only (check with mount -l) - the device is somewhat corrupted (either the device or the

A few clustering related doubts

2008-12-15 Thread Pieter Temmerman
Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine Deltamanager + Session beans: Do they like eachother?), I reread the Tomcat clustering documentation. The following are a few things that are not

Re: A few clustering related doubts

2008-12-15 Thread Filip Hanik - Dev Lists
Pieter Temmerman wrote: Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine Deltamanager + Session beans: Do they like eachother?), I reread the Tomcat clustering documentation. The following are a

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-15 Thread Filip Hanik - Dev Lists
the DeltaManager (and BackupManager 6.0) only triggers on setAttribute/removeAttribute so this wont work Cart cart = (Cart)session.getAttribute(cart); cart.addItem(cucumber); the simple tcp replication manager replicates the entire session and is able to capture this scenario but that is not

SEVERE: Exception fixing docBase: {0} on Windows XP

2008-12-15 Thread joe_777777
Have a war file that works fine when installed on Windows 2003, Windows 2000, Windows Vista and Windows XP end-user environments. Have a Windows XP user receiving the below message. The war file is installed on the local hard drive. The error is received when: 1) Tomcat is started as a Windows

RE: SEVERE: Exception fixing docBase: {0} on Windows XP

2008-12-15 Thread Caldarale, Charles R
From: joe_77 [mailto:joseph_freema...@yahoo.com] Subject: SEVERE: Exception fixing docBase: {0} on Windows XP SEVERE: Exception fixing docBase: {0} java.util.zip.ZipException: Access is denied. The error message seems pretty descriptive. Have you checked that the account Tomcat is

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
Welcome to paging. I understand the difference between virtual image size and resident size. The part I don't understand is the relationship between the tomcat memory configuration as reported by the tomcat status page and the actual usage as reported by top. Tomcat says it is configured to

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
Welcome to paging. I understand the difference between resident size and virtual image. What I don't understand is why the tomcat status page indicates that tomcat is configured to use a maximum of 64MB, but the resident size is twice that and the virual image is four times that. In other

Re: tomcat6, bottleneck, concurrent requests, windows xp

2008-12-15 Thread Michael Ludwig
kazukin6 schrieb am 14.12.2008 um 19:50:52 (-0800): Hi, Michael ! I suppose Connection Times (ms) table section actually describes individual requests? And Percentage of the requests served within a certain time (ms) as well? For me it seems that concurrency is hardly working at all, but

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Understanding Tomcat Memory Utilization Tomcat says it is configured to use a maximum of 64MB That's 64 MB for the *Java heap*, not the entire process. The process space includes lots of other things besides the Java heap,

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Robinson, Eric
That's 64 MB for the *Java heap*, not the entire process. Thanks, that's what I didn't know. -- Eric Disclaimer - December 15, 2008 This email and any files transmitted with it are confidential and intended solely for Tomcat Users List. If you are not the named addressee you should not

Re: HTTP Status 500 problem with tomcat5.5

2008-12-15 Thread Michael Ludwig
Caldarale, Charles R schrieb am 14.12.2008 um 23:51:55 (-0600): javax.servlet.ServletException: Unparseable date: Mon Dec 15 11:39:35 GMT+08:00 2008 This is very odd; I've tried your code in a stand-alone program without any problem: And there is a reason for that :-) import

RE: HTTP Status 500 problem with tomcat5.5

2008-12-15 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: HTTP Status 500 problem with tomcat5.5 In your case, Chuck, this is Locale.US, so it works for you. My default locale is Locale.GERMANY, so I have to write: new SimpleDateFormat(EEE MMM dd HH:mm:ss zzz , Locale.US); Ahhh...

Blocking

2008-12-15 Thread AD
Server has been up for about 5 hours under almost zero load but I am concerned about some of the thread info in JConsole.. For example in Main Thread Name: main State: RUNNABLE Total blocked: 54 Total waited: 9 Does this indicate signifigant blocking? Maybe 10-15 requests total in the last 5

RE: Blocking

2008-12-15 Thread Martin Gainty
yes I would be concerned about the 9 wait threads is there any defining characteristic which causes these threads to sit and wait? maybe a DB Connection or calling a remote resource that is causing the block? more information about the characteristics of the resource would be available by

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Blocking yes I would be concerned about the 9 wait threads It's not the number of waiting threads, it's the number of times this particular thread has done a wait() call. Since the main thread is the one that drives

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
From: AD [mailto:straightfl...@gmail.com] Subject: Blocking For example in Main Thread Name: main State: RUNNABLE Total blocked: 54 Total waited: 9 Once initialization is complete, the main thread does nothing but listen for the shutdown command. The blocks and waits all occurred during

Re: Unable to start tomcat server 6x

2008-12-15 Thread Partha
Gregor Schneider wrote: Patha, I think you've received enough pointers here already. If you're logged in as root and you can't even write into a directory, it's pretty likely that either - the device is mounted read-only (check with mount -l) - the device is somewhat corrupted

Re: Tomcat 6 classloading and the Servlet 2.5 API spec

2008-12-15 Thread Bill Barker
peter_f...@blm.gov wrote in message news:of14e2cc5d.7f3b739a-on87257520.0059a8c8-87257520.005b2...@blm.gov... I'm trying to clarify something about Tomcat 6 compliance to the Servlet 2.5 spec. The spec (section 9.7.2) says: The container should not allow applications to override or access