4 Replies Latest reply on Oct 20, 2006 4:25 AM by kvak_tnt

    BPEL beta2 -

    kvak_tnt

      Hi!

      short question:
      What do I have to configure (log4j or whatever), to get rid of the following messages in my JBOSS-Console:

      [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
      [FromElementType] Using non-qualified column reference [id -> ([ID_])]

      (Occurs, when I start the jBOSS AS)

      and

      ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
      WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.Receive - this operation breaks ==
      
      (Allready talked about the last error in another http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89130; as it is only a problem of the engine that will be bugfixed in future - it is not usefull to see it everytime...

      Greetings
      Claus
      [/url]

        • 1. Re: BPEL beta2 -
          aguizar

          The log4j configuration file resides in server/[profile]/conf/log4j.xml. The log4j manual provides a great description of the configuration file format.

          JBoss redirects the standard error stream to a category called STDERR, which you can configure as any other category.

          • 2. Re: BPEL beta2 -
            kvak_tnt

            OK this file I allread found :-)

            But if I add the following line - nothing new happens:

             <category name="net.sf.ehcache">
             <priority value="ERROR"/>
             </category>
            

            I Also tried
            * sf.hibernate
            * net.sf

            Maybe here the full file:
            <?xml version="1.0" encoding="UTF-8"?>
            <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
            
            <!-- ===================================================================== -->
            <!-- -->
            <!-- Log4j Configuration -->
            <!-- -->
            <!-- ===================================================================== -->
            
            <!-- $Id: log4j.xml,v 1.26.2.10 2006/04/21 17:29:20 csuconic Exp $ -->
            
            <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
             <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
             <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
             <param name="File" value="${jboss.server.log.dir}/server.log"/>
             <param name="Append" value="false"/>
             <param name="DatePattern" value="'.'yyyy-MM-dd"/>
             <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
             </layout>
             </appender>
            
             <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
             <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
             <param name="Target" value="System.out"/>
             <param name="Threshold" value="INFO"/>
             <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
             </layout>
             </appender>
            
             <appender name="CONSOLE_DEBUG" class="org.apache.log4j.ConsoleAppender">
             <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
             <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
             </layout>
             </appender>
            
             <category name="org.apache">
             <priority value="INFO"/>
             </category>
            
             <category name="org.jboss.serial">
             <priority value="INFO"/>
             </category>
            
             <category name="org.jgroups">
             <priority value="WARN"/>
             </category>
            
             <category name="jacorb">
             <priority value="WARN"/>
             </category>
            
             <category name="org.jboss.management">
             <priority value="INFO"/>
             </category>
            
             <category name="org.jboss.webservice">
             <priority value="DEBUG"/>
             </category>
            
             <category name="org.jboss.axis">
             <priority value="INFO"/>
             </category>
            
             <category name="eu.somepackage">
             <priority value="DEBUG"/>
             <appender-ref ref="CONSOLE_DEBUG"/>
             </category>
            
             <category name="org.hibernate">
             <priority value="WARN"/>
             </category>
            
             <category name="net.sf">
             <priority value="ERROR"/>
             </category>
            
             <category name="sf.hibernate">
             <priority value="ERROR"/>
             </category>
            
             <root>
             <appender-ref ref="CONSOLE"/>
             <appender-ref ref="FILE"/>
             </root>
            </log4j:configuration>
            


            I hope someone can help me in this.

            by the way does anyone know when the Releasedate of jBOSS-BPEL will be? (I read something about 10/30/06 http://jira.jboss.com/jira/browse/BPEL?)

            Greetings

            Claus

            • 3. Re: BPEL beta2 -
              mputz

              EhCacheProvider which logs the warning messages is in package org.hibernate.cache.

              To set this to the desired log level use

               <category name="org.hibernate.cache">
               <priority value="ERROR"/>
               </category>
              


              • 4. Re: BPEL beta2 -
                kvak_tnt

                Thats the first one! Great!

                And last question (as mentioned above): How can I surpress the errors:

                ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
                WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.Receive - this operation breaks ==


                Greetings

                Claus