Re: Java Inline print stack trace

2010-03-31 Thread Michael Peters
somewhere else deep in the method calls). It's a best practice to assign $@ to something else if you're going to do more than just casually inspect it. if( my $e = $@ ) { ... } -- Michael Peters Plus Three, LP

Re: Testing internals of XS module with Inline::C

2009-03-02 Thread Michael Peters
normal perl test. You might need a newer version of Test::Harness, etc but other folks are doing just that. -- Michael Peters Plus Three, LP

Re: First post and doubts

2008-11-12 Thread Michael Peters
f a build (Makefile.PL or Build.PL). -- Michael Peters Plus Three, LP

Re: Wrapping Inline::Java elegantly?

2008-10-10 Thread Michael Peters
take the list that you want and pass it to Inline::Java's import() sub. Something like this: package BOB; use Inline::Java; sub import { my $class = shift; Inline::Java->import(@_); } -- Michael Peters Plus Three, LP

patch for Inline::Java, more info about mod_perl

2008-09-09 Thread Michael Peters
B handles under mod_perl. So here's a patch to the documentation to help others who might have this same problem: -- Michael Peters Plus Three, LP --- Java.pod.orig 2008-09-09 16:21:59.0 -0400 +++ Java.pod2008-09-09 16:30:10.0 -0400 @@ -1046,7 +1046,28 @@

Re: Inline::Java jvm concepts

2006-09-19 Thread Michael Peters
make every connection private. I'll try setting this environment variable and let you know how it works. Thanks. -- Michael Peters Developer Plus Three, LP

Inline::Java jvm concepts

2006-09-14 Thread Michael Peters
10.103.40.41.10.109.101.116.104.111.100.32.105.110.115.116.97.110.99.101.32.99.111.109.46.105.98.109.46.97.115.52.48.48.46.97.99.99.101.115.115.46.65.83.52.48.48.74.68.66.67.67.111.110.110.101.99.116.105.111.110.72.97.110.100.108.101.32.115.101.116.82.101.97.100.79.110.108.121.40.98.111.111.108.101.97.110.41.10.109.101.116.104.111.10! Any thoughts? Thanks. -- Michael Peters Developer Plus Three, LP

Re: Having trouble with AUTOSTUDY

2006-01-06 Thread Michael Peters
va object that returned a 'com.ib.client.Contract' object, AUTOSTUDY could kick in and create a corresponding 'com::ib::client::Contract' Perl class. Make sense? -- Michael Peters Developer Plus Three, LP

Re: Walking a Javascript website

2005-11-23 Thread Michael Peters
cript would send (which in this case doesn't look like anything too difficult). http://livehttpheaders.mozdev.org/ -- Michael Peters Developer Plus Three, LP

mod_perl, Inline::Java JNI hanging

2005-10-11 Thread Michael Peters
using the separate running SHARED_JVM. Has anyone else used JNI under mod_perl? -- Michael Peters Developer Plus Three, LP

Inline::Java mod_perl error messages on DESTROY

2005-10-11 Thread Michael Peters
7;t get shutdown all that often, but in QA and development its pretty regular and 800K is a lot of junk. Any ideas as to what's happening? Thanks. -- Michael Peters Developer Plus Three, LP

Re: Inline::Java broken pipe recovery from mod_perl

2005-10-11 Thread Michael Peters
ugh to warrant another email thread. Thanks! -- Michael Peters Developer Plus Three, LP

Re: Inline::Java broken pipe recovery from mod_perl

2005-10-07 Thread Michael Peters
386/client"; warn $ENV{LD_LIBRARY_PATH}; }; And it does warn before the VM error, so it should be set right? Am I missing something? -- Michael Peters Developer Plus Three, LP

Re: Inline::Java broken pipe recovery from mod_perl

2005-10-07 Thread Michael Peters
Ken Williams wrote: > > On Oct 7, 2005, at 9:33 AM, Michael Peters wrote: > >> Michael Peters wrote: >> >>> So I'm looking for ideas for recovery from this (or ideas to fix it in >>> the first place). Should I wrapp all Java calls from perl in an

Re: Inline::Java broken pipe recovery from mod_perl

2005-10-07 Thread Michael Peters
Michael Peters wrote: > So I'm looking for ideas for recovery from this (or ideas to fix it in > the first place). Should I wrapp all Java calls from perl in an eval and > then try and reconnect if I get these kind of errors? Since the list is silent I decided to try my approach

Inline::Java broken pipe recovery from mod_perl

2005-10-06 Thread Michael Peters
gle apache child and each child would have to handle it on it's own. Is there any other way? I'm using Inline::Java 0.50, SHARED_JVM => 1, START_JVM => 0. Thanks, -- Michael Peters Developer Plus Three, LP

Re: Inline::Java lost connection to JVM

2005-09-20 Thread Michael Peters
Patrick LeBoutillier wrote: > Michael, > > On 9/20/05, Michael Peters <[EMAIL PROTECTED]> wrote: > >>Hello all, >> >>I don't know if anyone has any ideas of what might be happening, or >>where to start trouble shooting this, but I thought I'd

Inline::Java lost connection to JVM

2005-09-20 Thread Michael Peters
verytime. But we'd rather not have to do that. Suggestions? -- Michael Peters Developer Plus Three, LP

Re: Java / mod_perl: "package ... does not exist"

2005-07-31 Thread Michael Peters
tween server and client (apologies, I > can't recall exactly what) and "no" to all the options. I've used Inline::Java with mod_perl and it has been working just fine. But I've never used it with JNI under mod_perl so I couldn't tell you if that might be an issue or not. -- Michael Peters Developer Plus Three, LP

Re: Inline::Java, GetObject()

2005-07-19 Thread Michael Peters
ile this wackiness would have cause problems with our Java code, I don't see how it would affect what I::J was doing. Like I said before, this is the first time that I've seen anything like this and it's been running for a couple of months now. I'll keep looking, but it probably won't be a priority until it happens again. -- Michael Peters Developer Plus Three, LP

Re: Inline::Java, GetObject()

2005-07-18 Thread Michael Peters
Michael Peters wrote: > I'll keep poking... I don't know if this is related but I saw this warning right about the failing lines... Normally I don't pay that much attention to warnings about unitialized values, but this seemed strange. Use of uninitialized value in numeric eq

Re: Inline::Java, GetObject()

2005-07-18 Thread Michael Peters
really play around with it like I can my dev box, but it's not happening on my dev box :( I'll keep poking... -- Michael Peters Developer Plus Three, LP

Inline::Java, GetObject()

2005-07-18 Thread Michael Peters
e::Java 0.50 (and Inline::Java::Protocol of the same version). -- Michael Peters Developer Plus Three, LP

Logging Inline::Java under mod_perl

2005-06-10 Thread Michael Peters
I was just wondering what other people are doing to get their Inline::Java code that runs under mod_perl to log errors/info/debug to their apache error log. I have to admit that I'm rather new to Java so I'm just using System.err.println(). -- Michael Peters Developer Plus Three, LP

Re: JVM stale pipe under mod_perl

2005-06-01 Thread Michael Peters
h. As a side note, is 0.50 going to be released sometime soon? -- Michael Peters Developer Plus Three, LP

Re: JVM stale pipe under mod_perl

2005-05-31 Thread Michael Peters
Patrick LeBoutillier wrote: > On 5/31/05, Patrick LeBoutillier <[EMAIL PROTECTED]> wrote: > and what platform/OS are you running on? Linux RHEL 3.0 -- Michael Peters Developer Plus Three, LP

Re: JVM stale pipe under mod_perl

2005-05-31 Thread Michael Peters
Patrick LeBoutillier wrote: > Michael, > > What version of Inline::Java are you using? Sorry, forgot the basic info: Inline::Java 0.49 J2SDK 1.4.2_07 -- Michael Peters Developer Plus Three, LP

JVM stale pipe under mod_perl

2005-05-31 Thread Michael Peters
to restart both apache and the JVM and then wait until it happens again. Any ideas? suggestions? -- Michael Peters Developer Plus Three, LP