Vladimir S. wrote:
Hi Tony,
My understanding is that JRuby/Rack is being confused on some app
servers when you deploy WAR into such servers unexpanded, there is
some black magic happens when JRuby tries to load resources from the
JAR/WAR files directly and it breaks in some cases due to custom
classloader schemes some app servers do.The best suggestion so far is to try to deploy the app expanded, not in
a WAR.See also http://jira.codehaus.org/browse/JRUBY-3935
In your example, is the following JAR really exist?
C:/Oracle/Middleware/user_projects/domains/my_domain/servers/AdminServer/tmp/_WL_user/bookstore/v4z4qq/war/WEB-INF/lib/jruby-rack-0.9.5.jarThanks,
–VladimirOn Fri, Jan 29, 2010 at 1:29 AM, Tony G. [email protected] wrote:
�from
�from
actionmailer (2.3.5)
rails (2.3.5)Posted via http://www.ruby-forum.com/.
To unsubscribe from this list, please visit:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi Vladimir,
Yes 3 jars exists in
C:/Oracle/Middleware/user_projects/domains/my_domain/servers/AdminServer/tmp/_WL_user/bookstore/v4z4qq/war/WEB-INF/lib/
jruby-core-1.4.0.jar
jruby-rack-0.9.5.jar
jruby-stdlib-1.4.0.jar
Also before any error occured, there is a warning as well:
Warning: JRuby home “C:…/war/WEB-INF/lib/jruby-stdlib-1.4.0.jar!
/META-INF/jruby.home” does not exist, using
C:\DOCUME~1\username\LOCALS~1\Temp\
if it can’t get into this dir, would this be the root cause.
The war file deploy in weblogic and expanded to the dir
C:/Oracle/Middleware/user_projects/domains/my_domain/servers/AdminServer/tmp/_WL_user/bookstore/v4z4qq/war/,
everything expanded/unziped under this dir (apart from the jar files
above).
How to deploy an application and not pack into war/ear file in weblogic?
If anyone can point me to the right direction, please.
Have been try to resolved the problem for a while, only two places seem
really understand the problem, here and
http://jira.codehaus.org/browse/JRUBY-3935, but I still haven’t work out
how to get it work.
Many Thanks
Tony