-
Bug
-
Resolution: Done
-
Critical
-
7.3.0.CD18
-
3
-
Documentation (Ref Guide, User Guide, etc.)
-
Blocks Testing
-
-
-
-
-
-
-
Default settings of jboss-eap-rhel.sh doesn't work on RHEL8. EAP service is not started.
Script is unable to access to "/log" folder on RHEL8, see the details from "journalctl --since=today --unit=jboss-eap-rhel":
Oct 08 12:54:31 rhel8-medium-2609 jboss-eap-rhel.sh[7044]: Starting jboss-eap: /etc/rc.d/init.d/jboss-eap-rhel.sh: line 104: /var/log/jboss-eap/console.log: Permission denied Oct 08 12:54:31 rhel8-medium-2609 jboss-eap-rhel.sh[7044]: /etc/rc.d/init.d/jboss-eap-rhel.sh: line 113: /var/log/jboss-eap/console.log: Permission denied
Workarounds:
- manually set permissions to proper EAP log folders (by default jboss-eap):
mkdir -p /var/log/jboss-eap chmod 777 /var/log/jboss-eap touch /var/log/jboss-eap/console.log chmod 777 /var/log/jboss-eap/console.log
- Use different path to console logs:
echo "JBOSS_CONSOLE_LOG=/tmp/user/console.log" >> /home/hudson/hudson_workspace/workspace/mkopecky/jboss-eap-7.3/bin/init.d/jboss-eap.conf echo "JBOSS_CONSOLE_LOG=/tmp/user/console.log" >> /etc/default/jboss-eap.conf
- is cloned by
-
JBEAP-17753 [7.2.z] Default settings of jboss-eap-rhel.sh doesn't work on RHEL8
- Resolved
-
JBEAP-22879 [7.4.z] Default settings of jboss-eap-rhel.sh doesn't work on RHEL8
- Closed
- links to