Re: Re: Re: Re: Re: Binding takes for ages on Jonas-server. No additional info to troubleshoot
"Guillaume Sauthier (OW2)" <[email protected]> Thu, 18 Aug 2011 17:13:15 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <CAG1yf3Or59X1-A10YDx_LwDuet=K3NHF6tUzwwsqT7zRTX1n7Q@mail.gmail.com> |
--0015176f1cce4bd35504aac90df4 Content-Type: text/plain; charset=ISO-8859-1 Please set back the monolog configuration to javaLog: log.config.classname org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory Easybeans is printing its debug information on a logger backed by Java util Log. --G 2011/8/18 Stefaan Somers <[email protected]> > No luck either. > > I hereby include the content of the trace.properties : > > > # ----------------------------------------------------------------------- > # This is a default configuration file for monolog. > # > # 2 handlers have been defined : tty (System.out) and logf (file) > # > # Patterns for each handler may include these possible values : > # %h the thread name > # %O{1} the Class name (basename only) > # %M the method name > # %L the line number > # %d the date > # %l the level > # %m the message itself > # %n a new line > # > # A list of predefined loggers is given at the end of the file. > # Each logger inherits from its parent for properties not defined. > # The root logger is "root". It must always be defined. > # > # Each logger is associated with a level that can be one of : > # ERROR | WARN | INFO | DEBUG | FATAL | INHERIT > # > # -> More info on http://www.objectweb.org/monolog/doc.html > # ----------------------------------------------------------------------- > > # ----------------------------------------------------------------------- > # Define which wrapper to use (= javaLog) > # ----------------------------------------------------------------------- > # For Log4j you need to add log4j.jar > log.config.classname > org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory > # log.config.classname > org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory > > > #---------- > # PrivateCompany > #---------- > > logger.net.democritus.level INFO > logger.com.privatecompany.level INFO > logger.net.palver.level INFO > logger.org.ow2.easybeans.level DEBUG > > > > On 18 August 2011 15:57, Guillaume Sauthier (OW2) > <[email protected]> wrote: > > the format is: > > logger.<name>.level <level> > > > > you missed the .level > > > > --G > > > > > > 2011/8/18 Stefaan Somers <[email protected]> > >> > >> Hi, > >> > >> I included the following line in trace.properties, but I see no > >> additional logging : > >> logger.org.ow2.easybeans DEBUG > >> > >> Greetings > >> > >> On 18 August 2011 13:26, Guillaume Sauthier (OW2) > >> <[email protected]> wrote: > >> > Maybe you can add traces for the org.ow2.easybeans logger ? > >> > So that we can see where time is consumed. > >> > --G > >> > > >> > 2011/8/18 Stefaan Somers <[email protected]> > >> >> > >> >> Hi, > >> >> > >> >> we have an application with many EJB's. Is it normal that the startup > >> >> takes more than 10 minutes. Are there any steps I can do, to > >> >> troubleshoot this performance-problem. > >> >> > >> >> 18/08/11 13:02:26 (I) JCLLoggerAdapter.info : Not binding factory to > >> >> JNDI, no JNDI name configured > >> >> 18/08/11 13:16:39 (I) JContainer3.start : Container > >> >> > >> >> > >> >> > 'D:\jonas-full-5.1.4\BASE\work\apps\jonas\pocAppEAR_2011.08.18-12.56.31.ear\pocAppEJB.jar' > >> >> [104 SLSB, 0 SFSB, 0 MDB] started in 891.270 ms > >> >> > >> >> > >> >> Greetings, > >> >> > >> >> Stefaan Somers > >> > > >> > > > > > > --0015176f1cce4bd35504aac90df4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Please set back the monolog configuration to javaLog:<br>log.config.classna= me org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory<br><br>Easybean= s is printing its debug information on a logger backed by Java util Log.<br= > <br>--G<br><br><div class=3D"gmail_quote">2011/8/18 Stefaan Somers <span di= r=3D"ltr"><<a href=3D"mailto:[email protected]">stefaan.somers@gm= ail.com</a>></span><br><blockquote class=3D"gmail_quote" style=3D"margin= :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> No luck either.<br> <br> I hereby include the content of the trace.properties :<br> <br> <br> # -----------------------------------------------------------------------<b= r> # This is a default configuration file for monolog.<br> #<br> # 2 handlers have been defined : tty (System.out) and logf (file)<br> #<br> # Patterns for each handler may include these possible values :<br> # %h =A0 =A0the thread name<br> # %O{1} the Class name (basename only)<br> # %M =A0 =A0the method name<br> # %L =A0 =A0the line number<br> # %d =A0 =A0the date<br> # %l =A0 =A0the level<br> # %m =A0 =A0the message itself<br> # %n =A0 =A0a new line<br> #<br> # A list of predefined loggers is given at the end of the file.<br> # Each logger inherits from its parent for properties not defined.<br> # The root logger is "root". It must always be defined.<br> #<br> # Each logger is associated with a level that can be one of :<br> # ERROR | WARN | INFO | DEBUG | FATAL | INHERIT<br> #<br> # -> More info on <a href=3D"http://www.objectweb.org/monolog/doc.html" = target=3D"_blank">http://www.objectweb.org/monolog/doc.html</a><br> # -----------------------------------------------------------------------<b= r> <br> # -----------------------------------------------------------------------<b= r> # Define which wrapper to use (=3D javaLog)<br> # -----------------------------------------------------------------------<b= r> # For Log4j you need to add log4j.jar<br> log.config.classname<br> org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory<br> # log.config.classname org.objectweb.util.monolog.wrapper.javaLog.LoggerFac= tory<br> <br> <br> #----------<br> # PrivateCompany<br> #----------<br> <br> logger.net.democritus.level INFO<br> logger.com.privatecompany.level INFO<br> logger.net.palver.level INFO<br> logger.org.ow2.easybeans.level DEBUG<br> <br> <br> <br> On 18 August 2011 15:57, Guillaume Sauthier (OW2)<br> <div><div></div><div class=3D"h5"><<a href=3D"mailto:guillaume.sauthier@= ow2.org">[email protected]</a>> wrote:<br> > the format is:<br> > logger.<name>.level <level><br> ><br> > you missed the .level<br> ><br> > --G<br> ><br> ><br> > 2011/8/18 Stefaan Somers <<a href=3D"mailto:[email protected]= m">[email protected]</a>><br> >><br> >> Hi,<br> >><br> >> I included the following line in trace.properties, but I see no<br= > >> additional logging :<br> >> logger.org.ow2.easybeans DEBUG<br> >><br> >> Greetings<br> >><br> >> On 18 August 2011 13:26, Guillaume Sauthier (OW2)<br> >> <<a href=3D"mailto:[email protected]">guillaume.sauthi= [email protected]</a>> wrote:<br> >> > Maybe you can add traces for the org.ow2.easybeans logger ?<b= r> >> > So that we can see where time is consumed.<br> >> > --G<br> >> ><br> >> > 2011/8/18 Stefaan Somers <<a href=3D"mailto:stefaan.somers= @gmail.com">[email protected]</a>><br> >> >><br> >> >> Hi,<br> >> >><br> >> >> we have an application with many EJB's. Is it normal = that the startup<br> >> >> takes more than 10 minutes. Are there any steps I can do,= to<br> >> >> troubleshoot this performance-problem.<br> >> >><br> >> >> 18/08/11 13:02:26 (I) JCLLoggerAdapter.info : Not binding= factory to<br> >> >> JNDI, no JNDI name configured<br> >> >> 18/08/11 13:16:39 (I) JContainer3.start : Container<br> >> >><br> >> >><br> >> >> 'D:\jonas-full-5.1.4\BASE\work\apps\jonas\pocAppEAR_2= 011.08.18-12.56.31.ear\pocAppEJB.jar'<br> >> >> [104 SLSB, 0 SFSB, 0 MDB] started in 891.270 ms<br> >> >><br> >> >><br> >> >> Greetings,<br> >> >><br> >> >> Stefaan Somers<br> >> ><br> >> ><br> ><br> ><br> </div></div></blockquote></div><br> --0015176f1cce4bd35504aac90df4--