logo       

Re: [jruby-user] Multiple applications on tomcat problem: msg#00164

lang.jruby.user

Subject: Re: [jruby-user] Multiple applications on tomcat problem

Paweł Wielgus wrote:
Hello jruby users,
i'm using jruby inside my java apps, these apps run inside tomcat. In
production environement each app has it's own machine - server. And
everything work's ok.

More interesting thing is that on testing environement where all my
apps are on one machine and on one tomcat there is always the same
scenario:
i run jruby script on a app A - it works, then i can run as many
scipts as i like on app A. But when i will try to run non-trivial
sript on app B it always throw an exception:
javax.script.ScriptException: org.jruby.exceptions.RaiseException
You could say that simply my sript on app B is bad, but it's not -
when i kill tomcat and start this scenario with app B and it's script,
it works ok.

Judging by the stack trace, you're getting an error because a method is missing somewhere. If you can unwrap the RaiseException and getException from it, you should be able to get a Ruby backtrace saying where in your app it's happening.

Can you tell us a bit more about the app in question?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise