Timer leak detection, false positives

2010-06-11 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I run a Grails app on Tomcat 6.0.26 (OpenJDK 6, Debian). When undeploying, it reports several leaked objects, including a timer thread that was left running. This thread belongs to EhCache, and by inspecting the code, it looks like the timer

Re: Timer leak detection, false positives

2010-06-11 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Thomas wrote: This thread belongs to EhCache, and by inspecting the code, it looks like the timer should be cancelled properly when the application is shut down. Does the app wait for the thread to stop or does it just cary on? It doesn't

exclude specific IP address from HTTP auth

2010-02-16 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. In other words, use HTTP Digest authentication for a web app, but allow some specific IP address access without authentication. I already

RE: exclude specific IP address from HTTP auth

2010-02-16 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you want. Thanks, but it says it only supports form

Re: The best place for implementing context specific behavior?

2009-06-25 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André Warnier wrote: I believe (but we need a real expert here) that having multiple Host entries sharing the same appBase is a receipe for problems. (Not that I'm an expert, but...) Fortunately it's not necessary in this case. You can use a

Re: The best place for implementing context specific behavior?

2009-06-25 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Mast wrote: I have a webapp that I would like to behave in a context (actually host)-specific manner. Where is the best place to initialize the context/host specific functionality? I implemented something very similar a few days ago.

Re: The best place for implementing context specific behavior?

2009-06-25 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Mast wrote: I'm going to go ahead define separate hosts, although the Alias option mentioned might work, I don't know if it would preserve correctly the value returned by request.getLocalName() which is what I'm using for determining the

Re: The best place for implementing context specific behavior?

2009-06-25 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Thomas wrote: If all your requests are handled by a single host, you don't need the aliases. Right. (Actually I do have a second virtual host on this server.) Cheers, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux)

Re: how to get the console output on ubuntu

2009-06-15 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 syed shah wrote: 1)How to get console output on ubuntu If you are running Tomcat with the startup script provided by Ubuntu in /etc/init.d/tomcat*, you have logs in /var/log/tomcat* and /var/log/daemon.log. The latter should contain console

Re: Upgrade to Tomcat 6 on Ubuntu

2009-06-15 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Piggott wrote: The ubuntu packages for tomcat really aren't too bad. My only complaint is that they recommend running with GCJ, That was long ago I think. At least on Debian it defaults to OpenJDK. Cheers, Marcus -BEGIN PGP

Re: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kai Behncke wrote: Tomcat is running and I copy a .war file in /usr/share/tomcat5.5-webapps/ROOT/ On Debian you should put it in /var/lib/tomcat5.5/webapps. (And if you run Debian squeeze you can install the tomcat6 package.) Cheers, Marcus

Re: Debian Tomcat Fail

2009-05-28 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 trojansnake12 wrote: I am about at my wits' end here with Tomcat on Debian. I have an app called Project.java, and all it should do is grab a file from the file system, Debian's Tomcat runs with the security manager enabled by default. You need

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-20 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 johnrock wrote: It took me quite a while but I finally got a tomcat startup script working using jsvc to start as a tomcat user running on port 80. Also, I am posting the startup file I came up with in the hopes that it will either serve as a

Re: Tomcat (re-)packaging, relocation etc..

2009-05-14 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, André Warnier wrote: I wonder if it is not time to make peace on this issue and maybe trying to find a reasonable middle ground. As someone who has previously worked on Debian's packaging of Tomcat (though not very recently), I think it would

Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-15 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Alexander Diedler wrote: Where I have to place my webapp and where I have to change some files to make my Application available onto the server? I have a Debian 4.05 with Apache 2.2.5 and Tomcat 5.5.20 from Debian .deb packages Drop the

Re: Deployment Web App on Debian

2008-11-10 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zaki Akhmad wrote: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.tapestry.enable-reset-service read) As already noted you have the security manager enabled (which is the default on Debian). Edit

Re: Deployment Web App on Debian

2008-11-07 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zaki Akhmad wrote: But how do I do it on Debian GNU/Linux? Drop the WAR file in /var/lib/tomcat5.5/webapps. It should auto-deploy. Cheers, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux)

Exception when deploying with VirtualWebappLoader

2008-10-07 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use the VirtualWebappLoader in Tomcat 6.0.18 to add a directory to the classpath, but get a strange exception. The context definition looks like this: Context Loader className=org.apache.catalina.loader.VirtualWebappLoader

Re: tomcat5.5 and ubuntu hardy heron

2008-09-22 Thread Marcus Better
wwuster wrote: In usr/share/tomcat5.5-webapps I don't see a manager subdirectory. You need the tomcat5.5-admin package. Cheers, Marcus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL