agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Error in install_jar-ing examples
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Error in install_jar-ing examples
@ 2004-07-01 09:23 
  2004-07-01 09:32 ` [Pljava-dev] Error in install_jar-ing examples 
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2004-07-01 09:23 UTC (permalink / raw)

Hi everybody,
I have just installed PL/Java 1.0.0, and all was fine after setting correct
values for LD_LIBRARY_PATH, dynamic_library_path and CLASSPATH, but
when I try (as suggested)

SELECT
   sqlj.install_jar('samples',
                    'file:///home/alberto/src/pljava-1.0.0/examples.jar',
                     true);

I get an SQLException complaining about
'file:///home/alberto/src/pljava-1.0.0/examples.jar'
not being a valid name.

How is supposed a valid name to look like?

Thank you.

-- 
-----------------------
Alberto Cabello S?nchez
alberto at unex.es
Servicio de Inform?tica
924 289 351
-----------------------




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

* [Pljava-dev] Error in install_jar-ing examples
  2004-07-01 09:23 [Pljava-dev] Error in install_jar-ing examples 
@ 2004-07-01 09:32 ` 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2004-07-01 09:32 UTC (permalink / raw)

Alberto Cabello Sanchez wrote:

>Hi everybody,
>I have just installed PL/Java 1.0.0, and all was fine after setting correct
>values for LD_LIBRARY_PATH, dynamic_library_path and CLASSPATH, but
>when I try (as suggested)
>
>SELECT
>   sqlj.install_jar('samples',
>                    'file:///home/alberto/src/pljava-1.0.0/examples.jar',
>                     true);
>
>I get an SQLException complaining about
>'file:///home/alberto/src/pljava-1.0.0/examples.jar'
>not being a valid name.
>
>How is supposed a valid name to look like?
>
>Thank you.
>
>  
>
Alberto,

You've encountered a bug in the example doc. Starting with 1.0.0.b3 
(which I assume you are using), I adjusted the order of arguments to 
conform to the proposed standard.  Swap the first two arguments. The URL 
should be placed first, the 'samples' second.

I'll fix the sample docs. Thanks for pointing it out.

Kind regards,

Thomas Hallgren





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


end of thread, other threads:[~2004-07-01 09:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 09:23 [Pljava-dev] Error in install_jar-ing examples 
2004-07-01 09:32 ` 

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