Re: Setting up DSPACE for Postgres access
От | Andrew Rawnsley |
---|---|
Тема | Re: Setting up DSPACE for Postgres access |
Дата | |
Msg-id | 60098A86-05DC-11D8-91B6-000393A47FCC@ravensfield.com обсуждение исходный текст |
Ответ на | Re: Setting up DSPACE for Postgres access (Richard Huxton <dev@archonet.com>) |
Список | pgsql-general |
Have you tried placing the jars in the $JAVA_HOME/jre/lib/ext directory? Jars there are automatically searched by the JVM. On Thursday, October 23, 2003, at 01:52 PM, Richard Huxton wrote: > 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 > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -------------------- Andrew Rawnsley President The Ravensfield Digital Resource Group, Ltd. (740) 587-0114 www.ravensfield.com
В списке pgsql-general по дате отправления: