atom feed26 messages in org.codehaus.jruby.user[jruby-user] Re: Re: Re: Re: Rails + ...
FromSent OnAttachments
Saty NosDec 11, 2009 2:06 pm 
Charles Oliver NutterDec 16, 2009 9:25 am 
Christian SeilerDec 16, 2009 9:30 am 
Saty NosDec 16, 2009 9:35 am 
Saty NosDec 16, 2009 9:36 am 
Vladimir SizikovDec 16, 2009 10:15 am 
Reto SchuettelDec 16, 2009 10:19 am 
Vladimir SizikovDec 16, 2009 10:25 am 
Vladimir SizikovDec 16, 2009 10:31 am 
Saty NosDec 16, 2009 12:54 pm 
Saty NosDec 22, 2009 12:35 pm 
Hassan SchroederDec 22, 2009 12:44 pm 
Saty NosDec 22, 2009 3:31 pm 
Saty NosDec 22, 2009 3:51 pm 
Hassan SchroederDec 22, 2009 5:32 pm 
Luis RibeiroDec 23, 2009 2:45 am 
Vladimir SizikovDec 23, 2009 2:58 am 
Charles Oliver NutterDec 23, 2009 2:14 pm 
Tony GoldJan 28, 2010 4:29 pm 
Vladimir SizikovJan 29, 2010 12:01 am 
Tony GoldJan 29, 2010 3:55 am 
Tony GoldJan 29, 2010 5:14 am 
Saty NosJan 29, 2010 9:13 am 
Tony GoldJan 31, 2010 4:46 am 
Saty NosJan 31, 2010 10:36 am 
Charles Oliver NutterFeb 1, 2010 11:29 am 
Subject:[jruby-user] Re: Re: Re: Re: Rails + JRuby + Weblogic + no such file to load --
From:Tony Gold (lis@ruby-forum.com)
Date:Jan 29, 2010 3:55:47 am
List:org.codehaus.jruby.user

Vladimir Sizikov 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.jar

Thanks, --Vladimir

On Fri, Jan 29, 2010 at 1:29 AM, Tony Gold <lis@ruby-forum.com> wrote:

�from �from actionmailer (2.3.5) rails (2.3.5)

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