pg.ddx.io pljava-dev@postgresql.org mailing list archivehelp / color / mirror / Atom feed
[Pljava-dev] class not found 3+ messages / 0 participants [nested] [flat]
* [Pljava-dev] class not found @ 2012-05-10 14:33 0 siblings, 1 reply; 3+ messages in thread From: @ 2012-05-10 14:33 UTC (permalink / raw) 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/20120510/40a46029/attachment.html; ^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] class not found @ 2012-05-11 15:17 parent: 0 siblings, 1 reply; 3+ messages in thread From: @ 2012-05-11 15:17 UTC (permalink / raw) 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/6ffbbea2/attachment.html; ^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] class not found @ 2012-05-11 15:42 parent: 0 siblings, 0 replies; 3+ messages in thread From: @ 2012-05-11 15:42 UTC (permalink / raw) -- 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; ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2012-05-11 15:42 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-05-10 14:33 [Pljava-dev] class not found 2012-05-11 15:17 ` 2012-05-11 15:42 `
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