How to modify the directory structure of a JBoss domain server (log, data, and tmp directories)
Issue
- In a domain setup, we redirect
jboss.server.log.dirto a separate log partition. This writes the process controller, server controller and allserver.logfiles to the same location. The problem is that all server instances append to the same server.log file. - How can I create a separate server.log file for each server instance yet all logs be under the same
logfolder? - Can I do the same for the
tmpanddatadirectories? - I'm getting the error
JBAS015845: System property jboss.server.log.dir cannot be set via the xml configuration file or from a management client; it's value must be known at initial process start so it can only set from the commmand line. How do I resolve this?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
