Re: Apache to JKMount everything

2003-01-28 Thread Pascal Forget
Lajos wrote: You can do: JkMount /* ajp13 JkMount /*.jsp ajp13 where ajp13 refers to the worker name in workers.properties. But if you are doing that, why use Apache? Because Apache may startup as root (because of port 80 or 443) while tomcat runs as nobody Pascal -- To unsubscribe,

Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
that it is shuttong down and that's the end of it. So the logs are not very useful for helping me figure out what the problem might be. Has anyone encountered this problem, and what was the fix? Thanks, Pascal Forget -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Thanks for the tip, John. I already set CATALINA_HOME and JAVA_HOME near the top of catalina.sh for that very reason, so maybe it's something else in the environment. Anyway your email provided us with a good hint on what we should look for. Thanks! Pascal -- To unsubscribe, e-mail:

Apache to JKMount everything

2003-01-24 Thread Pascal Forget
in httpd.conf, http://www.foobar.com/index.jsp works but http://www.foobar.com/ gives me a directory listing. Please help, Pascal Forget [EMAIL PROTECTED] [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Apache to JKMount everything

2003-01-24 Thread Pascal Forget
. John -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 3:41 PM To: Tomcat Users List Subject: Apache to JKMount everything Hi, I would like Apache to redirect _everything_ to tomcat. But it has to be done through mod_jk. I tried JkMount

Re: Tomcat behind a proxy server

2003-01-24 Thread Pascal Forget
Have you tried setting these system properties by using System.setProperty(...) from within your servlet (for instance in a static initializer). Each servlet runs in the web app's sandbox, and maybe the properties were not propagated from the main VM to the web app's space? Pascal

Mod JK binaries for HP/UX 11.0

2003-01-20 Thread Pascal Forget
Hi, Is there anyone on this list who has compiled mod_jk for HP/UX 11.0 and for a recent version of Apache 2.0? Thanks, Pascal Forget -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

setuid from Tomcat

2003-01-20 Thread Pascal Forget
, Pascal Forget -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: setuid from Tomcat

2003-01-20 Thread Pascal Forget
don't know how well either of those would port to HP-UX. I saw a discussion on tomcat-dev that talked about using Tomcat with chroot, but it looked pretty involved. John -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 2:07 PM To: Tomcat

Re: setuid from Tomcat

2003-01-20 Thread Pascal Forget
I was able to build a native C library called libsetuid.so under Linux. The library is loaded in the login.jsp page, which then sets the process' uid to nobody's uid and then writes a small file in /tmp. I checked and the file is owned by the unix user nobody so this is a success. However, if I

Re: Which versions ????

2002-10-11 Thread Pascal Forget
suits your needs, then you probably want to stick with it and just upgrade your tomcat server. Regards, Pascal Forget Jean-Baptiste Onofré wrote: Hello all, i use Tomcat 4.0.4 with Apache 1.3.26 using mod_jk. On a new developpement computer, can i install Tomcat 4.1.12 with Apache 1.3.26

Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread Pascal Forget
bwinders wrote: I think it would be great if you were to provide the howto! When might you update your web site? I will send an email to the list when itès ready, hopefully before the week-end. Pascal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Pascal Forget
Hi All, Last January I wrote up a document on how to set up Apache 1.3 with mod_jk and tomcat 4.0.2 on Linux with load balancing. (see www.ubeans.com/tomcat). Last week I suceeded in setting up Apache 2.0.40 with mod_jk and Tomcat 4.1.9 beta on Linux. Is there any interest in this group for me

Re: Tomcat is the best ?!

2002-06-04 Thread Pascal Forget
Sean LeBlanc wrote: I noticed Resin's web site has a link about clustering and such. Which makes me wonder - how are people doing this in Tomcat, if they are doing it all? Are there any whitepapers anywhere on the various ways of accomplishing this? Any experiences to share?

Re: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Pascal Forget
Mauricio Tia Ni Gong Lin wrote: I am using mod_webapp to connect apache web server version 1.3.20 with Tomcat 4, but the following warning message is showed when I start the apache web server: -- [Fri May 31 17:47:00 2002]

Re: compiled jk2 at last :-)

2002-04-25 Thread Pascal Forget
Michael Delamere wrote: Hi guys! After a lot of testing and doing silly things (last resort stuff), I finally managed to get jk2 compiled. And it works! YES!!! Here is what I did: 1. download http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakar

Re: Compiling mod_jk for Apache 2.0.35

2002-04-24 Thread Pascal Forget
Hi Wayne, Welcome to the club. I have been spending countless hours trying to resolve the same problem you describe. I'm trying to buid mod_jk on Linux. I'll let you know if I find the answer, and I hope you'll do the same if you solve the problem before me. Best Regards, Pascal Wayne

Re: Which Apache-To-Tomcat Connector

2002-04-24 Thread Pascal Forget
Anthony W. Marino wrote: Any reason for using AJP14 over AJP13? And what about mod_webapp? For starters, you could read http://www.ubeans.com/tomcat One question you might want to ask yourself is wether you REALLY need Apache forwarding requests to Tomcat. Doing so is MUCH slower than having

Re: Which Apache-To-Tomcat Connector

2002-04-24 Thread Pascal Forget
With a little planning before you develop your applications, you can have Tomcat serve dynamic content on one IP address while Apache serves static content on another IP address. What connector...jk, jk2 or warp??? What are the advantages of using warp over jk/jk2 (besides loadbalancing).

Building mod_jk for Apache 2.0 on Red Hat Linux 7.2

2002-04-23 Thread Pascal Forget
I get the followign error when compiling mod_jk/native/apache-2.0 from the 4.04-b2 connectors source on RedHat Linux 7.2 (Intel). Any idea what is wrong? Thanks, Pascal /web/ubeans/build/libtool --silent --mode=compile gcc -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT

Re: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-04-19 Thread Pascal Forget
ago, but today I don't know. You might want to try both and decide on the one that works best for you. Good Luck, Pascal Forget Cynthia Jeness wrote: I searched the Tomcat and Apache site yesterday for some explanation and/or recommendations for the choice of connector, but a search

Building mod_jk for Apache 2.0.35 on Linux

2002-04-19 Thread Pascal Forget
is interested in joining my effort, please email me. We will share our knowledge and we'll fix the build process. Hopefully we can create mod_jk binaries for Linux i386 and later for all the other Unix platforms that we will put up on a website so that other people can benefit from our efforts. Pascal

Re: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Pascal Forget
Brandon Cruz wrote: Does anyone at all know of any way to optimize the speed of sending requests to tomcat from apache? I have turned off all logging, which has helped a bunch, is there anything else I can do? The biggest problem is that all static resources (.gif, .html, etc.) get sent to

Re: Tomcat and Load-Balancing

2002-04-18 Thread Pascal Forget
Gabriel Maffia wrote: Hi! I´m looking for a way to load-balance my Apache+Tomcat Website. I´ve already tried with mod_backhand, but I couldn't make it workIf anyone could make this work, how did u do it? I know that there is a connector for mod_jk, called lb that is useful for load

Re: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Pascal Forget
but are you suggesting that load balancing will fix my problem? No, I meant that the setup described in my document has the JKMount directives configured to serve static content from Apache and sent *.jsp and servlet requests to tomcat. Pascal -- To unsubscribe: mailto:[EMAIL

Re: Tomcat 4.0.3 + Apache 2.0.32

2002-04-16 Thread Pascal Forget
Bhide, Atul wrote: The problem is solved. I compiled the latest version 4.0.4.b1 version of the tomcat-connectors and it works now. You did succeed, that's fantastic! My name is Pascal Forget and I wrote a little howto on how to setup Apache 1.3.23 + mod_jk + tomcat + load balancer a while

Re: mod_jk tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread Pascal Forget
In Apache's httpd.conf, replace: DefaultType text/plain with: DefaultType text/html rob wrote: When tomcat displays error messages after an exception in the underlying application typically does some formatting on the error produced (ie adding styles). I use mod_jk to run my

Re: Serving images with Apache

2002-04-16 Thread Pascal Forget
The answer is in www.ubeans.com/tomcat Gabriel Maffia wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I think I´ve sent this question before, but I´m not sure if it got to the list. I´m actually using Tomcat 4.0.1 and Apache 1.3.23, connecting them through webapp + warp. We are

Re: Loadbalancing question

2002-03-05 Thread Pascal Forget
You might want to take a look at: http://www.ubeans.com/tomcat Cheers, Pascal -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Loadbalancing question--Please help if you can

2002-03-05 Thread Pascal Forget
. I have taken the time to describe in details how I set up the system. The web page is at http://www.ubeans.com/tomcat; I hope that this will be useful to you. Regards, Pascal Forget Michael Molloy wrote: This is the 2nd load balancing question I've asked of the group in the last week

Re: BUG? Tomcat-4.0.3 eats PathInfo slashes, TDK leaves them alone

2002-03-05 Thread Pascal Forget
Good work. With this description, the developers should be able to quickly identify the bug and squash it. I recommend you submit this as a problem in the bugs database. Chris Shenton wrote: I'm developing a webapp under TDK which gets a target URL in the PathInfo. This is working fine in

Re: Starting tomcat with a different user

2002-03-01 Thread Pascal Forget
Nelson Yip wrote: Hi, I finally installed tomcat but I want to start up tomcat with a different user and not root. I created a user called tomcat and I want this user to startup tomcat automatically. What is the best way to do it? Have Apache run on port 80 and have it delegate requests for

Re: Tomcat 4.0.2 exception triying to access a Jsp ...

2002-03-01 Thread Pascal Forget
Julien OIX wrote: org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194) at java.lang.Thread.run(Thread.java:498) /pre/ppbroot cause/b prejava.lang.NoClassDefFoundError: sun/tools/javac/Main Make sure that the java compiler is in Catalina's classpath. the

Re: Using Tomcat Without a Webserver

2002-02-11 Thread Pascal Forget
, Pascal Forget Hi all. I know it's standard practice to hook Tomcat up to a webserver, but is this really necessary? According to the docs, the main reason for this is that Tomcat's performance when serving static files is sub-par, although it usually goes on to note that this has improved

Re: JSSE

2002-02-09 Thread Pascal Forget
http://java.sun.com/products/jsse Please note that JSSE comes bundled with Java 1.4, so there is no need for a separate download if you are using 1.4. Where can JSSE be downloaded? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles

Re: Configuration Issue of Tomcat4.0.1 and Apache1.3.22

2002-02-08 Thread Pascal Forget
1. What's the relationship of Apache, Apache Jserv and Tomcat? Apache 1.3 is a standards compliant, fast and mature web server which excels at delivering static content such as static HTML pages and images. The Tomcat web server is great for serving Java Server Pages and servlets, but it is

Re: TOMCAT 4.0 on port 80

2002-02-08 Thread Pascal Forget
. In order to ensure that there is no httpd server running on your Linux box, do the following: /etc/rc.d/init.d/httpd stop rm -f /etc/rc.d/rc?.d/S??httpd And then try to launch tomcat again. I hope this helps, Pascal Forget -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Re: Strange mod_webapp problem with Tomcat 4.01 Apache 1.3.23...

2002-02-07 Thread Pascal Forget
That was a known bug eith TC 4.01. It was fixed a few weeks ago, you should try a more recent version of Tomcat, such as 4.02 beta2 or even a recent daily snapshot. Pascal Andrzej Jan Taramina wrote: I've hit a very strange problem with mod_webapp linking Tomcat 4.01 Apache 1.3.23 running

Re: TOMCAT 4.X - mod_jk

2002-02-06 Thread Pascal Forget
This is the info you need: http://www.ubeans.com/tomcat Kevin Passey wrote: Hi, I am somewhat confused.. I have TOMCAT 4 running quite happily on my Linux (SuSE 7.3) server - no problem. I also have the apache 1.3 distribution with my 7.3 running - no problem. What I want to do is run

Squeezing performance out of Tomcat

2002-02-05 Thread Pascal Forget
is less than 1kb. Can someone offer tips on how we can squeeze more speed out of Apache-Tomcat? The problem is not due to excessive logging, as the various logs are minuscule and don't grow much in size with each new request. Any help or suggestions would be greatly appreciated. Thanks, Pascal

Re: How to make Tomcat 4.01 + Apache http server 1.3.19 work?

2002-02-04 Thread Pascal Forget
4.01 + Apache http server 1.3.19 ? Or is there webpages to find them? www.ubeans.com/tomcat Regards, Pascal Forget -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: mod_jk.conf ?!?

2002-01-30 Thread Pascal Forget
Emerson wrote: At 06:27 30/1/2002 -0500, you wrote: Can someone give me a sample mod_jk.conf? Particularly someone that is using Tomcat4. How about a good source for mod_jk.so? I have found mod_jk-3.3-ap13-eapi.so and mod_jk-3.3-ap13-noeapi.so and mod_jk-3.3-ap20.so on a Tomcat 3.3

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Pascal Forget
Andrew Logan wrote: A quick question, why did you choose to use the AJP13 connector rather than the WARP connector that is recommended? My understanding was the warp connector is used in conjunction with mod_webapp, which currently forwards all requests to Tomcat, not just JSP and servlets;

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Pascal Forget
Salut Christophe, Furmaniak Christophe wrote: Good job! Thanks, I appreciate it. Except that you might specify that creating two instances of the tomcat installation is not needed as you can share the main binaries and libs by specifying 2 distinct CATALINA_BASE variables. True, but in

Re: worker.tomcat_home etc in mod_jk's workers.properties

2002-01-25 Thread Pascal Forget
John Holman wrote: Can anyone explain the purpose of the worker.tomcat_home, worker.java_home and ps entries in mod_jk's workers.properties file? My understanding is that workers.properties is used only to configure the mod_jk webserver plugin, and I'm at a loss to see why that would

Load balancer - no session affinity

2002-01-24 Thread Pascal Forget
) appears to be broken. Any help would be greatly appreciated! Pascal Forget [EMAIL PROTECTED] Setup: Linux i686 JDK 1.4 beta3 installed under /apps/jdk_tc1 Apache 1.3.22 mod_jk.so dated january 23, 2002 Two tomcat 4.0.2-b2 servers, with AJP13 connectors listening on ports 11009 and 12009

Re: Load balancer - no session affinity

2002-01-24 Thread Pascal Forget
him. Thanks, Pascal Forget -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Load balancer - no session affinity

2002-01-24 Thread Pascal Forget
Remy Maucherat wrote: The jvmRoute was added to the Catalina core. You use it through a 'jvmRoute' attribute on the engine (give it a unique name). After that, I think it should be ok, since the native connector should recognize the jvmRoute tag and always route the session to the same VM.

Re: Load balancer - no session affinity

2002-01-24 Thread Pascal Forget
I will write down my notes and then I will post the URL on this list in a few hours. Pascal Charles N. Harvey III wrote: Pascal, umm... just about everybody wants to know!! That's really great that you got it working. If you have a place to post such configurations or want to post

Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-24 Thread Pascal Forget
Hi All, As promised, this article contains step by step instructions for configuring an Apache 1.3.23 web server which handles static content and delegates JSP (Java Server Pages) and Servlet requests to two Tomcat 4.0.2 Beta2 servers using AJP 13 connectors and a load balancing worker on Linux.