Re: Setting up DSPACE for Postgres access

From: Richard Huxton <dev(at)archonet(dot)com>
To: Ashwin Kutty <Ashwin(dot)Kutty(at)dal(dot)ca>, Ashwin Kutty <akutty(at)dal(dot)ca>, Dardo D Kleiner <dkleiner(at)cmf(dot)nrl(dot)navy(dot)mil>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Setting up DSPACE for Postgres access
Date: 2003-10-23 17:52:46
Message-ID: 200310231852.46270.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday 23 October 2003 18:07, Ashwin Kutty wrote:
>
> Now, the postgresql.jar gets pointed to twice; once from the script with
> the JARS var and the second with the pointing to it from the $CLASSPATH
> var set by me. I even echo the $FULLPATH var right before it hits the
> java command and the echo brings up the huge PATH created by the script
> that contains the jar files and the directories. I dont get however how
> the script can have it in the $FULLPATH var but not use it when sent to
> the command line?

Given everything else you've tried, I think you might be on the right track
here and somehow your environment variables are getting clobbered. How or why
I couldn't say (I'd suspect Tomcat, but you say you can't even run the
create-administator app).

The only other thing I can think of is that for some reason it's looking for
the wrong class. If dspace comes with the source, it might be worth checking
whether there isn't a mistake in the Class.forname() call.

I must admit, I don't know much java - can you use "strace" to track system
calls, or is there a similar utility that would let you see what files it is
searching for?
--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Birahim FALL 2003-10-23 18:38:37 HTML generation with PL/PgSQL
Previous Message Adam Kavan 2003-10-23 17:38:33 CLUSTER