简体   繁体   English

Tomcat6 WebApp未部署在Amazon Ec2上

[英]Tomcat6 webapp not deploying on amazon Ec2

I've been wrestling with this for quite some time. 我已经为此花了很长时间了。 I have a webapp (jasperserver) that i've successfully uploaded to my tomcat6 server. 我有一个已成功上传到我的tomcat6服务器的webapp(jasperserver)。 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. 我知道tomcat6正在工作,因为当我转到http://localhost:8080我可以看到tomcat6默认索引。 However, http://localhost:8080/jasperserver/ is displaying a 404!! 但是, http://localhost:8080/jasperserver/显示404!

It seems like i've done everything right here...does anyone have any ideas? 好像我已经在这里做了所有事情...有人有任何想法吗? Thanks! 谢谢!

Thats the problem with the tomcat server. 那就是tomcat服务器的问题。 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. 解决方案是删除ROOT文件夹,并将jasperserver应用程序文件夹重命名为ROOT,重新启动tomcat服务器,然后查看会发生什么情况。 It should work fine. 它应该工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM