RackInitializationException: stack level too deep Help

Please Help. My application is about to go live.

I tried to Deploy my Jruby 1.5.6 + Rails 3.0.3 to Web Server(AIX)
running JBoss 5.0GA)

The same error on Database Server(AIX) with executable war (Winstone)

This war work on JBoss 5.0GA on OSX 10.6.6 and executable war (Winstone)

Thanks
Pinit A.

=========-====== Web Server(AIX) ==-=======-======
java version “1.5.0_22”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot™ Server VM (build 1.5.0_22-b03, mixed mode)

============== Database Server(AIX) ================
java version “1.5.0”
Java™ 2 Runtime Environment, Standard Edition (build
pap32dev-20071008 (SR6))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32
j9vmap3223-20071007 (JIT enabled)
J9VM - 20071004_14218_bHdSMR
JIT - 20070820_1846ifx1_r8
GC - 200708_10)
JCL - 20071008

=============== JBOSS server.log =================

2011-01-14 19:06:07,936 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/kel_admin]]
(http-10.2.62.211-8080-3) Application Error
org.jruby.rack.RackInitializationException: stack level too deep

========================================= Trace

    from

classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129:in
call' from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129:insatisfied_by?’
from
classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129:in
all?' from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129:insatisfied_by?’
from
/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/rubygems_ext.rb:125:in
matches_spec?' from /rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47:insearch_for_all_platforms’
from
/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47:in
select' from /rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47:insearch_for_all_platforms’
… 500 levels…
from classpath:/./vendor/rack-1.2.1/rack/builder.rb:46:in
initialize' from <script>:2:innew’
from :2

    at

org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:183)
at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:60)
at
org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:94)
at
org.jruby.rack.DefaultRackDispatcher.process(DefaultRackDispatcher.java:28)
at org.jruby.rack.RackFilter.doFilter(RackFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jruby.exceptions.RaiseException: stack level too deep
at
(unknown).new(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:17)
at
(unknown).(unknown)(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129)
at
Proc.call(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129)
at
Gem::Requirement.satisfied_by?(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129)
at
Enumerable.all?(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129)
at
Gem::Requirement.satisfied_by?(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/rubygems_ext.rb:125)
at
Gem::Dependency.matches_spec?(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47)
at
Bundler::Index.search_for_all_platforms(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47)
at
Array.select(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/index.rb:47)
at
Bundler::Index.search_for_all_platforms(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:364)
at
Bundler::Resolver.search(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:253)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:215)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:344)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at

… a lot more same pattern !!!

    at

Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:343)
at
Bundler::Resolver.resolve_requirement(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:295)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Array.reverse_each(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:294)
at
Bundler::Resolver.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:160)
at
Bundler::Resolver.start(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:128)
at
#Class:01x7a0bc6.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:127)
at
Kernel.catch(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/resolver.rb:127)
at
#Class:01x7a0bc6.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/definition.rb:151)
at
Bundler::Definition.resolve(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/definition.rb:90)
at
Bundler::Definition.specs(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/definition.rb:135)
at
Bundler::Definition.specs_for(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/definition.rb:124)
at
Bundler::Definition.requested_specs(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/environment.rb:23)
at
Bundler::Environment.requested_specs(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler/runtime.rb:11)
at
Bundler::Runtime.setup(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/gems/gems/bundler-1.0.7/lib/bundler.rb:100)
at
#Class:01x73ee84.setup(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/config/boot.rb:8)
at
(unknown).(unknown)(/rpool/jboss/legaladm/jboss-5.1.0.GA/server/legaldev/tmp/a21q5u-5d5od9-gix0f6dk-1-gix0pmwe-9z/kel_admin.war/WEB-INF/config/boot.rb:165)
at Kernel.require(classpath:/./jruby/rack/rails.rb:165)
at
JRuby::Rack::RailsBooter::Rails3Environment.load_environment(classpath:/./jruby/rack/rails.rb:173)
at
JRuby::Rack::RailsBooter::Rails3Environment.to_app(classpath:/./jruby/rack/rails.rb:194)
at #Class:01xf0bcfa.new(:2)
at
(unknown).(unknown)(classpath:/./vendor/rack-1.2.1/rack/builder.rb:46)
at
Kernel.instance_eval(classpath:/./vendor/rack-1.2.1/rack/builder.rb:46)
at
Kernel.instance_eval(classpath:/./vendor/rack-1.2.1/rack/builder.rb:46)
at Rack::Builder.initialize(:2)
at (unknown).new(:2)
at (unknown).(unknown)(:1)

Do you have this problem in development? It could be a difference in
the default stack sizes in the two environments. Bundler dependency
resolution is known to need a lot of stack frames.

You could try increasing the default stack by passing e.g. -Xss16k to
the JVM.

You could also try 1.6.0.RC1 which might behave better.

/Nick

Thank you very much Nick.

I have pass -Xss to java -jar to test by warbler stand alone web server.

java -jar -Xss512k kel_admin.war

256k is not enough. And I have seen bundler resolver many hundred time.

Is it possible by this gemspec ? How can I fix that ?

This gem take 20 mins to install unless I pass --ignore-dependencies.

===============================================

Generated by jeweler

DO NOT EDIT THIS FILE DIRECTLY

Instead, edit Jeweler::Tasks in Rakefile, and run ‘rake gemspec’

-- encoding: utf-8 --

Gem::Specification.new do |s|
s.name = %q{exception_logger}
s.version = “0.1.7”

s.required_rubygems_version = Gem::Requirement.new(“>= 0”) if
s.respond_to? :required_rubygems_version=
s.authors = [“Roland Guem”]
s.date = %q{2011-01-03}
s.description = %q{Logs exceptions inside a database table. Now
available as gem for Rails3 (previously a plugin for Rails2)}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
“LICENSE”,
“README.rdoc”
]
s.files = [
“app/controllers/logged_exceptions_controller.rb”,
“app/helpers/logged_exceptions_helper.rb”,
“app/models/logged_exception.rb”,
“app/views/layouts/logged_exceptions.html.erb”,
"app/views/logged_exceptions/exceptions.html.erb",
"app/views/logged_exceptions/feed.html.erb",
"app/views/logged_exceptions/show.html.erb",
“app/views/logged_exceptions/destroy.js.rjs”,
“app/views/logged_exceptions/destroy_all.js.rjs”,
“app/views/logged_exceptions/index.html.erb”,
“app/views/logged_exceptions/query.js.rjs”,
“app/views/logged_exceptions/query.xml.builder”,
“app/views/logged_exceptions/show.html.erb”,
“app/views/logged_exceptions/show.js.rjs”,
“config/initializers/date_formats.rb”,
“config/locales/en.yml”,
“config/routes.rb”,
“lib/exception_loggable_controller_mixin.rb”,
“lib/exception_logger.rb”,
“lib/exception_logger/engine.rb”,
“lib/exception_logger/exception_loggable.rb”,
“lib/generators/exception_logger/migration/migration_generator.rb”,
“lib/generators/exception_logger/migration/templates/migration.rb”,
“lib/generators/exception_logger/stylescripts/stylescripts_generator.rb”,
“lib/logged_exception_rake.rb”,
“lib/railties/tasks.rake”,
“public/javascripts/exception_logger.js”,
“public/stylesheets/exception_logger.css”
]
s.homepage = %q{GitHub - QuBiT/exception_logger: exception_logger for Rails3}
s.post_install_message = %q{
()()
()
()
()()()()()()()()()()()()()()()()()()()()()()
Thank you for installing exception_logger.
Please be sure to read the README and HISTORY on
GitHub - QuBiT/exception_logger: exception_logger for Rails3
for important information about this release. Happy logging!
()()()()()()()()()()()()()()()()()()()()()()()()()()_
}
s.require_paths = [“lib”]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Exception Logger for Rails 3}
s.test_files = [
“test/controllers/logged_exceptions_controller_test.rb”,
“test/models/logged_exception_test.rb”,
“test/rails_root/Gemfile”,
“test/rails_root/Gemfile.lock”,
“test/rails_root/app/controllers/application_controller.rb”,
“test/rails_root/test/factories/exception_logger.rb”,
“test/test_helper.rb”
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
  s.add_runtime_dependency(%q<rails>, [">= 3.0.0.rc"])
  s.add_runtime_dependency(%q<will_paginate>, [">= 3.0.pre2"])
  s.add_runtime_dependency(%q<meta_where>, [">= 0.5.2"])
  s.add_runtime_dependency(%q<i18n>, [">= 0.4.1"])
  s.add_development_dependency(%q<shoulda>, [">= 2.11.3"])
else
  s.add_dependency(%q<rails>, [">= 3.0.0.rc"])
  s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
  s.add_dependency(%q<meta_where>, [">= 0.5.2"])
  s.add_dependency(%q<i18n>, [">= 0.4.1"])
  s.add_dependency(%q<shoulda>, [">= 2.11.3"])
end

else
s.add_dependency(%q, [“>= 3.0.0.rc”])
s.add_dependency(%q<will_paginate>, [“>= 3.0.pre2”])
s.add_dependency(%q<meta_where>, [“>= 0.5.2”])
s.add_dependency(%q, [“>= 0.4.1”])
s.add_dependency(%q, [“>= 2.11.3”])
end
end