| Summary: | Invalid log location after server startup when installed from installer | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> |
| Component: | EAP | Assignee: | Nobody <nobody> |
| Status: | ASSIGNED --- | QA Contact: | Len DiMaggio <ldimaggi> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | atangrin, soa-p-jira |
| Target Milestone: | ER8 | Keywords: | Reopened |
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jiri Pechanec
2013-09-27 04:56:46 UTC
Present in ER8 Did you by chance start the server you installed first? For some reason, EAP will modify the logging configuration to contain a hardcoded path after start up.
I followed the reproduction procedure, and here is the result:
1) Right after install:
[[thauser] [11:46:01] FSWeww]$ll
total 172
-rw-rw-r--. 1 thauser thauser 166346 Dec 20 11:43 InstallationLog.txt
-rw-rw-r--. 1 thauser thauser 1422 Dec 20 11:40 InstallSummary.html
drwxrwxr-x. 15 thauser thauser 4096 Dec 20 11:43 jboss-eap-6.1
logging.properties contents:
handler.FILE.fileName=${org.jboss.boot.log.file:boot.log}
2) Rename:
[[thauser] [11:47:10] FSWeww]$mv jboss-eap-6.1/ test/
3) Start:
[[thauser] [11:47:42] FSWeww]$./test/bin/standalone.sh
Results:
[[thauser] [11:53:48] FSWeww]$ll
total 172
-rw-rw-r--. 1 thauser thauser 166346 Dec 20 11:43 InstallationLog.txt
-rw-rw-r--. 1 thauser thauser 1422 Dec 20 11:40 InstallSummary.html
drwxrwxr-x. 15 thauser thauser 4096 Dec 20 11:43 test
logging.properties contents:
handler.FILE.fileName=/home/thauser/FSWeww/test/standalone/log/server.log
Note that EAP is changing the logging.properties file. If you run the newly installed server first and then attempt to move it, you will hit this issue you have reported. However, it is not an installer issue.
Thanks for the analysis - I am changing the component This needs an EAP issue if we want them to look at this. Please create and link. |