agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Cannot find dynamic class
Date: Sat, 25 Mar 2006 08:51:00 +0100
Message-ID: <4424F664.7060105@tada.se> (raw)
In-Reply-To: <4424C5C3.4000500@metadapt.com>
References: <4424C5C3.4000500@metadapt.com>

Hi Darren,
What do you mean when you say 'dynamically loaded'? Do you load it using 
an explicit ClassLoader.loadClass() call? And that succeeds? Also, when 
you say 'statically initializes', you you mean that the class in 
question has a static attribute of class SocketImpl, does it extend that 
class, or does it use an explicit ClassLoader inside of a static 
initializer?

Is it a ClassNotFoundException or a NoClassDefFoundError that you are 
experiencing? Can you provide a stack trace?

Regards,
Thomas Hallgren


Darren Govoni wrote:
> Hi,
>
> Running pljava 1.1 with postgres 8.0.3.
>
>   I have a single jar that contains all my classes. One class 
> 'SocketImpl', is dynamically loaded, however
> pljava throws a class not found exception when I try to execute a 
> function on a class that statically initializes
> with 'SocketImpl'. Any tips very appreciated!
>
> Cheers,
> Darren
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   





view thread (5+ messages)  latest in thread

Message-ID: <4424F664.7060105@tada.se>
Permalink:  ../4424F664.7060105@tada.se/
Also on:    postgresql.org/message-id/4424F664.7060105@tada.se

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] Cannot find dynamic class
  In-Reply-To: <4424F664.7060105@tada.se>

* 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