1. In JBOSS default logs path will be ‘$JBOSS_HOME/server/
2. Create the directory path where logs need to stored
$ mkdir –p /logs/tep/test/jboss
3. Go to ‘$JBOSS_HOME/server/
4. Update the ‘jboss-log4j.xml’ file with below entries.
< param name="File" value="/logs/tep/test/jboss/server.log" />
< param name="File" value="/logs/tep/test/jboss/audit.log" />
5. Restart the JBOSS Instance.
Changing default deploy path
1. Default deploy path will be ‘$JBOSS_HOME/server/
2. Create the directory path where war/ear files will be deployed.
$ mkdir –p /production/tep/
3. Go to ‘$JBOSS_HOME/server/
4. Edit ‘jboss-service.xml’ file
5. Search for URLs in ‘jboss-service.xml’ and update the file as below
deploy/, /production/tep/
6. Restart the JBOSS Instance.
No comments:
Post a Comment