Do you have a servlet mapping in web.xml for that servlet? The default
invoker servlet is disabled by default in 4.1.x.
My guess is you either have to put in a servlet mapping for that servlet, or
enable the default invoker servlet.
John
-Original Message-
From: Randy Paries
I went looking for 4.1.17 or 4.1.18, and neither was where I expected it:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ (previous 4.1.x
versions were here)
Nor were they in
http://jakarta.apache.org/builds/jakarta-tomcat-4.1/release/
Nor were they in
There is no hard and fast answer to your question. The only person who can
determine if your application is faster with Tomcat over Apache + Tomcat (or
the reverse) is you after testing both scenarios. There are too many
variables involved to reliably say yes or no, one way or the other. My
You need a connector. Search the archives, check the docs, or consult
http://www.johnturner.com/howto or Google.
John
-Original Message-
From: Jianping Zhu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 3:28 PM
To: [EMAIL PROTECTED]
Subject: apache and tomcat
?
On Thu, 19 Dec 2002, Turner, John wrote:
You need a connector. Search the archives, check the docs,
or consult
http://www.johnturner.com/howto or Google.
John
-Original Message-
From: Jianping Zhu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 3:28 PM
1. Win2K is fine. Here's a HOWTO:
http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml
2. My test box is a P2-350 with 256MB of RAM, and it is more than enough
for testing. A P2-233 or higher with 128MB RAM is plenty for Linux (if you
are familiar with Linux) and can handle Apache,
You'll have to post back with more specific information of what is wrong,
what error messages you are seeing, what versions you are using, etc.
Otherwise, you will just spend all your time chasing links people give you
with no guarantee that the information will even help.
John
-Original
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 10:01 PM
To: 'Tomcat Users List'
Subject: RE: jsps and servlets don't work
Maybe so. Seems pretty straightforward to me. I'm sure the dev team
would
welcome a patch.
Since the dev team
Check an Apache list. This is a Tomcat list.
John
-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 2:19 AM
To: Tomcat Users List
Subject: Help...appache...documentation
hi frds,
i was going thru the Appache server and i found this
provide full failover
capabilities
when process or node goes down.
i'm not able to understand the last line..The http
server does not.goes down
Puneet
--- Turner, John [EMAIL PROTECTED] wrote:
Check an Apache list. This is a Tomcat list.
John
-Original
This should do the trick:
String requestURI = request.getRequestURI();
if (requestURI.indexOf(index.html) 0) {
// do something here
}
John
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 10:05 AM
To: [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://nagoya.apache.org/bugzilla/index.html
John
-Original Message-
From: Ben Jessel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 10:21 AM
To: Tomcat Users List
Subject: How to I post a bug / get in touch with the authors?
How would I go
Well, that example is actually looking for the page itself. My suggestion
just looks for a page name in the entire string. Your example is probably
better because it ignores case, etc.
I would use getRequestURI() instead of getServletPath(), but then again I'm
no super-developer. You'll have
You only need it if you are using Apache + mod_jk + Tomcat.
John
-Original Message-
From: Rafael Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 12:27 PM
To: [EMAIL PROTECTED]
Subject: workers.properties
For what is workers.properties? Do I need to
Good questions, all. :)
1) Apache has a lot of processes, one is the root process used to bind to
port 80, the others are children ready to serve HTTP requests. That's
normal. The root process on 80 is the one attributed to user root, the
children for request serving are the processes
There's more to it then just putting the servlet in to a directory. Have
you setup your web.xml with a servlet mapping, etc? Do you have a Context
for your webapp? Check the docs, especially the Application Developer's
Guide for more info.
John
-Original Message-
From: Eduardo
Good point, you are probably right on the PPID thing, I hadn't considered
that scenario.
I usually set my tomcat permissions like this:
chmod -R tomcat:tomcat $CATALINA_HOME
If possible, you want to use deploy tools to deploy your app, then you don't
have developers logging into the server and
Ooops, typing too fast. That should be chown, not chmod.
John
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:14 PM
To: 'Tomcat Users List'
Subject: RE: [OFF-TOPIC] RE: Naïve question about root
Good point, you
Perfect example why you shouldn't stay logged in as root, and should only be
root when necessary. LOL
John
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:15 PM
To: 'Tomcat Users List'
Subject: RE: [OFF-TOPIC] RE: Naïve
-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:16 PM
To: 'Tomcat Users List'
Subject: RE: [OFF-TOPIC] RE: Naïve question about root
Perfect example why you shouldn't stay logged in as root, and
should only be
root when necessary. LOL
John
This comes up all the time. Some reasons why you would want to run Apache
(there are many):
- Apache doesn't run as root on port 80 (at least when serving requests)
- Apache has modules like mod_rewrite that you might need
- Apache can handle other technologies besides Tomcat, like CGI and PHP,
run as root on port 80 ... sounds
like the only applicable reason. I assume Tomcat
handles requests as root then. That would get into
security issues.
Michael
--- Turner, John [EMAIL PROTECTED] wrote:
This comes up all the time. Some reasons why you
would want to run Apache
but a
process that
separates itself from its parent process will be picked up by the init
process that's why you get a PPID of 1 even though the process wasn't
started at boot by the init process.
Regards,
Drew
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent
I've been reviewing Professional Apache Tomcat from Wrox Press the last
few days, it's pretty good. Other than that, I would say this list. :)
John
-Original Message-
From: Michael Finney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:55 PM
To: Tomcat Users List
There is probably a default invoker servlet configured for the examples
Context.
John
-Original Message-
From: Eduardo Kotujansky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 2:08 PM
To: Tomcat Users List
Subject: Re: basic tomcat configuration
Ok, there was
To: Tomcat Users List
Subject: Re: basic tomcat configuration
How can I change it for other app?
Thanks
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 4:58 PM
Subject: RE: basic tomcat
Not to mention that many firewalls won't accept HTTP on anything other than
port 80. If you can dictate/control how your users will access the site,
that shouldn't be much of a problem, but if you have to support the general
public, that might be a big problem.
John
-Original
and
management?
From some, Linux seems a lot tougher to mess with than
Windows. I would hate to throw someone a book when a
classroom may assist them better.
Michael
--- Turner, John [EMAIL PROTECTED] wrote:
I've been reviewing Professional Apache Tomcat
from Wrox Press the last
few
is not someone who programs for a living.
I do, but the person in question does not.
Michael
--- Turner, John [EMAIL PROTECTED] wrote:
For Tomcat only, platform is pretty irrelevant. The
use of Tomcat is the
same.
The only differences are setting things up like
environment variables
and servlets don't work
How can I patch if I can't even figure out how to set it up?
Tomat and mod_jk are very
poorly documented. I'm not even sure where the source to the
autogenerator is.
Turner, John wrote:
Maybe so. Seems pretty straightforward to me. I'm sure
the dev team would
, 2002 12:52 PM
To: 'Tomcat Users List'
Subject: RE: basic tomcat configuration
Is this Application Developer's Guide found on the Jakarta Site?
If so under what section?
Thanks
Dale K. Hamilton
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent
don't work
/***
*
* Caution: LONG Rant Warning :)
*
**/
Turner, John wrote:
I don't think they are poorly documented at all. Just the
HOWTOs written by
myself and others on this list alone provide
Agreedavoid spaces in pathnames if you can.
As an aside, there is no reason to switch directories to start Tomcat. You
can do so by typing something like c:\tomcat\bin\startup.bat from any
command prompt in Windows.
John
-Original Message-
From: Paul Yunusov [mailto:[EMAIL
There are two parts to a connector. There is the Tomcat part, and the
Apache module (or IIS DLL) part. One part is Java code, one part is C/C++.
ApacheConfig is a Java class. Since using it requires you to type in
something along the lines of org.apache.ajp.tomcat4.config.ApacheConfig,
that's
2002 07:13 pm, Turner, John wrote:
Agreedavoid spaces in pathnames if you can.
As an aside, there is no reason to switch directories to start Tomcat.
You
can do so by typing something like c:\tomcat\bin\startup.bat from any
command prompt in Windows.
John
Or, more generically, you can
Does your Red Hat 8.0 have the Apache source for 2.0.40, or only the
binaries?
John
-Original Message-
From: Joe Williams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 11:30 PM
To: [EMAIL PROTECTED]
Subject: Red Hat 8.0, mod_jk build issues
Red Hat 8.0 comes with
couldn't load the apache 2 on my win 98 m/c.
device attached to the system is not
functioning This is really killin my spirits ,PLZ
find me a way to get rid of this.
Thank you and hoping for a best solution !!
-bye
--- Turner, John [EMAIL PROTECTED] wrote:
You've got something messed up. Your
System.
John
-Original Message-
From: Ines Robbers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 6:30 AM
To: 'Tomcat Users List'
Subject: AW: Tomcat setup troubles
Many thanks, Lee!
Do I stick it into user variables or system variables or both?
* -Ursprüngliche
, December 17, 2002 8:21 AM
To: Tomcat Users List
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
webapps/host0/index.html .
On Mon, 16 Dec 2002 18:46:28 -0500, Turner, John wrote:
I'm sorry, what's wrong isn't exactly clear from your post. What
should
http://host0.com show
Sorry, maybe someone else can answer your question. I'm just not
understanding the problem. I have a RH 7.3 test box setup, with two virtual
hosts (one is localhost, the other is some.server.com), and the welcome
files display correctly. If it isn't working for you, I would suggest that
the
?
On Tue, 17 Dec 2002 09:14:08 -0500, Turner, John wrote:
Sorry, maybe someone else can answer your question. I'm just not
understanding the problem. I have a RH 7.3 test box setup, with two
virtual
hosts (one is localhost, the other is some.server.com), and the
welcome
files display
Agreed. In my experience, the request object should be considered static
and simply read using the methods included in the class for that purpose.
John
-Original Message-
From: Mike W-M [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 9:22 AM
To: Tomcat Users List
pretty sure that something is
screwed on my end, but not sure how to track it down, at this point...
On Tue, 17 Dec 2002 09:27:14 -0500, Turner, John wrote:
It has Apache installed, but I just verified this behavior using
http://some.server.com:8080 which bypasses Apache.
If you need
pretty sure that something is screwed on
my end, but not sure how to track it down, at this point...
On Tue, 17 Dec 2002 09:27:14 -0500, Turner, John wrote:
It has Apache installed, but I just verified this behavior using
http://some.server.com:8080 which bypasses Apache.
If you need
, but not sure how to track it down, at this point...
On Tue, 17 Dec 2002 09:27:14 -0500, Turner, John wrote:
It has Apache installed, but I just verified this behavior using
http://some.server.com:8080 which bypasses Apache.
If you need a virtual host setup in Tomcat, modify server.xml
on the Tomcat window: APR not loaded,
disabling jni component:java.io.ioexception: no jkjni
in java.library.path. Can you help me? Thanks lots,
Minger
--- Turner, John [EMAIL PROTECTED] wrote:
I don't think you can get any simpler than this:
http://www.johnturner.com/howto
something.com
anywhere else in win2000
Hari
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:04 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
Changing defaultHost is not the solution
not found or
DNS error. Do I need to define something.com anywhere else in win2000
Hari
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:04 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
that part intimately enough to look at it and verify that
everything is coming through ok.
On Tue, 17 Dec 2002 11:03:06 -0500, Turner, John wrote:
No, it is not. Leave defaultHost alone.
Setup a Host element for host0.com and host1.com.
If this is not working, either post your entire
localhost $: su - tomcatuser
localhost $: CATALINA_HOME/bin/startup.sh
localhost $: exit
She'll need the password to the tomcat user account.
John
-Original Message-
From: Philip Juels [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:05 AM
To: [EMAIL PROTECTED]
with the
virtualhost, I get authentication for the server. Any ideas?
Hari
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:19 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone
Let's put it this way
Oops...that should be $CATALINA_HOME/bin/startup.sh.
John
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:34 AM
To: 'Tomcat Users List'
Subject: RE: Running tomcat as user other than root
localhost $: su - tomcatuser
-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 5:41 AM
To: Tomcat Users List
Subject: Re: Apache-Tomcat HOWTO
* Turner, John [EMAIL PROTECTED] [1201 14:01]:
Not sure what JK2 needs to work, I don't use it. You
should be able
[javac] public class ResponseFacade implements ServletResponse {
[javac]^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 4 errors
What happens when you do that?
John
-Original
Note the following in Tim's reply: You pass in the path relative to the
context root directory.
Since you're writing the app, you do know the path of the resource relative
to the context (read: webapp) root directory, right?
John
-Original Message-
From: Patrick Martz [mailto:[EMAIL
Hi -
Not sure what you mean about logged in as root. Apache and Tomcat are
services, there is no need for anyone to be logged in to run them.
Apache needs to run as root to bind to port 80 (root is required to bind
to port numbers 1024, this is by design in UNIX/Linux), but forks children
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 3:37 PM
To: 'Tomcat Users List'
Subject: RE: [OFF-TOPIC] RE: Naïve question about root
Wow, how do you know all this stuff? :) I will certainly
have to pick up a
book on
You check the request protocol for http or https. If it's http and
the page should be https then you redirect them either to a login page or
the SSL version of the URL.
In general, you want ALL pages protected by SSL in a given context...you
don't want to be switching back and forth, and you
Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 3:46 PM
To: 'Tomcat Users List'
Subject: RE: [OFF-TOPIC] RE: Naïve question about root
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17
Subject: RE: Apache-Tomcat HOWTO, Hey John Turner !
John ,
I really like all the work you have done shoeing people how to use
mod_jk.
I have a build script
for FreeBSD and a binary if you would like to add it to your site.
Adrian Thiele
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: jsps and servlets don't work
Then at least it should put into the generated config file a comment that
ajp13 should be
converted into the name of the worker.
Turner, John wrote:
AFAIK, no. I
It's alpha.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.17-alpha/
John
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 9:35 AM
To: 'Tomcat Users List'
Subject: RE: [OT] Apache-Tomcat mod_jk
Do you know
Not true. Tomcat virtual hosting can be done, you simply setup a Host
element in server.xml for each virtual host.
Tomcat server.xml Host element = Apache VirtualHost (roughly speaking)
John
-Original Message-
From: Stephen Riek [mailto:[EMAIL PROTECTED]]
Sent: Friday, December
Sounds like there is no Apache VirtualHost container for whatever IP or
hostname you want to use.
/usr/local/apache2/htdocs/ would be the default DocumentRoot for an Apache
server...this tells me there is no VirtualHost defined for the name or IP
you are using, because Apache is defaulting to
I have 4.1.12 on Solaris 8 (420R) running for my developers, it does not
exhibit this behavior. Are you required to use 4.0.1? That's kind of old.
John
-Original Message-
From: David McGough [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:56 AM
To: [EMAIL PROTECTED]
Yes. Symbolic linking is disabled by default in 4.1.12. Check the release
notes, search the list archives for allowLinking. I believe it's broken
in .12 and .13, you might need to go to .14 to get it working 100%, or down
to 4.0.5/6.
John
-Original Message-
From: Venkateshwar
You need JkMounts for every URL you intend to send to Tomcat. Most people
use the default wildcards:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 1:10 PM
To: Tomcat Users
In my experience, the apxs in /usr/sbin is the wrong one to use. Can you
contact the person who installed your Apache? Apxs should be there.
I've never had a problem building the connectors using
--with-apxs=/some/path/to/apache/bin/apxs for configure. Then again, I
build my Apache from
Yes, this can be done.
John
-Original Message-
From: crc [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 1:23 PM
To: Tomcat Users List
Subject: Bind tomcat 4.1.12 to a particular IP address without using
Apache?
I would like to know if it would be possible to
They do have these. The URLs are regularly posted on this list, and the
URLs are readily available on the Jakarta site:
JK:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/
JK2: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/
John
for the servlets (including my HelloWorld
entry).
mod_jk.log is empty.
What more do I need to do?
Thanks, Jerry
Turner, John wrote:
Mod_webapp is deprecated, and has some fairly serious limitations.
JK/JK2 is the better choice if you are concerned with
future growth
HelloWorld entry).
mod_jk.log is empty.
What more do I need to do?
Thanks, Jerry
Turner, John wrote:
Mod_webapp is deprecated, and has some fairly serious limitations.
JK/JK2 is the better choice if you are concerned with future growth.
If you're having problems, perhaps my
on Solaris 8, Sunfire 280r
Unfortunately, yes.
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 8:31 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.0.1 on Solaris 8, Sunfire 280r
I have 4.1.12 on Solaris 8 (420R) running
for now. Thanks again for all your (and everyone
else's) help.
I'm sure you will be hearing again from me soon ;-)
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 8
stable and JK2 is not ready for prime time, though
that is my personal preference.
John
-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 8:40 AM
To: Tomcat Users List
Subject: Re: Apache-Tomcat HOWTO
* Turner, John [EMAIL PROTECTED
In my opinion, JK. Definitely not WARP.
John
-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 5:44 AM
To: tomcat-user
Subject: Warp or Coyotte ? I'm so bad in my choice
Hi all !
Using Apache 1.3.26 + Tomcat 4.0.2
RTFM
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
reloadable=true
John
-Original Message-
From: Lukas Österreicher [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 15, 2002 7:18 AM
To: Tomcat Users List
Subject: Re: Two inhibiting problems in developement
Not sure what you mean by jdbc driver from datadirect but if you mean the
free JDBC driver from Microsoft, we were never able to get it to support
pooling after several weeks of trying.
We ended up purchasing a license to a third-party driver. Benefits were
actual pooling, and on top of that,
ps -ef |grep httpd
That will show you exactly what is running. On RH 7.3, if only one Apache
is running, you should see something that looks like this when you run that
command:
root 30931 1 0 10:42 ?00:00:00 /usr/local/apache2/bin/httpd
-k
nobody 30932 30931 0 10:42 ?
The CoyoteConnector is enabled by default in Tomcat 4.1.12. The
CoyoteConnector handles multiple protocols, including JK, JK2, and HTTP. It
depends on what you send it, and what port its listening on.
John
-Original Message-
From: response [mailto:[EMAIL PROTECTED]]
Sent:
You might want to research other open source projects themselves before
attempting to write something from scratch, whether you choose Java or
anything else. You also (as others have noted) might want to get some
design decisions down before you start choosing a platform...do you REALLY
need
You've got something messed up. Your httpd.conf is calling for the DLL file
on your C drive, yet the error message is citing the E drive. Are you sure
you don't have multiple Apache servers running somehow? Did you use an
installer that may have put some hardcoded paths into your registry?
This isn't the place for design or feature suggestions. You want the
tomcat-dev list, not tomcat-user.
John
-Original Message-
From: Sven Köhler [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 15, 2002 3:27 PM
To: [EMAIL PROTECTED]
Subject: [BUG] AJP connector with specific
Post error messages, config file snippets, log file snippets, etc.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: RE: newbie almost connected...
almost
10. Verify
What do you mean by cannot browse? What is the error message? 404? Is
your Apache DocumentRoot set correctly?
Since you are very new to this, please understand that there is no
requirement that you use Apache + Connector + Tomcat to work with Tomcat.
You can easily work with Tomcat all by
If you want to post mod_jk.conf, workers.properties, and server.xml, I will
take a look at them. Assuming, of course, that there are no changes to
httpd.conf except Include /some/path/to/mod_jk.conf.
John
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent:
What are your JkMount statements, and what are the contents of
workers.properties?
John
-Original Message-
From: G|nther Mittermayer [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 9:07 AM
To: [EMAIL PROTECTED]
Subject: Almost there: Odd error in mod_jk.log
Hi,
hosts defined in Tomcat?
thanks.
gunther
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Almost there: Odd error in mod_jk.log
Date: Mon, 16 Dec 2002 10:04:12 -0500
What are your JkMount
not getting it done with this configuration..
what am I doing
wrong? (assuming I corrected the /*.* to /*..)
thanks again.
gunther
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Almost
Sorry, didn't realize you had the config in your earlier messages. I came
in this morning and there were 300 messages in my tomcat-user box, so I've
been typing furiously trying to catch up. :)
In the config you just posted, everything should work just fine, though I've
never done it that way.
If there's no functionality in jk_workerEnv.c to accept a value from a
config file, then you're probably stuck. There might be a change in the
works to make this configurable, I know that with Ajp13Connector (JK) you
can point to a specific path, but that doesn't look like an option for
have to struggle a
little more with
Apache.
Thanks anyway. :)
gunther
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Almost there: Odd error in mod_jk.log
Date: Mon, 16 Dec 2002 11:12:28
came across a link on the jakarta website that said Coyote
was enabled by default in 4.1.*, so I undid the changes in
your HOWTO and voila, it worked.
Now I can't find the link...if I do I'll post it.
thanks for the response,
Peter
(Red Hat 8.0, Apache 2.0.4, Tomcat 4.1.7)
Turner, John
If CATALINA_HOME isn't /opt/tomcat or something similar, you can't by
default. I guess you could enable symlinks (search the archives for
allowLinking) and do it that way.
Someone else may have a better solution.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I don't think you can get any simpler than this:
http://www.johnturner.com/howto
The version numbers are irrelevant...the procedures are the same.
Newer versions of Tomcat use one connector class to handle multiple
protocols. That class is called CoyoteConnector and it talks JK, JK2, and
HTTP
Check the last error message: wc_get_worker_for_name ajp13. Your
workers.properties file has a worker called test1 but the worker being
sought is ajp13.
If your JkMount commands look like this:
JkMount /*.jsp ajp13
Then change the worker name in workers.properties to ajp13, not test1.
John
and servlets don't work
Turner, John wrote:
Check the last error message: wc_get_worker_for_name ajp13. Your
workers.properties file has a worker called test1 but the worker being
sought is ajp13.
If your JkMount commands look like this:
JkMount /*.jsp ajp13
Then change the worker name
That's the correct file. Did you download and install the JDK from Sun?
Did you follow the installation instructions? Like setting JAVA_HOME and
CATALINA_HOME as environment variables?
When you say doesn't work, what does that mean? Is there an error
message? Anything in the logs?
John
This has come up many times before. There is no easy solution. Apparently,
Apache doesn't do the DirectoryIndex until after it checks to see if the URL
should be passed to Tomcat. Since the actual URL has no *.jsp on it at
that time, it doesn't go to Tomcat.
There have been various
Put an index.html file in each directory that redirects to the home page
using a META REFRESH of zero. Not so elegant, but very simple and 100%
effective.
John
-Original Message-
From: Gerrit Grobbelaar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 5:48 AM
To: Tomcat
701 - 800 of 2121 matches
Mail list logo