Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

403 Forbidden on context-root with exploded enterprise apps

 
Eric Wright
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Has anyone ever encountered this before? When deploying an enterprise application in exploded format with a nested web application also in exploded format- WebLogic does not recognize the welcome-file-list entries in the web app's web.xml file. When you direct your browser to the context-root for the web app (as specified in the application.xml file) you get a 403 Forbidden error.
The funny thing is when you package everything up into an EAR and then redeploy- it works no problem. I'd be interested to know if this is a configuration issue or just a bug. I'm running WebLogic 6.1 SP2.
Thanks in advance.
Cheers,
Eric
 
Pham Huy Anh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

After 4 years, I have the similar problem but... with Weblogic 8.1, weblogic plugin.

I use eclipse to create the Web-project, (no Enterprise project), then I use Weblogic plugin to deploy my web-proj in "exploded" mode. Everything is allright except the web context root: is /MyWebProj\WebContent instead of /MyWebProj. So Error 404--Not Found is diplayed in web browser.

And I cannot modify the web context root in console, and I dont know how to modify it in eclipse.

Please help me,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic