i have trouble packing jruby-application warbler , running it.
i've created simple sqlite3-app 1 model works fine when running via jruby -s rails s
.
however, if try packing jruby -s warble executable war
packed winstone-server crashes with
[winstone 2010/12/20 10:33:48] - beginning extraction war file [winstone 2010/12/20 10:33:50] - warning: servlet 2.4/2.5 spec xsd unavailable inside winstone classpath. retrieved web if required (slow) [winstone 2010/12/20 10:33:50] - no webapp classes folder found - c:\temp\winstone908137348044208817webroot\sqlite-test.war\web-inf\classes [webapp 2010/12/20 10:33:51] - warning: error application not initialized org.jruby.rack.rackinitializationexception: no such file load -- builtin/core_ext/symbol @ org.jruby.rack.defaultrackapplicationfactory.newruntime(defaultrackapplicationfactory.java:85) @ org.jruby.rack.defaultrackapplicationfactory.createapplication(defaultrackapplicationfactory.java:177) @ org.jruby.rack.defaultrackapplicationfactory.newerrorapplication(defaultrackapplicationfactory.java:127) @ org.jruby.rack.defaultrackapplicationfactory.init(defaultrackapplicationfactory.java:45) @ org.jruby.rack.poolingrackapplicationfactory.init(poolingrackapplicationfactory.java:50) @ org.jruby.rack.rackservletcontextlistener.contextinitialized(rackservletcontextlistener.java:40) @ winstone.webappconfiguration.<init>(webappconfiguration.java:889) @ winstone.hostconfiguration.initwebapp(hostconfiguration.java:131) @ winstone.hostconfiguration.<init>(hostconfiguration.java:73) @ winstone.hostgroup.inithost(hostgroup.java:85) @ winstone.hostgroup.<init>(hostgroup.java:45) @ winstone.launcher.<init>(launcher.java:196) @ winstone.launcher.main(launcher.java:391) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ main.launchwinstone(main.java:67) @ main.start(main.java:72) @ main.main(main.java:97) caused by: org.jruby.exceptions.raiseexception: no such file load -- builtin/core_ext/symbol @ (unknown).new(:1) @ (unknown).(unknown)(:1)
where come from, , how running?
this due bug in jruby 1.5.5 , earlier versions affect running executable jar on windows , in paths contain spaces. see jruby-4774 or warbler-15.
try upgrading jruby 1.5.6 (gem update jruby-jars
), rebuild war file, , try again.
Comments
Post a Comment