File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 8.1 with Eclipse" Watch "Weblogic 8.1 with Eclipse" New topic
Author

Weblogic 8.1 with Eclipse

Venkatlakshmi Baskaran
Greenhorn

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.

http://localhost:7001/Test/


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 public...is not accessible...
You are getting a 404 error because there's no and Index.jsp under the root directory...

Regards,
Andrea


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" 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

Regards,
Andrea
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic 8.1 with Eclipse
 
Similar Threads
Servlet deployment iuuse in weblogic 8.1
2.Deploying the ear file in the weblogic server.
2 Deploying Ear file
virtual host
"http://localhost:7001" on browser gives Error:404 ????