31 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
91
views
RackInitializationException: exit error when deploying JRuby (9.4.8.0) WAR in Tomcat 9 | Jruby-Rack 1.2.2
I am encountering an issue when deploying a JRuby (9.4.8.0) WAR file in Tomcat (9.0.58.0). During initialization, the deployment fails with a RackInitializationException and an exit call in the ...
1
vote
1
answer
614
views
Debug JRuby rack runtime error in tomcat
We recently upgraded an old rails app from rails 3 to 4.2, along with many other gem updates. Now I can't get my rails app to load any pages. We were on JRuby 9.1.0.0 but upgraded to 9.1.8.0. However, ...
2
votes
1
answer
140
views
How to deploy multiple instances of same Rails application in same tomcat
We'd like to deploy multiple instances of the same Rails application within a single Tomcat container using jruby-rack.
The first instance comes up fine, but the second one fails:
INFO: Deploying ...
0
votes
1
answer
829
views
Failed to deploy sinatra web app to weblogic 12
I have the same situation as in
Failed to deploy rails app to weblogic ....
but in example "Hello world" in Sinatra. Weblogic 12. Modified weblogic.xml does not help me :(
####<Oct 9, 2014 12:24:...
1
vote
1
answer
96
views
Sessions not working in Sinatra app when packaged with warbler
I've created a simple sinatra app, but can't get sessions to work when running it as an executable war.
I've verified that it works when run via "jruby -S rackup", but when run with "java -jar myapp....
3
votes
1
answer
410
views
deploying ruby + sinatra app on google appengine
I am trying to deploy a ruby + sinatra app in google appengine. The deployment process with appengine-java-sdk-1.8.4 seems to end ok but when I access the application url I get this error:
org.jruby....
0
votes
1
answer
295
views
jruby runtimes and tomcat
We are running a jruby/rails app under tomcat, and can not immediately make the shift to threadsafe due to some of the components we are using. In the interim we plan to set jruby.runtime.min and ...
4
votes
1
answer
295
views
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/...
2
votes
1
answer
847
views
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 ...
0
votes
1
answer
538
views
How to configure custom servlet in Jruby-rack?
According to Jruby-Rack Github, we can configure to use org.jruby.rack.RackServlet instead of context listener.
Can we use another custom servlet rather than RackServlet? Or can we override org.jruby....
0
votes
2
answers
1k
views
What is the preferred way to run Sinatra application?
EDIT: I got the application working using TorqueBox, so I guess the problem is related to Trinidad. However, I think my guestion about the preferred way to run Sinatra applications is still valid.
I ...
0
votes
1
answer
418
views
Multiple war web applications in ear with JRuby rack
I'm trying to pack two JRuby Sinatra web apps (runtime 1.9) bundled with warbler into an ear file. After deploying in glassfish (2.1.1 or 3.1) I have a crash.
JRuby.jar, jruby-stdlib.jar and jruby-...
0
votes
0
answers
142
views
Dependency Issues Running a JRuby Thread
I'm running on JRuby 1.6.7 with Rails 3.0.2. I have a few methods that call REST services.
It would be nice to execute them concurrently, so instead of each one taking 2 seconds to return totaling 6 ...
0
votes
1
answer
389
views
Building .war with JRuby and warbler
I have been trying for hours to get a JRuby Rails application packaged as a war that actually works, without success... (JRuby 1.6.7, warbler 1.3.5, Rails 3.2.2)
Issue #1: Warbler seems to like to ...
0
votes
1
answer
665
views
Padrino & Trinidad undefined method `register' for Rack::Handler:Module
Trying to run a sample_blog application Padrino framework based application on Trinidad throws weird error
undefined method `register' for Rack::Handler:Module
Using:
trinidad-1.3.4
jruby-rack-1.1....