agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] FreeBSD pl/java problem
Date: Mon, 04 Feb 2013 18:19:56 +0100
Message-ID: <510FEDBC.4080201@tada.se> (raw)
In-Reply-To: <1574535.zJ9Qr5fcjM@smadev.internal.net>
References: <4461985.cuacIgvZGL@smadev.internal.net>
<1574535.zJ9Qr5fcjM@smadev.internal.net>
On 2013-02-04 16:46, Achilleas Mantzios wrote:
> Just an update on this :
>
> by inserting some elog statements in ./src/C/pljava/Backend.c
> just before JNI_createVM :
>
> elog(DEBUG1, "Creating JavaVM");
>
> elog(INFO,"jstat = %d",jstat);
>
> //jstat = JNI_createVM(&s_javaVM, &vm_args);
> JNIEnv *env;
> jstat = JNI_CreateJavaVM(&s_javaVM, (void**)&env, &vm_args);
>
> elog(INFO,"jstat = %d",jstat);
>
> it never gets into the second elog, which means it hangs in JNI_CreateJavaVM.
>
> Outside postgresql i can run JNI programs with no problem.
>
> Any clues?
Is the postgresql back-end server configured to use the same JVM as
you're using "outside postgresql" ?
- thomas
view thread (5+ messages) latest in thread
Message-ID: <510FEDBC.4080201@tada.se>
Permalink: ../510FEDBC.4080201@tada.se/
Also on: postgresql.org/message-id/510FEDBC.4080201@tada.se
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] FreeBSD pl/java problem
In-Reply-To: <510FEDBC.4080201@tada.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox