Dmitriy
asked on
10.4.5 404 Not Found
Hello experts,
I am trying to run a jsp page from war file that I created. The following is the layout of my setup:
ssi.ear - EAR file with war and jar files
ssi_EJB.jar - jar file with classes
ssi.war - WAR file with JSP and JS pages
The logon.jsp is inside the ssi.war file. When I try the following url, I get an error message:
http://localhost:7001/ssi/logon.jsp
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
This is Weblogic 6.0 on Windows NT machine.
Thanks,
Dmitriy
I am trying to run a jsp page from war file that I created. The following is the layout of my setup:
ssi.ear - EAR file with war and jar files
ssi_EJB.jar - jar file with classes
ssi.war - WAR file with JSP and JS pages
The logon.jsp is inside the ssi.war file. When I try the following url, I get an error message:
http://localhost:7001/ssi/logon.jsp
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
This is Weblogic 6.0 on Windows NT machine.
Thanks,
Dmitriy
As nbhat said first check the targer server. If its correct, try checking the web-uri name in your application.xml file. It should be ssi.
ASKER
The target is present and correct.
META-INF folder contains the following application.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>ssi</display -name>
<description>Standing Settlement Instruction System</description>
<module>
<web>
<web-uri>ssi.war</web-uri>
<context-root>ssi</context -root>
</web>
</module>
<module>
<ejb>ssi_EJB.jar</ejb>
</module>
</application>
META-INF folder contains the following application.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>ssi</display
<description>Standing Settlement Instruction System</description>
<module>
<web>
<web-uri>ssi.war</web-uri>
<context-root>ssi</context
</web>
</module>
<module>
<ejb>ssi_EJB.jar</ejb>
</module>
</application>
check the directory structure of login.jsp inside ssi.war. Use the same directory structure after http://localhost:7001/ssi
ASKER
This is where logon.jsp file is located:
ssi.ear/ssi.war/logon.jsp
Hope this helps.
ssi.ear/ssi.war/logon.jsp
Hope this helps.
ASKER
I just noticed that if I use http://localhost:7001/ssi link, I still get "Not Found" error. However, when I go to our development server on the network and use
http://someserver:2111/ssi
I get "Forbidden" error. Does that mean that my SSI package cannot be located at all?
http://someserver:2111/ssi
I get "Forbidden" error. Does that mean that my SSI package cannot be located at all?
ASKER
I got the .Ear file from our production server and replaced an existing ear file in my computer. They look completely identical inside (I checked with winzip), but for some reason when I did the substitution, my problem was solved. Now I am able to see the logon page on my localhost.
Thanks for trying ppl.
Request for deletion submitted
Thanks for trying ppl.
Request for deletion submitted
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Using console go to Web Application check if ssi.war is displayed in the tree. If it is visible then click on it on the right pane go to targets tab and see myserver in the deplyoed box.
U can do the same thing using config.xml as well. search for ssi.war in config.xml and check the value for Targets attribute