Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread bytor99999
OK, looks like I lost a post. I got it back to working locally on Tomcat, I had to change my web app context to /eventgate rather than root context "/" Took many hours, I am now bald. (Not Really) So I now have a war file deploy on local Tomcat. Now to move to the next step. But I think I have

Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread James Ward
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 w

Re: hyper_table and wkhtmltopdf issue

2012-08-08 Thread Richard Schneeman
How does this work? You only connect and use hyper table when your RAILS_ENV is set to "hypertable" ? -- Richard Schneeman http://heroku.com @schneems (http://twitter.com/schneems) On Wednesday, August 8, 2012 at 1:59 PM, Ravindra Kanchikare wrote: > Hi Richard, > > Thanks for the reply

Re: hyper_table and wkhtmltopdf issue

2012-08-08 Thread Ravindra Kanchikare
Hi Richard, Thanks for the reply. i have a scenario ware i am using a mysql along with hypertable my database.yml file in development environment look like this development: adapter: mysql encoding: utf8 reconnect: false database: X_development pool: 5 username: root pas

Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread Mike Abner
Does it work locally on jetty? Mike On Wednesday, August 8, 2012 at 11:16 AM, bytor9 wrote: > Also to point out. This works perfectly deployed locally in Tomcat. (not > embedded Tomcat) > > So the issue is with Heroku running Jetty embedded. > > Mark > > > > -- > You received this

Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread bytor99999
Also to point out. This works perfectly deployed locally in Tomcat. (not embedded Tomcat) So the issue is with Heroku running Jetty embedded. Mark > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email t

Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread bytor99999
Thanks for replying. No I that runs too late. The includes have to include the exact contents of my other jsp pages, as my app is a single page app. It has to to include the exact text in the file, not the included file rendered then included. Rendering the jsp then including it is what does?

Re: Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread Jeff Schmitz
Sorry really don't know the first thing about this, but Have you tried changing from JSP include directive to element? Just googled, saw that, and it looked interesting - that the contents are copied when executing, not when translated. jeff On Wed, Aug 8, 2012 at 12:09 PM, bytor9 w

Real world example for deploying a JSP Java web app on Heroku

2012-08-08 Thread bytor99999
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

Re: New Postgress Plans

2012-08-08 Thread Neil Middleton
As everything is a VM on EC2, I'm not sure it being a 1 to 1 relationship with an EC2 instance makes much difference. However, saying this, only Crane upwards are described as 'production' databases, which brings with it all the things that production stuff brings (for instance, priority over t

Re: Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.ImproperlyConfigured: You need to specify NAME i

2012-08-08 Thread Kenneth Reitz
This means that Django doesn't have a database name configured. The dj_database_url module gets all of the configuration information from an environment variable called DATABASE_URL. You need to make sure that it is set properly. You can check by running the following: $ heroku config On Mond

Re: hyper_table and wkhtmltopdf issue

2012-08-08 Thread Richard Schneeman
You can set the DATABASE_URL in your config variables on Heroku to point at your hyper table database hosted anywhere else in the world. -- Richard Schneeman http://heroku.com @schneems Sent from the road On Wednesday, August 8, 2012 at 6:16 AM, Ravindra Kanchikare wrote: > I have built a

hyper_table and wkhtmltopdf issue

2012-08-08 Thread Ravindra Kanchikare
I have built a rails3 application which uses hyper_table gem http://code.google.com/p/hypertable/wiki/HyperRecord. This gem needs a entry in database.yml as shown bellow Host is currently hosted in rackspace. since heroku deployment over writes our configuration we are not able to connect