Warbler war is not working in weblogic instance

Hi All,

When I am trying to deploy warabler war file in weblogic server it is
not loading the rails.

avax.servlet.ServletException: Could not load Rails. See the logs for
more details.
at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137)
at
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111)
at
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15)
at
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193)
javax.servlet.ServletException: Could not load Rails. See the logs for
more details.
at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137)
at
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111)
at
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15)
at
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193)
javax.servlet.ServletException: Could not load Rails. See the logs for
more details.
at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137)
at
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111)
at
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15)
at
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193)
javax.servlet.ServletException: Failed to initialize JRuby. See the logs
for more details.
at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:89)
at
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111)
at
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15)
at
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193)

I am using JRuby 1.1.4.

actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.3.5, 2.0.2)
activeresource (2.0.2)
activesupport (2.3.5, 2.0.2)
gemcutter (0.5.0)
jruby-jars (1.4.0)
json_pure (1.2.2)
rack (1.1.0)
rails (2.0.2)
rake (0.8.7, 0.8.1)
rspec (1.1.4)
rubyforge (2.0.4)
sources (0.0.1)
warbler (0.9)

Please advice.

Thanks
Nayan

I think the first piece of advice everyone will give you is to try and
use a
more current version of JRuby and possibly Rails. JRuby 1.1.4 is very
old,
so is Rails 2.0.2. Is there a reason you are using such an old version?

Joe

Joseph A. wrote:

I think the first piece of advice everyone will give you is to try and
use a
more current version of JRuby and possibly Rails. JRuby 1.1.4 is very
old,
so is Rails 2.0.2. Is there a reason you are using such an old version?

Joe

Thanks Joe for your quick reply.

We developed this application last year but in production environment we
are facing connection pool issue. After some time the connection pool is
not responding using app. Earlier we were using goldspike plugin to
create war file. so I am thinking to use warble to create war file and
deploy in web logic. If you feel I need to use new version then I will
try.

Thanks again.

Well you might not HAVE to use a new version, but there are probably
very
few people left using 1.1.4 so you will likely get a lot more help if
you
are using the current version. Good luck.

Joe

Joseph A. wrote:

Well you might not HAVE to use a new version, but there are probably
very
few people left using 1.1.4 so you will likely get a lot more help if
you
are using the current version. Good luck.

Joe

Hi Joe

I used new version of the Jruby and rails and now i am getting below
exception while deploying warabler war file in weblogic server.

org.jruby.rack.RackInitializationException: no such file to load – rack
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22:in
require' from C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:inboot!’
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:1:in
`load’
from :1

at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153)
at
org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:102)
at
org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:36)
at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:25)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39)
Truncated. see log file for complete stacktrace
org.jruby.exceptions.RaiseException: no such file to load – rack
at
(unknown).new(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
Kernel.require(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
(unknown).(unknown)(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22)
at
Kernel.require(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22)
at
JRuby::Rack::Booter.boot!(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9)
Truncated. see log file for complete stacktrace

Warning: JRuby home
“C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-stdlib-1.4.0.jar!/META-INF/jruby.home”
does not exist, using C:\DOCUME~1\ctrq027\LOCALS~1\Temp
<Mar 10, 2010 10:33:48 AM EST> <ServletContext-/FACastMemberApp>
<unable to create shared application instance
org.jruby.rack.RackInitializationException: no such file to load – rack
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22:in
require' from C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:inboot!’
from
C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails.rb:20:in
boot!' from C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9 from C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:1:inload’
from :1

at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153)
at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50)
at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39)
at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
Truncated. see log file for complete stacktrace
org.jruby.exceptions.RaiseException: no such file to load – rack
at
(unknown).new(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
Kernel.require(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
(unknown).(unknown)(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22)
at
Kernel.require(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22)
at
JRuby::Rack::Booter.boot!(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails.rb:20)
Truncated. see log file for complete stacktrace

I am using Jruby1.4.0

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
jruby-jars (1.4.0)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rspec (1.2.9)
sources (0.0.1)
warbler (0.9.14)

Please Advice.

Thanks
Nayan

Michael J. wrote:

Hi Nayan,

in your config/environment.rb you should add:

config.gem “rack”

Then run:

jruby -S rake gems:unpack:dependencies

After running warbler again, you should be fine without the excpeption.

Cheers
Michael J.

Am 11.03.2010 um 05:48 schrieb Nayan Shah:

C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:in
at
(unknown).new(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
Warning: JRuby home
from
from :1
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
at
activesupport (2.3.5)
Thanks
Nayan

Posted via http://www.ruby-forum.com/.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Michael

Thanks for you replay.

I tried both thing as you describe but still it is giving same
exception.
Looks like it is not able to find the JRuby Home.

Warning: JRuby home
“C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-stdlib-1.4.0.jar!/META-INF/jruby.home”
does not exist, using C:\DOCUME~1\nuser\LOCALS~1\Temp
<Mar 13, 2010 5:46:45 PM EST> <ServletContext-/blog>
<Warning: error application could not be initialized
org.jruby.rack.RackInitializationException: no such file to load – rack
from
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1
from
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22:in
require' from C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:in boot!’
from
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9
from
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:1:in
`load’
from :1

at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153)
at
org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:102)
at
org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:36)
at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:25)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39)
Truncated. see log file for complete stacktrace
org.jruby.exceptions.RaiseException: no such file to load – rack
at
(unknown).new(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
Kernel.require(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
at
(unknown).(unknown)(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22)
at
Kernel.require(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22)
at
JRuby::Rack::Booter.boot!(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9)
Truncated. see log file for complete stacktrace

Please advice.
-Nayan

Hello,

I had the same problems deploying a war file on Weblogic 10 (apparently
this affects JBoss too).

It was caused by an issue that prevented the interpreter to load files
from .jar-Libraries (like jruby-complete.jar and jruby-rack.jar).

Please find a patched fork of jruby-rack at
GitHub - joernh/jruby-rack: Rack for JRuby and Java appservers . I submitted my changes to Nick
Sieger and hope he can verify them.

  • Joern

On 13.03.2010, at 23:59, Nayan Shah wrote:

at
Posted via http://www.ruby-forum.com/.
To unsubscribe from this list, please visit:

`require’
at
org.jruby.exceptions.RaiseException: no such file to load – rack
Truncated. see log file for complete stacktrace
http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I reviewed the commits and they’re now in jruby-rack trunk.

Thanks Jörn!

/Nick

On Mon, Mar 29, 2010 at 3:47 PM, Jörn Hartmann [email protected]
wrote:

On 13.03.2010, at 23:59, Nayan Shah wrote:

jruby -S rake gems:unpack:dependencies

C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:in


Looks like it is not able to find the JRuby Home.
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22:in

Truncated. see log file for complete stacktrace
JRuby::Rack::Booter.boot!(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Nayan,

in your config/environment.rb you should add:

config.gem “rack”

Then run:

jruby -S rake gems:unpack:dependencies

After running warbler again, you should be fine without the excpeption.

Cheers
Michael J.

Am 11.03.2010 um 05:48 schrieb Nayan Shah:

C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:in
at
(unknown).new(C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:1)
Warning: JRuby home
from
from :1
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
at
activesupport (2.3.5)
Thanks
Nayan

Posted via http://www.ruby-forum.com/.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Get and build the latest source code from

Then replace the previous jruby-rack.jar file in warbler’s gem directory
with the new one you have just built.

  • Jörn

On 01.04.2010, at 00:05, Nayan Shah wrote:

jruby -S rake gems:unpack:dependencies

Nayan

Posted via http://www.ruby-forum.com/.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick S. wrote:

I reviewed the commits and they’re now in jruby-rack trunk.

Thanks J�rn!

/Nick

On Mon, Mar 29, 2010 at 3:47 PM, J�rn Hartmann [email protected]
wrote:

On 13.03.2010, at 23:59, Nayan Shah wrote:

jruby -S rake gems:unpack:dependencies

C:/bea/user_projects/domains/rcionline50_domain/servers/RCIOnline50_AdminServer/tmp/_WL_user/FACastMemberApp/p09sh/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/booter.rb:22:in


Looks like it is not able to find the JRuby Home.
C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/vendor/rack.rb:22:in

�Truncated. see log file for complete stacktrace
JRuby::Rack::Booter.boot!(C:/bea/user_projects/domains/test_domain/servers/test_AdminServer/tmp/_WL_user/blog/8mcv03/war/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/boot/rack.rb:9)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Thanks for that. Can you please let me know How do I use that source
code and use into the project.

Thanks
Nayan

Hi Jorn,

I did that change and deploy the war file in weblogic and now I am
getting below exception.

JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
java.io.IOException: The filename, directory name, or volume label
syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
at java.io.File.getCanonicalPath(File.java:531)
at
org.jruby.ext.posix.JavaSecuredFile.getCanonicalPath(JavaSecuredFile.java:82)
at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:96)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:41)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:32)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:28)
at
org.jruby.compiler.JITCompiler$JITClassGenerator.(JITCompiler.java:187)
at
org.jruby.compiler.JITCompiler.jitThresholdReached(JITCompiler.java:129)
at org.jruby.compiler.JITCompiler.jitIsEnabled(JITCompiler.java:92)
at org.jruby.compiler.JITCompiler.tryJIT(JITCompiler.java:72)
at
org.jruby.internal.runtime.methods.DefaultMethod.tryJitReturnMethod(DefaultMethod.java:128)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:169)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:147)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.OrNode.interpret(OrNode.java:97)
at org.jruby.ast.IfNode.interpret(IfNode.java:111)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:317)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:268)
at org.jruby.runtime.Block.yield(Block.java:194)
at org.jruby.RubyArray.eachCommon(RubyArray.java:1635)
at org.jruby.RubyArray.each(RubyArray.java:1642)
at
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:123)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196)
at org.jruby.ast.ClassNode.interpret(ClassNode.java:141)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:64)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:629)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
at org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at org.jruby.RubyKernel$6.load(RubyKernel.java:206)
at org.jruby.runtime.load.LoadService.autoload(LoadService.java:370)
at org.jruby.RubyModule.resolveUndefConstant(RubyModule.java:2686)
at org.jruby.parser.StaticScope.getUndefConstant(StaticScope.java:210)
at org.jruby.parser.StaticScope.getConstantInner(StaticScope.java:195)
at org.jruby.parser.StaticScope.getConstant(StaticScope.java:185)
at org.jruby.runtime.ThreadContext.getConstant(ThreadContext.java:554)
at org.jruby.ast.ConstNode.reCache(ConstNode.java:111)
at org.jruby.ast.ConstNode.getValue(ConstNode.java:102)
at org.jruby.ast.ConstNode.interpret(ConstNode.java:87)
at
org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:317)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:305)
at org.jruby.runtime.Block.yield(Block.java:199)
at org.jruby.RubyObject.yieldUnder(RubyObject.java:508)
at org.jruby.RubyObject.specificEval(RubyObject.java:330)
at org.jruby.RubyModule.module_eval(RubyModule.java:2100)
at
org.jruby.RubyModule$i_method_multi$RUBYFRAMEDINVOKER$module_eval.call(org/jruby/RubyModule$i_method_multi$RUBYFRAMEDINVOKER$module_eval.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:123)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:64)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:629)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
at org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at org.jruby.RubyKernel$6.load(RubyKernel.java:206)
at org.jruby.runtime.load.LoadService.autoload(LoadService.java:370)
at org.jruby.RubyModule.resolveUndefConstant(RubyModule.java:2686)
at
org.jruby.RubyModule.fastGetConstantFromNoConstMissing(RubyModule.java:2658)
at org.jruby.ast.Colon2ConstNode.reCache(Colon2ConstNode.java:69)
at org.jruby.ast.Colon2ConstNode.getValue(Colon2ConstNode.java:56)
at org.jruby.ast.Colon2ConstNode.interpret(Colon2ConstNode.java:35)
at
org.jruby.ast.AttrAssignOneArgNode.interpret(AttrAssignOneArgNode.java:32)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:117)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:136)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:153)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:290)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:109)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:155)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:161)
at org.jruby.RubyClass.finvoke(RubyClass.java:432)
at org.jruby.RubyObject.send(RubyObject.java:1436)
at
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:259)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:310)

please Advice.
-Nayan

Nayan -

I did test the patch on Linux and Solaris only. It might require
modification on the Windows platform. It would be interesting to know
which file path is causing this error. It does not look like as if it’s
cut off, but is there any hint on the path in the log file?

Best,
Jörn
On 01.04.2010, at 04:02, Nayan Shah wrote:

at java.io.WinNTFileSystem.canonicalize0(Native Method)
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:28)
at
at org.jruby.RubyArray.each(RubyArray.java:1642)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
at org.jruby.RubyKernel$6.load(RubyKernel.java:206)
org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
org.jruby.RubyModule$i_method_multi$RUBYFRAMEDINVOKER$module_eval.call(org/jruby/RubyModule$i_method_multi$RUBYFRAMEDINVOKER$module_eval.gen)
at
at org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:109)
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen)

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi,

Even i am getting the following error when deploying jruby app war in
weblogic 9.2.

The error:
java.io.IOException: The filename, directory name, or volume label
syntax is inc
orrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
at java.io.File.getCanonicalPath(File.java:531)
at
org.jruby.ext.posix.JavaSecuredFile.getCanonicalPath(JavaSecuredFile.
java:82)
at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:96)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMan
gler.java:41)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMan
gler.java:32)
at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMan
gler.java:28)
at
org.jruby.compiler.JITCompiler$JITClassGenerator.(JITCompiler.j
ava:187)
at
org.jruby.compiler.JITCompiler.jitThresholdReached(JITCompiler.java:1
29)
at
org.jruby.compiler.JITCompiler.jitIsEnabled(JITCompiler.java:92)
at org.jruby.compiler.JITCompiler.tryJIT(JITCompiler.java:72)
at
org.jruby.internal.runtime.methods.DefaultMethod.tryJitReturnMethod(D
efaultMethod.java:128)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:169)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
147)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.jav
a:317)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:268)
at org.jruby.runtime.Block.yield(Block.java:194)
at org.jruby.RubyArray.eachCommon(RubyArray.java:1635)
at org.jruby.RubyArray.each(RubyArray.java:1642)
at
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jrub
y/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64
)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:173)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:169)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:310)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
149)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:192)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:177)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:320)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:158)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
163)
at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:709)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:176)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:310)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
149)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpr
eter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpr
eter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:64)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadServ
ice.java:629)
at
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
at
org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:28
3)
at org.jruby.RubyKernel.require(RubyKernel.java:920)
at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/
jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.c
all(JavaMethod.java:312)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:310)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
149)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:64)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadServ
ice.java:629)
at
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
at
org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:28
3)
at org.jruby.RubyKernel.require(RubyKernel.java:920)
at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/
jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.c
all(JavaMethod.java:312)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:310)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
149)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:64)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadServ
ice.java:629)
at
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
at
org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at org.jruby.RubyKernel$6.load(RubyKernel.java:206)
at
org.jruby.runtime.load.LoadService.autoload(LoadService.java:370)
at
org.jruby.RubyModule.resolveUndefConstant(RubyModule.java:2686)
at
org.jruby.RubyModule.fastGetConstantFromNoConstMissing(RubyModule.jav
a:2658)
at
org.jruby.ast.Colon2ConstNode.reCache(Colon2ConstNode.java:69)
at
org.jruby.ast.Colon2ConstNode.getValue(Colon2ConstNode.java:56)
at
org.jruby.ast.Colon2ConstNode.interpret(Colon2ConstNode.java:35)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.jav
a:317)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:305)
at org.jruby.runtime.Block.yield(Block.java:199)
at org.jruby.RubyObject.yieldUnder(RubyObject.java:508)
at org.jruby.RubyObject.specificEval(RubyObject.java:330)
at org.jruby.RubyObject.instance_eval(RubyObject.java:1284)
at
org.jruby.RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.c
all(org/jruby/RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.gen)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:116)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at
org.jruby.ast.FCallNoArgBlockPassNode.interpret(FCallNoArgBlockPassNo
de.java:27)
at org.jruby.ast.IfNode.interpret(IfNode.java:117)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:155)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:161)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:116)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:698)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64
)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:136)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:153)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:290)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
109)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.jav
a:317)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:305)
at org.jruby.runtime.Block.yield(Block.java:199)
at org.jruby.RubyObject.yieldUnder(RubyObject.java:508)
at org.jruby.RubyObject.specificEval(RubyObject.java:330)
at org.jruby.RubyObject.instance_eval(RubyObject.java:1284)
at
org.jruby.RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.c
all(org/jruby/RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at
org.jruby.ast.FCallNoArgBlockPassNode.interpret(FCallNoArgBlockPassNo
de.java:27)
at org.jruby.ast.IfNode.interpret(IfNode.java:117)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:155)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:161)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:698)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:300)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
123)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64
)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.Ruby.evalScriptlet(Ruby.java:293)
at org.jruby.Ruby.evalScriptlet(Ruby.java:270)
at
org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper
(DefaultRackApplicationFactory.java:152)
at
org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationOb
ject(DefaultRackApplicationFactory.java:110)
at
org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackAppl
icationFactory.java:118)
at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplic
ationFactory.java:170)
at
org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(Defa
ultRackApplicationFactory.java:121)
at
org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicat
ionFactory.java:37)
at
org.jruby.rack.PoolingRackApplicationFactory.init(PoolingRackApplicat
ionFactory.java:50)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServ
letContextListener.java:40)
at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run
(EventsManager.java:376)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Eve
ntsManager.java:82)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:1608)
at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
text.java:2750)
at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:889)
at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedMod
uleDriver.java:200)
at
weblogic.application.internal.flow.ModuleListenerInvoker.start(Module
ListenerInvoker.java:117)
at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
at
weblogic.application.internal.flow.StartModulesFlow.activate(StartMod
ulesFlow.java:26)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
va:635)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
java:212)
at
weblogic.application.internal.DeploymentStateChecker.activate(Deploym
entStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
pContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.ac
tivate(AbstractOperation.java:566)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.ac
tivateDeployment(ActivateOperation.java:136)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.do
Commit(ActivateOperation.java:104)
at
weblogic.deploy.internal.targetserver.operations.StartOperation.doCom
mit(StartOperation.java:139)
at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.co
mmit(AbstractOperation.java:320)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
entCommit(DeploymentManager.java:815)
at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeplo
ymentList(DeploymentManager.java:1222)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(
DeploymentManager.java:433)
at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.com
mit(DeploymentServiceDispatcher.java:161)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkMan
agerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

My rails version is 2.3.5
jruby version is 1.5.0
I used warbler 1.0.3 to package the app into a war file.

Could anyone help on this?

This looks like a JRuby bug to me. Can one of you file a bug with this
stacktrace on http://bugs.jruby.org/?

Better yet, reproduce the error using this development snapshot. Just
download, run “jruby -S gem install path/to/jruby-jars-1.6.0.dev.gem”,
re-warble your war file and re-deploy. That should give us a better
idea of how the path is being mangled in Weblogic.

http://ci.jruby.org/job/jruby-dist/
http://ci.jruby.org/job/jruby-dist/lastSuccessfulBuild/artifact/gem/pkg/jruby-jars-1.6.0.dev.gem

/Nick

On Tue, May 18, 2010 at 2:38 AM, Yani Y. [email protected] wrote:

   at

org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMan
at
147)
at org.jruby.RubyArray.each(RubyArray.java:1642)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
at
ava:177)
at
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:308)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.c
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.load.LoadService.require(LoadService.java:319)
at
at org.jruby.Ruby.loadFile(Ruby.java:2419)
at
at
at org.jruby.runtime.Block.yield(Block.java:199)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:305)
at
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.
java:118)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackAppl
at
dSubject.java:321)
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
at
ulesFlow.java:26)
weblogic.application.internal.DeploymentStateChecker.activate(Deploym
at
entCommit(DeploymentManager.java:815)
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

Posted via http://www.ruby-forum.com/.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

If that’s the case, that’s great news. I haven’t heard confirmation
that 1.5.0 fixes all the issues, so I’ll take yours as first evidence
of that. It would be great to hear other Weblogic users chime in as
well.

/Nick

On Wed, May 19, 2010 at 6:38 AM, Yani Y. [email protected] wrote:

Nick S. wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I have not testing it extensively, just deployed a simple app, was just
checking its compatibility with weblogic and it worked.

Nick S. wrote:

If that’s the case, that’s great news. I haven’t heard confirmation
that 1.5.0 fixes all the issues, so I’ll take yours as first evidence
of that. It would be great to hear other Weblogic users chime in as
well.

/Nick

On Wed, May 19, 2010 at 6:38 AM, Yani Y. [email protected] wrote:

Nick S. wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Nick,

I was using jruby-jars1.4.0.gem, after using the gem u mentioned it
worked great. Then later i re- warbled using jruby-jars-1.5.0 which is
officially released and it works great…

So just wanted to confirm that this issue with weblogic has been handled
in jruby-jars version 1.5.0 onwards??

Nick S. wrote:

This looks like a JRuby bug to me. Can one of you file a bug with this
stacktrace on http://bugs.jruby.org/?

Better yet, reproduce the error using this development snapshot. Just
download, run “jruby -S gem install path/to/jruby-jars-1.6.0.dev.gem”,
re-warble your war file and re-deploy. That should give us a better
idea of how the path is being mangled in Weblogic.

http://ci.jruby.org/job/jruby-dist/
http://ci.jruby.org/job/jruby-dist/lastSuccessfulBuild/artifact/gem/pkg/jruby-jars-1.6.0.dev.gem

/Nick