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
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
f
a build (Makefile.PL or Build.PL).
--
Michael Peters
Plus Three, LP
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
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 @@
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
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
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
cript would send
(which in this case doesn't look like anything too difficult).
http://livehttpheaders.mozdev.org/
--
Michael Peters
Developer
Plus Three, LP
using the separate
running SHARED_JVM. Has anyone else used JNI under mod_perl?
--
Michael Peters
Developer
Plus Three, LP
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
ugh to warrant another email thread.
Thanks!
--
Michael Peters
Developer
Plus Three, LP
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
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
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
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
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
verytime. But we'd rather not have to do that. Suggestions?
--
Michael Peters
Developer
Plus Three, LP
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
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
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
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
e::Java 0.50 (and Inline::Java::Protocol of the same
version).
--
Michael Peters
Developer
Plus Three, LP
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
h. As a side note, is 0.50 going to be released sometime soon?
--
Michael Peters
Developer
Plus Three, LP
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
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
to restart both apache and the JVM
and then wait until it happens again. Any ideas? suggestions?
--
Michael Peters
Developer
Plus Three, LP
28 matches
Mail list logo