users@glassfish.java.net

Re: GlassFish 2.1.1 Hanging

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 29 Mar 2010 12:19:00 +0200

When server "hangs", are you still able to request index.html page
(like "http://localhost:8080/index.html")?
 From the stacktrace it looks like problem is in jbi, though, to make
sure, can you pls. attach the threads dump, when server hangs? [1]

Thanks.

[1] http://blogs.sun.com/oleksiys/entry/glassfish_hangs

On Mar 29, 2010, at 9:33 , glassfish_at_javadesktop.org wrote:

> I have a GlassFish 2.1.1 installation on a CentOs 5.4 System. It
> runs jsf, jpa applications. After some hours of running it hangs
> with the following error:
>
> java.lang.NullPointerException
> at
> com
> .sun
> .jbi
> .management
> .system.AutoAdminTask.pollAutoDirectory(AutoAdminTask.java:1031)
> at
> com
> .sun
> .jbi
> .management
> .system.AutoAdminTask.performAutoInstall(AutoAdminTask.java:329)
> at
> com
> .sun
> .jbi
> .management
> .system.AutoAdminTask.performAutoFunctions(AutoAdminTask.java:288)
> at
> com
> .sun.jbi.management.system.AdminService.heartBeat(AdminService.java:
> 967)
> at
> com
> .sun
> .jbi
> .management.system.AdminService.handleNotification(AdminService.java:
> 198)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor
> $
> ListenerWrapper
> .handleNotification(DefaultMBeanServerInterceptor.java:1732)
> at
> javax
> .management
> .NotificationBroadcasterSupport
> .handleNotification(NotificationBroadcasterSupport.java:257)
> at javax.management.NotificationBroadcasterSupport
> $SendNotifJob.run(NotificationBroadcasterSupport.java:322)
> at javax.management.NotificationBroadcasterSupport
> $1.execute(NotificationBroadcasterSupport.java:307)
> at
> javax
> .management
> .NotificationBroadcasterSupport
> .sendNotification(NotificationBroadcasterSupport.java:229)
> at javax.management.timer.Timer.sendNotification(Timer.java:1237)
> at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1206)
> at javax.management.timer.TimerAlarmClock.run(Timer.java:1289)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
>
> I have done some researching at the forum and I have not found
> anything useful.
> The parameter -Dcom.sun.enterprise.server.ss.ASQuickStartup=false
> was already set when it happened and the ulimit -n gives 1024. Is
> this number too small and causes the problem?
> I would really apreciate your help.
> [Message sent by forum member 'komarios']
>
> http://forums.java.net/jive/thread.jspa?messageID=394221
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>