You can set the watchdog-port for each server you start up, whether you use a single resin.conf for a cluster of servers on the same machine, or multiple resin.confs. 6600 is just the default watchdog port. that is how you start up multiple resin instances on the same machine.
as for the bug, binding the watchdog process to the configured port (6600 by default) of the localhost seems the right thing to do. it's just RedHat OSes with JDK 5 that have this bug. JDK 6 is fixed I think, and it has been back ported to JDK 1.4. someone in the bug I posted earlier asked about a back-port to JDK 5. maybe 1.5.0_12 has it, I dunno. that bug was from a while ago. so I would try upgrading to the latest JDK that you can, and if that doesn't work, disable IPv6 if you can. if you can't do any of those things, than I don't know what to tell you. ..mike.. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Kreiser Sent: Tuesday, August 28, 2007 10:50 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] Start up problem Scott Ferguson wrote: On Aug 28, 2007, at 9:45 AM, Eric Kreiser wrote: That's interesting. Thanks for finding this. The Watchdog does bind to port localhost:6600. That's how the "stop" command works and how the Watchdog can manage multiple Resin JVMs with a single watchdog process. -- Scott Is this a bug? or going to be considered a bug? It's not a Resin bug. Binding to a local port is a capability of the JDK. We're certainly not going to work around a JDK bug that fundamental. -- Scott I don't follow. Resin is binding the Watchdog process to 127.0.0.1:6600 right? And all that I am really concerned with is... how would/should I start multiple Resin servers on the same machine? How will this work if each is going to try to bind to 127.0.0.1:6600? I am wondering how this would work if I started multiple Resin installations on the same machine? ..mike.. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Zakula Sent: Friday, August 24, 2007 9:26 PM To: [email protected] Subject: [Resin-interest] Start up problem Hi, I have been trying to install and run resin on a Centos 5 system. I run it fine on Windows. Everything installs fine on Centos, but when I try to run the resin.jar file with all of the default configuration, I get the following error: Aug 24, 2007 11:26:39 AM com.caucho.boot.ResinWatchdog run INFO: java.net.BindException: Cannot assign requested address java.net.BindException: Cannot assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at com.caucho.boot.ResinWatchdog.run(ResinWatchdog.java:496) at java.lang.Thread.run(Thread.java:619) The server is behind a firewall with an ip address of 192.168.1.3, but I have an entry in the hosts file with the machine name and the ip address. Any help would be appreciated. Thanks! Tony _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. ________________________________ _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
