[Resin-interest] Custom startup recommendation

2010-08-31 Thread Mattias Jiderhamn
(I am not by far a *nix wizz, nor the admin of our production servers, so please bear with me) Historically we have edited the /etc/init.d/resin script to customize the Resin startup, such as setting the server root directory or assigning CPU cores with taskdef. In the 4.0.x branch this file is

[Resin-interest] resin.exe server root directory in 4.0.10

2010-08-31 Thread Mattias Jiderhamn
Trying to launch Resin 4.0.10 on Windows with the -server-root / -server_root / -root-directory / --root-directory but resin.exe seems to ignore all of them. Is there an undocumented change, or is there a bug in resin.exe in the 4.0.10 (pro) release? --

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread jkowall
Depends on the version of Unix you are on exactly. I customized the init script quite a bit, so I don't use the one which ships with Resin. Which version/distribution are you using? I can share the one I use if you'd like. -jk On Tue, Aug 31, 2010 at 4:10 AM, Mattias Jiderhamn < mj-li...@expe

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread Mattias Jiderhamn
We are on RedHat Enterprise Linux 4/5. Note that the question is not the configuration itself, but *where* is the proper place for such configuration. The file we use now is overwritten with "the one which ships with Resin" on every Resin update. jkowall wrote (2010-08-31 14:19): Depends on

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread jkowall
On RHEL, it should be /etc/init.d/ for sure, and you manage the startup scripts with /sbin/sysconfig -jk On Tue, Aug 31, 2010 at 8:38 AM, Mattias Jiderhamn < mj-li...@expertsystems.se> wrote: > We are on RedHat Enterprise Linux 4/5. > > Note that the question is not the configuration itself, b

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread Mattias Jiderhamn
How then are you supposed to go about upgrading Resin? Is there a parameter to the "configure" script to avoid creating/overwriting /etc/init.d/resin? If not, could such parameter be added...? jkowall wrote (2010-08-31 14:45): On RHEL, it should be /etc/init.d/ for sure, and you manage the s

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread Emil Ong
I think we can count this as a bug: http://bugs.caucho.com/view.php?id=4195 We should at least have an option not to override your existing /etc/init.d/resin -- we do recommend editing this file with your local changes. Best, Emil On Tue, Aug 31, 2010 at 03:20:34PM +0200, Mattias Jiderhamn wrot

Re: [Resin-interest] resin.exe server root directory in 4.0.10

2010-08-31 Thread Scott Ferguson
Mattias Jiderhamn wrote: > Trying to launch Resin 4.0.10 on Windows with the -server-root / > -server_root / -root-directory / --root-directory but resin.exe seems to > ignore all of them. Is there an undocumented change, or is there a bug > in resin.exe in the 4.0.10 (pro) release? > Do you

[Resin-interest] Best way to access compiled PHP code from within Java

2010-08-31 Thread Alexandre Bertails
Hi all, I'm trying to programmatically execute PHP scripts from within Java [1] (actually Scala in my case but it's the same). I took some inspiration from CliQuercus.java as some features were not activated by default. For example, the database connection is not activated by default but it's work

Re: [Resin-interest] resin.exe server root directory in 4.0.10

2010-08-31 Thread Alex
> Mattias Jiderhamn wrote: >> Trying to launch Resin 4.0.10 on Windows with the -server-root / >> -server_root / -root-directory / --root-directory but resin.exe seems to >> ignore all of them. Is there an undocumented change, or is there a bug >> in resin.exe in the 4.0.10 (pro) release? That'

Re: [Resin-interest] Custom startup recommendation

2010-08-31 Thread jkowall
I don't use the make install part of the makefile :) -jk On Tue, Aug 31, 2010 at 9:20 AM, Mattias Jiderhamn < mj-li...@expertsystems.se> wrote: > How then are you supposed to go about upgrading Resin? Is there a > parameter to the "configure" script to avoid creating/overwriting > /etc/init.d/