Hi,
I've been successful in mapping requests from IIS to tomcat5 but am stuck on
getting requests mapped to the root context. The config properties below is
what I'm trying and I'm not having any luck. I can get to the root context
with no problems when making a direct request on the tomcat port.
Troy Simpson wrote:
How does Apache2 find the workers.properties file?
According to page 245 of Professional Apache Tomcat 5, it says:
These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level
How does Apache2 find the workers.properties file?
According to page 245 of Professional Apache Tomcat 5, it says:
These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level of the config
to look at $CATALINA_BASE like it knows to look in
$CATALINA_HOME?
Dwayne Ghant wrote:
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46
. [extensionUri] = /jakarta/isapi_redirector2.dll
# d. [workersFile] = [${JK2_HOME}/conf/workers2.properties]
# e. [logLevel] = [INFO]
#
# II. Configure IIS
#1. Using the IIS management console, add a new virtual directory to
# your default web site. The name of the virtual directory
protocal???
One other simple question.
Does tomcat also know to look at $CATALINA_BASE like it knows to look
in $CATALINA_HOME?
Dwayne Ghant wrote:
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration
] = [${JK2_HOME}/conf/workers2.properties]
# e. [logLevel] = [INFO]
#
# II. Configure IIS
#1. Using the IIS management console, add a new virtual directory to
# your default web site. The name of the virtual directory must be
# jakarta. Map this to C:\jk2-connector\bin\.
# While
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so
Please keep in mind that I am
using mod_jk2.so so that mean
Hi,
does anyone have a sample workers2.properties that can enable the load balancing
between two tomat instances?
Thanks!
nyhgan
-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Hi,
I got this workers2.properties from wrox.com. It claims to support load balancing by
using more than one tomcat jvms.
In their setting, they have several startup scripts for each tomcat instance. Does it
mean that I need to have a unique tomcat installation folder, and a unique
Instead of including all your mappings in the workers2.properties, you can
use Location and LocationMatch in httpd.conf to set up your mappings.
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 8:32 AM
To: [EMAIL PROTECTED
Hi,
Instead of including all your mappings in the workers2.properties, you
can use Location and LocationMatch in httpd.conf to set up
your mappings.
Thanks, but...
We got JK2 running as a ISAPI-Filter on IIS6.
... not httpd.conf on Windows
Hi,
is it possible to partition the workers2.properties for the JK2?
We got JK2 running as a ISAPI-Filter on IIS6.
Now, the new structure of workers2.properties is better against
workers.properties and uriworkermap.properties.
But now, that we have loads of webs with many contexts each, which
entries in my workers2.properties file BOTH route to Tomcat 8009 (my
first instance). I wonder if it is possible to use the fact that I have a port on the
URL to route to different AJP tomcat ports???
Thanks!
Tomcat Development Instance 1
[channel.socket:localhost:8009]
info=Ajp13 worker
Elijah Epifanov wrote:
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2 root
Well, if you're going to re-organize your Apache, then I
:00 PM
Subject: Re: workers2.properties path ???
Elijah Epifanov wrote:
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2
Elijah Epifanov wrote:
Thanks, I already solved this problem.
mod_jk2 has a little bug: it looks for *.properties in `apxs -q
prefix`/conf
instead of `apxs -q sysconfdir`.
OK, but you can still use JkSet config.file location to point mod_jk2
to any location for workers2.properties.
Nix
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2 root
error_log:
[Sun Jun 20 09:02:35 2004] [notice] Apache/2.0.49 (Unix) mod_ssl
PM
Subject: workers2.properties path ???
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2 root
error_log:
[Sun Jun 20 09:02:35
Can the uri tag be set up to watch for the IP address that a host
resolves too? Or is there some way to do this?
[uri:172.16.10.38:80/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
worker=172.16.10.38:8009
Then if my hosts file looks like
172.16.10.38site1.com
Hello!
Uri Mapping in the workers2.properties seems to be of the format
[uri:host:port/urlpattern]. urlpattern and host support the wild
card *. However host does not seem to work for patterns like
*.domain1.com or *.domain2.com.
I am trying to set up the workers2.properties so
Can someone point me to a tutorial/example of a workers2.properties file
that shows how to set up several instances of Tomcat on the same machine,
different ports?
What I want to do is have a mapping from worker1 to /context1 on 1st tomcat
instance and a worker2 that handles requests to /context2
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use a directory with
version-number, the path to the apache-rootdir changed.
now my mod_jk2-module searches the workers2.properties configfile still
in the old apache
To: [EMAIL PROTECTED]
Subject: where to define path to workers2.properties
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use a directory with
version-number, the path to the apache-rootdir changed.
now my mod_jk2
This worked for me just subsitiute your path to workers2.properties
JkSet config.file /usr/local/apache2/conf/workers2.properties
Jack
Stefan Burkard wrote:
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use
Can anyone tell me where to find documentation on all the available
variables possible in the workers2.properties for Tomcat 4.1?
Thanks.
Charles (Allen) Jordan [EMAIL PROTECTED]
System Administrator(407)771-8919
Convergys
285 International Parkway,
Lake Mary, FL 32746-5007
:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 9:19 AM
To: [EMAIL PROTECTED]
Subject: workers2.properties documentation?
Can anyone tell me where to find documentation on all the available
variables possible in the workers2.properties for Tomcat 4.1?
Thanks.
Charles (Allen) Jordan [EMAIL
you might be looking for this:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html
if you're just getting started with jk, you should read this too - very
good entry tutorial:
http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss
frank
The only way I could get rid of these was to comment out the logger lines.
Charlie
-Original Message-
From: Randy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 1:23 AM
To: [EMAIL PROTECTED]
Subject: location of workers2.properties parameters
I can not find the doc
So was that in one place it the code or through-out?
Thanks
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 8:27 AM
To: 'Tomcat Users List'
Subject: RE: location of workers2.properties parameters
The only way I could get rid
Sorry, I meant comment out the [logger.apache2] lines in the
workers2.properties.
Even after doing this you will still get your errors in the logs, but the
info's seem to stop. (this doesn't turn off all logging for jk2)
Chalrie
-Original Message-
From: Randy [mailto:[EMAIL PROTECTED
I can not find the doc that describes the descriptors in workers2.properties
I am sorry if it is obvious , but I can not find it
I have tried
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
And
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html
In my
I can not find the doc that describes the descriptors in workers2.properties
I am sorry if it is obvious , but I can not find it I have tried
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
And
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html
In my
PROTECTED]
Sent: Wednesday, February 04, 2004 5:01 PM
Subject: RE: workers2.properties syntax
What aspects are you wanting to change and I'll see if I can help explain
them. I'm somewhat new to this also, but have spent almost a year decipering
and figuring things out.
Dean
-Original Message
I'd like to know how you use workers2.properties to load balance if possible. My
original post is below...
The following is my workers2.properties file.
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Tomcat 5.0\work\jk2.shm
size=100
[channel.socket:localhost:8009
Users List
Subject: workers2.properties syntax
Hello,
I'd like to know if someone knows where I can find any document describing the syntax
for workers2.properties different from the one that comes with Tomcat 5.
Cause the one that I'm using I copied from this list (and it's working) and there's
The following is my workers2.properties file.
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Tomcat 5.0\work\jk2.shm
size=100
[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/*.do
Hello,
I'd like to know if someone knows where I can find any document describing the syntax
for workers2.properties different from the one that comes with Tomcat 5.
Cause the one that I'm using I copied from this list (and it's working) and there's
some aspects I want to change that I have
'
Subject: Does anyone have a working workers2.properties file?
Hi
I am looking for a working workers2.properties file to use as a template. I
have seen a lot of examples of sections workers2.properties files, but I
would like to see a complete file.
I am running IIS 5.0 and tomcat 4.1.27 using
Hi
I am looking for a working workers2.properties file to use as a template. I
have seen a lot of examples of sections workers2.properties files, but I
would like to see a complete file.
I am running IIS 5.0 and tomcat 4.1.27 using isapi_redirector2.dll 2.0.2
Thanks,
Rasmus
a minimum file could be:
[shm:]
info=Scoreboard. Required for reconfiguration and status with
multiprocess servers
file=C:\Programme\Apache Group\Tomcat 4.1\temp\jk2.shm
size=1048576
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map webapps to the
this one works for me:
--workers2.properties
$ cd /etc/httpd2/conf
Open the file workers2.properties in a text editor and modify the file to
look like this:
[logger]
level=DEBUG
[config:]
file=/etc/httpd2/conf/workers2.properties
debug=0
debugEnv=0
[uriMap:]
info=Maps the requests. Options
There are actually several ways to map between Apache
and Tomcat via mod_jk2.
The first is using workers2.properties. If you've
compiled with -pcre, then perl regular expressions
should work as well as individual names.
Also, remember that servlets traditionally live in
/app-name/servlet
There are actually several ways to map between Apache
and Tomcat via mod_jk2.
The first is using workers2.properties. If you've
compiled with -pcre, then perl regular expressions
should work as well as individual names.
Also, remember that servlets traditionally live in
/app-name/servlet
Magic stuff Mark
*** updated httpd.conf file snippet ***
LoadModule jk2_module modules/mod_jk2.so
IfModule mod_jk2.c
JkSet config:file
/usr/local/jakarta-tomcat-4.1.29/conf/workers2.properties
/IfModule
Alias /examples /usr/local/jakarta-tomcat-4.1.29/webapps/examples
Location /examples
as the welcome file.
here is the workers2.properties i am using:
[logger]
level=ERROR
[config:]
file=${serverRoot}/apache/conf/workers2.properties
debug=0
debugEnv=0
[shm:]
info=Scoreboard. Required fro reconfiguration and status with
mulitprocess servers
file=/var/log/jk2.shm
size=100
debug=0
i have an apache webserver that will handle request made to tomcat and
hand off the request using jk2. i have the workers2.properties to
handle this with one tomcat server. however, i have another tomcat
server that i need the request to be sent to. i have done this with jk
by defining
In the workers2.properties file specify the second instance of your tomcat
and the port number.
For example
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
[channel.socket:localhost:8010]
info=Ajp13 forwarding over socket
debug=0
tomcatId
How do I add socket_keepalive and connect_timeout to the
workers2.properties file on the web server. All the examples discuss
doing this in the workers.properties file which, to my understanding,
does not apply to mod_jk2.
The JK2 docs only discuss the format for adding properties to the
workers2
How do I add socket_keepalive and connect_timeout to the workers2.properties
file on the web server. All the examples discuss doing this in the
workers.properties file which, to my understanding, does not apply to
mod_jk2.
The JK2 docs only discuss the format for adding properties to the
workers2
]
Subject: MOD_JK2 workers2.properties socket_keepalive
How do I add socket_keepalive and connect_timeout to the workers2.properties
file on the web server. All the examples discuss doing this in the
workers.properties file which, to my understanding, does not apply to
mod_jk2.
The JK2 docs only
| |-file2.png
|-WEB-INF
there is one great problem if one jsp page has images or other files that
are into (inside) one directory.
if i not map the directories into the workers2.properties file the sistem
doesn't show well the page.
if i not writte into the workers2.properties file
I have two apps on the some pc with different domains one domain works
fine the other will not run jsp pages..
Here is a sample of my workers2.properties
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
[uri:localhost/*]
worker=ajp13:localhost
Look into virtual hosts
to run multiple websites
-Original Message-
From: jakarta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 7:22 AM
To: [EMAIL PROTECTED]
Subject: JK2 and workers2.properties
I have two apps on the some pc with different domains one domain works
fine
Hi,
When configuring apache + tomcat + mod-jk2 is there a recommended
size fo shm.file?
Asif Chowdhary
mailto:[EMAIL PROTECTED]
www.xeye.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
=lb
debug=3
graceful=1
disabled=1
- Original Message -
From: Kelly Kleinfelder [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 7:51 PM
Subject: graceful setting in workers2.properties
I'm using Tomcat 4.1.27 and Apache 2.0.47 built
I'm using Tomcat 4.1.27 and Apache 2.0.47 built with the worker mpm and
mod_jk2 build from the 2.0.2 connectors source.
I'm trying to use the graceful setting in workers2.properties to take one of
the workers out of service, but it doesn't seem to be working. I'm not sure
if the lb_value should
Hi all,
I need to configure multiple tomcat instances in workers2.properties file
running completely separate web apps. No matter what I do it doesn't work.
Can I even do this? I specify multiple channel sockets but all requests go
to the first one only.
I appreciate the response. Here is my
Hi all,
It seems like mod_jk2 is a buggy connector. There is no way to set up more
than one instance of tomcat. It can connect on any port other than 8009 but
it is a first-come first-served basis (whichever port comes first). I need a
response from mod_jk2 developers themselves. Should I go back
Boulatian, Misak wrote:
Hi all,
It seems like mod_jk2 is a buggy connector. There is no way to set up more
than one instance of tomcat. It can connect on any port other than 8009 but
it is a first-come first-served basis (whichever port comes first). I need a
response from mod_jk2 developers
,
Thanks for trying to help me. I have been working on this for several days
and I was too upset. Can you please tell me how can I specify different
workers2.properties file for each instance since workers2.properties file
must be in apache/conf? In the site
http://jakarta.apache.org/tomcat/tomcat-4.1
Duncan Smith wrote:
I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Yea, I symbolically linked it there as well, but still nada. Will it not
follow symbolic links?
I said before, as I learned from another guy on this list, jk2
Nikola Milutinovic wrote:
Duncan Smith wrote:
I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Yea, I symbolically linked it there as well, but still nada. Will it not
follow symbolic links?
I said before, as I learned from another
(403)]
workerEnv.init() ok ${serverRoot}/conf/workers2.properties
Here is the connector definition from server.xml:
!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8443 minProcessors=5 maxProcessors=75
I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Good luck :-)
Duncan Smith
Decker Telecom Ltd
Rhugga wrote:
I get this error during tomcat 4.2.27 startup:
INFO: Starting Coyote HTTP/1.1 on port 8443
[Fri Sep 26 07:54:52 2003] (error
}/conf/workers2.properties
This seams to be a still present bug of mod_jk2 java sources. Aparently, the
only way to define that property, serverRoot is to define and export it as
an environment variable in one of the satrtup scripts, catalina.sh or
startup.sh.
Nix
Duncan Smith wrote:
I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Good luck :-)
Duncan Smith
Decker Telecom Ltd
Rhugga wrote:
I get this error during tomcat 4.2.27 startup:
INFO: Starting Coyote HTTP/1.1 on port 8443
[Fri Sep 26 07
Transmit Report:
To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
---BeginMessage---
Hi,
Although I haven't heard of anyone doing this you could add in your
httpd.conf:
JkSet config.file /full/system/path/to/workers2.properties
I don't see why you couldn't change
With mod_jk it was easy to have a unique file name but with mod_jk2 I do not see a
directive to change the file name from workers2.properties, can it be done?
Thank you,
Patrick Sullivan
Centura Health
This communication is for the use of the intended recipient only. It may contain
Hi,
Although I haven't heard of anyone doing this you could add in your
httpd.conf:
JkSet config.file /full/system/path/to/workers2.properties
I don't see why you couldn't change that to anything you want.
-e
On Mon, 28 Jul 2003, Sullivan, Patrick wrote:
With mod_jk it was easy to have
If your version of Jk2 is recent enough, and was compiled with the Apache
regex library, then you should be able to do:
[uri:!/app/*.gif]
(of course you can always get more clever with regexps ;-).
I haven't actually tried it myself, but I'm told that it does work.
Mark Eggers [EMAIL PROTECTED]
Hi,
I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our
workers2.properties we've defined an application
[uri:/app/*]
worker=ajp13:localhost:8009
but we have other things in that directory such as .html, .jpeg. .gif that
we don't want to have passed to tomcat and other
Hi -
You don't exclude, you include.
Change /app/* to /app/*.jsp and /app/servlet/* or whatever.
John
On Tue, 17 Jun 2003 10:51:41 -0400, Steven Garrett
[EMAIL PROTECTED] wrote:
Hi,
I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our
workers2.properties we've defined
Steve,
You would single out what you wish to have Tomcat
handle, and then Apache would handle the rest.
For example:
[uri:/app/*.jsp]
worker=ajp13:localhost:8009
[uri:/app/servlet/*]
worker=ajp13:localhost:8009
would send all files ending in .jsp and all files
underneath the /app/servlet uri
List
Subject: Re: possibly off topic: workers2.properties question
Steve,
You would single out what you wish to have Tomcat
handle, and then Apache would handle the rest.
For example:
[uri:/app/*.jsp]
worker=ajp13:localhost:8009
[uri:/app/servlet/*]
worker=ajp13:localhost:8009
would send all
List
Subject: Re: possibly off topic: workers2.properties question
Steve,
You would single out what you wish to have Tomcat
handle, and then Apache would handle the rest.
For example:
[uri:/app/*.jsp]
worker=ajp13:localhost:8009
[uri:/app/servlet/*]
worker=ajp13:localhost:8009
would send all files
Subject: Re: possibly off topic: workers2.properties question
Sure, that could be done, but I honestly don't see the value.
The only way
this is better or easier is if you have your servlets
spread out all
over the place. Otherwise, you can handle everything you
need with two
off topic: workers2.properties question
Sure, that could be done, but I honestly don't see the value. The only
way this is better or easier is if you have your servlets spread out
all over the place. Otherwise, you can handle everything you need with
two mappings:
/app/*.jsp
/app/some-string
-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:20 AM
To: Tomcat Users List
Subject: Re: possibly off topic: workers2.properties question
You don't have to use the Invoker...my point was that
typically (at least
from what I have seen) people put
One of the ways you could accomplish the
/app/servlet/* mapping is to map each of your servlets
in the app's web.xml file with a:
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/servlet/MyServlet/url-pattern
/servlet-mapping
for each servlet in your app.
Or do like struts and stick an extension on there. Struts uses *.do. Here
are the JkMounts for an app running on 4.1.12 on Solaris, using struts:
JkMount /myApp/*.do ajp13
JkMount /myApp/*.jsp ajp13
At that point, AFAIK, Tomcat will use the URL mapping in web.xml to
determine which
AM
To: Tomcat Users List
Subject: Re: possibly off topic: workers2.properties question
You don't have to use the Invoker...my point was that typically (at
least from what I have seen) people put their publicly accessible
servlets in one place. If they're all in one place, and typically
again.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 1:49 PM
To: Tomcat Users List
Subject: Re: possibly off topic: workers2.properties question
The invoker servlet allows you to skip explicitly mapping
your servlet in
web.xml
topic: workers2.properties question
The invoker servlet allows you to skip explicitly mapping your servlet
in web.xml.
The invoker is bad. Explicit mapping is good.
The /examples webapp uses the Invoker servlet. Its an example. You
don't enable the /examples webapp in production
jkmount to /ser* ?
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:29 PM
To: Tomcat Users List
Subject: Re: possibly off topic: workers2.properties question
On Wed, 18 Jun 2003 00:04, Mike Curwen wrote:
Maybe I'm missing
To: Tomcat Users List
Cc: Anthony Marlowe
Subject: Re: mod_jk2+tomcat+apache2 on OSX: WORKS! but NOT
FINDING workers2.properties in DFAULT location
hi
I've built 2.0.44 on Mac OS X with mod_jk2 and and running Tomcat
4.1.8 and 4.1.24. If the apache directory patch is set up correctly
/JavaVM.framework/Versions/
1.4.1
Then the workers2.properties file should be found in the
/Library/Apache2/conf directory and apache should find it. Also what
does you jk2.properties file look like? See mine below:
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT
Users List' [EMAIL PROTECTED]
cc
Subject
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Actually, that error is generally related to IIS trying to start up when
Apache Http server is running on the same port...make sure Apache http
server is STOPPED and than Tomcat
Hi Rick,
My last email contained a wrong diagnosis of the problem.
redirection to lb:lb is fine, because it is defined as a load balancer in
my workers2.properties.
However, after entering http://localhost/examples I simply get a Server
not found exception using MS IE 6 (indicating
- Jakarta Isapi Redirector - 2.0
authComplete: 0
extensionUri: /jakarta/isapi_redirector2.dll
logLevel: DEBUG
serverRoot: f:\tomcat-4.1.18
threadPool: 20
workersFile: f:\tomcat-4.1.18\conf\ntiis\workers2.properties
The correct workers2.properties + jk2.properties files can be found in the
source
-Original Message-
From: Johannes Fiala [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:43 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties +
workers2.properties
Hi to all!
I finally have found the solution
a.m.
To: 'Tomcat Users List'
Subject: RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin -
jk2.properties + workers2.properties
-Original Message-
From: Johannes Fiala [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:43 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED
- IIS 5.0 plugin - jk2.properties + workers2.properties
Here are a few differences between your configuration and mine:
1) My workers2.properties uses [shm:] instead of [shm].
2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward
slash path syntax on Windows (for your SHM
)
-Original Message-
From: Johannes Fiala [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 2:24 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties +
workers2.properties
Hi Rick,
I tried both fixes, but they failed. I also tried
#
# socket configuration
#
channelSocket.port=8009
channelSocket.address=127.0.0.1
channelSocket.maxPort=port+10
=
workers2.properties
=
# workers2.properties file in C:\Apache2\conf
# only at beginning. In production uncomment it out
# [logger.apache2
Here are a few differences between your configuration and mine:
1) My workers2.properties uses [shm:] instead of [shm].
2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path
syntax on Windows (for your SHM file). Try \\.
Tomcat Users List [EMAIL PROTECTED
Hi there!
Has anybody a working workers2.properties with a uri mapping on a different directory?
with context... it should look like this:
[uri:/tomcat/docs]
info=Tomcat docs context.
context=/tomcat-docs
debug=0
but it doesnt work :(
Florian
and each IP has a different hostname. My setup:
172.16.2.85 - www1.doman.com
172.16.2.86 - www2.domain.com
www1 and www2 will have different webapps on them. I have the
workers2.properties file configured so that /webapp1 responds only to
www1 requests and /webapp2 only responds to www2
workers2.properties
file possible and why are there defaults for the shm
and lb entries in the isapi redirector?
Thanks, Tomcat looks awesome!
Ben Schleimer
=
The competent programmer is fully aware of the strictly limited size of his own
skull; therefore he approaches the programming task in full
section is entirely devoid of content.
It would also be nice if there were some information on what, exactly, the
shared memory descriptor is for and why it is important; why it might be a
good idea to specify the location of workers2.properties inside the
workers2.properties file itself; and so
1 - 100 of 141 matches
Mail list logo