Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2
This is the forum to discuss the Wrox book Beginning Spring Framework 2 by Thomas Van de Velde, Bruce Snyder, Christian Dupuis, Sing Li, Anne Horton, Naveen Balani; ISBN: 9780470101612
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 7th, 2009, 12:51 PM
Registered User
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The base page in Appendix C has a problem

Hi I did everything in the Appendix C shuch us mvn package –Dmaven.test.skip=true (include also the extra details from the thread about the problem in the parent pom)and create in the target directory the file pixweb-0.0.1.war.Then I copy the file into the webapps directory of my Tomcat server directory and then I running tomcat using startup.
The page http://localhost:8080/pixweb-0.0.1/albums.htm displays
HTTP Status 404 -

type Status report
message
description The requested resource () is not available.

Thanks in advance thrylos97
 
Old August 24th, 2009, 04:05 AM
Authorized User
 
Join Date: Aug 2009
Location: Everett, WA
Posts: 10
Thanks: 3
Thanked 3 Times in 3 Posts
Smile The base page in Appendix C has a problem

I know that you posted a while ago and am sure that you found an answer to your problem but I will give you my answer anyway, i guess it can't hurt. change http://localhost:8080/pixweb-0.0.1/albums.htm to http://localhost/pixweb-0.0.1/albums.htm and this should work. For many versions, Tomcat came configured to use port 8080 to listen for http requests. A common practice especially for "production" servers was to change this to port 80, the standard port to listen for http requests. I had learned quite a while ago to make this change whenever I upgraded to a new version of Tomcat. I recently downloaded a version 6.0.20 and when I initially tried the first request with port 8080, I received the same result. I looked in the server.xml file in the conf directory and searched for 8080 and realized that it was set for port 80. If it is port 80 you do not need to have a port number in your address. I hope this helps.

EverettG




Similar Threads
Thread Thread Starter Forum Replies Last Post
Base Page and Master Pages Will BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 14 January 22nd, 2010 05:04 PM
Child Page Problem with Handles My.Base Load bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 4th, 2004 09:30 AM
Page Base Load event order frayed_edge BOOK: ASP.NET Website Programming Problem-Design-Solution 3 March 4th, 2004 08:37 AM
Page_Load override with base page class nebrown1 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 August 31st, 2003 04:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.