dev@glassfish.java.net

Re: GlassFish gem feature requests/bugs

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

Few successful runs of V3 and now I'm getting the error:

-- cut here --
The input line is too long.
:gotCP
  was unexpected at this time.
-- cut here --

If I start from a different shell, then it works fine.

The culprit is .bat script again. Each run exponentially increases the
value of %CLASSPATH%. The first run adds the following:

-- cut here --
C:\testbed\jruby-1.0.1\bin\..\lib\asm-2.2.3.jar;C:\testbed\jruby-1.0.1\bin\..\li
b\asm-commons-2.2.3.jar;C:\testbed\jruby-1.0.1\bin\..\lib\backport-util-concurre
nt.jar;C:\testbed\jruby-1.0.1\bin\..\lib\bsf.jar;C:\testbed\jruby-1.0.1\bin\..\l
ib\emma.jar;C:\testbed\jruby-1.0.1\bin\..\lib\emma_ant.jar;C:\testbed\jruby-1.0.
1\bin\..\lib\jarjar-0.7.jar;C:\testbed\jruby-1.0.1\bin\..\lib\jline-0.9.91.jar;C
:\testbed\jruby-1.0.1\bin\..\lib\jruby.jar;C:\testbed\jruby-1.0.1\bin\..\lib\jun
it.jar;
-- cut here --

and so on.

-Arun

Jerome Dochez wrote:
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

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