RE: Tomcat CLustering listening address

2006-09-14 Thread Patrick Wang
` resolves to 127.0.0.1 in /etc/hosts Filip Patrick Wang wrote: > Hi all: > > > > I setup the TCPListner's IP address to be "auto" on 2 separate machines. > > > > Then I used the command netstat -nlp to verify what's listed and found out one > actuall

Tomcat CLustering listening address

2006-09-14 Thread Patrick Wang
Hi all: I setup the TCPListner's IP address to be "auto" on 2 separate machines. Then I used the command netstat -nlp to verify what's listed and found out one actually bound to 127.0.0.1, The other bound to the real IP address. What is going on? Actually these 2 machines have the e

RE: Why cannot I put JSVC into a shell script to run

2006-09-05 Thread Patrick Wang
our entire script. Also, which Linux, Tomcat, and Java are you using? That'll help us, too. warren > > From: "Patrick Wang" <[EMAIL PROTECTED]> > Date: 2006/08/31 Thu PM 05:41:32 EDT > To: > Subject: Why cannot I put JSVC into a shell script to run > >

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
(DaemonLoader.java:109) daemonec error: An error was detected checking the org.apache.catalina.startup.Bootstrap jsvc.exec error: Service exit with a return value of 2 -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 9:45 AM To: 'Tomcat Users List

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
otstrap " What is going on here? Thanks Pat -Original Message- From: Pascal Bleser [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 9:09 AM To: Tomcat Users List Subject: Re: Why cannot I put JSVC into a shell script to run Patrick Wang wrote: > Thanks for the reply, you are cor

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
and run the script it doesnt work ? Are you using the same command from console , did you try and do a ps to see if tomcat has started/not started ? Putting the entire command on one line shouldnt be an issue . -Sameer Patrick Wang <[EMAIL PROTECTED]> wrote: Hi, I can only copy/pas

Why cannot I put JSVC into a shell script to run

2006-08-31 Thread Patrick Wang
Hi, I can only copy/paste the contents from startTomcat.sh to the console, everything works fine. But when I run the command from the console startTomcat.sh, it gave me no error, however the to

What is mcastBindAddr for??

2006-08-19 Thread Patrick Wang
Hi, I am currently setting up 2 linux server and enabled the clustering and multicast for these 2 servers. I verified using the cat /proc/net/igmp command and found out once I started the tomcat, machine will subscribe to the 228.0.0.4 group, multicast address. I also used the ethereal

RE: Mod_jk sticky Session not working for distributed computer

2006-08-15 Thread Patrick Wang
kers, Then keep on hitting the IE browser, the 2 worker on the same machine is consistent with the user and session id. Suddenly the browser with the worker on the separate machine changed the SESSION. The JVM on the remote machine is client, while the JVM on the local machine is tuned for server

Mod_jk sticky Session not working for distributed computer

2006-08-15 Thread Patrick Wang
Hi, All: Here is the story, the vertical clustering seems working great, which means I started two tomcat instances on the same machine and give them different worker name. Load balance/Sticky-NonSticky Session works like a charm. I tried both sticky, non-sticky session by open several browse

RE: Tomcat 5.5.17 not displaying jsp page???

2006-08-14 Thread Patrick Wang
One more thing, I am invoking Tomcat only, no apache involved here by using URL like http://169.229.141.108:8080/ -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 3:00 PM To: users@tomcat.apache.org Subject: Tomcat 5.5.17 not displaying jsp

Tomcat 5.5.17 not displaying jsp page???

2006-08-14 Thread Patrick Wang
Hi, I recently upgrade the TOMCAT from 5.0.28 to 5.5.17 and suddenly found out all the .JSP page turns out blank page for my application. So I did some investigation and found out 1) jsp-examples folders come with the TOMCAT 5.5 works perfect. 2) A simple page test.jsp not

Re: how to use jsvc to stop the tomcat service

2006-08-04 Thread Patrick Wang
. Sorry, didn't proof-read before I hit send... > > From: Warren Pace <[EMAIL PROTECTED]> > Date: 2006/08/03 Thu PM 05:20:47 EDT > To: "Tomcat Users List" > Subject: Re: how to use jsvc to stop the tomcat service > > > > > > From: &q

RE: how to use jsvc to stop the tomcat service

2006-08-04 Thread Patrick Wang
Mark: Thanks for letting me know, I will take note and will start a new thread then. I appreciated all the great help I received here. Pat -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 4:45 PM To: Tomcat Users List Subject: Re: how to us

how to use jsvc to stop the tomcat service

2006-08-03 Thread Patrick Wang
Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention how to stop the tomcat, I am currently using kill <> and wondering if there is a more elegant solution. Thanks Pat

RE: Load Balance not working for mod_jk???

2006-07-24 Thread Patrick Wang
the error log, so you configured everything that's needed. What about the "strings" way of determining the version (the second option I gave in my previous mail)? Patrick Wang schrieb: > Thanks for the info. > > However my Apache log did not log any information listed be

RE: Load Balance not working for mod_jk???

2006-07-24 Thread Patrick Wang
mal operations It includes the mod_jk version (mod_jk/1.2.15). The same should be found via myserver% strings PATH_TO_MOD_JK/mod_jk.so | grep mod_jk/1.2 From your log output and a look at the revision history your version is most likely 1.2.6. You really should download a new one and bui

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
version of the MOD_JK? Thanks Pat -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 11:55 AM To: 'Tomcat Users List' Subject: RE: Load Balance not working for mod_jk??? Thanks for the info. The latest binary download 1.2.15 for Linux

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
5 2006] [jk_connect.c (188)]: jk_open_socket, connect() failed errno = 111 -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 10:45 AM To: Tomcat Users List Subject: Re: Load Balance not working for mod_jk??? Patrick Wang wrote: > Thanks for the

RE: Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Balance not working for mod_jk??? Patrick Wang wrote: > > Here is my httpd.conf > > JkMount /ucdiscovery/* worker1 > JkMount /ucdiscovery worker1 > JkMount /simple/* worker2 > JkMount /simple worker2 > > > > Things work beautifully. > > But as soon as I

Load Balance not working for mod_jk???

2006-07-21 Thread Patrick Wang
Hi: Here is my situation: Linux Fedora 4.0 Apache 2.0.54 Tomcat 5.0.28 Mod_JK 1.2.14. JVM 1.5.0 I started 2 tomcat Instances listening on port 8009/8010, verified using JSVC nlp. They 2 instances shared the same code base but has their own webapp and server.xml/web.xml etc. Here is he workers.p