It's not a secret anymore!
The moose likes BEA/Weblogic and the fly likes Weblogic 8.1 with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 8.1 with Eclipse" Watch "Weblogic 8.1 with Eclipse" New topic

Weblogic 8.1 with Eclipse

Venkatlakshmi Baskaran

Joined: Feb 04, 2007
Posts: 3
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.


Please help
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
How did you deploy your application?

SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Did you have a weblogic.xml under WEB-INF. If you already have try placing context-root tag:

Should work.
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
Index.jsp (and public content) should not be under the WEB-INF directory because is not not accessible...
You are getting a 404 error because there's no and Index.jsp under the root directory...


Regards,<br />Andrea<br /> <br /><a href="" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID :<br /><a href="" target="_blank" rel="nofollow">My Blog</a>
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
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

I agree. Here's the link:
subject: Weblogic 8.1 with Eclipse
jQuery in Action, 3rd edition