3 Replies Latest reply on Jan 30, 2009 7:04 AM by nbelaevski

    Some Warnings and Errors on JBoss Startup

    tashtego

      Hi.

      I am getting following warnings and errors starting up my JBoss:

      23:25:32,593 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext

      As far as i know this is thrown by some hibernate cast that failed. Is it right that everyone gets this warning and that it can be ignored? Or is there a possibility to fix it? I know this isnt Hibernate forum but maybe you had this one too?

      2nd (this time error) comes from implementing Facelets and starting my webapp through my browser:

      23:26:13,328 ERROR [STDERR] 29.01.2009 23:26:13 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Programme/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2498508509820909357XY.ear-contents/XYFaces-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml


      Is this something i also have to accept when working with facelets? Or is there a fix for that?

      Thx for your help and patience ;)

        • 1. Re: Some Warnings and Errors on JBoss Startup
          nbelaevski

           

          "Tashtego" wrote:
          2nd (this time error) comes from implementing Facelets and starting my webapp through my browser:

          23:26:13,328 ERROR [STDERR] 29.01.2009 23:26:13 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: jar:file:/C:/Programme/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2498508509820909357XY.ear-contents/XYFaces-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml


          Is this something i also have to accept when working with facelets? Or is there a fix for that?


          Hello,

          This is just an info message. I like it personally because it can point to some misconfiguration cases, e.g. having two same libraries of different versions in application. You can switch it off by setting logger level to WARN. Please consult JDK documentation on ho to do that.

          • 2. Re: Some Warnings and Errors on JBoss Startup
            tashtego

            so is this jar file / library deployed 2 times on jboss ? or is it really just an info box i dont have to take care of?? i already undeployed, cleared, deleted temp in jboss and redeployed. it still occurs. and i only deploy one webapp on this server.

            switching logger level is something i dont wanna do. wanna see those warnings. but i at least have to check one time for any new warning that its ok to ignore it, like in this case ?! ^^ ;)

            • 3. Re: Some Warnings and Errors on JBoss Startup
              nbelaevski

               

              "Tashtego" wrote:
              so is this jar file / library deployed 2 times on jboss ?
              Please let me clarify. This info can show you something like:
              loading from richfaces-ui-3.2.1.GA.jar ...
              loading from richfaces-ui-3.2.2.GA.jar ...
              and then it's easy to detect the case if you've put several versions of the same library occasionally.

              And again, you can ignore this message safely.