1. 1 Alexander Shvets

    Try to use warbler gem

  2. 2 Matt Williams

    I am familiar with warbler.

    However, in this case, I didn’t want to create a war. I needed to deliver a single jar for political reasons and didn’t want the overhead of jboss or tomcat. Nor did I want to have to maintain the installation. Ergo, the exercise to create a single jar.

  3. 3 Ale McHale

    Hey Matt! It’s funny that I would run into this today, as I was currently working on the same thing. I have basically the same thing running that you do … except I’m not quite done yet. I need to run multiple mongrels within the same process, as well as some other task threads running next to the mongrels.

    Anyhow, no need to reply. It was just cool to run into this the week I was working on the same thing :-) .

  4. 4 Alex McHale

    Wow, I just realized I misspelled my own name on that last post. Yikes.

  5. 5 eyelash grower

    Thats a definitely good submit with essential Data. Many thanks for your assist.

  6. 6 Prasanna

    Hi, I am currently working on integrating Java application General Architecture For Text Engineering (GATE) with Rails application using Jruby architecture. When we worked on integrating Jruby with log4j, I am getting following error :

    0 [main] DEBUG Main.class – Hello world gate/Gate.java:80:in ‘: java.lang.NoClassDefFoundError: org/apache/log4 j/Logger (NativeException) from gateapp/Main.java:86:inmain’ from test.rb:12

    test.rb is the name of ruby program.

    I tried importing all the log4j apache library, included the class file also in the test.rb file.

    When I run the java program alone its running fine. But when I generate the jar file and include them in ruby file (test.rb) , I am getting error that

    java.lang.NoClassDefFoundError: org/apache/log4j/Logger (NativeException) problem is occuring. How to deal with this problem ?

    Can anyone help me out over this issue ?

  7. 7 Matt Williams

    I’d suggest taking a look at torquebox — it’s a jboss (hence log4j) with rails integration. You can find it at http://torquebox.org.

    Barring that, is log4j in your classpath?

Leave a Reply