agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Classloader/Classpath problem with Ressource Files
Date: Thu, 28 Jul 2011 12:39:11 +0000
Message-ID: <x6pqku1swg.fsf@2ndquadrant.com> (raw)
In-Reply-To: <CALtUeZYcvO-F02DibNCdggJdPy5eot1wcy+USej4cvcua8mkrw@mail.gmail.com>
References: <CALtUeZYcvO-F02DibNCdggJdPy5eot1wcy+USej4cvcua8mkrw@mail.gmail.com>

Christian Kindler <vorarlberger at gmail.com> writes:

> Hi
>
> I want to use html-unit from pg using pljava. But the problem is,
> that pljava reports a file not found error when somebody try to
> access classpath trough classloader.

PL/Java uses its own classloader to load them from the database.  Can
you give a very simple example that demonstrates what you are trying
to accomplish without involving your actual code?  Something simpler?

Do you *need* a classloader for what you are doing?


-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/





view thread (2+ messages)

Message-ID: <x6pqku1swg.fsf@2ndquadrant.com>
Permalink:  ../x6pqku1swg.fsf@2ndquadrant.com/
Also on:    postgresql.org/message-id/x6pqku1swg.fsf@2ndquadrant.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] Classloader/Classpath problem with Ressource Files
  In-Reply-To: <x6pqku1swg.fsf@2ndquadrant.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