Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: Install jboss as daemon (autostart at boot)

  1. #31
    Join Date
    Apr 2007
    Beans
    33

    Re: Install jboss as daemon (autostart at boot)

    Quote Originally Posted by adrianodfo View Post
    Refering to the post #16

    I have the same problem. Did you get a solution?
    Just use the script in #29 instead, problem solved.

  2. #32
    Join Date
    Feb 2010
    Beans
    1

    Re: Install jboss as daemon (autostart at boot)

    Quote Originally Posted by codelion View Post
    Also, for desired results I'm using a minus sign in

    JBOSS_HOST=${JBOSS_HOST:-"0.0.0.0"}
    To use it on all IPs available on the server i needed to add the -b option even if no IP is specified to the start option.

    JBOSS_HOST=${JBOSS_HOST:-"-b 0.0.0.0"}

    Thanks for the post.

  3. #33
    Join Date
    Apr 2010
    Beans
    1

    Re: Install jboss as daemon (autostart at boot)

    Quote Originally Posted by csaxena View Post
    Hello All,

    I am trying to RUN JBOSS As Daemon on Ubuntu Command Line Server.
    I have jboss-4.2.1.GA Server.
    After doing all the necessary set for running jboss as Daemon. I am getting an error saying "Command Not Found". "sudo /etc/init.d/jboss start"

    & when i tried this command "sudo /etc/init.d/jboss.sh start" it says "sudo: unable to execute /etc/init.d/jboss.sh: No such file or directory"

    Please help me out with this.

    -Chetan.
    I have the same Error before, but only if I tried to run "jboss start" or "sudo jboss start" from etc/init.d folder. If I run "sudo /etc/init.d/jboss start", then it worked.

  4. #34
    Join Date
    May 2010
    Location
    viet nam
    Beans
    2

    Smile Re: Install jboss as daemon (autostart at boot)

    Thanks. this tutorial it's OK for ubuntu 10.04 and jboss 5.1

  5. #35
    Join Date
    Nov 2005
    Beans
    51

    Re: Install jboss as daemon (autostart at boot)

    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?
    Thanks!

  6. #36
    Join Date
    Jul 2006
    Location
    Sweden
    Beans
    52
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Install jboss as daemon (autostart at boot)

    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 &

    should be

    ...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 &

  7. #37
    Join Date
    Nov 2005
    Beans
    51

    Re: Install jboss as daemon (autostart at boot)

    Aha! Thanks!

  8. #38
    Join Date
    Jun 2011
    Beans
    1

    Re: Install jboss as daemon (autostart at boot)

    had the same problem as LinuxLars, but now it is solved
    Last edited by mariejones; June 11th, 2011 at 08:11 PM.

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •