tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39699] - simple deploy failed in cluster (distributable flag)
Date Mon, 05 Jun 2006 21:03:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39699>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39699





------- Additional Comments From corporate_gadfly@hotmail.com  2006-06-05 21:03 -------
(In reply to comment #20)

> testcase describing cluster related reload of distributable webapps which
> contain log4j
> 

To give you some information about how I created this "sample testcase" app.

* I obtained the file from
http://opensource.atlassian.com/confluence/oss/pages/viewpageattachments.action?pageId=2578
which is a page for listing the attachments for the wiki article at:
http://opensource.atlassian.com/confluence/oss/display/GERONIMO/Geronimo+Clustering+Example

* After that I added a simple log4j.properties in WEB-INF/classes

---begin-----
# This is the configuration for logging displayed in the Application Server
log4j.rootLogger=INFO, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %p [%t] %C{1}.%M(%L)
|%m%n
-----cut-----

* copied commons-logging.jar (I think 1.0.4) and log4j-1.2.13.jar in WEB-INF/lib

That is the exact jar that you see in the attachment in the previous comment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message