dev@glassfish.java.net

Re: GlassFish gem feature requests/bugs

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Thu, 13 Sep 2007 13:29:38 -0700

> The parameter passed to script/server is the name of the server to
> start, i.e. "webrick" or "mongrel". I don't believe the GF gem is wired
> into that logic yet.
This would be really nice and I'm sure in the offing :)

>
> To start up an app with the glassfish gem, run "glassfish_rails <app dir>"

I'm getting a NPE when I try to V3 this way:

C:\workarea\samples\rails>\testbed\jruby-1.0.1\bin\jruby -S
glassfish_rails hello
java.lang.NullPointerException
         at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
va:108)
         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:262)
         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:223)
         at com.sun.enterprise.module.bootstrap.Main.start(Main.java:133)
         at com.sun.enterprise.module.bootstrap.Main$1.run(Main.java:56)

-Arun

-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta