Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread Federico Fissore
Christopher Schultz, il 02/07/2010 23:00, ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Federico, On 7/2/2010 8:36 AM, Federico Fissore wrote: I've embedded tomcat so to have multiple webapps running with separate java processes (each embedded tomcat runs its own webapp, listening

Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread 赵顺
It seems like the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49539 the tomcat delete workdir while startup with errors On Sat, Jul 3, 2010 at 4:03 PM, Federico Fissore fiss...@celi.it wrote: Christopher Schultz, il 02/07/2010 23:00, ha scritto: -BEGIN PGP SIGNED MESSAGE-

Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread Mark Thomas
On 03/07/2010 10:13, 赵顺 wrote: It seems like the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49539 the tomcat delete workdir while startup with errors The configuration in that bug report is completely invalid. If you use an invalid configuration, then there is always the chance it

Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread Federico Fissore
赵顺, il 03/07/2010 10:13, ha scritto: It seems like the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49539 the tomcat delete workdir while startup with errors uhm no, in this case it's me that it's clearing the work folder and btw I have some fifty webapps that runs smootly,

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .* /bad-browser.shtml [L,E=no-jk]

EL expressions do not work in tag file (tomcat 6.26)

2010-07-03 Thread 赵顺
my web.xml -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 use jsp 2.4 -- jsp-config taglib

Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread Pid
On 03/07/2010 12:11, Federico Fissore wrote: 赵顺, il 03/07/2010 10:13, ha scritto: It seems like the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49539 the tomcat delete workdir while startup with errors uhm no, in this case it's me that it's clearing the work folder and btw I

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .*

Re: embedded tomcat, work folder wipe out issue

2010-07-03 Thread Federico Fissore
Pid, il 03/07/2010 16:08, ha scritto: Is that really the path in use? /opt /tomcats /work /StandardHost[localhost].StandardContext[ /myWebApp]Engine /localhost /myWebApp Looks a little weird to me, the square brackets are split across directories and there's a

Re: Getting a servlet to work within static pages

2010-07-03 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/2/2010 10:04 AM, David kerber wrote: On 7/2/2010 9:23 AM, Pid wrote: Silly question, have you got the jars for that taglib in: ROOT/WEB-INF/lib? p Not silly at all. I was thinking

Re: Application vars -

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 6/28/2010 11:37 PM, Eric P wrote: I've been loading up my web.xml with context and init params for my first app, but I'm thinking at some point it'd be nice to tweak these values on the fly while the app is running. What are some good

Re: Getting a servlet to work within static pages

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/3/2010 9:24 PM, David Kerber wrote: Yep, that's basically what's going on: /ginp is the root of the ginp context on my web site, and my ROOT context won't reach across the context boundaries. Unfortunately, the ginp project is

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On

Re: EL expressions do not work in tag file (tomcat 6.26)

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 赵顺, On 7/3/2010 8:44 AM, 赵顺 wrote: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;

Re: Question about BASIC Authentication

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 7/1/2010 3:31 AM, Pid wrote: On 01/07/2010 02:30, Christopher Schultz wrote: Matthew, On 6/30/2010 8:20 PM, Matthew Mauriello wrote: The behavior seems rather strange to me in fact, I've seen other websites run on what looks to be BASIC

Re: Application vars -

2010-07-03 Thread Hassan Schroeder
On Sat, Jul 3, 2010 at 7:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: Heck, you can even use a single class that is a servlet but also implements ServletContextListener, and have everything in one class. Setting up a case study for a Real-life Refactoring course? :-) --

Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/1/2010 12:31 PM, Caldarale, Charles R wrote: From: laredotornado [mailto:laredotorn...@gmail.com] Subject: RE: Servlet mapping question -- way to include everythign EXCEPT a directory? I like your idea about specifying the

Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 7/2/2010 3:46 AM, dennis ch wrote: However, when I deploy it as a web service (tomcat 6.0.26 + axis2 1.5.1 + eclipse jee helios) to call the native method, I got the following error (the first line means the .so was successfully

Re: EL expressions do not work in tag file (tomcat 6.26)

2010-07-03 Thread 赵顺
It steel does not work after I change to 2.5 and tomcat 6.0.18 works(both *.jsp and *.tag) and 6.0.26 does not work in *.tag file web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;