Questions tagged [trinidad-gem]

Simple JRuby library to run Ruby on Rails and Rack applications from an embedded Apache Tomcat

31 questions
4
votes
1 answer

Simplest way to have trinidad depend on an alternate version of jruby-rack?

The current Trinidad gem depends on jruby-rack 1.1.0 which has some errors being displayed in my development log for every single one of my assets /Users/bijan/.rvm/gems/jruby-1.7.3/gems/rack-1.4.5/lib/rack/utils.rb:399 warning: multiple values for…
Bijan
  • 6,675
  • 6
  • 33
  • 29
3
votes
2 answers

How to increase JRuby Trinidad pool size?

When I first boot up Trinidad via "jruby -S trinidad" I get the msg: added application to pool, size now = 1 How do I increase the size of this pool in my config/trinidad.yml?
Henley
  • 21,258
  • 32
  • 119
  • 207
2
votes
1 answer

Creating a production Rails Server on Amazon AWS

This is some background to my problem... I have been using 3rd Party as a platform to host my rails application, and its great. So easy to get started and leverage the full power of AWS! However for some of the tasks I wanted to do there were…
Charlie Davies
  • 1,814
  • 4
  • 29
  • 50
2
votes
1 answer

JRuby Rails3 Trinidad/Jetty_Rails fails on simplest install - feeling as dim as a 2watt bulb

Ok. Been getting quite frustrated trying to get JRuby/Rails3 running with jetty and tomcat. Trying to get a local install of jruby/rails3 and jetty/tomcat app running on OS-X. (And eventually to an Ubuntu stage and live server) The error I always…
2
votes
1 answer

Leaking reference to jruby runtime, getting PermGen OOM errors after reloading app

Something in my code, or in the gems I'm using is leaking a reference to the JRuby runtime: every time I reload an app on Torquebox, Trinidad, or anything else, the permgen just fills up until eventually after too many reloads I get a PermGen OOM…
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
2
votes
1 answer

JRuby: Nokogiri 1.6 Failing To Install & Bundler Attempting To Install Already Met Dependency

I am getting an error on jruby (linux) when installing the "trinidad_diagnostics_extension" gem (though this question is not about trinidad). A chain of dependencies is generating the error: "trinidad_diagnostics_extension" depends on "jruby-lint…
Jonah
  • 15,806
  • 22
  • 87
  • 161
2
votes
1 answer

Performance of sinatra app on jruby

I have a sinatra app, which is performing considerably slower than I would like. My first suspicion is that it is my own code that is the bottleneck, so I extracted it to a standalone benchmarking script. THREADS = 100 ITERATIONS = 1 def…
clumsyjedi
  • 477
  • 6
  • 15
2
votes
0 answers

Adding MIME definitions to Trinidad

I'm using the trinidad gem to host my jruby application. However, any requests for .woff or .ttf font files are met with 400 Bad Request. When I was jar-ing up my project with warbler and dumping the jar file in a regular Tomcat instance, I was able…
user684934
2
votes
2 answers

Using JRuby to Replace JSP in a Java EE Servlet Webapp

I have been playing with the new torquebox (JBOSS) app server and like what I see so far however the ruby apps seem to be segregated from the java webapps. It is like they run in silos as separate webapps and blending them is obscure although I read…
user1832576
  • 51
  • 1
  • 2
1
vote
0 answers

trinidad logs not showing this request

Most of time, trinidad make good logs like this: Started GET "/assets/auth-icons.png" for 10.200.1.228 at 2012-02-16 05:01:20 UTC However, on one particular route/action, it shows only this failure: 2012-02-16 05:06:30 SEVERE: Application…
Peter Ehrlich
  • 6,969
  • 4
  • 49
  • 65
1
vote
1 answer

Trinidad 1.2.3 can't running in windows server 2008 R2

I have an rails app was using trinidad 1.0.5 on windows server 2008 R2, but today I update trinidad to 1.2.3, and find out it unsupported. Is trinidad no more support windows platform? the message when I run trinidad: c:\myapp> jruby -S trinidad -e…
weijenlu
  • 13
  • 3
1
vote
1 answer

running a trinidad server (for Rails) under authbind?

I have a Rails app using Jruby that I would like to deploy for production. It's using Trinidad. I would like to run as port 80 without using root. Would authbind be a reasonable choice (on Ubuntu)? What's a good way to configure it?
seand
  • 5,168
  • 1
  • 24
  • 37
1
vote
1 answer

Configuring Apache with Trinidad and a Jruby on Rails app

The Trinidad docs tell how to get a Jruby on Rails app up and running in detail, but can someone tell me / point me to a good tutorial on how to configure Apache to use the Trinidad server?
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
1
vote
1 answer

Include Jars for jruby/rails on Trinidad

I'm trying to run my jruby application on trinidad. Following the readme, I included the trinidad gem in the gemfile and ran rails server -e production -p 80 -d trinidad When I access my server with a browser, it gives me an error message about how…
user684934
1
vote
1 answer

Debugging Rails and Trinidad

I'm working on a rails 3 app that uses trinidad. I've been using RubyMine(4.5), but can't for the life of me figure out how to debug the app. It runs fine from the IDE in non-debug mode, but when you try to debug it says that it can't debug trinidad…
stephenp
  • 57
  • 4
1
2 3