that exception was the problem I solved in the jruby.bat issue in the
previous email.
On Sep 13, 2007, at 1:29 PM, Arun Gupta wrote:
>> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>