hi peter,

rc.local is perhaps not the best place for starting jboss.
there's a description on how to configure jboss for automatic startup
under linux in the docs.

have a look at:
http://www.jboss.org/documentation/HTML/ch11s11.html
and also
http://www.mail-archive.com/[email protected]/msg12192.html

though perhaps not everything is suitable for you/mandrake.

generally you should write a startup script and put it under
/sbin/init.d or /etc/rc.d/init.d (i'm not shure for mandrake
but the first is the place for suse) and link it to the runlevel
you are starting with.

> /etc/profile and /root/.bashrc because I'm not really sure what userid

both files are read for user logins. they do not set
variables for the system itself. rc.local can't see these variables.

jan

--
Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED]

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Peter Wone
Gesendet: Freitag, 5. Oktober 2001 11:45
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] production config on Mandrake Linux



> I've set up all the necessary symbols. I've defined these in both
> /etc/profile and /root/.bashrc because I'm not really sure what userid
will
> be used, and I've added

It turns out to be a startup sequence thing (surprise surprise).

Explicitly defining all my symbols in rc.local immediately before using them
sorts it out. This may not be the "right" way to do it, in which case I look
forward to advice.

Peter Wone
------------------------------------------
May the source be with you.



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to