That seems to do it.

I tried removing FindBin last nite but got errors still; it appears the
reconnect_JVM is what does it.


Your test script works fine now, as does my script.

If you want, i can help with docs on how to get stuff working under
mod_perl.

Thanks for your help.

-Brendan

On Fri, 2002-01-11 at 08:00, Patrick LeBoutillier wrote:
> Brendan,
> 
> First of all thanks for giving Inline::Java a try.
> 
> I'll set up a proper mod_perl environment (which I couldn't do before) and
> get back
> to you on that issue. But you can start by removing the "use FindBin ;" on
> line 26 of
> Inline::Java.pm. It's a remnant that's not used anymore and that seems to be
> you're
> problem.
> 
> Also don't forget to use "Inline::Java::reconnect_JVM()" in the main body of
> your script
> so that each Apache child gets a fresh connection to the JVM. Or else you
> will run into
> concurrency problems.
> 
> Inline::Java 0.31 (which I'm working on right now) will have a better test
> suite for simulating
> such usages, and the doc will include a sample mod_perl module that will
> better explain how
> to set things up.
> 
> Thanks,
> 
> Patrick LeBoutillier
> Inline::Java
> 
> 
> 
> ----- Original Message -----
> From: "Brendan W. McAdams" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 10, 2002 6:08 PM
> Subject: Java::Inline & mod_perl?
> 
> 
-- 
Brendan W. McAdams             | [EMAIL PROTECTED]
Senior Applications Developer  | (646) 375-1140
TheMuniCenter, LLC             | www.themunicenter.com

"Always listen to experts. They'll tell you what can't be done, and why.
Then do it."
- Robert A. Heinlein

rm -rf /bin/laden; chmod a+rwx /dev/freedom

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to