FWIW, log4j is already listed as a cargo dependency by the
appfuse-generated pom.xml. I've tried removing it, to no effect. I'll
try using jboss4x with the new JBoss 4.2-GA and see what happens.
Steve
On 5/30/2007 2:33 PM, Matt Raible wrote:
You might try adding log4j as a dependency in Cargo's plugin
configuration. AFAIK, the only containers that work reliably with Cargo
are Tomcat and JBoss.
Matt
On 5/30/07, * Steve Tynor* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
I'm trying to run mvn integration-test with a JSP 2.1 container, so
trying to use jetty6x -- here's the relevant pom.xml config:
<cargo.container>jetty6x</cargo.container>
<
cargo.container.url>http://dist.codehaus.org/jetty/jetty-6.1.3.zip</cargo.container.url>
Caused by: org.apache.commons.logging.LogConfigurationException :
org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor
[Ljava.lang.C
lass;@196076f for org.apache.commons.logging.impl.Log4JLogger (Caused by
java.la <http://java.la>
ng.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
org.apache.common
s.logging.LogConfigurationException: No suitable Log constructor
[Ljava.lang.Cla
ss;@196076f for org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang
.NoClassDefFoundError: org/apache/log4j/Category))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactory
Impl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at
com.opensymphony.clickstream.ClickstreamListener.<clinit>(Clickstream
Listener.java:24)
... 29 more
Matt posted a similar error to the cargo mailing list back in November
(
http://www.nabble.com/Issues-with-Maven-2,-Cargo-and-Jetty-t2661661.html),
but I can't find any resolution to his problem. Is there a
configuration fix or workaround?
Thanks,
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]