agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] select sqlj.install_jar error with Gentoo
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] select sqlj.install_jar error with Gentoo
@ 2005-12-01 01:43  
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2005-12-01 01:43 UTC (permalink / raw)

Dear Thomas,
  i 'm developing application with kompiere.all of thing had been installed in the server Gentoo.
  when i run  SELECT sqlj.install_jar('file:///u01/app/sqlj/sqlj.jar', 'sqlj', true);,the error is :
  INFO:  Exception
  INFO:  in thread "main"
  ERROR:  Java exit monitor failure (final).
  i use postgresql 8.0.3,what i have done is:
  1.compile sqlj.jar with java version "1.5.0_05"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
  Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode).
  2.compile pljava-1.2.0 source code with above java vms.
  3.copy pljava-1.2.0/build/objs/libpl*  to /usr/lib64 and /usr/lib64/postgresql(becauce i have get error cann't load libpljava.so,then resolved the error with above method,not with your advice in the maillist.i have tried the most advices)
  4.then when i select in the database,i get the above error.
  can you g  ive me  some help?maybe i need to configure 
   
pljava.vmoptions = ...(postgresql.conf) with specicel ?
regards,yang

      
 
 

		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051130/e045a2ef/attachment.html;



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] select sqlj.install_jar error with Gentoo
@ 2005-12-01 01:54  
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2005-12-01 01:54 UTC (permalink / raw)

Dear Thomas,
  i 'm developing application with kompiere.all of thing had been installed in the server Gentoo.
  when i run  SELECT sqlj.install_jar('file:///u01/app/sqlj/sqlj.jar', 'sqlj', true);,the error is :
  INFO:  Exception
  INFO:  in thread "main"
  ERROR:  Java exit monitor failure (final).
  i use postgresql 8.0.3,what i have done is:
  1.compile sqlj.jar with java version "1.5.0_05"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
  Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode).
  2.compile pljava-1.2.0 source code with above java vms.
  3.copy pljava-1.2.0/build/objs/libpl*  to /usr/lib64 and /usr/lib64/postgresql(becauce i have get error cann't load libpljava.so,then resolved the error with above method,not with your advice in the maillist.i have tried the most advices)
  4.then when i select in the database,i get the above error.
  can you g  ive me  some help?maybe i need to configure 
   
pljava.vmoptions = ...(postgresql.conf) with specicel ?
regards,yang

      
 
 

		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051130/0c416790/attachment.html;



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] select sqlj.install_jar error with Gentoo
@ 2005-12-01 07:07  
  parent: 
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2005-12-01 07:07 UTC (permalink / raw)

Hi Yang,
No special vmoptions should need to be configured. Can you please tell me:
1. What OS are you on?
2. Are you using any special flags when you compile PL/Java or just 'make'?
3. Can you see some additional info in the backend log file?

Also, perhaps you can try and set "log_min_messages = debug1" in your 
postgresql.conf, restart and reproduce the error, and then again check 
the backend log. I'm interested in the messages that might precede your 
error in that log.

I'm concerned that you cannot get the libpljava.so to load without 
copying it. It should load just fine by just setting 
"dynamic_library_path = '$libdir:<your pljava root>/build/objs'" in 
postgresql.conf. Are you sure that's the setting you are using (and that 
you remove the leading # on that line)?

Regards,
Thomas Hallgren

yaer yang wrote:
> Dear Thomas,
> i 'm developing application with kompiere.all of thing had been 
> installed in the server Gentoo.
> when i run  SELECT sqlj.install_jar('file:///u01/app/sqlj/sqlj.jar', 
> 'sqlj', true);,the error is :
> INFO:  Exception
> INFO:  in thread "main"
> ERROR:  Java exit monitor failure (final).
> i use postgresql 8.0.3,what i have done is:
> 1.compile sqlj.jar with java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode).
> 2.compile pljava-1.2.0 source code with above java vms.
> 3.copy pljava-1.2.0/build/objs/libpl*  to /usr/lib64 and 
> /usr/lib64/postgresql(becauce i have get error cann't load 
> libpljava.so,then resolved the error with above method,not with your 
> advice in the maillist.i have tried the most advices)
> 4.then when i select in the database,i get the above error.
> can you g ive me some help?maybe i need to configure
> pljava.vmoptions = ...(postgresql.conf) with specicel ?
> regards,yang
>   
>
> ------------------------------------------------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/; 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-12-01 07:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01 01:43 [Pljava-dev] select sqlj.install_jar error with Gentoo 
2005-12-01 01:54 [Pljava-dev] select sqlj.install_jar error with Gentoo 
2005-12-01 07:07 ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox