File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Cattle Drive and the fly likes Orion problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Orion problem" Watch "Orion problem" New topic
Author

Orion problem

Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
I'm getting in a mess with Servlets-3a.
That's bad enough but now Orion's letting me down (or maybe that's what's causing the problem :confused .

I wanted to check that Orion was ready and willing by typing just:
http://localhost
and I got:
The website declined to show this webpage
HTTP 403
Most likely causes:
This website requires you to log in.
This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.

It's getting latish here so I thought I would post this and - who knows - perhaps get an inspiring thought or two for the morrow
(P.S. I have been experimenting with Ant, whilst looking ahead to Servlets 3b and 4!)
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
What version of Orion are you using? I wonder if they changed some config file to default to ... well, I'm not sure what at this point. It seems very strange that you can't see the default index.html page without logging in.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
I'm using version 2.0.7 but I've been using it with no problems up to now.
It was only yesterday late that I decided to do a quick check with http://localhost and got an error 403 for my trouble rather than
the display of default-web-app\index.html I expected.

I have been messing about about with various Orion files to get the example Standard Web App ("bee" between Servlets-3a and 3b) running, so maybe this has some bearing on the problem.

I'm going to try commenting out the changes I made, to files in orion\config and see what happens.

Any other thoughts more than welcome!
Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
Panic's over for the time being...
Removing the line:
from default-web-site.xml in orion\config has got the default web page displaying again when I type http://localhost.
Though why it should give an error 403 with this line in place beats me.
(But at one stage I got the error "straight from Orion" and it said:
"403 Forbidden - Directory browsing not allowed" (!)). I daresay this is the real reason for the error and not the need to log in suggested by the IE message.
[ April 03, 2008: Message edited by: Dick Summerfield ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
Yes. That sounds more like the real error.
In IE Tools, Internet Options, Advanced, if you have "Show Friendly HTTP error messages" checked, I'd recommend unchecking it.
Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
Thank you! Thank you! Thank you! A great tip!!!
I just recreated my error situations and was able to savour the unfriendly (but true) error messages, in plain old black and white .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Orion problem
 
Similar Threads
Need help getting servlet software working
error 403
Orion problems
IE is acting peculiar.....
404 Error