I am trying to run a Java EE application on weblogic. The application works fine on Tomcat. I have customized the war file to include weblogic.xml. This file includes the fo
I know it is very late to answer this question. But I am answering with my little knowledge in the hope it will help someone out there.
You should define the starting page in welcome-file-list in web.xml file.For eg, if client.jsp is the page to be displayed when you run your project, the first line in welcome-file-list in web.xml file should be
<welcome-file-list>
<welcome-file>client.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
I know this is very late but I also run across the same issue and after googling around, I found that the reason why and I decided to post it just for anyone else who might encounter that same issue. This webpage gave me the hint:
Error 403 explained
By default, WebLogic disables directory browsing hence if you have a website(say example.com) with an index.html as your homepage and you type
http://localhost:7001/example.com,
by default weblogic would not automatically retrieve the the homepage for you. You need to type in the full path i.e.
http://localhost:7001/example.com/index.html.
Either that, you you need to enable directory browsing in weblogic. Anyway, this is what happened to me.
This might be unrelated to the question, but for those coming from Google when trying to open a website: Adding HTTPS:// in the header of the link helped in my case. I got this error when accessing a flight website. Maybe help others that are coming from Google for the same issue.
I had the same issue with one of the service provider I created.
I was trying to access it via my web browser and I couldn't find the reason why I had this error message until I understood that effectively the server really understood the request but in order, for you to have the response, you have to specify the right format (or mediatype) to be able to read it and then the server will give you the response.
To sumarize, the service provider was providing an "application/xml" response while I was asking for an "application/html" until I built my own client consumer that was expecting an "application/xml" and then the server accepted to reply back the response.
Can you please check your web.xml file, doesn't follows the xml syntax, means valid xml file, even a small error like extra < or > cause this kind of issue( I have encountered the same)
You can add this code at the end of your web.xml file
<welcome-file-list>
<welcome-file>faces/my_page.jspx</welcome-file>
</welcome-file-list>
or if you are using JDeveloper you can go to Overview tab, Pages and in welcome files adding the route to the page you want to be open by defalut. Also you should add "faces/" before your page name giving the fact this is the default route to the page you create.