History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-472
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Christoph Sturm
Reporter: Jesper Zedlitz
Votes: 0
Watchers: 0
Operations

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

Spring example - log4j dependency

Created: 20/Jun/06 04:46 AM   Updated: 24/Jun/06 01:27 PM
Component/s: None
Affects Version/s: 1.1.1
Fix Version/s: 1.2-RC, 1.1.2

Time Tracking:
Not Specified

Environment:
Maven 2.0.4
Jetty 6.0.0beta17
JDK 1.5.0_04-b05


 Description  « Hide
In the pom.xml for the spring example a dependency to log4j is missing.
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.11</version>
<scope>runtime</scope>
</dependency>

The 'eternal' problem log4j+commons-logging seems to appear here, too. I could only run the example wil the Jetty server after performing these changes:

mv src/webapp/WEB-INF/log4j.properties src/main/

in src/webapp/WEB-INF/web.xml

  • <context-param>
  • <param-name>log4jConfigLocation</param-name>
  • <param-value>/WEB-INF/log4j.properties</param-value>
  • </context-param>
    -
  • <listener>
  • <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  • </listener>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 20/Jun/06 10:06 AM
Thanks, scheduling this for 1.1.2.

Christoph Sturm - 23/Jun/06 11:59 AM
i added the log4j dependency in svn, thanks for pointing that out

regarding your problems in jetty:
i deployed the war succesfully in jboss4.0.3/tomcat and geronimo-1-1/jetty

what problems did you have in standalone jetty?


Christoph Sturm - 24/Jun/06 01:27 PM
log4j dependency added in 1.1 branch and trunk