From: | thomas at tada(dot)se (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] FreeBSD pl/java problem |
Date: | 2013-02-04 17:19:56 |
Message-ID: | 510FEDBC.4080201@tada.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleas Mantzios | 2013-02-05 07:50:25 | [Pljava-dev] FreeBSD pl/java problem |
Previous Message | Thomas Hallgren | 2013-02-04 17:16:49 | [Pljava-dev] classloading |