Issue Details (XML | Word | Printable)

Key: TAPESTRY-2281
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Howard M. Lewis Ship
Reporter: Albert Tumanov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Tapestry

Update tutorial1 to correctly indicate how and why to replace Jetty 5 log4j.jar

Created: 19/Mar/08 08:50 AM   Updated: 08/Jun/08 11:28 PM
Return to search
Component/s: t5-tutorial 1
Affects Version/s: 5.0.10
Fix Version/s: 5.0.13

Time Tracking:
Not Specified

Resolution Date: 08/Jun/08 11:28 PM


 Description  « Hide
http://tapestry.apache.org/tapestry5/tutorial1/first.html

When I tried to run Jetty from Eclipse, I got exception:

[ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: org.apache.log4j.Logger.isTraceEnabled()Z
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81)
at org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:50)

Google helped me to find the fix:

> It is necessary that you upgrade the copy of log4j inside Jetty to version
> 1.2.14. That adds the isTraceEnabled():boolean method that SL4J expects.

Please add this 2 lines to the documentation, it will help people to save time.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Howard M. Lewis Ship made changes - 08/Jun/08 11:24 PM
Field Original Value New Value
Assignee Howard M. Lewis Ship [ hlship ]
Howard M. Lewis Ship made changes - 08/Jun/08 11:24 PM
Status Open [ 1 ] In Progress [ 3 ]
Howard M. Lewis Ship made changes - 08/Jun/08 11:28 PM
Component/s Documentation [ 11283 ]
Component/s t5-tutorial 1 [ 12311813 ]
Summary Improve tutorial1 documentation Update tutorial1 to correctly indicate how and why to replace Jetty 5 log4j.jar
Howard M. Lewis Ship made changes - 08/Jun/08 11:28 PM
Resolution Fixed [ 1 ]
Fix Version/s 5.0.13 [ 12313205 ]
Status In Progress [ 3 ] Closed [ 6 ]