I've been wrestling with this for quite some time. I have a webapp (jasperserver) that i've successfully uploaded to my tomcat6 server. Here it is:
root@ip-172-31-46-109:/var/lib/tomcat6/logs# cd /var/lib/tomcat6
root@ip-172-31-46-109:/var/lib/tomcat6# ls
common conf logs server shared webapps work
root@ip-172-31-46-109:/var/lib/tomcat6# cd webapps
root@ip-172-31-46-109:/var/lib/tomcat6/webapps# ls
jasperserver jasperserver.war ROOT
root@ip-172-31-46-109:/var/lib/tomcat6/webapps# cd jasperserver
root@ip-172-31-46-109:/var/lib/tomcat6/webapps/jasperserver# ls
blank.htm cal errorPage.htm index.htm j jasperreports-flash-5.0.1.swf jpivot META-INF scripts themes wcf WEB-INF
I know tomcat6 is working because when i go to http://localhost:8080
I can see the tomcat6 default index. However, http://localhost:8080/jasperserver/
is displaying a 404!!
It seems like i've done everything right here...does anyone have any ideas? Thanks!
Thats the problem with the tomcat server. The solution is to delete the ROOT folder and rename your jasperserver app folder to ROOT, restart the tomcat server and then see what happens. It should work fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.