Content-Length: 518367 | pFad | http://github.com/jruby/jruby/wiki/JRuby-on-Rails-on-Oracle-Weblogic

42 JRuby on Rails on Oracle Weblogic · jruby/jruby Wiki · GitHub
Skip to content

JRuby on Rails on Oracle Weblogic

Karol Bucek edited this page May 25, 2018 · 1 revision

org.joda.time.DateTime conflict.

There is a version conflict because both Weblogic and JRuby (1.6.0+) include the JODA time library but the Weblogic version is an older one. To solve it is necessary to tell config/weblogic.xml with the following contents

<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
  <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
  </container-descriptor>
</weblogic-web-app>

To include the file in the war include the following line in the custom configuration file config/warble.rb

config.webinf_files += FileList["config/weblogic.xml"]
Clone this wiki locally








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jruby/jruby/wiki/JRuby-on-Rails-on-Oracle-Weblogic

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy