wood burning stoves 2.0*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 10069
    
163

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Status 404 - The requested resource (/FMDIDASHBOARD/) is not available.