Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

jruby - Warbler executable won't start -


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

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -