How to setup rewrite valve for angularjs

2014-11-20 Thread Tay Kai Yang
Hi I have been reading up tomcat 8's user doc. But I have some problems understanding the setup of rewrite valve. I think I should add the rewrite valve class name and XML settings to /conf/server.xml, but I am not sure what to do next. Where should I place my rewrite.config, how do I activate rewr

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 11/20/2014 12:11 PM, Christopher Schultz wrote: > Léa, > > On 11/20/14 1:21 PM, Léa Massiot wrote: >> Thank you for your answers. > >> @MarkEggers Thank you very much for sharing. > >>> Christopher Schultz wrote There are reasons to use

Re: APR with PKCS11 support

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 11/18/14 10:26 PM, Sanaullah wrote: > Hi Chris, > > Engine is loaded Successfully. the issue is with tcnative. > tcnative was not loading any engine and it was due to > HAVE_ENGINE_LOAD_BUILTIN_ENGINES preprocessor which is unable to

Re: High thread count & load on Tomcat8 when accessing AJP port with no request

2014-11-20 Thread Lisa Woodring
Chris, On Thu, Nov 20, 2014 at 3:16 PM, Christopher Schultz wrote: > > Lisa, > > On 11/19/14 1:36 PM, Lisa Woodring wrote: >> On Tue, Nov 18, 2014 at 2:43 PM, Christopher Schultz >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >>> >>> Lisa, >>> >>> On 11/18/14 11:52 AM, Lisa Woodri

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Glen Peterson
I never looked into jsvc. It sounds very interesting! To use a < 1024 port as a non-root user, I've always used iptables to redirect traffic to a higher-numbered port. When experimenting with iptables on a remote server, I actually like to schedule a reboot for 10 or 15 minutes, so that if I loc

Re: High thread count & load on Tomcat8 when accessing AJP port with no request

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lisa, On 11/19/14 1:36 PM, Lisa Woodring wrote: > On Tue, Nov 18, 2014 at 2:43 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Lisa, >> >> On 11/18/14 11:52 AM, Lisa Woodring wrote: >>> We recently upgra

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/20/14 1:21 PM, Léa Massiot wrote: > Thank you for your answers. > > @MarkEggers Thank you very much for sharing. > >> Christopher Schultz wrote There are reasons to use jsvc, but the >> ability to run as a non-root uses is not one of th

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answers. @MarkEggers Thank you very much for sharing. > Christopher Schultz wrote > There are reasons to use jsvc, but the ability to run as a non-root uses > is not one of them. What are these reasons according to you (apart from running Tomcat as a daemon on Unix which was a

Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Nikolas Nikolaou
On Thu, 20/11/14, Christopher Schultz wrote: Subject: Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080 To: "Tomcat Users List" Date: Thursday, 20 November, 2014, 20:02 -BEGI

Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nikolas, (I don't know what happened to your formatting, but this message was nearly unreadable.) On 11/20/14 11:18 AM, Nikolas Nikolaou wrote: > Tomcat 8.0.15 binary Debian 7.7.0 wheezy Hi. I created a new > directory copying the $CATALINA_

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/20/14 10:24 AM, Léa Massiot wrote: > Thank you for your answer. > >> Konstantin Kolinko wrote: Why do you need the ports to be 80 and >> 443? (You cannot open those on Linux unless you are a root). You >> can a) change the port numbers i

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/19/14 8:35 PM, Konstantin Kolinko wrote: > 2014-11-19 22:06 GMT+03:00 Léa Massiot : >> Thank you for your answer. Your link helped. >> >> What was missing from the scenario I described previously was: >> exporting the .war of the

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread jieryn
I guess it depends on how you view what a "release" is.. it's not like the tags are changed after the fact, a new version is just cut for Apache Tomcat. The artifacts are still uploaded to a staging maven repository.. they are available for testing. Finally, the dates actually do match up pretty cl

RE: Release calendar of Apache Tomcat versions

2014-11-20 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Release calendar of Apache Tomcat versions > On 20/11/2014 17:52, jieryn wrote: > > Wow, all I've seen are examples that are likely the least efficient > > way to do things. Just use the version control system itself: > Tag date != rel

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread Mark Thomas
On 20/11/2014 17:52, jieryn wrote: > Wow, all I've seen are examples that are likely the least efficient > way to do things. Just use the version control system itself: Tag date != release date. Mark > > bash$ svn ls -v http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/ > 1562629 markt

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread jieryn
Wow, all I've seen are examples that are likely the least efficient way to do things. Just use the version control system itself: bash$ svn ls -v http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/ 1562629 markt Jan 29 2014 TOMCAT_8_0_0/ 1562630 markt Jan 29 2014

Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Nikolas Nikolaou
Tomcat 8.0.15 binary   Debian 7.7.0 wheezy Hi. I created a new directory copying the $CATALINA_HOME/conf and creating new  common logs temp server shared   work webapps subdirectories.I have altered the port numbers In the conf/server.xml file and set $CATALINA_BASE in /etc/profile.Prior

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Léa, On 11/20/2014 7:24 AM, Léa Massiot wrote: > Thank you for your answer. > >> Konstantin Kolinko wrote: Why do you need the ports to be 80 and >> 443? (You cannot open those on Linux unless you are a root). You >> can a) change the port numbers in

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answer. > Konstantin Kolinko wrote: > Why do you need the ports to be 80 and 443? (You cannot open those on > Linux unless you are a root). > You can > a) change the port numbers in your configuration > b) use firewall (iptables) to map different local ports to those external >

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread Mark Thomas
On 20/11/2014 13:56, Daniel Mikusa wrote: > On Thu, Nov 20, 2014 at 7:00 AM, Iago Alonso Alonso wrote: > >> I want to know where I can find the release calendar of the Apache Tomcat >> versions in order to do an analysis of the project. I have been searching >> in the Wiki, Google, etc but I don'

Re: Running Manager App with Security Manager turned on - Tomcat 8.0.15

2014-11-20 Thread Mark Thomas
On 20/11/2014 12:00, Luka Pavlič wrote: > Hi, > > I am running tomcat 8.0.15, win64 ZIP, on Windows 2008R2, Oracle JRE 8.0.20. > > Running with "catalina start", /manager app works perfectly. > > Running "catalina start -security" will result in not deployed manager app. > > I would *definitely

Re: Apache Tomcat Project Information

2014-11-20 Thread Violeta Georgieva
Hi, 2014-11-18 14:52 GMT+02:00 Iago Alonso Alonso : > > Hello, we are a group of two students in college and are looking for information about Apache Tomcat project. We wonder if they could give us some information about: You can start here http://tomcat.apache.org/ > - Development methodology,

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread Daniel Mikusa
On Thu, Nov 20, 2014 at 7:00 AM, Iago Alonso Alonso wrote: > I want to know where I can find the release calendar of the Apache Tomcat > versions in order to do an analysis of the project. I have been searching > in the Wiki, Google, etc but I don't found anything by the moment. > I don't believ

Release calendar of Apache Tomcat versions

2014-11-20 Thread Iago Alonso Alonso
I want to know where I can find the release calendar of the Apache Tomcat versions in order to do an analysis of the project. I have been searching in the Wiki, Google, etc but I don't found anything by the moment. Thanks. - To

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Konstantin Kolinko
2014-11-20 13:56 GMT+03:00 Léa Massiot : > Thank you for your answer. > >> Konstantin Kolinko wrote: >> Deployment can be done from Ant or from Maven. There exists tools for >> that. > > Ok, I understand. > >> Konstantin Kolinko wrote: >> If you are developing your web application, is there a reaso

Re: Running Manager App with Security Manager turned on - Tomcat 8.0.15

2014-11-20 Thread André Warnier
Luka Pavlič wrote: Hi, I am running tomcat 8.0.15, win64 ZIP, on Windows 2008R2, Oracle JRE 8.0.20. Running with "catalina start", /manager app works perfectly. Running "catalina start -security" will result in not deployed manager app. I would *definitely need* both: running Tomcat with Secu

Re: Running Manager App with Security Manager turned on - Tomcat 8.0.15

2014-11-20 Thread Konstantin Kolinko
2014-11-20 14:00 GMT+03:00 Luka Pavlič : > Hi, > > I am running tomcat 8.0.15, win64 ZIP, on Windows 2008R2, Oracle JRE 8.0.20. > > Running with "catalina start", /manager app works perfectly. > > Running "catalina start -security" will result in not deployed manager app. > > I would *definitely ne

Re: High thread count & load on Tomcat8 when accessing AJP port with no request

2014-11-20 Thread Frederik Nosi
On 11/19/2014 09:27 PM, Lisa Woodring wrote: Actually, I received a little clarification on the monitoring software (I didn't write it). What it's trying to test is that the AJP port itself is actually accepting connections. With Apache in front in a production system, it could forward the actu

Running Manager App with Security Manager turned on - Tomcat 8.0.15

2014-11-20 Thread Luka Pavlič
Hi, I am running tomcat 8.0.15, win64 ZIP, on Windows 2008R2, Oracle JRE 8.0.20. Running with "catalina start", /manager app works perfectly. Running "catalina start -security" will result in not deployed manager app. I would *definitely need* both: running Tomcat with Security Manager turned o

Re: Debugging a Webapp in Eclipse running Tomcat as a stand-alone JVM process

2014-11-20 Thread Léa Massiot
Thank you for your answer. > Konstantin Kolinko wrote: > Deployment can be done from Ant or from Maven. There exists tools for > that. Ok, I understand. > Konstantin Kolinko wrote: > If you are developing your web application, is there a reason why you > run Tomcat standalone and not from withi