1 Reply Latest reply on Sep 11, 2007 11:17 AM by peterj

    Error while trying to deploy WAR file

    asafrr

      Hi all,
      I?m trying to deploy a war file. After running run.bat and the JBoss server was up and ready, I tried to deploy war file and got the following messages to the console:

      10:01:53,571 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      10:01:53,571 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 56s:858ms
      10:37:31,655 INFO [TomcatDeployer] deploy, ctxPath=/_006, warUrl=.../tmp/deploy/tmp11345523_006-exp.war/
      10:37:31,779 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      10:37:31,779 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
      10:37:31,779 ERROR [STDERR] log4j:ERROR [WebappClassLoader delegate: false
      repositories:
      /WEB-INF/classes/
      ----------> Parent Classloader:
      java.net.FactoryURLClassLoader@798249
      ] whereas object of type
      10:37:31,779 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@1dd7056].
      10:37:31,795 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".


      Can you please help me? i realy don't know what im doing wrong