Are you starting it as non-root?
Only root has the ability to bind to ports 1024.
Regards /Erik Melkersson
Faheem Mitha wrote:
Hi,
I can now get tomcat to run an ssl connector at port 8443 (Debian
default), but doesn't work if I try to run it at 443.
The log says:
Apr 17, 2007 12:31:19
help
Erik Melkersson
*httpd.conf*
Location /test/cms/
SetEnv JK_WORKER_NAME cms
SetHandler jakarta-servlet
ErrorDocument 503 /index-cmsfail.html
/Location
*worker.properties (as it looked during my last test, infinite waiting)*
worker.list=cms,jkstatus
worker.jkstatus.type=status
:-/ )
Regards Erik Melkersson
Rainer Jung wrote:
Please open a bugzilla issue ...
Erik Melkersson schrieb:
Thanks for the info but unfortunately I don't think that is is case for
me. I surfed to a mapped address and got pages back from the tomcat
trough the workers and still had N/A as state. I've also
haven't changed the maintenance interval it should still be 60 secs.
Regards Erik Melkersson
Rainer Jung wrote:
N/A as a state means, that no requests have been sent to this worker for
some time. So mod_jk is not really able to tell you about the state of
the worker. It can only detect OK, ERROR
the other server before it
comes to the user. (domain names in redirect-headers etc)
/Erik Melkersson
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi!
Actually I never got JkMount to work, so I would say something like:
VirtualHost *:80
ServerName app1.example.com
# you do not want to have a loop
RewriteCond %{REQUEST_FILENAME} !^/app1/
RewriteRule ^/(.*)$ /app1/$1 [PT]
Location /app1/
SetEnv JK_WORKER_NAME
Does anyone recognize my problem about the runtime state that never is
displayed or did it work for you out-of-the-box?
Regards Erik Melkersson
Erik Melkersson wrote:
Hi!
I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two
tomcats (5.5.17) on other servers using a load balacer
Hi!
I wanted to do something similar. (but without the two virtual hosts).
I did like this:
# The directory the user sees
RewriteRule ^/test/aaa/(.*) /tomcat-dir/$1 [PT]
RewriteRule ^/test/bbb/(.*) /tomcat-dir/stuff/$1 [PT]
# The directory tomcat serves the stuff on:
Location /tomcat-dir/
A quick example is found at the last chapter of:
http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html
(but they use jkmanager as mount point)
/Erik Melkersson
I have installed apache 2.2.4 with mod_jk.so and 2 instances of tomcat
5.5.17 in a cluster. As I read examples I
/generic_howto/loadbalancers.html
Really nice page, setting it up initially worked very well following the
instructions there.
Regards Erik Melkersson
httpd.conf:
**
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
JkWorkersFile conf/workers.properties
JkShmFile logs/httpd/mod_jk.shm
10 matches
Mail list logo