File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Error when I deploy a war in Tomcat / jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Error when I deploy a war in Tomcat / jboss" Watch "Error when I deploy a war in Tomcat / jboss" New topic
Author

Error when I deploy a war in Tomcat / jboss

Pierre Talibov
Greenhorn

Joined: Oct 03, 2011
Posts: 1

Hi everyone

This is my first post in this forum.

I generate a war file for a grails application (grails> war) and I tried to deploy it in an external container (Tomcat and jboss).

I get 2 errors

1)

ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
ERROR [STDERR] log4j:ERROR [WebappClassLoader


I removed the log4j jar from the war, and I got another error :

2)

STDERR] SLF4J: Class path contains multiple SLF4J bindings ERROR [STDERR] SLF4J: Found binding in ....

I removed the slf4j... jar from the war and it's ok, but it seems that nothing is deployed (404 not found)

I need your help, and sorry for my bad english.
 
 
subject: Error when I deploy a war in Tomcat / jboss
 
Threads others viewed
How to filter out application specific log from server.log
log4j messages in JBoss log
setting up log4J for application
JBoss 4.2.0 and Oracle 10g Configuration Issue with new DataSource
Jar hell concerning log4j
developer file tools