Hello,
I hope it’s the good place to speak about that.
After working on a new JRubyOnRails app for our client, we try to put
it on test server (similar to their production server) and AIX with
tomcat.
We have this kind of problem when running app on it:
"
SEVERE: unable to create shared application instance
Throwable occurred: org.jruby.rack.RackInitializationException: Cannot
run program “readlink” (in directory
“/usr/local/apache-tomcat-5.5.28/webapps/engagement/WEB-INF”):
error=2, Un fichier ou un répertoire du chemin d’accès n’existe pas.
from
file:/usr/local/tomcat/webapps/engagement/WEB-INF/lib/jruby-stdlib-1.3.1.jar!/pathname.rb:452:in
realpath' from /usr/local/tomcat/webapps/engagement/WEB-INF/config/../vendor/rails/railties/lib/initializer.rb:856:in
set_root_path!’
from
/usr/local/tomcat/webapps/engagement/WEB-INF/config/…/vendor/rails/railties/lib/initializer.rb:814:in
initialize' from /usr/local/tomcat/webapps/engagement/WEB-INF/config/boot.rb:46:in
run’
from /usr/local/tomcat/webapps/engagement/WEB-INF/config/boot.rb:46:in
load_initializer' from /usr/local/tomcat/webapps/engagement/WEB-INF/config/boot.rb:38:in
run’
from
file:/usr/local/tomcat/webapps/engagement/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails_boot_hook.rb:20:in
run' from /usr/local/tomcat/webapps/engagement/WEB-INF/config/boot.rb:11:in
boot!’
… 8 levels…
from
/usr/local/tomcat/webapps/engagement/WEB-INF/gems/gems/rack-1.0.1/lib/rack/builder.rb:29:in
instance_eval' from /usr/local/tomcat/webapps/engagement/WEB-INF/gems/gems/rack-1.0.1/lib/rack/builder.rb:29:in
initialize’
from :2
"
On Windows plateform, with tomcat, it’s ok, on Linux plateform with
tomcat also, it’s ok… Why on AIX there is a problem ?
I search on Jira but found nothing, perhaps I miss some already knows
bug ?
Here is some information about AIX Server:
"
Unix AIX Version 5.2
OS : IBM,7029-6C3 64-bit
2 Procs: PowerPC_POWER4
Memory : 4096 MB
"
And the version of tomcat, java jruby and warbler we use:
apache-tomcat-5.5.28
java6 sdk 6.0.0.152
rails 2.3.2
jruby 1.3.1
warbler 0.9.14
I put full tomcat log in attachement.
I hope we can find something.
If you need some more information I could try to find this.
Thanks
ps: I hope my english is understandable