Bug 1012743 - Invalid log location after server startup when installed from installer
Summary: Invalid log location after server startup when installed from installer
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: EAP
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER8
: 6.0.0
Assignee: Nobody
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 04:56 UTC by Jiri Pechanec
Modified: 2021-10-15 11:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Jiri Pechanec 2013-09-27 04:56:46 UTC
1) Install FSW from installer
2) Rename dir jboss-eap-6.1 to another name
3) Start the server

a directory jboss-eap-6.1 is created and it contains part of standalone/log/server.log file

Comment 1 Jiri Pechanec 2013-12-20 11:52:28 UTC
Present in ER8

Comment 2 Thomas Hauser 2013-12-20 16:55:16 UTC
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.

Comment 3 Jiri Pechanec 2014-01-07 09:02:53 UTC
Thanks for the analysis - I am changing the component

Comment 4 Anne-Louise Tangring 2014-06-19 18:23:56 UTC
This needs an EAP issue if we want them to look at this. Please create and link.


Note You need to log in before you can comment on or make changes to this bug.