When i deploye war file on tomcat server and run it its give error

jaishankar's Avatar

jaishankar

02 Jun, 2011 03:00 PM

SEVERE: Servlet.service() for servlet default threw exception
java.lang.NoSuchMethodError: org.jruby.embed.ScriptingContainer.setClassLoader(Ljava/lang/ClassLoader;)V
at org.jruby.rack.DefaultRackApplicationFactory.configureContainer(DefaultRackApplicationFactory.java:175) at org.jruby.rack.DefaultRackApplicationFactory.newContainer(DefaultRackApplicationFactory.java:199) at org.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:216) at org.jruby.rack.DefaultRackApplicationFactory.newApplication(DefaultRackApplicationFactory.java:48) at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:56) at org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:95) at org.jruby.rack.DefaultRackDispatcher.process(DefaultRackDispatcher.java:28) at org.jruby.rack.RackFilter.doFilter(RackFilter.java:58) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619)

and jruby version is 1.6.1
can anybody reply as soon as possible

  1. Support Staff 2 Posted by Luis Lavena on 02 Jun, 2011 03:06 PM

    Luis Lavena's Avatar

    Hello,

    help.rubygems.org is not a support group about gem installation, even less on the usage of JRuby, Tomcat or war files. Is a support site to deal with specific issues of RubyGems website and service itself.

    Please see JRuby website for hints and directions:

    http://jruby.org/community

  2. Luis Lavena closed this discussion on 02 Jun, 2011 03:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac