Forum: Ruby on Rails Trinidad starting service

C447c0dd522bf5a167f423bfdb6f4eed?d=identicon&s=25 Alcelyo Roberto (Guest)
on 2014-06-22 19:28
(Received via mailing list)
Hi, first inform you that I am the translator google, I'm not good at
English.

I'm trying to put the trinidad as a service but I'm trying to issue in
log
shows this error, can someone help me?


Exception in thread "jsvc-daemon-main"
org.jruby.exceptions.RaiseException:
(NameError) uninitialized constant Trinidad::CommandLineParser
        at
org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2690)
        at
usr.local.rvm.gems.jruby_minus_1_dot_7_dot_12.gems.trinidad_init_services_minus_1_dot_2_dot_3.lib.trinidad.daemon.start(/usr/local/rvm/gems/jruby-1.7.12/gems/trinidad_init_services-1.2.3/lib/trinidad/daemon.rb:24)
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:268)
Caused by: org.jruby.exceptions.RaiseException: (NoMethodError)
undefined
method `stop' for nil:NilClass
        at
usr.local.rvm.gems.jruby_minus_1_dot_7_dot_12.gems.trinidad_init_services_minus_1_dot_2_dot_3.lib.trinidad.daemon.stop(/usr/local/rvm/gems/jruby-1.7.12/gems/trinidad_init_services-1.2.3/lib/trinidad/daemon.rb:33)
Cannot stop daemon
Service exit with a return value of 6
Exception in thread "jsvc-daemon-main"
org.jruby.exceptions.RaiseException:
(NameError) uninitialized constant Trinidad::CommandLineParser
        at
org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2690)
        at
usr.local.rvm.gems.jruby_minus_1_dot_7_dot_12.gems.trinidad_init_services_minus_1_dot_2_dot_3.lib.trinidad.daemon.start(/usr/local/rvm/gems/jruby-1.7.12/gems/trinidad_init_services-1.2.3/lib/trinidad/daemon.rb:24)
~

--
Alcelyo R Mariz
Bacharel em Sistemas de Informação
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.