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
Posted by: kimtea on January 07, 2008 at 06:02 AM