Thanks. this tutorial it's OK for ubuntu 10.04 and jboss 5.1
Thanks for the great post.
I'm running Ubuntu server 10.10 and JBoss AS 6.0. Followed the guidelines but am getting an error when I'm trying to start JBoss:
# sudo /etc/init.d/jboss start
-su: -c: line 0: syntax error near unexpected token `2′
-su: -c: line 0: `cd /usr/local/jboss-6.0.0.Final/bin; /usr/local/jboss-6.0.0.Final/bin/run.sh -c default -b 0.0.0.0 > 2>&1 &’
If I change to the jboss bin directory and start it manually, it starts up fine.
Anyone know what’s going on here?
You are redirecting your output but there is no file specified for the output
...run.sh -c default -b 0.0.0.0 > 2>&1 &
...run.sh -c default -b 0.0.0.0 > /path/to/a/logfile 2>&1 &
or if you have enough logging setup within the logging framework in jboss you can
just remove the outputredirect
...run.sh -c default -b 0.0.0.0 &
had the same problem as LinuxLars, but now it is solved