This forum is no longer active. Please post your questions to our new community site

JRubyStack-1.5.6-0 questions.

Subscribe to JRubyStack-1.5.6-0 questions. 2 post(s), 2 voice(s)

 
Avatar ams 4 post(s)

Hi,

I just started running the JRubyStack-1.5.6-0 and have a few questions compared to the 1.2.0 stack.

I’m not sure if these are my application or the stack. I’m interested in feedback.

1) It seems to not find the “catalina.pid” file when doing a:
> ./ctlscript.sh stop
The message is:
/home/seleniumtests/jrubystack-1.5.6-0/apache-tomcat/scripts/ctl.sh : tomcat stopped
rm: cannot remove `/home/seleniumtests/jrubystack-1.5.6-0/apache-tomcat/temp/catalina.pid’: No such file or directory

2) I’m now seeing a “subversion started at port 3690” which I didn’t recall seeing on 1.2.0. Is this new?

3) I’m able to start a JRuby project fine with a: jruby script/server. But trying to run in detachted mode (-d) cause lots of errors on start up.

Q3a) Is this right? jruby -d script/server. Q3b) Below are is the start of the messages, in case they are useful.

jruby -d script/server
Exception `LoadError’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/1.8/Win32API.rb:2 – Win32API only supported on win32
/home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/1.8/pathname.rb:263 warning: `*’ interpreted as argument prefix
Exception `Gem::LoadError’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:777 – Could not find RubyGem builder (~> 2.1.2)

Exception `Gem::LoadError’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:777 – Could not find RubyGem memcache-client (>= 1.7.4)

Exception `Gem::LoadError’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:777 – Could not find RubyGem tzinfo (~> 0.3.12)

Exception `Gem::LoadError’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:777 – Could not find RubyGem i18n (>= 0.4.1)

Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 – no such file to load — fast_xs
Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 – no such file to load — json
Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 – no such file to load — thin
Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 – no such file to load — thin
Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/core_ext/kernel/requires.rb:19 – no such file to load — thin
Exception `MissingSourceFile’ at /home/seleniumtests/jrubystack-1.5.6-0/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 – no such file to load — mongrel
org.jruby.compiler.NotCompilableException: JITed method size exceeds configured max of 10000
at org.jruby.compiler.JITCompiler$JITClassGenerator.compile(JITCompiler.java:334)

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Thanks for your feedback. I will try to reply all your questions.

1) It is possible that the tomcat pid file was not created yet before you stopped the server. In any case we will investigate it.

2) The Stack also ships subversion, that is something that people request in the past. If you do not want to start the subversion server you can remove the installdir/subversion/scripts/ctl.sh file.

3) It seems a bug in JRuby, check this link http://jira.codehaus.org/browse/JRUBY-5393 You can fix it manually. It seems it will be fixed in 1.6 version. We will update the code as soon as JRuby release the new version.

I hope it helps.