1 Reply Latest reply on Oct 7, 2003 1:13 AM by frito

    jboss logging

    the_bone_ranger

      how do you turn on the maximum level of debuging / verbose for jboss?

      I've got a crazy error which I think is internal ( i.e. nothing to do with my code) and I want to isolate the problem.

      If anyone is really keen, here's my error message (below). If I deploy my ear file which points to an empty database, I get this message.
      Some tables deploy OK but it gets stuck on this one.

      It works on jboss-3.2.1 but fails on jboss-3.2.2RC4 . Which is really annoying because I upgraded to the latter due to an unrelated known bug which was causing problems in the former.

      I guess it could also be a bug in the mysql driver (latest versions of driver and db) that the latest version of jboss uncovers.

      2003-10-06 13:38:08,579 ERROR [org.jboss.ejb.EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException: Error while creating table User; - nested throwable: (java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'User(uid BIGINT NOT NULL, userId VARCHAR(250) BINARY, cMCT TINY")
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:231)

        • 1. Re: jboss logging
          frito

          JBoss extended log4j with a new TRACE level. Add this to your log4j.xml :
          [pre]



          [/pre]
          This will produle a lot of logging, try to specify the name using the path (package) you want to trace. Of course you can define several categories with different paths.

          Greetings,
          Frito