pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Subject: [Pljava-dev] class not found
Date: Fri, 11 May 2012 11:42:19 -0400
Message-ID: <C35FDD5FDF7E584991A6AAF8F1A8425F0226AD34@ltischx01.lti.int> (raw)
References: <C35FDD5FDF7E584991A6AAF8F1A8425F0226AD2D@ltischx01.lti.int>
	<C35FDD5FDF7E584991A6AAF8F1A8425F0226AD33@ltischx01.lti.int>

-- ok, so classpath isn't set in the schema:

gf=# select sqlj.get_classpath( 'public');
 get_classpath
---------------

(1 row)

gf=# 

-- so i tried setting it

gf=# select sqlj.set_classpath( 'public', '/tmp/gfs.jar');
ERROR:  java.sql.SQLException: No such jar: /tmp/gfs.jar

$ ls -l /tmp/gfs.jar
-rw-r--r-- 1 root root 22030 May 11 15:13 /tmp/gfs.jar

-- now there is no deployment descriptor in this jar, as it didn't appear that a deployment descriptor was a requirement. should i try adding one?

-----Original Message-----
From: pljava-dev-bounces at pgfoundry.org on behalf of Welty, Richard
Sent: Fri 5/11/2012 11:17 AM
To: pljava-dev at pgfoundry.org
Subject: Re: [Pljava-dev] class not found
 
still can't find the class. any suggestions on what i should check?

thanks,
   richard


-----Original Message-----
From: pljava-dev-bounces at pgfoundry.org on behalf of Welty, Richard
Sent: Thu 5/10/2012 10:33 AM
To: pljava-dev at pgfoundry.org
Subject: [Pljava-dev] class not found
 
i'm trying to test out my pljava code, and i'm getting a class not found
exception. the package & class names all look right to me, and the name in the
jar_entry table looks right as well.

i installed sqlj in the database where it's being used, not in template1 or
anywhere else. is this correct?

richard



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20120511/eece5ecd/attachment.html;



view thread (3+ messages)

Message-ID: <C35FDD5FDF7E584991A6AAF8F1A8425F0226AD34@ltischx01.lti.int>
Permalink:  ../C35FDD5FDF7E584991A6AAF8F1A8425F0226AD34@ltischx01.lti.int/
Also on:    postgresql.org/message-id/C35FDD5FDF7E584991A6AAF8F1A8425F0226AD34@ltischx01.lti.int

 · 

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] class not found
  In-Reply-To: <C35FDD5FDF7E584991A6AAF8F1A8425F0226AD34@ltischx01.lti.int>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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