Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
jay wrote: SEVERE: Occurred at line 87 column 14 ... SEVERE: Marking this application unavailable due to previous error(s) ... SEVERE: Context [/test] startup failed due to previous errors ... What's wrong with my tomcat ? With your Tomcat, probably nothing. With your application,

Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
andre wrote: Hello : When I start tomcat ,I find the error msg in my tomcat log . what's wrong with my tomcat ? ... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/share/tomcat5.5/server/webapps/admin does not exist or is not a readable

[Fwd: FW: SEVERE: Error getConfigured]

2009-10-02 Thread André Warnier
Hi Jay. Please respond to the list, not to me personally. Original Message Subject: FW: SEVERE: Error getConfigured Date: Fri, 2 Oct 2009 15:16:57 +0800 From: jay uniojnqoif...@gmail.com To: a...@ice-sa.com Hi andrew~ I am download the war from

Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
andre wrote: Hello : When I start tomcat ,I find the error msg in my tomcat log . what's wrong with my tomcat ? Apologies to the list, it seems that I started another thread by mistake. Jay, please respond to the list, not to me. About your Tomcat : It looks like your Tomcat package is

The body of the request is lost when you send the POST method !

2009-10-02 Thread Eugene
Please, help me with bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=47797 and http://www.jboss.org/index.html?module=bbop=viewtopict=161900 -- Best Regards, Eugene Batogov ___ - To

RE: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Elli Albek
Yes, the remoteAddress member is protected. So you can only access it if you put your class in the same package. I thought of doing it like a filter (wrapping) but it does not look like a workable solution in this case. 1. The request class is final (which basically ends the discussion :) 2.

Re: Issue With SSI And JSP

2009-10-02 Thread Mark Thomas
Leonard Bedner wrote: When jsp is taken out of url-pattern. it returns the time, and the context path perfectly. When I add it back though, I just get whitespace. Any ideas? JSP processing is also done by a servlet. You can't have the same resource served by two servlets. Try switching to

Re: FW: HTTP Status 404 and SEVERE: Error deploying configuration descriptor balancer.xml

2009-10-02 Thread Mark Thomas
jay wrote: Hi all I have install and start tomcat5.5, and in my tomcat5.5/webapps have a symlink to my page as follows : That isn't a standard ASF distribution. You need to talk to whichever organisation provided that package since it looks like it is broken. Alternatively, download a

Re: How to set tomcat policy setting ?

2009-10-02 Thread Mark Thomas
jay wrote: Hi : How to set tomcat policy setting ? DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION=Ubuntu 8.10 What policy? Tomcat version? I'd suggest reading this: http://catb.org/~esr/faqs/smart-questions.html Mark

Re: The body of the request is lost when you send the POST method !

2009-10-02 Thread Mark Thomas
Eugene wrote: Please, help me with bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=47797 and http://www.jboss.org/index.html?module=bbop=viewtopict=161900 Hi-jacking a thread is not going to aid your case. Mark -

RE: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Elli Albek
A few reasons why not to do this as a servlet filter: 1. There are many web apps on the server and I don't want to include the filter in each. 2. There are other valves like request filters that cannot work without the correct IP, as well as custom login valve. 3. We have a few environments and I

replication session with sharing webapps level

2009-10-02 Thread Paolo Santarsiero
I clustered three tomcat and 1 apache server. I implemented replication session by memory manager. I'd like to create a storage level on another machine and put in the web application. So the 3 tomcat must use it like a common webapps folder. I tested it and load balancing works, but when a

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Mark Thomas
Elli Albek wrote: A few reasons why not to do this as a servlet filter: 1. There are many web apps on the server and I don't want to include the filter in each. You don't have to. Configure it in the global web.xml. 2. There are other valves like request filters that cannot work without the

RE: SEVERE: Error getConfigured

2009-10-02 Thread jay
Hi andre I have input a testpage(/test/hello.jsp) in /var/lib/tomcat5.5/webapps/, and the page is can shown in the browser jay -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, October 02, 2009 4:13 PM To: Tomcat Users List Subject: Re: SEVERE: Error

Re: The body of the request is lost when you send the POST method !

2009-10-02 Thread Ronald Klop
Op vrijdag, 2 oktober 2009 10:30 schreef Eugene johnba...@gmail.com: Please, help me with bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=47797 and http://www.jboss.org/index.html?module=bbop=viewtopict=161900 -- Best Regards, Eugene Batogov Hi, It's a coincidence, but

Re: HttpSession.setMaxInactiveInterval() sets for all sessions?

2009-10-02 Thread Eric B.
Hassan Schroeder hassan.schroe...@gmail.com wrote in message news:4eedb92a0910012200v3ee194eay9fea204be71e4...@mail.gmail.com... On Thu, Oct 1, 2009 at 6:38 PM, Eric B. ebe...@hotmail.com wrote: I'm running Tomcat 6.0.18 and seeing something very bizarre. If I use

tomcat webapps can't start

2009-10-02 Thread jay
Hello : I am input my site in /var/lib/tomcat/webapps , I am using tomcat5.5 , os :ubuntu 8.10 But I can't see my page in browser and I find some error msg in my tomcat log Oct 2, 2009 8:32:41 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native

Re: tomcat webapps can't start

2009-10-02 Thread Peter Crowther
2009/10/2 jay uniojnqoif...@gmail.com: I am input my site in /var/lib/tomcat/webapps , I am using tomcat5.5 , os :ubuntu 8.10 But I can't see my page in browser  and I find some error msg in my tomcat log [...] SEVERE: Error deploying configuration descriptor balancer.xml

RE: tomcat webapps can't start

2009-10-02 Thread jay
Hi Peter I find the fille (/etc/tomcat5.5/Catalina/localhost/balancer.xml) ,but the balancer.xml is empty . How to Fix the XML ? Can you give me more hint about the problem ? Thatnks regards, Jay -Original Message- From: peter.crowth...@googlemail.com

SEVERE: Error listenerStart

2009-10-02 Thread jay
Hi all : I find the looks like the error (SEVERE: Error listenerStart) cause I can see my page in browser . I find these part of my log as follows : Oct 2, 2009 9:03:36 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows

POST request with timeout acts weird

2009-10-02 Thread Ronald Klop
Hello, I have made the servlet which I include below. If I send this request to it: telnet localhost 8080 POST /timeout HTTP/1.1 Host: crm.ronald.base.nl Content-Type: application/x-www-form-urlencoded Content-Length: 100 But I don't send any data. My servlet than waits in

RE: SEVERE: Error listenerStart

2009-10-02 Thread Caldarale, Charles R
From: jay [mailto:uniojnqoif...@gmail.com] Subject: SEVERE: Error listenerStart SEVERE: Error deploying configuration descriptor balancer_o.xml You appear to have a good bit of junk floating around in your Tomcat installation. As you've been told earlier, you probably need to completely

Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Hi List, Maybe this is a very stupid question, but I am wondering whether a ListenerStart of an application could be related in any possible way to problems with the Tomcat cluster? Thanks in advance.

Re: Graphing packages

2009-10-02 Thread Pid
On 01/10/2009 22:24, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark and David, On 10/1/2009 12:55 PM, Mark Shifman wrote: http://www.jfree.org/jfreechart/ is pretty good. FWIW, I believe JasperReports uses jFreeChart to do its graphics, and I've been very

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli, On 10/2/2009 4:41 AM, Elli Albek wrote: Yes, the remoteAddress member is protected. So you can only access it if you put your class in the same package. I thought of doing it like a filter (wrapping) but it does not look like a workable

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/2/2009 5:55 AM, Mark Thomas wrote: Elli Albek wrote: A few reasons why not to do this as a servlet filter: 1. There are many web apps on the server and I don't want to include the filter in each. You don't have to. Configure it in

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Mark Thomas
Christopher Schultz wrote: Mark, On 10/2/2009 5:55 AM, Mark Thomas wrote: Elli Albek wrote: A few reasons why not to do this as a servlet filter: 1. There are many web apps on the server and I don't want to include the filter in each. You don't have to. Configure it in the global

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Tim Funk
Context filters are executed before webapp filters. I believe (but not confirmed) that valves execute before the filters. -Tim Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/2/2009 5:55 AM, Mark Thomas wrote: Elli Albek wrote: A few reasons why not to

Re: Installing Tomcat: how much do versions matter?

2009-10-02 Thread Kreshna Aryaguna Nurzaman
Thanks for the reply. I guess I'll better use newer version of ArcIMS instead, although it means I need to wait until they purchase the software. By the way, ArcIMS 9.3 supports Apache 2.2.4 with Tomcat 6.0.13. The Apache version is slightly higher than what I've mentioned, but the Tomcat

Re: POST request with timeout acts weird

2009-10-02 Thread Ronald Klop
Op vrijdag, 2 oktober 2009 15:20 schreef Ronald Klop ronald-mailingl...@base.nl: Hello, I have made the servlet which I include below. If I send this request to it: telnet localhost 8080 POST /timeout HTTP/1.1 Host: crm.ronald.base.nl Content-Type:

Finding out the absolute path to application (appBase)

2009-10-02 Thread Igor Mukhin
Hello everybody, if I have an instance of org.apache.catalina.core.StandardContext cid:part1.01090004.0603@mail.ru, what is the best way two find out the absolute path to directory where the application is expanded (appBase)? For instance stdctx.getAppBase() would just return manager,

Re: mod_jk with Apache HTTP server version 2.2 and Tomcat 6.0

2009-10-02 Thread François Gravel
On Wed, Sep 30, 2009 at 5:49 PM, André Warnier a...@ice-sa.com wrote: François Gravel wrote: Greetings, I'm a newbie trying my hand at setting up a local PHP and Java development environment. I use a laptop with Windows XP SP3. Both service are running fine locally, after install. I will

Re: mod_jk with Apache HTTP server version 2.2 and Tomcat 6.0

2009-10-02 Thread François Gravel
On Wed, Sep 30, 2009 at 6:02 PM, André Warnier a...@ice-sa.com wrote: François Gravel wrote: ... Apart from the earlier message, I suggest you go back and undo the following : I then went through the steps to use Tomcat to auto-configure. So I've added the line Include

RE: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Caldarale, Charles R
From: Tim Funk [mailto:funk...@apache.org] Subject: Re: Cannot set remote address in valve (Tomcat 5.5) Context filters are executed before webapp filters. I'll bite: what's the difference between a context filter and a webapp filter? Aren't all filters are configured in some web.xml? -

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Tim Funk
My bad - by context filter I meant to say the web.xml as found in $CATALINA_HOME/conf/web.xml There is nothing contexty about it -Tim Caldarale, Charles R wrote: From: Tim Funk [mailto:funk...@apache.org] Subject: Re: Cannot set remote address in valve (Tomcat 5.5) Context filters are

RE: Finding out the absolute path to application (appBase)

2009-10-02 Thread Caldarale, Charles R
From: Igor Mukhin [mailto:iimu...@mail.ru] Subject: Finding out the absolute path to application (appBase) what is the best way two find out the absolute path to directory where the application is expanded (appBase)? There's no guarantee that the application is expanded, or that components

Re: Finding out the absolute path to application (appBase)

2009-10-02 Thread Mark Thomas
Caldarale, Charles R wrote: From: Igor Mukhin [mailto:iimu...@mail.ru] Subject: Finding out the absolute path to application (appBase) what is the best way two find out the absolute path to directory where the application is expanded (appBase)? There's no guarantee that the application is

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Hi again, I obviously meant ListenerStart Error. 2009/10/2 Bocalinda bocali...@gmail.com Hi List, Maybe this is a very stupid question, but I am wondering whether a ListenerStart of an application could be related in any possible way to problems with the Tomcat cluster? Thanks in

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Filip Hanik - Dev Lists
listenerStart error will have a stack trace in another log file depending on what version of Tomcat you are using. That stack trace will take out the guess work of what actually went wrong best Filip On 10/02/2009 10:12 AM, Bocalinda wrote: Hi again, I obviously meant ListenerStart Error.

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Hi Filip. I'm using version 6.0.20. You are not denying that the clustering could cause a ListenerStart Error, is that correct? 2009/10/2 Filip Hanik - Dev Lists devli...@hanik.com listenerStart error will have a stack trace in another log file depending on what version of Tomcat you are

Re: Installing Tomcat: how much do versions matter?

2009-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kresh, On 10/2/2009 10:49 AM, Kreshna Aryaguna Nurzaman wrote: Tomcat-wise, will there be any problems to accept slight differences in version? For example, is it okay if I use Apache 2.2.4 with Tomcat 6.0.20? And how about Tomcat connector? For

SEVERE: Parse error in default web.xml

2009-10-02 Thread andre
hi all : I have install tomcat5.5 the create a new test page in /var/lib/tomcat/webapps/test/hello.jsp, But I can't see the page (http://localhost:8180/test/hello.jsp) , it's show the msg as follows : HTTP Status 404 - type Status report message description The requested

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/2/2009 10:45 AM, Mark Thomas wrote: Christopher Schultz wrote: 2. There are other valves like request filters that cannot work without the correct IP, as well as custom login valve. Filters should be OK providing they are defined in

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Filip Hanik - Dev Lists
Correct, not denying nor confirming. I'm informing you that your log files would tell you what the actual error is :) Filip On 10/02/2009 10:32 AM, Bocalinda wrote: Hi Filip. I'm using version 6.0.20. You are not denying that the clustering could cause a ListenerStart Error, is that correct?

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Ok thanks! 2009/10/2 Filip Hanik - Dev Lists devli...@hanik.com Correct, not denying nor confirming. I'm informing you that your log files would tell you what the actual error is :) Filip On 10/02/2009 10:32 AM, Bocalinda wrote: Hi Filip. I'm using version 6.0.20. You are not denying

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-02 Thread Mark Thomas
Christopher Schultz wrote: Mark, On 10/2/2009 10:45 AM, Mark Thomas wrote: Christopher Schultz wrote: 2. There are other valves like request filters that cannot work without the correct IP, as well as custom login valve. Filters should be OK providing they are defined in the right

Re: Memory behavior: Tomcat versus Jetty

2009-10-02 Thread Christian Stöber
Tim, thanks for the hint with the BodyContent. Mark, thanks for your hint to take heap dump. On this morning the two Tomcat instances were using 200 MB more memory than the Jetty instances do. So I thought it's a good time to take a heap dump. In the heap histogram in jhat I saw a big

RE: Installing Tomcat: how much do versions matter?

2009-10-02 Thread Leo Donahue - PLANDEVX
That sounds like ArcIMS 4.0? Wow. I would wait until your newer release of ArcIMS arrives. Unless you are going to maintain shapefiles as your datasource, you won't get any support from ESRI if you plan on connecting ArcIMS 4.0 to some newer version of ArcSDE.

Re: Memory behavior: Tomcat versus Jetty

2009-10-02 Thread Mark Thomas
Christian Stöber wrote: Now I am using a separate thread pool (executor), which cleans up the pool when a thread is idle. And now the memory behavior is almost equal to Jetty. Thanks for posting your analysis. You might be interested to know that Tomcat 7 will use executors exclusively. Mark

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Hi, I'm back again. I figured out why I got a ListenerStart Error, or at least, I got a nicer error message. However, I don't get it why my Tomcat servers start sometimes without problems, and other times show the ListenerStart Error. After restarting Tomcat a few times, the problem

Re: Issue With SSI And JSP

2009-10-02 Thread Leonard Bedner
Mark Thomas wrote: Leonard Bedner wrote: When jsp is taken out of url-pattern. it returns the time, and the context path perfectly. When I add it back though, I just get whitespace. Any ideas? JSP processing is also done by a servlet. You can't have the same resource served by two

Re: Issue With SSI And JSP

2009-10-02 Thread Mark Thomas
Leonard Bedner wrote: init-param param-namecontentType/param-name param-valuetext/x-server-parsed-html(;.*)?/param-value /init-param Leave this as is. Perhaps I am just not understanding how to use the content type, most likely because I do not know

Loading Jar files in a particular order on Tomcat 6

2009-10-02 Thread Rasmus Larsen
I'm working on a web application where I have dependencies on two different jars containing two different versions of the same class. The jar files are supplied by an external vendor and cannot be changed. I've created a custom class loader, which first first tries to load classes from a specific

RE: Connection between ListenerStart and clustering

2009-10-02 Thread Caldarale, Charles R
From: Bocalinda [mailto:bocali...@gmail.com] Subject: Re: Connection between ListenerStart and clustering The class mentioned is actually there java.lang.NoClassDefFoundError: org/springframework/web/context/ContextLoaderListener Is the class perhaps in too many places? It must not

RE: Loading Jar files in a particular order on Tomcat 6

2009-10-02 Thread Caldarale, Charles R
From: Rasmus Larsen [mailto:kolibria...@gmail.com] Subject: Loading Jar files in a particular order on Tomcat 6 I'm working on a web application where I have dependencies on two different jars containing two different versions of the same class. Ugly, at best. I've created a custom class

SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled

2009-10-02 Thread Joe Hansen
Hey all, Apache 2.0/Tomcat 5.5/mod_jk installed on RedHat Enterprise Linux ES 4.0. Our web server has been up and running smoothly for more than 2 years now. This morning I noticed that the websites were down. When I checked the logs, I found the following message: java.io.FileNotFoundException:

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Hi Chuck, That's a good point. First thing in the morning I will check out. I know the basics of the Tomcat classloading principle. However, I'm trying to imagine myself the situation where a duplication of a class leads to an ClassNotFound error (It's quite ironic honestly :)) If I'm not wrong

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
I pressed send too quickly. How can it be that most of the time Tomcat starts, and sometimes it spits out the ClassNotFound error? I suppose that the classloading order does not change from day to day? 2009/10/3 Bocalinda bocali...@gmail.com Hi Chuck, That's a good point. First thing in the

RE: Connection between ListenerStart and clustering

2009-10-02 Thread Caldarale, Charles R
From: Bocalinda [mailto:bocali...@gmail.com] Subject: Re: Connection between ListenerStart and clustering If I'm not wrong Tomcat loads it classes in the following order: 1. bootstrap 2. classpath classes 3. webapps classes/libs 4. common libs 5. shared libs As I recall, the webapp

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
If I'm not wrong Tomcat loads it classes in the following order: 1. bootstrap 2. classpath classes 3. webapps classes/libs 4. common libs 5. shared libs As I recall, the webapp classloader takes precedence over the system classloader (the -cp path handler), but I'd have to check the

RE: Connection between ListenerStart and clustering

2009-10-02 Thread Caldarale, Charles R
From: Bocalinda [mailto:bocali...@gmail.com] Subject: Re: Connection between ListenerStart and clustering What causes timing issues? Different messages arriving in a different order, for one. Classes are only loaded on demand, not simply because they exist in a defined library. I would

FW: SEVERE: Parse error in default web.xml

2009-10-02 Thread andre
hi all : I have install tomcat5.5 the create a new test page in /var/lib/tomcat/webapps/test/hello.jsp, But I can't see the page (http://localhost:8180/test/hello.jsp) , it's show the msg as follows : HTTP Status 404 - type Status report message description The requested

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
Different messages arriving in a different order, for one. Classes are only loaded on demand, not simply because they exist in a defined library. I would suppose the classloading ritual is a serial process, instead of a parallel process. Nope. In a multi-threaded environment, you cannot

Re: SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled

2009-10-02 Thread Joe Hansen
I think I just solved my issue. I followed the instructions on GoDaddy to get this done. To install the GoDaddy Certificates: Create a keystore file openssl pkcs12 -export -chain -CAfile /etc/httpd/conf/ssl.crt/gd_intermediate_bundle.crt -in /etc/httpd/conf/ssl.crt/_.joesdomain.com.crt -inkey

Re: Connection between ListenerStart and clustering

2009-10-02 Thread Bocalinda
I currently don't have access to the server to check catalina_home/lib contents, but I do have the webapp.war here. So I did a grep for the ContextLoaderListener and it turns out there are 2 libraries in my web-inf/lib containing a class definition for that: spring-2.5.6.jar and

RE: Connection between ListenerStart and clustering

2009-10-02 Thread Caldarale, Charles R
From: Bocalinda [mailto:bocali...@gmail.com] Subject: Re: Connection between ListenerStart and clustering it turns out there are 2 libraries in my web-inf/lib containing a class definition for that: spring-2.5.6.jar and spring-web-2.5.6.jar Maybe one is interfering with the other

RE: Installing Tomcat: how much do versions matter?

2009-10-02 Thread Kreshna Aryaguna Nurzaman
Hi, yes. We're going to maintain shapefiles anyway, hence the 4.0 version. After all, it's just for demo purpose in my laptop :D Leo Donahue - PLANDEVX wrote: That sounds like ArcIMS 4.0? Wow. I would wait until your newer release of ArcIMS arrives. Unless you are going to maintain

Re: Installing Tomcat: how much do versions matter?

2009-10-02 Thread Kreshna Aryaguna Nurzaman
Thanks, Chris! It's a really helpful reply :-) The good news is that the latest version of ArcIMS support both Apache 2.2 and 2.0 branch. Guess I better use the latest. -Kresh Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kresh, On 10/2/2009 10:49 AM,