Cannot deploy grails war in Tomcat 7 and Ubuntu - 404 error -
i've create simple grails 3 application test issue deploying tomcat on ubuntu server (digital ocean).
to create app :
grails create-app test
to ensure tomcat not embedded in deployed war :
provided "org.springframework.boot:spring-boot-starter-tomcat"
to create war
grails war
i'm uploading , deploying war using tomcat application manager.
the app manager reports application deployed.
catalina.out reports finding app , explodes war.
however, visiting http://ipaddress:8080/test
results in 404
i've deployed sample war file (from tomcat 6) , sample app deploys without issue , can access on http://ipaddress:8080/sample
so difference between grails (3) war , more typical war.
deploying test war/app works on local installation of tomcat (mac os) not on ubuntu server.
i've seen number of similar problems on issue none have provided working solution.
one thing notice don't see (that in local environment) h2 database : proddb.h2.db
my guess startup failing can't find logs detailing errors...
any ideas?
Comments
Post a Comment