I recently downloaded the Eclipse(Ganymede) EE editor.I also downloaded the web application server community(WASCE 2.1) edition from IBM.
I started off with a simple HelloWorld web application.i just displayed the msg in the default index.jsp page.

When I deploy the application on the WASCE server the web browser is showing the page not found error.
when I used the apache tomcat server (v6.0)
it showed the msg

error 404:
locolhost:8084/HelloWorld/ resource not found

When I tried out the same project in NetBeans 6.5 it worked fine.
I think there is no problem with the server.
I must be doing some mistake while setting up the server or the project in eclipse.
Can anyone help me out.Please mail me at vinaykumar1690@gmail.com for any clarifications in the error.
I am not able to find out what the problem is.please help me out..

7 Years
Discussion Span
Last Post by sillyboy

there are various things which may cause this. I suspect the "page not found" and "resource not found" are the same error, just written differently.

i assume you have the application deployed correctly? what server were you using in netbeans to make it work? where does that port number come from?

the more information you can give, the most concrete answers we can give.


I tried out both in Netbeans 5.0 and 6.5...in 5.0 i used the default bundled tomcat 5.0 server...
in 6.5 i used glass fish prelude v3.0...
the port number i used in netbeans was 8084...

in eclipse while setting up WASCE i used port number 8080
and RMI naming as 1099.
hostname as localhost..
(what is RMI naming??)

I deployed the application directly from Eclipse..
right clicked the project folder in the project explorer and used the run on server option...

I have installed many servers in one machine itself..
sun java application server v8.0 using port 8080..
WASCE v2.1(8080)
tomcat v6.0(8084)
is there any issue cos of that...??


deployment descriptor(web.xml) from eclipse....

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	id="WebApp_ID" version="2.5">

i displayed HelloWorld in index.jsp


i don't really understand why you have so many environments, but i guess that shouldn't be relevant (as long as port numbers are unique).

when you say you try: locolhost:8084/HelloWorld/ is this the correct context root to what you have set up on your server?

if you are running and deploying to the server using eclipse there should be console output of what is happening, do you see any errors? if not, you are probably deploying successfully, but using a wrong context?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.