Re: Memory limits for children processes when running Tomcat as service?

2013-06-27 Thread André Warnier
honyk wrote: On 2013-06-26 André Warnier wrote: honyk wrote: Dear All, I have a JSF2.0 app that executes (via ProcessBuilder) an external script. This script opens PPTX via PowerPoint ActiveX object, manipulate it and save. It runs on Windows Server 2008 R2 64-bit, 4GB RAM, JDK 7. When

Tomcat 7 - Getting tld scan error when i compile jsp using Ant task.

2013-06-27 Thread Manikandan
Hi, Am using Tomcat 7.0.41 and Struts 2.3.12 to build a web application. Got the below error when I try to compile the jsp's using Ant(1.8.1) task. I have used struts tags in my test.jsp file. Can some one throw lights to resolve this issue. [java] 27 Jun, 2013 2:44:47 PM

RE: Tomcat 7 - Getting tld scan error when i compile jsp using Ant task.

2013-06-27 Thread Caldarale, Charles R
From: Manikandan [mailto:manikanda...@gmail.com] Subject: Tomcat 7 - Getting tld scan error when i compile jsp using Ant task. Got the below error It's not an error; note the use of INFO in the message. Can some one throw lights to resolve this issue. It's simply providing information on

Re: Tomcat 7 - Getting tld scan error when i compile jsp using Ant task.

2013-06-27 Thread Manikandan
Thanks for your immediate response. Bolded sentence only an *info* message. Next sentence is an exception after that ant process will get terminated and couldn't complete the compilation task. [java] 27 Jun, 2013 2:44:47 PM org.apache.jasper.compiler.TldLocationsCache tldScanJar *

Re: Form Authentication and Cache-Control

2013-06-27 Thread Jan Vávra
Hi. Note that Cache-Control:private does not disable caching. Instead, it disables public-caching for proxies. The browser is still free to cache the document in certain ways. True disabling of the cache would be to set Cache-Control to no-cache or no-store (though no-store is usually more

BackupManager start fails under heavy load

2013-06-27 Thread Patrick Savage
We have an issue in our Tomcat 7.0.30 clustered production environment on RHEL 5 where Tomcat fails to start our application when other nodes in the cluster are under extremely heavy load. It fails because the BackupManager cannot start the replicated map due to timeouts trying to connect to all

Re: Tomcat 7 - Getting tld scan error when i compile jsp using Ant task.

2013-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 6/27/13 10:12 AM, Manikandan wrote: Bolded sentence only an *info* message. Next sentence is an exception after that ant process will get terminated and couldn't complete the compilation task. [java] 27 Jun, 2013

Tomcat deployment webapps and the whole stew

2013-06-27 Thread Narahari 'n' Savitha
The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse. https://docs.google.com/document/d/1xHcHGof8ERugFUimHUuiYTtmvZSqxChAm1NHuxMTS5k/edit?usp=sharing

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse. https://docs.google.com/document/d/1xHcHGof8ERugFUimHUuiYTtmvZSqxChAm1NHuxMTS5k/edit?usp=sharing Sigh,

RE: Memory limits for children processes when running Tomcat as service?

2013-06-27 Thread honyk
On 2013-06-27 André Warnier wrote: honyk wrote: On 2013-06-26 André Warnier wrote: honyk wrote: Dear All, I have a JSF2.0 app that executes (via ProcessBuilder) an external script. This script opens PPTX via PowerPoint ActiveX object, manipulate it and save. It runs on Windows

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/27/13 3:10 PM, Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

RE: Memory limits for children processes when running Tomcat as service?

2013-06-27 Thread Martin Gainty
When you run your MS app standalone how much heap, stack does this process occupy? When TC startsup how much heap,stack is left over for the standalone Microsoft app? If youre not going to powerup your machine with 8GB RAM and at least tera of storage your only solution is to configure your

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Narahari 'n' Savitha
Thank You for your answers and your valid critique (aka rants) In your document, you failed to mention Tomcat version, JRE version, or OS version. I'm going to assume that from the following path /opt/narahari/paas/webapps that you're running on some sort of Linux / UNIX / MacOS (ie, not

Re: Memory limits for children processes when running Tomcat as service?

2013-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 6/27/13 3:44 PM, Martin Gainty wrote: When you run your MS app standalone how much heap, stack does this process occupy? When TC startsup how much heap,stack is left over for the standalone Microsoft app? Read the documentation

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread André Warnier
Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

Local VisualVM connection to Tomcat

2013-06-27 Thread honyk
Dear All, I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under not heavy load. I am trying to investigate what the app causes this, but I haven't succeeded in reproducing it locally yet. I found several articles

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
Comments in line: On 6/27/2013 1:07 PM, Narahari 'n' Savitha wrote: Thank You for your answers and your valid critique (aka rants) In your document, you failed to mention Tomcat version, JRE version, or OS version. I'm going to assume that from the following path /opt/narahari/paas/webapps

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 1:17 PM, André Warnier wrote: Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

Re: Local VisualVM connection to Tomcat

2013-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 6/27/13 4:31 PM, honyk wrote: I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under not heavy load. Like what kinds of options? What kind of load? What

RE: Local VisualVM connection to Tomcat

2013-06-27 Thread Caldarale, Charles R
From: honyk [mailto:j.tosov...@email.cz] Subject: Local VisualVM connection to Tomcat It is not needed if you are going to monitor it locally, using the same user that Tomcat runs with. The key part of the above is same user. But there is no further description for that simpler (local)

Re: Local VisualVM connection to Tomcat

2013-06-27 Thread Mark Eggers
On 6/27/2013 1:31 PM, honyk wrote: Dear All, I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under not heavy load. I am trying to investigate what the app causes this, but I haven't succeeded in reproducing it

Re: Local VisualVM connection to Tomcat

2013-06-27 Thread Mark Thomas
On 27/06/2013 22:03, Mark Eggers wrote: Getting a first start on where your leaks are is pretty easy as well. 1. Load your web application 2. Run it to generate the leak 3. Unload it from Tomcat using the manager app (or any other method) 4. Do a Find Leaks from the manager app (or garbage

Re: Form Authentication and Cache-Control

2013-06-27 Thread Terence M. Bandoian
On 6/27/2013 9:37 AM, Jan Vávra wrote: Hi. Note that Cache-Control:private does not disable caching. Instead, it disables public-caching for proxies. The browser is still free to cache the document in certain ways. True disabling of the cache would be to set Cache-Control to no-cache or

RE: Local VisualVM connection to Tomcat

2013-06-27 Thread honyk
On 2013-06-27 Christopher Schultz wrote: On 6/27/13 4:31 PM, honyk wrote: I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under not heavy load. Like what kinds of options? What kind of load? What does the

RE: Local VisualVM connection to Tomcat

2013-06-27 Thread Caldarale, Charles R
From: honyk [mailto:j.tosov...@email.cz] Subject: RE: Local VisualVM connection to Tomcat Now I've found this interesting article: https://blogs.oracle.com/nbprofiler/entry/monitoring_java_processes_running_as Note that the article is over four years old. One of its key steps doesn't work

Accessing HREF Target from Servlet

2013-06-27 Thread George S.
I have a question. I'm doing some oAuth stuff, and the remote site is redirecting me to: my_url.html#something=blahother_thing=blah-blah I can see this is the url in the redirect of my browser bar. What I can't figure out is how to access the part of the URL after the pound sign. I've tried

Re: Accessing HREF Target from Servlet

2013-06-27 Thread George S.
OK, I'm thinking that was a dumb question. If I'm understanding things, the browser is making the request for the page, and then looking for the HREF target in the generated page. So, the reality is that tomcat never sees the part after the # sign. Rats. On 6/27/13 6:51 PM, George S. wrote:

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Narahari 'n' Savitha
Here is what I tried. CATALINA_HOME=/opt/narahari/paas/apache-tomcat-7.0.37 CATALINA_BASE=/opt/narahari/paas/adp-tomcat In the $CATALINA_BASE/conf/Catalina/localhost/ptl#cts.xml file the entry is Context docBase=/opt/narahari/paas/webapps/ptl#cts.war antiResourceLocking=false /

RE: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Caldarale, Charles R
From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: Tomcat deployment webapps and the whole stew 22:18:34,427 ERROR [ConfigServlet] com.adp.rev.config.ConfigServlet.init(): Error trying to read file [null]. Exception = [java.lang.NullPointerException]

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 7:32 PM, Narahari 'n' Savitha wrote: Here is what I tried. CATALINA_HOME=/opt/narahari/paas/apache-tomcat-7.0.37 CATALINA_BASE=/opt/narahari/paas/adp-tomcat In the $CATALINA_BASE/conf/Catalina/localhost/ptl#cts.xml file the entry is That's going to be much better than the

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 8:19 PM, Caldarale, Charles R wrote: From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: Tomcat deployment webapps and the whole stew 22:18:34,427 ERROR [ConfigServlet] com.adp.rev.config.ConfigServlet.init(): Error trying to read file [null]. Exception =