Sorry to hear about that. There are a number of different ways to run
Java apps on Heroku. But no matter how you do it one core goal is to
maintain consistency between how you run locally and how you run on
Heroku. So the first step I'd recommend is to get your app running
locally the same way it will run on Heroku. If you want to use embedded
Jetty on Heroku, then use embedded Jetty locally as well. That should
help you identify errors before you deploy.
If you'd like to use Tomcat then I'd recommend using webapp-runner:
https://devcenter.heroku.com/articles/java-webapp-runner
If you want to stick with Jetty then maybe you just need to enable JSP
support in embedded Jetty:
http://stackoverflow.com/questions/4235082/configuring-jetty-jsp-support-in-embedded-mode-in-maven-project
But either way, make sure you are running the app the same way in both
environments.
Hope that helps.
-James
On 08/08/2012 11:09 AM, bytor99999 wrote:
So I have been wasting a good two weeks just trying to get my app
working in Heroku. I have a war file that has my web app and if I deploy
onto Tomcat locally it all works perfectly. I try on Heroku and no JSPs
are rendered. so includes just show up as the include command raw
string, and never includes the jsp page I am including in the jsp page.
This has been very frustrating and all the tutorials posted make it
sound so simple. But nothing that really goes into actual details
explaining everything. I just tried one tutorial, which I have high
hopes for, but I am getting an error now. Here is the blog post I am
folllowing http://deors.wordpress.com/2012/06/05/heroku-first-steps/
Here is a link to my app deployed and if you look at the top, you will
see my problem.
http://eventgate.herokuapp.com/
And I have searched for two weeks and cannot find a solution. Even if I
post to Heroku support, I am not getting any help.
Please help. I am losing my hair.
Mark
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en