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,
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
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:
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]
.
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
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
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]
,
Pascal Forget
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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
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
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
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,
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
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?
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]
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
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
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
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).
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
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
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
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
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
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
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
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
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
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]
. 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
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
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
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
,
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
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
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
. 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
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
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
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
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]
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
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;
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
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
) 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
him.
Thanks,
Pascal Forget
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
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.
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
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.
50 matches
Mail list logo