Starting Glassfish without Sudo
I am currently having a problem starting Glassfish inside Eclipse on OS X.
It just hangs whilst trying to start the domain.
I think the problem may lie with the permissions of Glassfish - When I use
the 'start-domain domain1' command even in terminal, I must use 'sudo'
otherwise I get a 'permissions denied' error. If I use 'sudo', then the
server starts successfully from terminal.
I think this error may be carrying over into Eclipse - that is, the server
is trying to start but is timing out because Eclipse is not starting the
server with the correct permissions etc.
Is there any way to start the server via Eclipse by giving it root
permissions? Or another solution, is there any way to change the Glassfish
permissions so that it can be started without the 'sudo' command?
Thanks.
No comments:
Post a Comment