Re: JK Status URI Mappings empty

2010-05-26 Thread Rainer Jung
On 25.05.2010 23:16, Bob Jewell wrote: mod_jk 1.2.28, apache 2.2.3 (-43.el5) When viewing status in the JK Status Manager, our list of URI Mappings displays all the mappings accurately, but the statistical/informational values are all empty. Server URI Match Type Source Reply

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Pid
On 26/05/2010 04:08, Leon Kolchinsky wrote: Hello I've installed Tomcat 6.0.26 and running Confluence software on it. I think that maximum 2 concurrent users using this application in at this stage (testing now). Yesterday I've got this error in catalina.out and Tomcat died (I'm

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Tobias Crefeld
Am Wed, 26 May 2010 13:08:23 +1000 schrieb Leon Kolchinsky lkolc...@gmail.com: # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? Without knowing the application I would strongly

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Rainer Jung
On 26.05.2010 11:48, Pid wrote: On 26/05/2010 04:08, Leon Kolchinsky wrote: Hello I've installed Tomcat 6.0.26 and running Confluence software on it. I think that maximum 2 concurrent users using this application in at this stage (testing now). Yesterday I've got this error in catalina.out

Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-26 Thread Pid
On 24/05/2010 21:54, ago...@libero.it wrote: Thanks for suggestion. But i have win2008 with dual quad core processor, 4GB ram. The CPU usage is to 5% and ram is used to the 75% when error occours. So the server isn't under load. What block the reload time of page (in presence of error

Re: question for singlesignon for vertical cluster

2010-05-26 Thread Pid
On 24/05/2010 00:36, Okubo, Yasushi (TSD) wrote: Hi I would like to enable singlesignon on vertical cluster environment [multi-nodes on multiple hosts]. We are using clustersinglesignon under host element, and this works in horizontal cluster, but does not work in vertical cluster

RE: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Caldarale, Charles R
From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message Yesterday I've got this error in catalina.out and Tomcat died (I'm attaching hs_err_pid5460.log file): This is not a

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Pid
On 26/05/2010 11:15, Rainer Jung wrote: On 26.05.2010 11:48, Pid wrote: On 26/05/2010 04:08, Leon Kolchinsky wrote: Hello I've installed Tomcat 6.0.26 and running Confluence software on it. I think that maximum 2 concurrent users using this application in at this stage (testing now).

RE: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message The current JVM version is 6u20, so you might want to try running with that before filing a bug report or expanding the swap file. Should

RE: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method invocation, such as #{helloWorldController.doSomething(helloWorldModel)}

2010-05-26 Thread John Wu
Just to follow up. Same failure happens on Tomcat RC3. n828cl wrote: From: John Wu [mailto:johnwu@gmail.com] Subject: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method invocation, such as #{helloWorldController.doSomething(helloWorldModel)} I tried to use JSF 2.0 + Facelets

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Carl
I am the person who reported occasional but persistent abrupt terminations of the 1.6 JVM on levels 6u10 and above. I did go back to 6u7 and the application has run without a burp for three months. I had tested 6u18/6u19, both of which produced the same result. I am getting ready to start

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, May 25, 2010 4:47 PM To: Tomcat Users List Subject: RE: Tomcat 6.0 always uses default host in multi-host config From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject:

Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread laredotornado
Hi, I'm running Tomcat 6.0.26 on Mac 10.6.3. I have this in my WEB-INF/web.xml file ... error-page exception-typeException/exception-type location/error-pages/500.jsp/location /error-page but when I create a JSP page with %=

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Rainer Jung
On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message Yesterday I've got this error in catalina.out and Tomcat died (I'm

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread Dave Cherkassky
Dave: I believe you need a fully-qualified class name for the exception, eg: error-page exception-typejava.lang.Exception/exception-type location/error-pages/500.jsp/location /error-page Good luck, -- Dave Cherkassky VP of Software Development DJiNN Software Inc. On 26/05/2010 10:34

RE: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Caldarale, Charles R
From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message Option 1: Use the client Hot Sopt compiler (Add -client when starting the JVM). Usually not available on 64-bit

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Rainer Jung
On 26.05.2010 16:38, Rainer Jung wrote: On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message Yesterday I've got this error in

RE: question for singlesignon for vertical cluster

2010-05-26 Thread Okubo, Yasushi (TSD)
I am adding the following cluster element to engine for vertical cluster and to host for horizontal cluster for development. I started configuring mod_proxy_ajp and have some problem to configure, so I may post another question later. Anyway, for vertical cluster, we have setup DNS round

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Tomcat 6.0 always uses default host in multi-host config When you have a config like the OP, where each host is defined by name, not IP, in the server.xml, there is obviously some resolution of IP to name that has to

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
Trying again to see if I can respond to Andre's question regarding what my directory structure is in order to help me determine where I've gone wrong in my setup and why I'm not getting the auth and user values in the request that is being forwarded to my Tomcat server. I can connect via the

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 18:30, Savoy, Melinda wrote: Trying again to see if I can respond to Andre's question regarding what my directory structure is in order to help me determine where I've gone wrong in my setup and why I'm not getting the auth and user values in the request that is being forwarded

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread laredotornado
I tried your suggestion, and sadly it didn't work. What is the difference between what the errorPage directive does and what the web.xml error-page clause does? - Dave dcherk wrote: Dave: I believe you need a fully-qualified class name for the exception, eg: error-page

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread Kris Schneider
Dave - looks like I just posted something for you to try in your JavaRanch forum thread... Basically, it looks like having a committed response (you've said that your original JSP was partially rendered) can interfere with the error page mechanism. For testing purposes, try increasing the page

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
Ranier - thanks for the reply. 1. I just tried this again, but I set all 3 (Default Website, jakarta virtual website and SCMIS virtual website) to Windows Authentication checked and Anonymous access unchecked and I was prompted with a login dialog box. I could not get authenticated and then

Re: set-cookie

2010-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/24/2010 3:55 PM, Caldarale, Charles R wrote: From: banto [mailto:banto...@gmail.com] Subject: Re: set-cookie i´m using something like System.out.println(Thread.currentThread().getStackTrace()); What you got was a display of the

Re: set-cookie

2010-05-26 Thread Kris Schneider
On Wed, May 26, 2010 at 2:04 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/24/2010 3:55 PM, Caldarale, Charles R wrote: From: banto [mailto:banto...@gmail.com] Subject: Re: set-cookie i´m using something like

RE: set-cookie

2010-05-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: set-cookie Thread.currentThread().dumpStack(); Or the more traditional: new Throwable(Stack Dump).printStackTrace(); And if we look inside java.lang.Thread, we find: public static void dumpStack() {

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 19:53, Savoy, Melinda wrote: Ranier - thanks for the reply. 1. I just tried this again, but I set all 3 (Default Website, jakarta virtual website and SCMIS virtual website) to Windows Authentication checked and Anonymous access unchecked and I was prompted with a login dialog

Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread devnull
Hi, Thanks for reading this. I am developing a webapp and do not understand the following: In my app, I create a Timer when the servlet starts. When tomcat stops, I try to stop the timer in order to avoid memory leaks. My question is: why do I get a NullPointerException while trying to access

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Pid
On 26/05/2010 19:43, devn...@web.de wrote: Hi, Thanks for reading this. I am developing a webapp and do not understand the following: In my app, I create a Timer when the servlet starts. When tomcat stops, I try to stop the timer in order to avoid memory leaks. My question is: why do I

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread roberto calosino
Hi, thank you for your reply. First I'd like to say that I do implement ServletContextListener at all beacause destroy() fires after the tomcat warnings. That being said, on this website: http://stackoverflow.com/questions/2255884/jython-and-implementing-httpservlet-contextinitialized is

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
I did as you suggested below. I removed SCMIS virtual website from within the jakarta virtual website and I got this in the log: [Wed May 26 14:00:09.271 2010] [3036:4236] [debug] jk_isapi_plugin.c (1835): Filter started [Wed May 26 14:00:09.271 2010] [3036:4236] [debug] jk_uri_worker_map.c

RE: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Caldarale, Charles R
From: roberto calosino [mailto:devn...@web.de] Subject: Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException You can optionally also let your servlet both extend HttpServlet and implement ServletContextListener It is also said that it is not

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Emeric Vernat
Hi, You could also eliminate the mix match and add a finally, with the following servlet code for example: public void init() throws ServletException { boolean initOk = false; mytimer = new Timer(__test__); try {

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emeric, On 5/26/2010 3:52 PM, Emeric Vernat wrote: You could also eliminate the mix match and add a finally, with the following servlet code for example: public void init() throws ServletException { boolean initOk = false;

RE: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException I'd bet that Tomcat's stop leaks procedure is clearing-out a static Timer reference and /then/ the

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Emeric Vernat
Hi Chris, The initial submitter had a HttpServlet implementing ServletContextListener with a non static timer, and in fact there were 2 instances of the class: the contextDestroyed method of the servletContextListener instance can't cancel the timer of the httpServlet instance

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, May 26, 2010 10:23 AM To: Tomcat Users List Subject: RE: Tomcat 6.0 always uses default host in multi-host config From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]

Re: stuck confused an need help please

2010-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 5/24/2010 2:37 PM, Yucca Nel wrote: java.sql.SQLException: Access denied for user ' yucca123_tom'@'localhost' (using password: YES) It looks like you have a leading space before your username. How are you configuring your JDBC

Re: stuck confused an need help please

2010-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 5/24/2010 3:28 PM, Yucca Nel wrote: aplogies there are 2 users and both credentials are configured correct one for hibernate and one for tomcat Doesn't Tomcat use Hibernate? Or the other way around? Why not configure Hibernate to use

apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
Hello I'm new to tomcat and i have some experience with apache, i have a debian server with apache 2.2 + mod_jk and tomcat 6 server. My doc root for my site is /home/mydomain/htdocs and i have a site which is using a WAR which i deployed it via the tomcat manager. So far if i go to

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Tomcat 6.0 always uses default host in multi-host config with the it set to true, isn't the host header string ignored? Yes, it is ignored. The entire discussion is about what happens with useIPVHosts set to true! Not

RE: stuck confused an need help please

2010-05-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: stuck confused an need help please On 5/24/2010 2:37 PM, Yucca Nel wrote: java.sql.SQLException: Access denied for user ' yucca123_tom'@'localhost' (using password: YES) It looks like you have a leading space

RE: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Caldarale, Charles R
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: apache 2 + tomcat 6 virtualhost question what i need is that when i type www.mydomain.com it goes to my app and stays with the mydomain.com url. The Tomcat side of the configuration is covered in the FAQ:

Re: stuck confused an need help please

2010-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/26/2010 5:36 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: stuck confused an need help please On 5/24/2010 2:37 PM, Yucca Nel wrote: java.sql.SQLException: Access denied

RE: stuck confused an need help please

2010-05-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: stuck confused an need help please FWIW, he doesn't seem to be listening. You noticed... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, May 26, 2010 4:35 PM To: Tomcat Users List Subject: RE: Tomcat 6.0 always uses default host in multi-host config From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject:

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Tomcat 6.0 always uses default host in multi-host config Allow me one more attempt at a clear doc? 1) If useIPVHosts=false (default), then the host header name determines Host for processing, or default host of the

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 17:39, Caldarale, Charles R escribi: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: apache 2 + tomcat 6 virtualhost question what i need is that when i type www.mydomain.com it goes to my app and stays with the mydomain.com url. The Tomcat side

URL Exceeding maxHttpHeaderSize

2010-05-26 Thread glau_pldm
I'm running tests against a web app running in Tomcat and I was asked to test extremely long URL query strings. I've read servers should throw HTTP status 414 if the header size is too long however whenever I make the call to Tomcat there is no response; ideally I would like it to return a 414

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
Hi Patricio, try this: 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/ instead of http://mydomain:8080/myapp How you do this depends on how you deployed the app in the first place - a) if you deployed a myapp.war and use autodeploy, then rename it to ROOT.war and redeploy it

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
Small mistake - put worker.myapp.port=8009 instead of worker.myapp.port=8109 (port needs to be the same as the one in tomcat's conf/server.xml Connector port=8009 protocol=AJP/1.3 .. ) On Thu, May 27, 2010 at 12:31 AM, Borut Hadžialić borut.hadzia...@gmail.com wrote: Hi Patricio, try this:

RE: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Jeffrey Janner
Thanks for working through this with me Chuck. Sorry for the frustration. Probably should have started MY inquiry off as a new thread. Now that I got how useIPVhosts works (probably), did you see any drawbacks to setting up multiple Services to achieve what the original poster was going for,

RE: TC security/impersonation question

2010-05-26 Thread Timothy Taylor
Hi, Just a dumb question from a newbe but if I implement any type of security with TC then under what identity will the invoked WS stack object execute the request? Specifically, if I enable Kerberos authentication between the requesting application and TC does this guarantee the WS stack

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 18:31, Borut Hadžialić escribió: Hi Patricio, try this: 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/ instead of http://mydomain:8080/myapp How you do this depends on how you deployed the app in the first place - a) if you deployed a myapp.war and use

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
In that case you can have one tomcat instance per application. Each application can run inside its own tomcat process and have different ajp port, mod_jk worker and apache virtual host. On Thu, May 27, 2010 at 1:29 AM, Bithost Ltda. bithost.ch...@gmail.com wrote: El 26-05-10 18:31, Borut

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Hassan Schroeder
On Wed, May 26, 2010 at 4:29 PM, Bithost Ltda. bithost.ch...@gmail.com wrote: I appreciate this very helpful guide, i have some of these configs already in motion (got the ajp connector port, workers.properties and mod_jk included in apache), but what if i have more than 2 sites which need the

Re: Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread Mark Thomas
On 26/05/2010 21:33, Christopher Schultz wrote: I'd bet that Tomcat's stop leaks procedure is clearing-out a static Timer reference and /then/ the ServletContextListener is trying to access it. I'll take that bet. How much ;) That's not supposed to happen, I'm guessing: the stop leaks stuff

Re: Tomcat 6.0 always uses default host in multi-host config

2010-05-26 Thread Bill Barker
Allow me one more attempt at a clear doc? 1) If useIPVHosts=false (default), then the host header name determines Host for processing, or default host of the Engine. 2) If useIPVHosts=true, then IP address of request determines Host for processing, providing the IP is provided as the host name,

RE: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Caldarale, Charles R
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT Then declare multiple Host elements in Tomcat, each with its own

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 23:11, Caldarale, Charles R escribi: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT Then

Re: Tomcat died on java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? message

2010-05-26 Thread Leon Kolchinsky
Thanks guys for you replys, Carl - Please update this thread with results of your check for 6u20. I've decided to install x86 version of JDK - jdk-6u7-linux-i586.bin (stability is my main concern now) So in my installation I just installed jdk-6u7-linux-i586.bin version. 1. Changed symlink: #