-
1. Re: Not able to use JBoss as service in Ubuntu
wdfink Apr 4, 2014 4:42 AM (in response to lalitshaktawat)From the screen shot it looks like you point to the build directory.
Did you have the correct permissions?
-
2. Re: Not able to use JBoss as service in Ubuntu
lalitshaktawat Apr 4, 2014 4:46 AM (in response to wdfink)ya
I have changed owner ship of jboss-as and jboss-as-standalone.sh file.
Both are having root:root and permission is 755.
So I would like to know any other changes it need. So I can able to resolve this.
Thanks in an advanced
-
3. Re: Not able to use JBoss as service in Ubuntu
wdfink Apr 4, 2014 4:56 AM (in response to lalitshaktawat)Did you start the server as root? I recommend to not use the root user.
Install/copy the jboss files and directories and chown it for the appropriate user
-
4. Re: Not able to use JBoss as service in Ubuntu
kuldeep11 Apr 4, 2014 7:22 AM (in response to lalitshaktawat)Make your log directory writeable to the user from which you are running Jboss.
And second thing use bash instead of sh shell(sh is not recognizing let command).
Change your shebang to #!/bin/bash (or whatever your bash location).
Thanks!
-
5. Re: Not able to use JBoss as service in Ubuntu
lalitshaktawat Apr 4, 2014 8:41 AM (in response to kuldeep11)Thank you kuldeep. it is working fine.
Thanks a lot for this help.
Lalit