Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-02 Thread Mark Thomas
On 02/08/2011 02:11, Bob DeRemer wrote: Hi Mark, Actually, in the logs it does tell me that ExpandWar deleteDir failed. This is because my extensions I have are actually JAR files that we're dynamically loaded so we don't have to restart the webapp. I'm using the addUrl hack, but by

Re: Upgrading from Tomcat 7.0.8 to 7.0.10 and higher causes Old Generation memory problems

2011-08-02 Thread Ian Marsh
Just for completeness on anyone reading this... Setting development mode to false has vastly improved the performance, as is no doubt already known by most people! My Old Generation memory now cycles nicely, clearing out by 75% each time. I also added the checkInterval parameter (at anything

Re: Tomcat 7: Why is JDK needed ?

2011-08-02 Thread Bobi St
Hallo, --- Christopher Schultz ch...@christopherschultz.net schrieb am Di, 2.8.2011: The message is correct as stated; when JAVA_HOME is used, it *must* point to a JDK.  If you want a specific JRE, you must set JRE_HOME, not JAVA_HOME. Well, if JDK is not needed anymore, why bother

RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-02 Thread Bob DeRemer
Should YourKit be able to pinpoint this? I've used it for memory and other profiling, but haven't used it to see what might be holding onto JARs after a webapp has been shutdown. Thanks again, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August

How does it get the URL forwarded to realm ?

2011-08-02 Thread Chema
Hi: I've got Tomcat 7.0.16 and I'm using realm authentication/authorization mechanism , via FORM method. I'd like to store in user session the URL accessed and forwarded to realm authentication. An example of URL could be http://localhost:8080/myapp/protected/file.properties I try to configure

Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-02 Thread Mark Thomas
On 02/08/2011 09:54, Bob DeRemer wrote: Should YourKit be able to pinpoint this? I've used it for memory and other profiling, but haven't used it to see what might be holding onto JARs after a webapp has been shutdown. It should do. I have used it in the past to track down locked files. Mark

Re: How does it get the URL forwarded to realm ?

2011-08-02 Thread Mark Thomas
On 02/08/2011 10:10, Chema wrote: Hi: I've got Tomcat 7.0.16 and I'm using realm authentication/authorization mechanism , via FORM method. I'd like to store in user session the URL accessed and forwarded to realm authentication. Tomcat does this automatically. An example of URL could

Re: How does it get the URL forwarded to realm ?

2011-08-02 Thread Chema
Why? What problem are you trying to solve? Well, I'm invoking j_security_check with an asynchronous RPC call. If I use a HTML form and action = j_security_check , Tomcat performs redirection after authenticate user, as you said, But I need to implement with an asynchronous RPC call. So, my

Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?

2011-08-02 Thread Ron McNulty
Hi AN We use Oracle 11g with Jetspeed portal on Tomcat. 1. The resource definition goes in conf/context.xml just like for any web application. The portal does not change this. 2. You need to put Oracle's ojdbc6.jar into the /lib directory of Tomcat so that the driver class can be loaded by

Tomcat file permissions

2011-08-02 Thread Richard Frovarp
We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. The issue we're seeing is that we had a webapp that was misconfigured, so that the tomcat7 user and all groups it is under did not have read access to the files. These files do not have world

Re: Tomcat file permissions

2011-08-02 Thread Konstantin Kolinko
2011/8/2 Richard Frovarp rfrov...@apache.org: We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Best regards, Konstantin Kolinko

Re: Tomcat file permissions

2011-08-02 Thread Richard Frovarp
On 08/02/2011 03:37 PM, Konstantin Kolinko wrote: 2011/8/2 Richard Frovarprfrov...@apache.org: We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Tomcat 7.0.16 JSVC 1.0.5

Stuck at making jsvc while installing tomcat

2011-08-02 Thread Shen LI
*Hi All,* * * *I am new to use tomcat. I got a problem of installing jsvc.* * * *I followed this tutorial to setup the system http://tomcat.apache.org/tomcat-7.0-doc/setup.html. Sample command lines are:* cd $CATALINA_HOME/bin tar xvfz commons-daemon-native.tar.gz cd

Re: Different behavior between Tomcat service installation Tomcat console mode

2011-08-02 Thread Alexandre Terrasson
Hi, thanks guys, @Konstantin Kolinko : 1/ In the log, the error I get is a SQLException : Listener Error. I got this only with service version of Tomcat, not with the console mode, that's my problem ... 2/ The Jar of my driver is located in the Tomcat lib folders. The driver is not only a jar, I

Re: Stuck at making jsvc while installing tomcat

2011-08-02 Thread Mladen Turk
On 08/03/2011 06:03 AM, Shen LI wrote: *I am new to use tomcat. I got a problem of installing jsvc.* * /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’ ... probably followed by something like: /usr/include/stdio.h:34:21: error: stddef.h: No such file