Is it possible to use Trinidad with an alternate Tomcat runtime?

27 views
Skip to first unread message

Mark Thomas

unread,
Jan 13, 2012, 9:07:05 AM1/13/12
to Rails Trinidad
I'm not very familiar with how Trinidad works, but would like to
investigate the possibility of using it with an alternate Tomcat
runtime, such as Springsource TC Server (which is basically
SpringSource's compile of the standard Apache Tomcat (6 or 7)). Is
this possible? I'd like to achieve a warbler-less deployment.

David Calavera

unread,
Jan 13, 2012, 1:25:04 PM1/13/12
to rails-t...@googlegroups.com
Hi Mark,

there is a direct way to do that. In most of the cases the tomcat version is irrelevant if it works :) It shouldn't be really hard to make it tomcat's dependency aware.

The Tomcat's required packages live in another gem called trinidad_jars, it's basically the embedded distribution packed into a gem, it's loaded here:


The "gem" method accepts a second parameter where the version can be specified, if it's empty it assumes the most recent one.

If you want to build your own version of the trinidad_jars gem there is a script to build it:


That can be invoked with:

rake tomcat:update[VERSION_NUMBER]

It packages everything into a jar called tomcat-core, jruby loads faster one only jar than three, and then you can change the version number here:


and run the rake task:

rake trinidad_jars:build


2012/1/13 Mark Thomas <mark.66...@gmail.com>

--
Has recibido este mensaje porque estás suscrito al grupo "Rails Trinidad" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a rails-t...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a rails-trinida...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/rails-trinidad?hl=es.


Reply all
Reply to author
Forward
0 new messages