agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Jars as blobs
Date: Mon, 07 Mar 2005 23:29:18 +0100
Message-ID: <422CD5BE.2010104@mailblocks.com> (raw)
In-Reply-To: <3f71fdf10503071417d42171f@mail.gmail.com>
References: <3f71fdf10503071417d42171f@mail.gmail.com>
Stephen Crowley wrote:
>Has anyone considered storing jar files as blobs and a modified
>classloader to read from this table? This would make deployment much
>easier as file system access to the database would not be required. I
>was just wanting to check with everyone first to make sure there is
>not something obvious that I am missing before I start work. Any
>ideas?
>
>
You are missing something obvious :-)
Jar files are already loaded and stored in the database today using the
install_jar, replace_jar, and remove_jar function calls. The only jar
that is stored in the filesystem is the pljava.jar. Among other things,
that jar contains the table based classloader which explains why it has
to be loaded from the file system.
The CLASSPATH visible to the postmaster (or configured using
pljava.classpath) should *only* appoint the pljava.jar. All other jars
(short of the ones in the JVM bootclasspath path of course) should be
loaded into the database.
Regards,
Thomas Hallgren
view thread (4+ messages) latest in thread
Message-ID: <422CD5BE.2010104@mailblocks.com>
Permalink: ../422CD5BE.2010104@mailblocks.com/
Also on: postgresql.org/message-id/422CD5BE.2010104@mailblocks.com
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] Jars as blobs
In-Reply-To: <422CD5BE.2010104@mailblocks.com>
* 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