Help

Controls

Switch Workspace

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Comparing current revision with historical revision 2.
Document History: Running a seam-gen project on Apache Tomcat without Embedded JBoss
Current revision:
3
Parent:
Servers and Containers
Created On:
05. Apr 2009, 23:33 (dan)
Last Modified On:
06. Apr 2009, 20:51 (dan)
Historical revisions:
2 05. Apr 2009, 23:44 (dan) ShowDiff
1 05. Apr 2009, 23:33 (dan) ShowDiff
0 (Initial Revision) ShowDiff

From line 124 added to lines 124 to 129:

++ A note about logging

One of the main differences between Tomcat and JBoss AS that many people struggle with is how logging is handled, specifically commons-logging. In Tomcat, logging can be configured from within the application, thus allowing you to have different appenders and log levels per application. JBoss AS centralized logging so you only need a single log configuration file.

When deploying to JBoss AS or Tomcat with Embedded JBoss, you configure all logging in one place. Deploying a Seam application to Tomcat without Embedded JBoss works just like any other WAR file deployed to Tomcat. So you simply add log4j.xml (or log4j.properties) to your classpath (WEB-INF/classes) and you can configure logging however you please!