Re: Embedding Tomcat

2013-10-24 Thread Olivier Lamy
On 23 October 2013 08:58, Pïd stèr wrote: > Hello, > > To scratch an itch I've been working on an alternative means to embed > Tomcat: > > https://github.com/pidster-dot-org/embed-apache-tomcat > > There's a core utility for embedding Tomcat[1] and a JUnit Rule[2] for > testing that uses it, e.g.

How to decide which libraray is missed under chroot environment ?

2013-10-24 Thread sun guonian
When I run my tomcat application in common environment, it works smoothly. But when I run it in chroot environment, it throw out "Could not initialize class sun.awt.X11FontManager" exception. I think there miss some libraries under my chroot directory, but how to decide which is missed ? Thanks fo

Apache 7, Logrotate

2013-10-24 Thread Web2 Solutions
Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've successfully configured logrotate to rotate both files. I've removed the date from the access log. So Tomcat now writes without rotating into localhost_access.txt

Re: So You Want High Performance ( cont )

2013-10-24 Thread Stephen More
On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Stephen, > > On 10/24/13, 11:29 AM, Stephen More wrote: >> I came across this paper by Peter Lin ( >> http://tomcat.apache.org/articles/performance.pdf ). In a simple >> xml addressb

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 10/24/13, 4:33 PM, Christopher Schultz wrote: > All, > > On 10/24/13, 4:11 PM, Christopher Schultz wrote: >> Peter, > >> On 10/24/13, 12:25 PM, Peter Aarestad wrote: >>> Actually, here's the patch I just did, based on the comments in >>>

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 10/24/13, 4:11 PM, Christopher Schultz wrote: > Peter, > > On 10/24/13, 12:25 PM, Peter Aarestad wrote: >> Actually, here's the patch I just did, based on the comments in >> that bug report > > Here is my preferred patch: Er, that's not

Re: So You Want High Performance ( cont )

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/24/13, 11:29 AM, Stephen More wrote: > I came across this paper by Peter Lin ( > http://tomcat.apache.org/articles/performance.pdf ). In a simple > xml addressbook war he summarizes how different variables affect > the speed of the a

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 10/24/13, 12:25 PM, Peter Aarestad wrote: > Actually, here's the patch I just did, based on the comments in > that bug report Here is my preferred patch: Index: common/jk_map.c

Re: are there any websocket-specific tomcat 7 connector settings?

2013-10-24 Thread Mark Thomas
On 24/10/2013 18:02, Bob DeRemer wrote: > Hi Community, > > As we start load testing our jsr-356 applications, I’d like to find out > if there are any websocket-specific connector settings we should be > aware of for tuning the underlying websocket connection processing. > Since this is a tcp soc

are there any websocket-specific tomcat 7 connector settings?

2013-10-24 Thread Bob DeRemer
Hi Community, As we start load testing our jsr-356 applications, I'd like to find out if there are any websocket-specific connector settings we should be aware of for tuning the underlying websocket connection processing. Since this is a tcp socket at the end of the day, I'm assuming all the s

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Peter Aarestad
Actually, here's the patch I just did, based on the comments in that bug report --- jk_map_orig.c 2013-10-24 10:42:53.0 -0500 +++ jk_map.c 2013-10-24 10:43:34.0 -0500 @@ -184,13 +184,14 @@ int jk_map_get_int(jk_map_t *m, const char *name, int def) { char buf[100]; +char

Tomcat 503 when deploying via manager or cargo

2013-10-24 Thread Ronald Dehuysser
Hi Tomcat User group, since a couple of days deploying to our tomcat server does not really work well anymore. When deploying a war via cargo or the manager, the tomcat server responds with a 503 after a couple of minutes. We do notice that often Tomcat continues with the deploy and in the end ge

So You Want High Performance ( cont )

2013-10-24 Thread Stephen More
I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf ). In a simple xml addressbook war he summarizes how different variables affect the speed of the application. In one test he compares: Sun X1 400mhz Ultra Sparc IIe - 5 requests/sec AMD 2ghz XP - 25 re

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 10/24/13 8:47 AM, Peter Aarestad wrote: > If you could provide a patch, that would be great! I'd be more > than happy to try that out. Okay, I'll try to get you one today. I'm just about to upgrade to Mavericks so I can suffer, too ;) -

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Peter Aarestad
If you could provide a patch, that would be great! I'd be more than happy to try that out. -peter > On Oct 24, 2013, at 7:22 AM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Peter, > >> On 10/23/13 5:19 PM, Peter Aarestad wrote: >> Yeah, the stack t

Re: Custom tomcat7 debian packages

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thobias, On 10/23/13 6:50 PM, Thobias Bergqvist wrote: > Hi! > > I'm trying to solve this problem and would like some pointers: 1) > Distribute my webapps as debian packages 2) base the debian > packages on tomcat7 3) produce the packages with a ma

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 10/23/13 5:19 PM, Peter Aarestad wrote: > Yeah, the stack trace I saw mentioned strcpy(), it seemed, so I > bet this is the issue. I'll keep my eye on this bug. Thanks! Do you mind hacking the source a bit? Or at least applying a patch an