Are you using "jetty:run" or "jetty:run-war". If you're using jetty:run-war, you should use tomcat:run-war. One thing to be aware of is the Tomcat plugin uses Tomcat 5.5.15. If you want to use Tomcat 6 (which is what Cargo is configured to use), you can do "mvn cargo:start -Dcargo.wait=true".

Matt

On Nov 28, 2007, at 8:34 AM, Yopy wrote:


While I've been happily developing using Jetty for the past three months (~ish), today I needed to try out running the app in Tomcat to figure out whether a specific bug was caused by Jetty (has to do with removable drive access). So, I installed the Maven Tomcat plugin as instructed by the FAQ (http://appfuse.org/display/APF/FAQ#FAQ-notomcatinstall), and did the mvn
tomcat:run command.

However, now it's giving me the following error:

Invalid class loader hierarchy. You hae more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.

I've read around about the topic, but there doesn't seem to be a simple solution of editing a config file (or I've lost the ability to read - it's
getting late around here).

So, inform me: How do I get rid of this error, preferably without having to
switch logger (i.e. edit loads of source code)?
--
View this message in context: http://www.nabble.com/Argh-%28Appfuse- app-in-Tomcat-%3D%3D-commons-logging-trouble- tf4889207s2369.html#a13994563
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to