dev@glassfish.java.net

Re: Log gets truncated by restart...

From: Carla Mott <Carla.Mott_at_Sun.COM>
Date: Thu, 01 Oct 2009 13:38:27 -0700

ok, I've tried a release that I built on Tues, one that I built last
night and the nightly from Sept 28 and I can start and stop the server
repeatedly and the server log file continues to grow as expected.

With the Sept 28th nightly build I see that once I deploy an app I see
the log file truncated. I can then start and stop the server repeatedly
and again the log file is grows as expected. Redeploying the app causes
the server log file to be truncated.

Vince,
It looked like you were not deploying any apps when you saw this
problem. Is that right?



Carla



Carla Mott wrote:
> In that bug the server log file is truncated at around 100k. I see it
> when I use asadmin but not when I run java -jar...
>
> I'm looking into this bug now to see if it is the same thing.
>
> carla
>
> Marina Vatkina wrote:
>> There is a bug filed a long time ago that after QL run the log is left
>> with half a page of the last messages before the stop.
>>
>> Regards,
>> -marina
>>
>> Bill Shannon wrote:
>>> I'm using a build that's a few days old and I'm seeing the log
>>> get truncated at what seems like random times.
>>>
>>> If it was getting truncated at startup, the beginning of the log
>>> would always have the same startup messages, but I find that the
>>> startup messages are often completely missing from the log.
>>>
>>> Amy Roh wrote on 10/1/09 10:51 AM:
>>>
>>>> I'm seeing this behavior (log gets truncated with restart) with
>>>> yesterday's build also. Also, the log messages are getting repeated
>>>> multiple times.
>>>>
>>>> [#|2009-10-01T10:49:36.880-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Created
>>>>
>>>> virtual server myvs|#]
>>>>
>>>> [#|2009-10-01T10:49:36.880-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Created
>>>>
>>>> virtual server myvs|#]
>>>>
>>>> [#|2009-10-01T10:49:36.880-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Created
>>>>
>>>> virtual server myvs|#]
>>>>
>>>> [#|2009-10-01T10:49:37.321-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server server loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:37.321-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server server loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:37.321-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server server loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:37.323-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server myvs loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:37.323-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server myvs loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:37.323-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual
>>>>
>>>> server myvs loaded system default web module|#]
>>>>
>>>> [#|2009-10-01T10:49:39.040-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading
>>>>
>>>> application web-virtual-server-default-web-module-restart-web at
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> [#|2009-10-01T10:49:39.040-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading
>>>>
>>>> application web-virtual-server-default-web-module-restart-web at
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> [#|2009-10-01T10:49:39.040-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading
>>>>
>>>> application web-virtual-server-default-web-module-restart-web at
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> [#|2009-10-01T10:49:39.080-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=22;_ThreadName=pool-9-thread-1;|Virtual
>>>>
>>>> server myvs loaded default web module
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> [#|2009-10-01T10:49:39.080-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=22;_ThreadName=pool-9-thread-1;|Virtual
>>>>
>>>> server myvs loaded default web module
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> [#|2009-10-01T10:49:39.080-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=22;_ThreadName=pool-9-thread-1;|Virtual
>>>>
>>>> server myvs loaded default web module
>>>> /web-virtual-server-default-web-module-restart|#]
>>>>
>>>> Vince Kraemer wrote:
>>>>
>>>>> OK. here is the IT link:
>>>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=9874
>>>>>
>>>>> vbk
>>>>>
>>>>> On 09/30/09 17:12, Carla Mott wrote:
>>>>>
>>>>>> Hi vince,
>>>>>>
>>>>>> I don't see this with a build that I created yesterday. I'm able
>>>>>> to start and stop the server repeatedly and the log file grows as
>>>>>> expected. I'm going to update and check again and I will also grab
>>>>>> the b66 build and see if I see it there. I'll update the bug with
>>>>>> more info.
>>>>>>
>>>>>> carla
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>