It works partly and you must invoke it using bin/ 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/ start" or just bin/

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

Since bin/ 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/ 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

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


-----Original Message-----
[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

Kuntz, Tim wrote:
> Mike,
> You can only do this if you are running Resin Pro with a valid
> This also only works if you start Resin with watchdog as it changes
> users.

Are you saying that this is now fixed?  Does it work when invoking resin



Visit Guardian Unlimited - the UK's most popular newspaper website
The Newspaper Marketing Agency
Opening Up Newspapers

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

resin-interest mailing list

Reply via email to