It works partly and you must invoke it using bin/httpd.sh start. The "start" is important because the watchdog manager won't start otherwise and that is what handles the user switching.
Here is the response Scott Ferguson gave me regarding this at that time. ======================================================================== Are you using "bin/httpd.sh start" or just bin/httpd.sh? There's a tricky issue with the JDK and dynamic libraries and LD_LIBRARY_PATH. The LD_LIBRARY_PATH needs to be set before loading any JNI code. The Watchdog JDK process is responsible for setting LD_LIBRARY_PATH, but the watchdog can't set it for itself just a child process. Since bin/httpd.sh start spawns a child process, you get the right JNI loading. Also, since Resin is always spawned the LD_LIBRARY_PATH is set properly. But, bin/httpd.sh with no "start" is the watchdog process, so it doesn't have LD_LIBRARY_PATH set. The problem is that the watchdog is responsible for validation of user-name, i.e. we want to give an error message early if there's a problem. That might be what you're running into. We need to improve that validation, but it's a bit complicated to get right. -- Scott ======================================================================== === I said partly because I couldn't get the SSL binding to work. user-name: root port: 80 ok user-name: root port: 443 ok user-name: web port: 80 ok user-name: web port: 443 error tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Campbell Sent: Tuesday, March 13, 2007 11:10 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] How to start Resin at bootup timewith non-rootuser Kuntz, Tim wrote: > Mike, > > You can only do this if you are running Resin Pro with a valid license. > > This also only works if you start Resin with watchdog as it changes the > users. Are you saying that this is now fixed? Does it work when invoking resin via httpd.sh? Dave ------------------------------------------------------------------ Visit Guardian Unlimited - the UK's most popular newspaper website http://guardian.co.uk http://observer.co.uk ------------------------------------------------------------------ The Newspaper Marketing Agency Opening Up Newspapers http://www.nmauk.co.uk ------------------------------------------------------------------ This e-mail and all attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender and delete the e-mail and all attachments immediately. Do not disclose the contents to another person. You may not use the information for any purpose, or store, or copy, it in any way. Guardian News & Media Limited is not liable for any computer viruses or other material transmitted with or as part of this e-mail. You should employ virus checking software. Guardian News & Media Limited A member of Guardian Media Group PLC Registered Office Number 1 Scott Place, Manchester M3 3GG Registered in England Number 908396 _______________________________________________ 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
