I am trying to deploy a simple application containing just one
JSP in Websphere4.0 Single Server Edition, that is the AEs version. My application is in directory
Test,which has the following structure
Test
|
-WEB-INF
| |
| - web.xml
-JSP
|
-test.jsp
I made a war file containing WEB-INF and JSP and named it test.war.
Then I opened the Admin Console and deployed this war module with the following parameters
path = path to the war file
name = test
context path=/test
I saved the server-cfg.xml,and restarted the server.The console now shows the application as deployed. When I try to access the jsp page with
http://localhost:9090/test/jsp/test.jsp, the server is returning 404.
Then I configured the Http transport for the web containers and mapped the port 8080 to localhost.
Saved the config and restarted the server.
Both the following URLS return 404
http://localhost:8080/test/jsp/test.jsp http://localhost/test/jsp/test.jsp Given below is an excerpt from the log file
GMT+05:30] 529b72d4 OSEListenerDi X PLGN0021E:
Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The host localhost has not been defined
[02.06.22 17:35:16:405 GMT+05:30] 529b72d4 ServletReques X SRVE0079E: Servlet host not found
[02.06.22 17:35:16:420 GMT+05:30] 529b72d4 OSEListenerDi X PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The host localhost has not been defined
[02.06.22 17:35:21:498 GMT+05:30] 529b72d4 ServletReques X SRVE0079E: Servlet host not found
[02.06.22 17:35:21:514 GMT+05:30] 529b72d4 OSEListenerDi X PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The host localhost has not been defined
Can anybody give in 3 (I am kidding , any number) steps, how I can deploy and access a
1. Servlet
2. JSP
I DO NOT WANT TO USE EJBs
Thanks in advance
By the way, Kyle, Your handbook is excellent.I hope to use it when I get to deploying EJBs.
Sundar
[ June 22, 2002: Message edited by: Sundar Rajan ]