| Summary: | Cannot list directory contents of a static web project | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Prasad Kashyap <pkashyap> | ||||||
| Component: | osgi | Assignee: | Jan Bartel <janb> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | browe, janb, jesse.mcconnell, jetty-inbox, mgorovoy, pesparza | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 7.1.x | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 378492, 378493 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Prasad Kashyap
This sounds like the dirAllowed initParameter of the defaultweb.xml file is set to false. Actually it is set to true which is why the directory listing of Dynamic Web Projects is allowed. What's the outlook for this bugzilla. Any chance we could get it in 2010? Created attachment 179707 [details]
jetty-7 version of the class
Prasad, Billy, Jetty-6 is not under active development any longer - just security fixes mostly - so is it possible for the J2EE server project to upgrade to jetty-7? Failing that, I suggest it might be quicker to create the project's own ResourceHandler based off the jetty-7 version. It should be about a dozen lines to do the configuration and directly serving. I'm attaching a copy of the jetty-7 ResourceHandler.java for info. regards Jan Jesse, can you look at this one. thanks As far as I know we have jetty7 HttpService being provided now...I'll check with Hugues but I had thought it was the default now. seems we might be waiting on this issue? https://bugs.eclipse.org/bugs/show_bug.cgi?id=309529 I suspect there is a small cluster of issues here that are either resolved or very close to being resolves once we take a bit of a looksee 1.6 has been released doh, closed the wrong one Prasad, As Equinox has updated to jetty-8, (see closed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=309529), can you retest and let us know if this issue is resolved? thanks Jan they are on 8.1.3 for juno as well Created attachment 215012 [details]
Error displayed when the server is starting (Eclipse 4.2)
Hi all, I've verified this defect and these are the results: Using Eclipse JEE Indigo 3.7: When I performed the last step I got a 404 Error... So, I guess this is the expected behavior. However... Using Eclipse JEE Juno 4.2: When I tried to start the server the following error was displayed. "Could not find required bundle org.mortbay.jetty.server" I'm attaching an screenshot of the error. Thanks! juno doesn't use org.mortbay.jetty.server it should be something like org.eclipse.jetty.server I think That's correct, org.eclipse.jetty.server plugin is in the installation directory. But the questions is: Why Eclipse is trying to get org.mortbay.jetty.server instead of org.eclipse.jetty.server? This should be a defect, right?? do you know if there is an open defect for this error? Thanks Jesse for the quick response. Hi Pablo, I have seen the same problem with using Juno. I am talking to some of the Equinox guys to work out on which Eclipse component we need to raise this bug. I'll update this bug when I hear back from them. thanks Jan I created some bugs for this on the WTP project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=378492 https://bugs.eclipse.org/bugs/show_bug.cgi?id=378493 Jan Closing this bug as the related bugs on the wtp project (see comment #18) have been marked as fixed. |