Search |
||
GlassFish v3 Gem UpdatedPosted by arungupta on January 5, 2008 at 6:25 AM PST
Pramod published an updated JRuby
Gem for GlassFish v3. Download the gem here.
Here are the updates from last time:
Either way, once the Gem is installed then go ahead and use it as described below:
Jan 4, 2008 3:35:52 PM
com.sun.grizzly.standalone.StaticResourcesAdapter <init>The application is deployed at http://localhost:8080/hello/say/hello
and shows the output as:![]() And http://localhost:8080/hello is displayed
in the browser as shown below:![]() And you can try more advanced applications like Mephisto as described here. »
Related Topics >>
Web Applications Comments
Comments are listed in date ascending order (oldest first)
Submitted by kimtea on Mon, 2008-01-07 07:02.
OS was an environment of Windows XP, Vista, and JRuby1.0.3, and the executed result error occurredï¼
D:\dev\jruby-1.0.3\bin>jruby -S glassfish_rails hello
2008/01/07 22:50:21 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Init service : com.sun.enterprise.v3.services.impl.CmdLineParamProcessor@a
7c45e
2008/01/07 22:50:21 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Init service : com.sun.enterprise.v3.services.impl.LogManagerService@c9250
7
2008/01/07 22:50:21 com.sun.enterprise.v3.services.impl.DeploymentService postCo
nstruct
æƒ…å ±: Supported containers : web,jruby,phobos
2008/01/07 22:50:21 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Startup service : Deployment
2008/01/07 22:50:21 com.sun.enterprise.v3.services.impl.GrizzlyAdapter postConst
ruct
æƒ…å ±: Listening on port 8080
2008/01/07 22:50:22 com.sun.grizzly.standalone.StaticResourcesAdapter
æƒ…å ±: New Servicing page from: D:\dev\jruby-1.0.3\bin\hello\public
Exception in thread "pool-1-thread-1" D:/dev/jruby-1.0.3/lib/ruby/1.8/pathname.r
b:420:in `realpath_rec': No such file or directory - /D: (Errno::ENOENT)
from D:/dev/jruby-1.0.3/lib/ruby/1.8/pathname.rb:453:in `realpath'
from D:/dev/jruby-1.0.3/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializ
er.rb:495:in `set_root_path!'
from D:/dev/jruby-1.0.3/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializ
er.rb:460:in `initialize'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `new'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `run'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `run'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:11:in `boot!'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:109
from /D:/dev/jruby-1.0.3/bin/hello/config/environment.rb:11:in `require'
from /D:/dev/jruby-1.0.3/bin/hello/config/environment.rb:11
from :1
...internal jruby stack elided...
from org.jruby.Ruby.loadScript(Ruby.java:1210)
from org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)
from org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)
from org.jruby.runtime.load.LoadService.require(LoadService.java:333)
from com.sun.grizzly.jruby.RubyObjectPool.loadRubyLibraries(RubyObjectPo
ol.java:168)
from com.sun.grizzly.jruby.RubyObjectPool$1.run(RubyObjectPool.java:135)
from java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolEx
ecutor.java:885)
from java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut
or.java:907)
from java.lang.Thread.run(Thread.java:619)
Exception in thread "pool-1-thread-2" D:/dev/jruby-1.0.3/lib/ruby/1.8/pathname.r
b:420:in `realpath_rec': No such file or directory - /D: (Errno::ENOENT)
from D:/dev/jruby-1.0.3/lib/ruby/1.8/pathname.rb:453:in `realpath'
from D:/dev/jruby-1.0.3/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializ
er.rb:495:in `set_root_path!'
from D:/dev/jruby-1.0.3/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializ
er.rb:460:in `initialize'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `new'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `run'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:40:in `run'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:11:in `boot!'
from /D:/dev/jruby-1.0.3/bin/hello/config/boot.rb:109
from /D:/dev/jruby-1.0.3/bin/hello/config/environment.rb:11:in `require'
from /D:/dev/jruby-1.0.3/bin/hello/config/environment.rb:11
from :1
...internal jruby stack elided...
from org.jruby.Ruby.loadScript(Ruby.java:1210)
from org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)
from org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)
from org.jruby.runtime.load.LoadService.require(LoadService.java:333)
from com.sun.grizzly.jruby.RubyObjectPool.loadRubyLibraries(RubyObjectPo
ol.java:168)
from com.sun.grizzly.jruby.RubyObjectPool$1.run(RubyObjectPool.java:135)
from java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolEx
ecutor.java:885)
from java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut
or.java:907)
from java.lang.Thread.run(Thread.java:619)
2008/01/07 22:50:23 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Startup service : Application Loader
2008/01/07 22:50:23 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Startup service : Grizzly on port 8080
2008/01/07 22:50:23 com.sun.enterprise.v3.server.AppServerStartup run
æƒ…å ±: Glassfish v3 started in 1466 ms
|
||
|
|