Link to home
Start Free TrialLog in
Avatar of Dmitriy
DmitriyFlag for United States of America

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
Avatar of nbhat
nbhat

Is ssi.war deployed on myserver(The server listening to 700)?
 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
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.
Avatar of Dmitriy

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>
check the directory structure of login.jsp inside ssi.war. Use the same directory structure after http://localhost:7001/ssi 
Avatar of Dmitriy

ASKER

This is where logon.jsp file is located:

ssi.ear/ssi.war/logon.jsp

Hope this helps.
Avatar of Dmitriy

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?
Avatar of Dmitriy

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
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial