Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » HTTP Status 404(the request resource(/struts_sample/) is not available)
HTTP Status 404 [message #693191] Wed, 06 July 2011 01:40 Go to next message
duanqi  is currently offline duanqi Friend
Messages: 11
Registered: June 2011
Junior Member
Hi,
I have done two demos which depend on struts2 framework in Virgo.After deployed the demo in Virgo,the STS reported the core message:
<WE0001I> Starting web bundle 'struts2_sample' version '1.0.0' with context path '/struts2_sample'.
So,I tried to input "localhost:8080/struts2_sample" in browser which repsoned with the request resource(/struts_sample/) is not available
did that mean Virgo didn't load the web.xml file or the other reasons?
Re: HTTP Status 404 [message #693327 is a reply to message #693191] Wed, 06 July 2011 09:16 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
According to the response, there was a typo in your input. Please could you check.
Re: HTTP Status 404 [message #693451 is a reply to message #693327] Wed, 06 July 2011 13:57 Go to previous messageGo to next message
duanqi  is currently offline duanqi Friend
Messages: 11
Registered: June 2011
Junior Member
Hi Glyn,
It's my careless to type the incorrect content while the browser just output the request resource(/struts2_sample/) is not available.
I had checked log file which didn't report any errors,neither the console of STS.So I suspected that the Virgo didn't load the web.xml of struts2_sample.could you give me some other suggestions,Very thanks.
duanqi

[Updated on: Fri, 08 July 2011 12:57]

Report message to a moderator

Re: HTTP Status 404 [message #693497 is a reply to message #693451] Wed, 06 July 2011 15:18 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
There is no web.xml in the bin directory of the attached rar file, so please check that the bundle actually contains a web.xml.
Re: HTTP Status 404 [message #693986 is a reply to message #693497] Thu, 07 July 2011 15:24 Go to previous messageGo to next message
duanqi  is currently offline duanqi Friend
Messages: 11
Registered: June 2011
Junior Member
Hi Glyn,
I really hope you can read my statement over and give me some advices.your help will affect my work a lot.Very thanks advanced.My statement is:

My goal:I want integrate SSH(Struts2,Spring,Hibernate) with Virgo.Because I had own some bundles which consist of SSH framework and my applications based on the SSH.In order to take advantage of Virgo server and know more about OSGi,so I decide to run my applications in Virgo.

My process:Firstly,I integrate the Struts2 in Virgo.I have made Struts2.core bundle into repository/usr file.Then I try to write some demos based on Struts2.core in Virgo.When STS compile the demo successfully,I try to visit this demo by browser which response with the content of HTTP Status 404.

My questions: 1、how can I know the Virgo load Web applications clearly or the Virgo communicate with SSH?
2、need I analysis the code of Virgo?
3、Where can I download the code of Virgo?
4、could you help me to organize my thoughts where should I start from?
very very thanks!

[Updated on: Fri, 08 July 2011 12:46]

Report message to a moderator

Re: HTTP Status 404 [message #694282 is a reply to message #693986] Fri, 08 July 2011 09:14 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I would look for Tomcat logging output in serviceability/logs/log.log to see what is causing the 404. If you need to look at the Virgo code, it is all available via git - see the wiki. Apart from resource finding, the path for a web request in Virgo Web Server/Virgo Tomcat Server is very much like vanilla Tomcat, so you can use Tomcat debugging techniques.
Re: HTTP Status 404 [message #694374 is a reply to message #694282] Fri, 08 July 2011 12:56 Go to previous message
duanqi  is currently offline duanqi Friend
Messages: 11
Registered: June 2011
Junior Member
Hi Glyn,
The struts2_sample's running log.log have been added in the Attachment.Thanks for your patience.
  • Attachment: log.log
    (Size: 202.41KB, Downloaded 261 times)
Previous Topic:V3M6: Questions regarding configuration and servlet container versions
Next Topic:Spring WS
Goto Forum:
  


Current Time: Thu Apr 25 20:45:43 GMT 2024

Powered by FUDForum. Page generated in 0.03261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top