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

2007-04-16 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

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
ke a long time :-/ ) 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 ha

mod_jk, timeout values, best practices

2007-04-03 Thread Erik Melkersson
he net. Thanks in advance for any help Erik Melkersson *httpd.conf* SetEnv JK_WORKER_NAME cms SetHandler jakarta-servlet ErrorDocument 503 /index-cmsfail.html *worker.properties (as it looked during my last test, infinite waiting)* worker.list=cms,jkstatus worker.jkstatus.t

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
/A. As I 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 d

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-25 Thread Erik Melkersson
writes" the response from 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 PROTECT

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: ServerName app1.example.com # you do not want to have a loop RewriteCond %{REQUEST_FILENAME} !^/app1/ RewriteRule ^/(.*)$ /app1/$1 [PT] SetEnv JK_WORKER_NAME worker_for_app1 SetHandler jakarta-

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

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: SetEnv JK_WORKER_NAME wo

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 ba

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

2007-03-21 Thread Erik Melkersson
who wrote and added stuff to: http://tomcat.apache.org/connectors-doc/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.