Mongrel cluster not starting with JRuby 1.0.1

With a blocking bug on Windows for JRuby 1.0.1/Mongrel (1141), I’m
trying this setup on Solaris i386. After multiple tries and googling on
forums, I’m not able to configure a Mongrel cluster on my Solaris
machine. I’m able to start Mongrel correctly though. Here is the error
that I’m getting:

– cut here –
/home/arung/testbed/jruby-1.0.1/samples/rails/hello 1902 $
…/…/…/bin/jruby -S mongrel_rail>
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8000
mongrel_rails: require: not found
mongrel_rails: version: not found
mongrel_rails: syntax error at line 11: `_’ unexpected

starting port 8001
mongrel_rails: require: not found
mongrel_rails: version: not found
mongrel_rails: syntax error at line 11: `_’ unexpected

starting port 8002
mongrel_rails: require: not found
mongrel_rails: version: not found
mongrel_rails: syntax error at line 11: `_’ unexpected
– cut here –

The cluster configuration file looks like:


cwd: /home/arung/testbed/jruby-1.0.1/samples/rails/hello
environment: production
log_file: log/mongrel.log
port: !str 8000
pid_file: tmp/pids/mongrel.pid
servers: 3

I’ve tried with and without cwd.

Any suggestions ?

Is there a clear set of instructions that is expected to work every time
?

-Arun

Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

On 10/9/07, Arun G. [email protected] wrote:

With a blocking bug on Windows for JRuby 1.0.1/Mongrel (1141), I’m
trying this setup on Solaris i386. After multiple tries and googling on
forums, I’m not able to configure a Mongrel cluster on my Solaris
machine. I’m able to start Mongrel correctly though. Here is the error
that I’m getting:

mongrel_cluster doesn’t work with JRuby, try mongrel_jcluster instead:

http://jxh.bingodisk.com/bingo/public/Hackdays/JRuby/

/Nick


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email