Problem w/ JRuby, Warbler & Weblogic 10 ---------------------------------------
Key: JRUBY-5219 URL: http://jira.codehaus.org/browse/JRUBY-5219 Project: JRuby Issue Type: Bug Components: Rails WAR Deployment Affects Versions: JRuby 1.5.5 Environment: Windows 7, Weblogic 10.3.2.0, JRuby 1.5.5, Rail 3.0.3 Reporter: J. Atwood I'm having trouble getting JRuby, Warble & Weblogic 10 to play nicely together. I followed this example (http://kenai.com/projects/jruby/pages/JRubyOnRailsOnBEAWeblogic) to create a JRuby/Rails project, package to a .war file, and deploy to WebLogic 10. Everything looks good and the .war file deploys, but after making a request, I get this stacktrace. I've seen others with similar issues related to initializing Rack, but no one with this "unknown error." <Nov 29, 2010 5:27:02 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server sta rted in RUNNING mode> <Nov 29, 2010 5:30:16 PM EST> <Warning> <netuix> <BEA-423420> <Redirect is execu ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DPARails%2CT ype%3DAppDeployment%22%29.> <Nov 29, 2010 5:32:55 PM EST> <Error> <ServletContext-/PARails> <BEA-000000> <Ap plication Error org.jruby.rack.RackInitializationException: Unknown error - Unknown Error (20047 ) - C:\PA\PADomain\servers\AdminServer\stage\PARails\PARails\WEB-INF\classpath: from classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:217:in `mk dir_p' from classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:215:in `re verse_each' from classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:215:in `mk dir_p' from classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:201:in `ea ch' from classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:201:in `mk dir_p' from C:/PA/PADomain/servers/AdminServer/stage/PARails/PARails/WEB-INF/ge ms/gems/bundler-1.0.7/lib/bundler.rb:259:in `configure_gem_home_and_path' from C:/PA/PADomain/servers/AdminServer/stage/PARails/PARails/WEB-INF/ge ms/gems/bundler-1.0.7/lib/bundler.rb:72:in `configure' from C:/PA/PADomain/servers/AdminServer/stage/PARails/PARails/WEB-INF/ge ms/gems/bundler-1.0.7/lib/bundler.rb:126:in `definition' ... 9 levels... from classpath:/vendor/rack-1.2.1/rack/builder.rb:46:in `initialize' from <script>:2:in `new' from <script>:2 at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplic ationFactory.java:184) at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRa ckApplicationFactory.java:59) at org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRa ckApplicationFactory.java:94) at org.jruby.rack.servlet.DefaultServletDispatcher.process(DefaultServle tDispatcher.java:36) at org.jruby.rack.RackFilter.doFilter(RackFilter.java:59) Truncated. see log file for complete stacktrace Caused By: org.jruby.exceptions.RaiseException: Unknown error - Unknown Error (2 0047) - C:\PA\PADomain\servers\AdminServer\stage\PARails\PARails\WEB-INF\classpa th: at (unknown).new(classpath:/META-INF/jruby.home/lib/ruby/1.8/fileutils.r b:243) at FileUtils.fu_mkdir(classpath:/META-INF/jruby.home/lib/ruby/1.8/fileut ils.rb:217) at FileUtils.mkdir_p(classpath:/META-INF/jruby.home/lib/ruby/1.8/fileuti ls.rb:215) at Array.reverse_each(classpath:/META-INF/jruby.home/lib/ruby/1.8/fileut ils.rb:215) at FileUtils.mkdir_p(classpath:/META-INF/jruby.home/lib/ruby/1.8/fileuti ls.rb:201) Truncated. see log file for complete stacktrace > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email