This content has been marked as final. Show 4 replies
The url to the web application should include the war file name, which is the default context root.
What is the url, which generates 404 error?
Thank you for your reply.
I am using a URL as you describe in your post. One thing that is different is that I don't use the default name for the context root ie. the name of the war file, I explicitly name the context root in weblogic.xml in WEB-INF.
The main points to note is are:
1) I can run my Weblogic server inside Eclipse using OEPE. I can start and stop the server with no problems.
2) I can deploy my two web/war apps to the autodeploy directory of the weblogic installation. When I access either of these apps using the appropriate URL - it works fine.
3) If I publish the two web apps via OEPE as 'Deploy Java EE modules in exploded archive mode' (having undeployed the autodeploy versions), then when I use the same URLs that worked in (2) I get a '404' error.
Were both web projects created in OEPE or were they imported from a .war file ? Also what happens when you right click on a JSP/HTML page in your web project and invoke run on server ? what is the url which the test browser opens up with ?
the two web/war applications are published, and if I look in the console I can see that they are deployed and active.
Are the WAR files packaged in an EAR file with an application.xml with the context root specified? If not, the web application name would be the context root. Or is the context root specified in the weblogic.xml?
Edited by: dvohra16 on Apr 11, 2011 4:21 PM