Re: phoenix.Activation seems to deadlock when ActivationGroup fails to start

Narfi Stefansson <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <EFEB6396440FB440ADD8A753B5530B9C0B5B8C9C@MESSAGE-AH.ad.mathworks.com>
From: Bob Scheifler [mailto:[email protected]]
> Interesting info, thanks.  I was misinterpreting what I was seeing,
> I am able to reproduce the watchdog accumulation on Solaris (it's when
> I was trying to debug it that the problem went away), so I'll investigate
> further.

Let me know if you get stuck because I believe I am reproducing this by letting /bin/false be the server command to the SharedActivationGroupDescriptor constructor.  In a nutshell, the .config file for the activation group then consists of:

private static sharedVM = new SharedActivationGroupDescriptor(
            sharedVM_policy,
            sharedVM_classpath,
            sharedVM_log,
            "/bin/false",
            vmargs,
            sharedVM_properties,
            act_sys_host,
            act_sys_port);

In this scenario, I end up with the 3 WatchDog threads that never exit in approximately 1 try out of 10.

Thanks for the help!

Best,

Narfi

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.