users@glassfish.java.net

Re: Glassfish V2.1 hanging

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 30 Jun 2009 10:28:58 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> It happened quite often. The log file is below. I have followed the advice from Jean-François Arcand to switched the ASQuickStartup option to false. But it doesn't work. Does anyone can help me out? thank a lot.
>
> -The dev platform is WindowsXP, with JDK6u12 and Glassfish v2.1-b60e
>
> [#|2009-06-29T23:43:46.891+0800|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Timer-1;_RequestID=876321f0-a7f2-42a7-a4d7-7a9116be2b38;|
> 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)
> |#]

This is probably not the real issue. Which OS are you running on? I
suspect your are running out of file descriptor (ulimit -n). Is you
application opening socket/stream by any chance? There is either a leak
with your application, or the OS you are running on doesn't have enough
file descriptor available for the number of concurrent connections
GlassFish is servicing.

A+

-- Jeanfrancois



> [Message sent by forum member 'moonbirdxp' (moonbirdxp)]
>
> http://forums.java.net/jive/thread.jspa?messageID=353498
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>