Interesting. tomcat6x was the first variant I tried, but was unable to
get it to work. Your blog doesn't show any special pom.xml magic, so
I'm not sure if there was anything other than changing cargo.container
to tommcat6x and cargo.container.url to a tomcat 6 zip. But I've tried
both with and without adding <type>embedded</type> to the cargo config,
and get a "no registered configuration" when I try to use tomcat6x.
What might I be missing?
org.codehaus.cargo.container.ContainerException: Cannot create
configuration. There's no registered configuration for the
parameters(container [id = [tomcat6x], type = [installed]],
configuration type [standalone]). Actually there are no valid types
registered for this configuration. Maybe you've made a mistake spelling it?
Thanks,
Steve
On 5/30/2007 2:43 PM, Matt Raible wrote:
You could use Tomcat 6, I've tested that and know that it works with
Cargo and AppFuse. Note that I did have to make some adjustments for JSF.
http://raibledesigns.com/rd/entry/upgrading_to_tomcat_6
<http://raibledesigns.com/rd/entry/upgrading_to_tomcat_6>
Matt
On 5/30/07, *Steve Tynor* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
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]> <mailto:[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> <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]>
> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
> For additional commands, e-mail:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
>
>
>
>
> --
> http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
http://raibledesigns.com <http://raibledesigns.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]