Cannot open file /opt/jboss-eap/*/log/gc.log due to Permission denied



  • The jboss server startup produces this error in the /var/log/jboss-eap/console.log file.

    OpenJDK 64-Bit Server VM warning: Cannot open file /opt/jboss-eap/*/log/gc.log due to Permission denied

    The error says permission denied, in this case it is evident that the permissions on the EAP_HOME are not correct. Which ever user/group you decided to use for jboss, these have to be set here.

    Change the ownerships & group to your chosen jboss user account and group, and try starting the jboss server again.



© Lightnetics 2024