AdamBien / lightfish

Payara / GlassFish Monitoring Utility
121 stars 41 forks source link

LightView stops monitoring after a period of time #19

Closed davenz closed 11 years ago

davenz commented 11 years ago

I have found LightView will cease to return monitoring data after a period of time (I have to do a bit more digging as to what the duration is). This seems to occur if LightView is closed for a period of time and then reopened.

When this happens LightFish accurately reports the version and uptime of the target GlassFish domain - so it appears that it's still very much connected. In the attachments you can observe this, and also what LightView reports.

Toggling the "Start", "Stop", "Activate Monitoring" and "Deactivate Monitoring" buttons does not change the behaviour. Restarting the domain hosting LightFish will restore reporting of monitoring data in LightView.

The server in my case is GlassFish 3.1.2.2 on OpenIndiana oi_151a7, JDK 7u21. Client is Firefox 20.0, Java SE 7u21, Ubuntu 12.04 LTS.

lighfish-running-1 lightview-notmonitoring-1

AdamBien commented 11 years ago

I fixed a NPE which happened for unknown reasons (ServletResponse was null, what actually cannot happen). LightFish is running stable right now. Thanks for reporting!