Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 14788
  • Last Modified:

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
0
Dmitriy
Asked:
Dmitriy
1 Solution
 
nbhatCommented:
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
0
 
arivurajCommented:
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.
0
 
DmitriyAuthor Commented:
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>
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
nbhatCommented:
check the directory structure of login.jsp inside ssi.war. Use the same directory structure after http://localhost:7001/ssi 
0
 
DmitriyAuthor Commented:
This is where logon.jsp file is located:

ssi.ear/ssi.war/logon.jsp

Hope this helps.
0
 
DmitriyAuthor Commented:
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?
0
 
DmitriyAuthor Commented:
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
0
 
moduloCommented:
PAQ'd and 300 points refunded

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now