-
Bug
-
Resolution: Done
-
Major
-
JWS 3.1.0 GA, JWS 5.0_RHEL_GA
-
2
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
-
-
-
- Current (Section : 2.2.2 : <Configuring the JBoss Web Server Installation> under sub section : <Enabling log4j Logging for Tomcat>)
1) Open a shell prompt and change directory to JWS_HOME/extras/.
2) Copy the log4j-eap6.jar, log4j.properties, tomcat-juli-adapters.jar files to the lib directory in the Tomcat directory.
For example:
- cp log4j.properties ../tomcat<VERSION>/lib/
- cp log4j-eap6.jar ../tomcat<VERSION>/lib/
- cp tomcat-juli-adapters.jar ../tomcat<VERSION>/lib/
Replace <VERSION> with the respective Tomcat version number (7 or 8).
3) Replace tomcat-juli.jar file in your Tomcat bin directory with the tomcat-juli.jar file from JWS_HOME/extras/:
- cp tomcat-juli.jar ../tomcat<VERSION>/bin/
##Expected should be as below : (Section : 2.2.2 : <Configuring the JBoss Web Server Installation> under sub section : <Enabling log4j Logging for Tomcat>)
1) Open a shell prompt and change directory to JWS_HOME/extras/.
2) Copy the log4j-eap6.jar, log4j.properties, files to the lib directory in the Tomcat directory.
For example:
- cp log4j.properties ../tomcat<VERSION>/lib/
- cp log4j-eap6.jar ../tomcat<VERSION>/lib/
3) Change the directory to JWS_HOME/tomcat<version>/extras.
4) Copy the file tomcat-juli-adapters.jar to the lib directory in the Tomcat directory.
For example:
- cp tomcat-juli-adapters.jar ../tomcat<VERSION>/lib/
Replace <VERSION> with the respective Tomcat version number (7 or 8).
5) Replace tomcat-juli.jar file in your Tomcat bin directory with the tomcat-juli.jar file from JWS_HOME/tomcat<VERSION>/extras/:
- cp tomcat-juli.jar ../tomcat<VERSION>/bin/