• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Lavanya Halliwell
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about building project without Netbeans?
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!