Tomcat and the dreaded r14 error?

2013-10-07 Thread Jimmy Johnson
eat if someone could shed some light. Thanks, Jimmy www.kagubuzz.com -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at

Re: Is Websockets support coming?

2013-10-07 Thread Jimmy Johnson
Another vote for Java/Tomcat websocket support. Thanks. Jimmy www.kagubuzz.com On Sunday, February 17, 2013 8:54:58 AM UTC-8, Matt Zimmerman wrote: > > It is a feature which we recognize is desirable for customers, and we've > implemented a proof of concept for how we'd

Re: Issues with diacritics

2011-01-24 Thread Jimmy Thrasher
) you can see http://www.joelonsoftware.com/articles/Unicode.html Hope that helps, Jimmy On Sun, Jan 23, 2011 at 10:38 PM, Chris F. wrote: > Hello, > > I have an application running on Heroku bamboo-ree-1.8.7 that uses a > Solr index. Whenever searches with any diacritics are submitted, t

Re: sinatra + Rack::Session::Pool appears to fail when using 2 dynos

2011-01-19 Thread Jimmy Thrasher
This blurb should get you going: http://docs.heroku.com/memcache#using-from-sinatra Jimmy On Wed, Jan 19, 2011 at 5:57 PM, GarethLAtWork wrote: > > I guess the Rack::Session::Pool memory isn't shared across dynos. > > Now I'm looking at using Rack::Session::Memcache in

Re: Block On File Upload

2011-01-16 Thread Jimmy Thrasher
the Heroku docs.. They explain it much better than I could. Hope that helps, Jimmy On Jan 15, 2011, at 7:47 PM, John Maxwell wrote: > So the dyno then reroutes requests back to Nginx? really? > -- > You received this message because you are subscribed to the Google Groups > "

Re: Block On File Upload

2011-01-15 Thread Jimmy Thrasher
I think it's more precise to say that a dyno is a thin+rack combo, so the dyno *is* the web server receiving the request. Jimmy On Jan 15, 2011, at 2:54 PM, John Maxwell wrote: > So an upload to your app on heroku blocks the whole dyno whilst it is > uploading? Surely that isn&#

Re: Block On File Upload

2011-01-13 Thread Jimmy Thrasher
ibed here: http://aws.amazon.com/articles/1434?_encoding=UTF8&jiveRedirect=1 You basically create a signed URL with an expiration date which allows a user to upload to a bucket you have rights to. There are third party utilities, often written in Flash, to help you accomplish this. Hope that he

Re: Don't know how to build task jobs:work

2010-12-22 Thread Jimmy Thrasher
how that is working? > Not sure. As I mentioned earlier, I don't know if there's something special about Rails plugins.. I'd imagine there is. If sucker is set up as a plugin and DJ isn't, that's a potential reason. Jimmy -- +1-919-627-7546 -- You received this m

Re: Varnish + ETag + Cache-Control

2010-12-21 Thread Jimmy Thrasher
D'oh, I mean If-None-Match, of course. On Tue, Dec 21, 2010 at 3:58 PM, Jimmy Thrasher wrote: > Hi folks, > > I couldn't find this anywhere and before I experiment I thought I'd ask > here: If a resource is being cached by Varnish (because of Cache-Control or > the

Varnish + ETag + Cache-Control

2010-12-21 Thread Jimmy Thrasher
Hi folks, I couldn't find this anywhere and before I experiment I thought I'd ask here: If a resource is being cached by Varnish (because of Cache-Control or the like) does Varnish honor a "If-None-Modified: " header by returning a 304 in the right circumstances? Thanks, J

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
available when it runs. Just as a review: - Add to Gemfile - Run 'bundle install' - Check in Gemfile* Jimmy On Tue, Dec 21, 2010 at 3:25 PM, Anand Ramanathan wrote: > Thanks, Jimmy. Are you on rails 3? I have never unpacked gems before: I > have added gems to gemfile, or plugin

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
On Tue, Dec 21, 2010 at 3:10 PM, Anand Ramanathan wrote: > I have delayed_job in vendor/plugins - is that sufficient? I don't know the ins and outs of Rails plugins, but I have delayed_job unpacked in vendor/gems and defined in config/environment.rb, and it all works fine for me

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
Do you have delayed_job in vendor/gems or in your .gems file? Jimmy On Tue, Dec 21, 2010 at 3:01 PM, Anand Ramanathan wrote: > Hi, > > I have a rails app that was working fine till a while ago. I recently > upgraded to rails 3 and updated my code accordingly. My code includes call

Re: Just curious: does 'heroku restart' reinstall gems?

2010-12-16 Thread Jimmy Thrasher
No, reinstallation happens after you push something (thus causing a slug compilation). Heroku restart just restarts your dyno(s). Jimmy On Thu, Dec 16, 2010 at 3:01 PM, GarethLAtWork wrote: > Just curious: does 'heroku restart' reinstall gems? > > (I'm still using

Re: run Thor tasks instead of Rake on heroku

2010-12-13 Thread Jimmy Thrasher
You could: - create a Rake task to wrap them - write a wrapper script to call 'heroku console " which is like script/runner Just some ideas.. I've never used Thor before. Jimmy On Mon, Dec 13, 2010 at 11:04 AM, JDeville wrote: > Can I run thor tasks, instead of rak

Re: Let user download a file from tmp folder

2010-12-13 Thread Jimmy Thrasher
ter off with the other two ideas, just for simplicity. One last idea that would work in production would be to use a 3rd party storage setup, like S3. Quite simple to use, and very very cheap (I regularly receive AWS bills of around $0.04 US. Hope that helps, Jimmy -- +1-919-627-7546 -- You r

Re: Let user download a file from tmp folder

2010-12-13 Thread Jimmy Thrasher
me so far. I also use it to store files rendered in a Delayed::Job for the purpose of uploading to S3. Jimmy On Dec 13, 2010, at 5:18 AM, Petros Amiridis wrote: > The documentation says you can temporarily save a file in tmp. Is it > possible to let the end user of the app downloa

Can't seem to install the Taps gem

2010-12-10 Thread Jimmy
I'm trying to use Heroku's Taps gem to get my database from their server. When I run $heroku db:pull it says I need to install the Taps gem using the command: sudo gem install taps I run this command, and as expected, Taps says it has installed ("1 gem installed"). I'm able to run the Gem update

Re: Multiple Custom Domain SSL

2010-12-09 Thread Jimmy Thrasher
e frontend. Only problem I can see with it is lag, so it depends a lot on what your application is and how lag would be perceived by users. In our case we try to make as much of the background communication asynchronous as possible so users don't notice. Jimmy On Wed, Dec 8, 2010 at 5:34 PM, Ru

Re: http basic auth

2010-11-04 Thread Jimmy Thrasher
;s an example for Sinatra: http://stackoverflow.com/questions/3479737 Rails has a built-in authenticate_with_http_basic and a couple other methods. Jimmy On Thu, Nov 4, 2010 at 9:09 PM, Brandon Casci wrote: > Anyone know if basic http auth supported on Heroku? > > I don't get the log

Re: SOLVED: Has anyone got pony working with gmail on heroku?

2010-10-28 Thread Jimmy
The example below works, it now uses via options instead of smtp, also the body is now included, if some one out there is wondering what ENV['TO_EMAIL'] is. These are environment variables that are easily setup locally and on heroku. Its all explained here http://docs.heroku.com/config-vars Pony

Re: SOLVED: Has anyone got pony working with gmail on heroku?

2010-10-28 Thread Jimmy
Just to follow up this is working, but doesn't include a 'body', and the' from' will always be your gmail. I'll post another example shortly. Cheers, James -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@go

Re: Has anyone got pony working with gmail on heroku?

2010-10-28 Thread Jimmy
@ morgoth Is mail gem easier to install than pony? Pony seemed like a good option as it was on the sinatrarb site, and since it was written by Adam at Heroku, I was hoping for an easy install. On Oct 28, 10:45 am, morgoth wrote: > You can also use mail gem. > > You can find my configuration of

Re: Has anyone got pony working with gmail on heroku?

2010-10-28 Thread Jimmy
. Cheers, James On Oct 27, 8:32 am, Pedro Del Gallego wrote: > 2010/10/26 Jimmy : > > > Pony works locally, but on heroku I get the following: > > It's working fine for me.  Have you declared the gem "smtp_tls" in > your .gems file? > > Here you h

Re: Heroku down time today, about 30 minutes total

2010-10-27 Thread Jimmy Thrasher
I'd be curious to find out what the actual uptime percentage is, and what it would cost you to maintain that on a different platform with comparable services. :) Jimmy On Wed, Oct 27, 2010 at 9:55 AM, JDeville wrote: > Al, I'm afraid Heroku's had a fair bit of downtime

SOLVED: Has anyone got pony working with gmail on heroku?

2010-10-27 Thread Jimmy
:password => ENV['GMAIL_PASSWORD'], :authentication => :plain, # :plain, :login, :cram_md5, no auth by default :domain => "wavesummit.com" # the HELO domain provided by the client to the serv

Has anyone got pony working with gmail on heroku?

2010-10-26 Thread Jimmy
Pony works locally, but on heroku I get the following: 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/ spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/ spool/exim4/input//1PAW8q-0006J3-Qr-D: Permi

Re: Pushing a Rails app without the rails gem.

2010-10-18 Thread Jimmy Thrasher
I'm not sure about this, but you could try setting up a config.ru file to manually start up your Rails app. My suspicion is that it's failing to find config.ru, auto-detecting a Rails app, and not finding all the gems. Just some thoughts.. maybe you've already done all that. :)

Re: Pushing a non-master local branch to Heroku

2010-10-15 Thread Jimmy Thrasher
aster to be something and might cause wonkiness in your local repository later on down the road. Of course, it's fine if later on you do 'git push -f heroku master' (which is the same as 'git push -f heroku master:master'). Just be sure you understand everything that'