Tomcat 5.5 & Warble

Hi

I’m just stated to try to get a Tomcat to run a Jruby rails app, but i
run into a strange problem that it seems some other people have had as
well. After i put the WAR file in webapp folder and try to run access it
i get the following error.

SEVERE: Warning: error application could not be initialized
org.jruby.rack.RackInitializationException: IO error – rack
from
file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0.
9.1.jar!/jruby/rack.rb:7
from
file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0.
9.1.jar!/jruby/rack.rb:7:in require' from file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0. 9.1.jar!/rack/handler/servlet.rb:7 from file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0. 9.1.jar!/rack/handler/servlet.rb:1:inrequire’
from :1

I’ve tried to figure out what can be wrong through google and
Tomcat/Jruby tutorials but haven’t been able to find any solution

Any suggestions to how to solve this problem would be very appriciated.
(im running on debian lenny with Jruby 1.1.3)

Thanks

/Mikael


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Does your log file contain an extended stack trace that looks like this?

http://groups.google.com/group/jruby-users/browse_thread/thread/7e549c75689cf4e5

I haven’t uncovered the reason for the error yet, but appreciate your
help in troubleshooting it.

/Nick

On Sat, Aug 2, 2008 at 11:18 AM, Mikael R. [email protected] wrote:

file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0.
from :1


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Nick,

Yes it does, however i tried to deploy the same war on a Glassfish
instance on the same server and it worked fine so i guess it’s primarly
Tomcat related.

Regards

/Mikael

Nick S. wrote:

file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0.
from :1

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I guess so. Albert confirmed the same, so I’ll have to do some testing
with Tomcat 5.5 and see if I can figure it out.

Cheers,
/Nick

On Mon, Aug 4, 2008 at 11:57 AM, Mikael R. [email protected] wrote:

Nick S. wrote:

following error.
file:/var/lib/tomcat5.5/webapps/helloworld/WEB-INF/lib/jruby-rack-0.
Any suggestions to how to solve this problem would be very appriciated.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs