Ant Tasks Question

2012-03-29 Thread Nick Williams
We use both Tomcat 6 and 7 ant tasks in our build scripts. I don’t want to declare every single task by hand (I can’t just use taskdef with catalina.tasks, because Tomcat 6 and 7 tasks declare task names that conflict with each other), so I use namespaces: http://tomcat.apache.org/ant/tomcat/6";

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Farrukh, On 3/29/12 9:02 AM, Farrukh Najmi wrote: > In my webapp I am using java.util.ServiceLoader class to > dynamically load jars using an HttpUrlConnection to the jar served > by the static app in the tomcat instance. Is your webapp hanging durin

Re: FormAuthentication Valve changes fail with RequestListeners?

2012-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 3/29/12 12:29 PM, Thomas Strauß wrote: > The application provides it’s own realm, that is valid for the > whole server (configured in server.xml). The realm is based on > datasource realm. Can you describe the changes in behavior that your

Re: FormAuthentication Valve changes fail with RequestListeners?

2012-03-29 Thread Konstantin Kolinko
2012/3/29 Thomas Strauß : > Hi, > > we have a web application using the FormAuthentication with Tomcat 7.0.11. > > The application provides it’s own realm, that is valid for the whole server > (configured in server.xml). The realm is based on datasource realm. > > The application provides request l

FormAuthentication Valve changes fail with RequestListeners?

2012-03-29 Thread Thomas Strauß
Ø Resending the message because of problems with my digital signature. Hi, we have a web application using the FormAuthentication with Tomcat 7.0.11. The application provides it's own realm, that is valid for the whole server (configured in server.xml). The realm is based on datasource r

FormAuthentication Valve changes fail with RequestListeners?

2012-03-29 Thread Thomas Strauß
Hi, we have a web application using the FormAuthentication with Tomcat 7.0.11. The application provides it’s own realm, that is valid for the whole server (configured in server.xml). The realm is based on datasource realm. The application provides request listeners that rely on the req

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-29 Thread Filip Hanik (mailing lists)
http://svn.apache.org/viewvc?view=revision&revision=1306946 > -Original Message- > From: Osipov, Michael [mailto:michael.osi...@siemens.com] > Sent: Thursday, March 29, 2012 1:36 AM > To: Tomcat Users List > Subject: RE: [JDBC Pool] PoolCleaner creates some sort of memory > -

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Farrukh Najmi
On 03/29/2012 08:47 AM, Pid wrote: On 29/03/2012 13:11, Farrukh Najmi wrote: On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Stati

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 13:11, Farrukh Najmi wrote: > On 03/29/2012 04:13 AM, Pid wrote: >> On 29/03/2012 00:20, Farrukh Najmi wrote: >>> Hi Filip, >>> >>> Thanks for your help. >>> >>> It is an html file that is not in the same webapp. >>> >>> Root URL for webapp: http://localhost:8080/myapp >>> Static reso

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Farrukh Najmi
On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed: http://localhost:8080/static/index.html Director

Chasing a SocketTimeoutException with APR

2012-03-29 Thread Osipov, Michael
Hi folks, I am trying to narrow down an exception which is happening occasionally in certain spots of your code: SCHWERWIEGEND: Servlet.service() for servlet default threw exception Java.net.SocketTimeoutException at org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputB

Re: Setting JVM log location for tomcat 7.0.26

2012-03-29 Thread Farrukh Najmi
Thank you Konstantin! That worked. Sorry I should have RTFM better. On 03/29/2012 05:54 AM, Konstantin Kolinko wrote: 2012/3/29 Farrukh Najmi: On 03/28/2012 07:28 PM, Konstantin Kolinko wrote: 2012/3/29 Farrukh Najmi: Can someone please tell me how I can configure the location for the JVM lo

Re: Shutting down embedded version of Tomcat gracefully

2012-03-29 Thread Konstantin Kolinko
2012/3/29 N V Hari Krishna : > Hello all, > > I had a few questions. > > 1) Is it possible to shutdown embedded Tomcat gracefully? > 2) If possible, can anyone suggest me/point me to piece of code that can be > used for shutting down Embedded version of Tomcat 5 & Tomcat 7 gracefully. > Call its s

Re: mod jk for httpd 2.4.1

2012-03-29 Thread Konstantin Kolinko
2012/3/29 Harsimranjit singh Kler : > ok Thanks. > > i am able to build and get mod_jk.so.but it come under : > > ...tomcat-connectors-1.2.35-src/native/apache-2.0/ and there is not folder > like: ./.. /native/apache-2.4. > > So far this mod_jk.so working fine with 2.4.1 but  will this cause an

Re: Setting JVM log location for tomcat 7.0.26

2012-03-29 Thread Konstantin Kolinko
2012/3/29 Farrukh Najmi : > On 03/28/2012 07:28 PM, Konstantin Kolinko wrote: >> >> 2012/3/29 Farrukh Najmi: >>> >>> Can someone please tell me how I can configure the location for the JVM >>> log >>> file for Tomcat 7. Thanks for your help. >>> >> 1. What is "JVM log file" > > > I want to get a lo

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 00:20, Farrukh Najmi wrote: > Hi Filip, > > Thanks for your help. > > It is an html file that is not in the same webapp. > > Root URL for webapp: http://localhost:8080/myapp > Static resource URL being accessed: http://localhost:8080/static/index.html > Directory for static resourc

Re: Shutting down embedded version of Tomcat gracefully

2012-03-29 Thread Pid
On 29/03/2012 06:38, N V Hari Krishna wrote: > Hello all, > > I had a few questions. > > 1) Is it possible to shutdown embedded Tomcat gracefully? Yes. Register a shutdown hook and use it to stop the embedded Tomcat. p > 2) If possible, can anyone suggest me/point me to piece of code that ca

Re: Setting JVM log location for tomcat 7.0.26

2012-03-29 Thread Pid
On 29/03/2012 00:44, Farrukh Najmi wrote: > On 03/28/2012 07:28 PM, Konstantin Kolinko wrote: >> 2012/3/29 Farrukh Najmi: >>> Can someone please tell me how I can configure the location for the >>> JVM log >>> file for Tomcat 7. Thanks for your help. >>> >> 1. What is "JVM log file" > > I want to

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-29 Thread Osipov, Michael
Filip Hanik (mailing lists) wrote: > PoolCleaner is a static singleton. The pool cleaner thread will not > be removed until all JDBC pools have been stopped. > So, yes, one application can be the one that starts the thread, but > not necessarily the one that stops it Filip, I have already notic