Tapestry
  1. Tapestry
  2. TAPESTRY-2281

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 5.0.13
    • Component/s: t5-tutorial 1
    • Labels:
      None

      Description

      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.

        Activity

        Albert Tumanov created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Component/s t5-tutorial 1 [ 12311813 ]
        Component/s Documentation [ 11283 ]
        Summary Improve tutorial1 documentation Update tutorial1 to correctly indicate how and why to replace Jetty 5 log4j.jar
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 5.0.13 [ 12313205 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12426877 ] Default workflow, editable Closed status [ 12567048 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567048 ] jira [ 12589791 ]

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Albert Tumanov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development