To: A. Rothman
Not to beat a dead horse, but is your /etc/init.d/james file really just
a link to /path/to/james/bin/phoenix.sh? Or is it a script that calls
/path/to/james/bin/phoenix.sh? On my system, /etc/init.d/james.sh is an
actual script that calls "path/to/james/bin/phoenix.sh start". (I
previously linked to it on the list.)
I think that phoenix.sh needs to get a "start" argument in order to
actually run James, and calling phoenix.sh directly on bootup might not
do that.
Eric MacAdie
A. Rothman wrote:
I don't know anything about Centos or chkconfig, but I set up James to
start as daemon in ubuntu a short while ago, and had similar symptoms
(no trace of what's happening). I found that I have to update the
phoenix.sh script (which was linked from /etc/init.d/james) and add an
explicit export of JAVA_HOME and fix the detection of PHOENIX_HOME as
well (either override it manually in the script, or apply the patch I
submitted a couple weeks ago which was applied to 2.3.2 which fixes
it's automatic detection).
I'm not sure if this is relevant to you, but I hope it helps :-)
Amichai
Don Smith wrote:
I realize this might be more of a linux question, but my problem is only
with James, so I'm wondering if there is something James specific I'm
missing. I've added James to initd via the chkconfig --add james
command.
[r...@web01 ~]# chkconfig --list | grep james
james 0:off 1:off 2:on 3:on 4:on 5:on 6:off
I did the virtually the same thing with Jetty, a web app server:
[r...@web01 ~]# chkconfig --list | grep jetty
jetty 0:off 1:off 2:off 3:on 4:off 5:off 6:off
The difference is that on boot Jetty is started up, but James isn't. And
there is nothing in the James or Phoenix logs indicating there was
even an
attempt to start up. Has anyone else had success getting James to
start on
boot on Linux, like Centos5? Did you do anything different than what
I've
done?
Thanks,
Don
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org