Error when starting the stand-alone Relevancy Workbench Module

Symptoms

When trying to execute the Relevancy Workbench, the following error is displayed:

WARN:/:ERROR: initialization failed
org.jruby.rack.RackInitializationException: exit|?from org/jruby/RubyKernel.java:866:in `exit'|?from org/jruby/RubyKernel.java:829:in `exit'|?from`
[...]
home/lib/ruby/shared/rubygems/custom_require.rb:1:in `(root)'|
    at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
    at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98)
    at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764)
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
    at org.eclipse.jetty.server.Server.doStart(Server.java:263)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at JettyWarMain.main(JettyWarMain.java:34)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at WarMain.launchWebServer(WarMain.java:166)
    at WarMain.start(WarMain.java:318)
    at JarMain.doStart(JarMain.java:221)
    at WarMain.main(WarMain.java:341)
Caused by:
org.jruby.exceptions.RaiseException: (SystemExit) exit
    at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:866)
    at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:829)
    at RUBY.(root)

 

Cause

If Ruby is installed on this system, it is possible that there is a conflict between the environment settings and the Ruby application used by the Relevancy Workbench module.

Resolution

If using Ruby Version Manager (rvm), you could try running the following command before starting the Relevancy Workbench application:

rvm use system

Alternatively, you could add the jruby.runtime.env parameter to the startup command:

java -jar relevancy.jar -Djruby.runtime.env=false

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk