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

Re: Newbie executing app after deployed in Tomcat

by Damaris :: Rate this Message:

Reply to Author | View in Thread

Hi
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.

I'm running on Windows XP.
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.

I've checked also my jar files, I have copied them in every place I could, under WEB-inf/lib, under tomcat/common/lib, under jruby-xx/lib...

Sorry if I'm just complaining :S, but I'm just getting a little bit desperate as time passes :)

Thanks for your patience.



Vladimir Sizikov-2 wrote:
Hi,

On Fri, May 30, 2008 at 3:13 PM, Damaris <dfl_maradentro@yahoo.es> wrote:
>
> But this is quite dissapointing.

Work with us, and once the problem is identified, it *will* be fixed.

> I mean, now is the environment setting but,
> which are the probability that some other error appears when developing my
> app? I mean, I' m starting to see Jruby very unstable, and documentation is
> quite poor out there.

I've never deployed a rails app to Tomcat until today too.
And followed the wiki page, and in a couple of minutes, everything
was working just fine, deployed on Tomcat. The only info sources I used,
is the wiki pages. They actually are quite good and helpful.

If you found some problems that are not reflected there, feel free to
improve. That's the whole point, everybody helping out a bit.

> I've been trying some conf settings such as in [1] or
> [2], but all is a bit of a mess, I mean, I dunno want to spend my time
> googling here and there every time I have an error in Jruby :(.

Theese look like very old entries to me, they would probably add
more confusion then help.

> I will give a try right now to see if with your combination works.
> Thanks.

The latest Warbler comes with JRuby 1.1.1, and at that line mentioned
in your first email with stacktrace, I see:

if (current.getJarEntry(canonicalEntry) != null) {

My IDE helpfully notes that there is a chance of NullPointerException
for 'current' there! :)
And, apparently, you're hitting it. But I can't reproduce it so far,
following the same documentations as you do.

We need to figure out what's going on there or how to reproduce it reliable,
and then the fix will be simple.

Btw, what platform do you use?

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