logo       

Re: [jruby-user] Running JRuby on Jetty I get directory listing: msg#00232

lang.jruby.user

Subject: Re: [jruby-user] Running JRuby on Jetty I get directory listing

Yes, most likely you're missing the web.xml.erb file (which the task uses to create the web.xml).

Regards,
Brian

On Nov 30, 2007, at 7:32 AM, Stefan Magnus Landrø wrote:

I had this once, and I believe it happened because some java-stuff was missing (download timed out or something). Make sure you have all the necessary java-webapp-stuff in the archive (WEB-INF\web.xml etc).

We solved the problem by rerunning the build.

Stefan

2007/11/30, David Lopez <david.lopez@xxxxxxxxx>:

I have created a Rails application using Netbeans RC2, with the built-in
JRuby 1.0.2. Everythign works fine in webrick. I create de .war file and
it's created right. But when I execute the war:standalone:run rake task and
go to http://localhost:8080/myapp I see a directory listing instead of the
Ruby application. I also tried to drop the .war file into Glassfish and into
Tomcat but I alwais see the diectory listing.

Have you got any idea of the cause? Has anybody ever had this problem?

Thanks
--
View this message in context: http://www.nabble.com/Running-JRuby-on-Jetty-I-get-directory-listing-tf4902190.html#a14042563
Sent from the JRuby - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email




--
Bekk Open Source
http://boss.bekk.no



---
Brian Leonard
Technology Evangelist
408-404-6884


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise