This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 176770 - NetBeans doesn't show Glasfish logs correctly
Summary: NetBeans doesn't show Glasfish logs correctly
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 03:35 UTC by arcnor
Modified: 2009-11-16 09:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arcnor 2009-11-13 03:35:51 UTC
With the last version of Netbeans (200911091156) and Glassfish (b72) NetBeans is no longer showing Glassfish logs as it should. Instead of the full log when some INFO/WARNING show, NetBeans show only partial log (the end of the real log) or nothing at all:

Example:

        at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:88)
        at com.sun.grizzly.http.TaskBase.run(TaskBase.java:189)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
        at java.lang.Thread.run(Thread.java:637)
|#]

...so it shows last lines of the log and this "|#]" thing (last part of the real log)
Comment 1 Vince Kraemer 2009-11-13 09:57:33 UTC
how can I reproduce this so i can fix it?

It looks 'fine' to me in my tests.
Comment 2 arcnor 2009-11-13 10:02:49 UTC
Unfortunately, the only thing I did was installing the mentioned version and updated NetBeans to the lastest plugins. If it means something, after stopping the debugger, cleaning Glassfish log and restarting the debugger, the only log output I get is:

Listening for transport dt_socket at address: 60299
INFO: Launching GlassFish on Felix platform

...and nothing more. Previously I got some more info, like Jersey endpoints and the like. I've rechecked Glassfish log on the hard drive and it's full of info, and growing.

If I get any other useful info, I'll post here.

Thanks for your concerns.
Comment 3 Vince Kraemer 2009-11-13 10:11:24 UTC
this is probably the fix you need...

http://hg.netbeans.org/web-main/rev/af4855655cfe

It has not made it into main-golden yet.

I will leave this open and close it once the fix hits the nightly builds
Comment 4 arcnor 2009-11-13 11:24:19 UTC
Yeah, it seems so. I cannot apply it myself (I'm at work, and recompiling NetBeans is out of the question here :D) but I'll wait until it gets into nightly builds.

Thanks you a lot for your promptly responses!!
Comment 5 Vince Kraemer 2009-11-16 09:17:56 UTC
the nightly build got this fix over the weekend.
Comment 6 arcnor 2009-11-16 09:41:06 UTC
Downloaded and tried, working again like a charm!

Again, many thanks for your help!