-
1. Re: Startup issue - terminal
joeman May 16, 2003 11:45 PM (in response to joeman)This is jboss 3.04 with tomcat 1.1.12.
If I run a command like the following :-
nohup $JAVA $JAVA_OPTS -classpath $JBOSS_CLASSPATH org.jboss.Main &
it sends all output ot nohup.out ok. If I logout and log back in, I have a huge core file.
Any ideas? -
2. Re: Startup issue - terminal
joeman Jun 19, 2003 10:04 PM (in response to joeman)Great!
So no one knows.
If someone has an idea, or you don't feel I've provided enough info,
please let me know and I'll get some more information.
Cheers
Joe -
3. Re: Startup issue - terminal
joeman Jun 21, 2003 1:00 AM (in response to joeman)Well, appears that after I logout of the tty, the Browser window continues to function with jboss.ok. If I then close the browser window and open it again, it fails. If I then go back (putty in) and check the logs, I find that Jboss has automatically undeployed everything.
If I keep the putty session open, I don't have this problem.
Where are my mechanics? -
4. Re: Startup issue - terminal
joeman Jun 21, 2003 1:48 AM (in response to joeman)Continuing the long thread that I only seemto reply to...
If I execute bash before starting jboss
i.e.
bash
./go.sh start
Then all is happy. But I'm still having enormous problems with the init script running go.sh script in such a fashion that it will stay up.
Joe -
5. Re: Startup issue - terminal
jonlee Jun 21, 2003 2:35 AM (in response to joeman)This is more of an *nix OS issue rather than anything JBoss specific. It is your OS is clobbering existing processes hanging off the terminal shell when it kills the shell - a throwback to preventing users and students from leaving orphaned processes chewing CPU cycles on timeshare systems.
The last time I had any real hands on with Tru64 was in it's Digital Unix form so this is a guess, but probably you need to "set -o notify". You should be able to "set +o" to see your environmental flags. The command should tell your shell that you want to be notified asynchronously of completed jobs (which detaches the notification from your terminal output).
Hope it helps. -
6. Re: Startup issue - terminal
joeman Jun 21, 2003 4:21 AM (in response to joeman)Thanks all for your helpful posts.
I figured out how to get it working. I used http://wrapper.tanukisoftware.org/doc/english/example.html#testwrapper-unix
to do the job.
Problem was that their source source was not done for TRU64, so had to have TRU64 into it.
I guess if anyone ever has the problem with TRU64 they can e-mail joeman[_at_]leederville.net and I'll kindly send them the source tree of my hacked Java Service Wrapper.
Cheers
Joe