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.
Newest builds of glassfish V3 (since addition of dynamic pool) require an additional property to force the maximum number of ruby runtimes that can be created to be 1 when ruby debugging is enabled, as we can only debug one JRuby instance at at time. Must pass -J-Djruby.runtime.max=1 when starting server in "ruby debug" mode.
Proposed patch: --- a/glassfish.jruby/src/org/netbeans/modules/glassfish/jruby/JRubyServerModule.java Wed Oct 01 11:42:01 2008 -0700 +++ b/glassfish.jruby/src/org/netbeans/modules/glassfish/jruby/JRubyServerModule.java Mon Oct 06 18:23:18 2008 -0700 @@ -434,6 +434,7 @@ public class JRubyServerModule implement // JVM properties builder.append(" -Djruby.home="); builder.append(ServerUtilities.quote(platform.getHome().getAbsolutePath())); + builder.append(" -Djruby.runtime.max=1"); String grizzlyVMParams = System.getProperty("grizzly.jruby.vm.params"); if(grizzlyVMParams != null) {
Fixed, awaiting integration notice. http://hg.netbeans.org/main/rev/0012ffc8eb7f
Should now be integrated into 'main-golden', build *200810090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)