« Return to Thread: Newbie executing app after deployed in Tomcat

Re: Newbie executing app after deployed in Tomcat

by Vladimir Sizikov-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

On Fri, May 30, 2008 at 4:42 PM, Damaris <dfl_maradentro@...> wrote:

> The wiki pages have not been helpful for me so far. My Jruby version is
> 1.1.2, I went to the code where the error apparently appears, but it was a
> catch(Exception e){}, so reading the code was not helpful either.

My understanding is that warbler comes with pre-built version of
JRuby, and at the moment that version is 1.1.1. If you look at  1.1.1
sources, you'll see the line that fails (I copy-pasted it in my
previous email).

Nick would know more but he and the gang enjoying the Rubyconf at the moment! :)

> I'm running on Windows XP.

OK, that's one difference. I use Linux. Will try on Windows.

> btw, I've installed warbler 0.9.5. and the problem now is that, after
> deploying and starting Tomcat, a servlet exception appears telling Rails
> could not be found. I've tried with jruby 1.1 too.

That's what I had to adjust in warble.rb file so that my gems are picked up:
config.gems = ["activerecord-jdbc-adapter", "jruby-openssl", "rails",
"activerecord-jdbcmysql-adapter"]

After that, everything went by the book (by the wiki page).

> Sorry if I'm just complaining :S, but I'm just getting a little bit
> desperate as time passes :)
>
> Thanks for your patience.

And we're getting there! :) If you could debug on your side, and see
on which entry that findFile() method chockes, we'd have more info to
play with.
Meanwhile, I'll try to reproduce on Windows here.

Thanks,
  --Vladimir

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Newbie executing app after deployed in Tomcat