File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Status 404 - The requested resource (/FMDIDASHBOARD/) is not available. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Status 404 - The requested resource (/FMDIDASHBOARD/) is not available." Watch "Status 404 - The requested resource (/FMDIDASHBOARD/) is not available." New topic
Author

Status 404 - The requested resource (/FMDIDASHBOARD/) is not available.

Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
I have a .war file that I am trying to run via Tomcat 6.0.
it builds and deploys fine, but the resource is not available.

I also have a small "helloworld" .war file, which I can build/deploy/and run on Tomcat.
(no coding, just a default netbeans project)

the only major difference is that my fmdidashboard war file uses struts 2 and my helloworld war file does not.

I deploy and launch applications from the Tomcat admin console. (just my localhost:8080 version)



senario:

I build the project using a netbeans 6.7.1 where the work space in mydocuments somewhere.

originally I had this working perfectly with Tomcat....

then I Zip the project and move it to another persons computer, unzip, build, deploy, and I get the following resource error which confuses me.

is there different ways you have to configure struts 2 in order to get it to run?
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
so for what it's worth I managed to get a helloworld struts 2 war file working....so not sure why my big on isn't working...

will require more analysis
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
my directory structure is:

Web Pages
----WEB-INF
----META-DATA
----login.jsp

the first time I did this, in my web.xml file, I had "pages/login.jsp" and this was working...(how I don't know)
used: netbeans 6.7.1, tomact 6.0

now when I re-build this, I get the obvious error, Status 404 (in the title of this post), because there is NO pages.
used: netbeans 6.8, tomcat 6.0

would anyone know how the first example could have possibly worked? you guess is probably better then mine, but again for what I see it can't work.
does netbeans 6.7.1 create links to your jsps or something?




Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
How about building project without Netbeans?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9937
    
159

And if you looking at suggestions on how to get this working in NetBeans, then let us know. We'll move this question to our IDE forum.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Status 404 - The requested resource (/FMDIDASHBOARD/) is not available.
 
Similar Threads
HTTP Status 404. My project runs ok w/ eclipse +tomcat; fails when exporting to .war
Restarting Tomcat in Eclipse?
no Action mapped for namespace / and action name HelloWorld
Problem in configuring Struts framework
Struts Startup/Restart Resource Not Found Problem