RackInitializationException: Unknown error - mkdir failed

I’m using OSX 10.5, Tomcat 6, Jruby 1.1.3, Java 1.6.0, Rails 2.10.
I’m trying to make war file with warbler and deploy to tomcat. With
simple application all OK. But when active scaffold is used I’m gettin
error. Did anyone has any ideas about this?

2008.28.7 15:27:17 org.apache.catalina.core.ApplicationContext log
SEVERE: Exception caught
org.jruby.rack.RackInitializationException: Unknown error - mkdir failed
from
file:/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/lib/jruby-complete-1.1.3.jar!/fileutils.rb:172:in
mkdir' from file:/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/lib/jruby-complete-1.1.3.jar!/fileutils.rb:171:ineach’
from
file:/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/lib/jruby-complete-1.1.3.jar!/fileutils.rb:171:in
mkdir' from /Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:11:incopy_files’
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:22
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:20:in
each' from /Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:20 from /Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:3:inchdir’
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:3
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/install_assets.rb:27:in
require' from file:/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/lib/jruby-complete-1.1.3.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/gems/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require' from /Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/gems/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:innew_constants_in’
from
/Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/gems/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require' from /Users/jvi/java/apache-tomcat-6.0.16/webapps/dws/WEB-INF/vendor/plugins/active_scaffold/init.rb:23:inevaluate_init_rb’

at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:151)
at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:53)
at
org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:92)
at
org.jruby.rack.DefaultRackDispatcher.process(DefaultRackDispatcher.java:31)
at org.jruby.rack.RackFilter.doFilter(RackFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:637)
Caused by: org.jruby.exceptions.RaiseException

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs