2 Replies Latest reply on Aug 14, 2006 9:23 AM by Matt Veitas

    problems with log4j and JMS...

    wellington alabarse Newbie

      Hi people,
      I have some problems using JBoss, I would be gratefull if somebody
      could help me.

      The erros happen when when the JBoss is starting and I have no *.war
      in deploy directory.


      ERROR 1
      =======

      2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR A
      "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable
      to a "org.apache.log4j.spi.ErrorHandler" variable.
      2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR The class
      "org.apache.log4j.spi.ErrorHandler" was loaded by
      2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR [WebappClassLoader
      delegate: false
      repositories:
      /WEB-INF/classes/
      ----------> Parent Classloader:
      java.net.FactoryURLClassLoader@13816e0
      ] whereas object of type
      2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR
      "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by
      [org.jboss.system.server.NoAnnotationURLClassLoader@1833955].
      2006-08-02 10:09:11,046 ERROR [STDERR] log4j:ERROR Could not create an
      Appender. Reported error follows.
      2006-08-02 10:09:11,046 ERROR [STDERR] java.lang.ClassCastException:
      org.jboss.logging.appender.DailyRollingFileAppender


      ERROR 2
      =======


      2006-08-02 10:09:13,171 DEBUG
      [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting
      jboss.mq:service=PersistenceManager
      2006-08-02 10:09:13,171 DEBUG
      [org.jboss.mq.pm.jdbc2.PersistenceManager] Creating Schema
      2006-08-02 10:09:13,171 DEBUG
      [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with
      SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL,
      DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1),
      MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
      java.sql.SQLException: Table already exists: JMS_MESSAGES in statement
      [CREATE CACHED TABLE JMS_MESSAGES]

      Thanks so Much,