why S1mq can't autostart?
Hi
I installed a sun one mq 3.0 ee on solaris 8 with
jdk1.4.1_01. And it could be started at background
after I modify the conf file as autostart=yes..
But if I close the shell console that start mq, the mq
will exist in the background, like other java programs.
So if there is anything we can do to prevent it from
exist? Even if I close the console?
[430 byte] By [
705642] at [2007-11-25 8:35:26]

I can't seem to duplicate the problem you are seeing.
I ran "/etc/init.d/imq start" as root in a window.
The 3.0 broker started up fine using JDK1.4.1.
I exited that window and the broker is still running
in the background.
I was able to query the broker using:
# /usr/bin/imqcmd query bkr
Can you try querying the broker after you exit
the window? Do you see any unusual error messages
in the broker log in:
/var/imq/instances/imqbroker/log/log.txt
If the process is exiting when you close the console,
you probably need to use nohup (`man nohup`)
When a shell is closed on solaris, a SIGHUP signal
may be sent to the running process (this may
not be true for all shells)
That signal causes all processes started in the
background to exit ..
If you start the command in nohop, the signal is blocked
and the application doesnt exit
Guest at 2007-7-1 15:08:58 >
