Inline-Java - Multiple Threads, Tomcat

Posted on Tue Aug 22 20:11:41 2006 by perlguy99
Multiple Threads, Tomcat

Hi,

I've been working on a Java interface into a large Bio::Perl application. I know about Bio::Java, but we are integrating existing company code, so that isn't an option.

We are running under Tomcat, and have found a way to make things work, but it is probably not as effecient as it could be.

Ideally, we would like to start a single PerlInterpreter and for each new thread that we spawn off have it refer back to the PerlInterpreter that we started already to create new Perl objects.

The problem we hit is the different threads complaining about not being created by the original thread that we started.

Does anyone have any other experiences or tips that may help us in this quest?

Thanks!

Brent

Write a response