Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Erik Melkersson
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

mod_jk, timeout values, best practices

2007-04-04 Thread Erik Melkersson
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

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-04-04 Thread Erik Melkersson
:-/ ) 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

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-26 Thread Erik Melkersson
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

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-25 Thread Erik Melkersson
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

Re: Using the jk connector to join different tomcat contexts with discrete urls

2007-03-23 Thread Erik Melkersson
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

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-22 Thread Erik Melkersson
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

Re: Using the jk connector to join different tomcat contexts with discrete urls

2007-03-22 Thread Erik Melkersson
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/

Re: How do I get the http://localhost/jkstatus page to display/installed

2007-03-22 Thread Erik Melkersson
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

mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-21 Thread Erik Melkersson
/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