• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?




 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about building project without Netbeans?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic