• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic 8.1 with Eclipse

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am using Weblogic 8.1 server in Eclipse 3.1.

I have only an index.jsp file under webapps. When I build and run this on Eclipse (using Weblogic), I get Page 404 error.

The name of my project is Test and I have Index.jsp under WEB-INF. Weblogic is configured in port 7001 and i have Test.war available under C:\bea\user_projects\domains\mydomain\applications.

When I key in the following link, it says Page 404 error.

http://localhost:7001/Test/


Please help
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you deploy your application?
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you have a weblogic.xml under WEB-INF. If you already have try placing context-root tag:



Should work.
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Index.jsp (and public content) should not be under the WEB-INF directory because is not public...is not accessible...
You are getting a 404 error because there's no and Index.jsp under the root directory...

Regards,
Andrea
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And after all, to access to the Index.jsp usign the mentioned url http://127.00.1:8080/Test/(without explicitily mentioning Index.jsp) you have to configure the welcome file(s) in the web.xml

Regards,
Andrea
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic