vendredi 8 mai 2015

How can I launch a Glassfish server from Eclipse with root privileges?

I was developing a website using Java EE in Eclipse and testing it locally using Glassfish, but after updating to OS X 10.10.3, the server started to timeout during launch. When trying to launch from Terminal, Glassfish failed to start, but when used with sudo, it started successfully. After looking around the web for a bit, I found that with 10.10.3 Glassfish required root privileges to run. Is there a way that I can make Eclipse start the server with root privileges?

Aucun commentaire:

Enregistrer un commentaire