agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Re: Deployer error.
Date: Mon, 05 Sep 2005 16:19:01 +0200
Message-ID: <thhal-0WOz3Ax2r8LQdxbcqihMZJP+u7GvQVH@mailblocks.com> (raw)
In-Reply-To: <thhal-0guv3AxWr8LQVlPck1C6apjfPzX8uYG@mailblocks.com>
References: <20050905124902.981.qmail@web60211.mail.yahoo.com>
	<1da16c2205090505546ebb21d2@mail.gmail.com>
	<431C52FE.7020606@mailblocks.com>
	<thhal-0gev3AxOr8LQaLNGp43MyfL2MhSbWy6@mailblocks.com>
	<thhal-0guv3AxWr8LQVlPck1C6apjfPzX8uYG@mailblocks.com>
	<431C53D5.703@mailblocks.com>
	<thhal-0V+z3Axmr8LQgewQBF2xUe8HOWnBPBO@mailblocks.com>
	<thhal-0WOz3Axur8LQZMMQy3sp4pXzqGBiiEi@mailblocks.com>

Sorry, let me correct that. You don't use the -jar option. That was in 
Edward's example :-)

Please tell me the exact error message and provide a stack backtrace.

- thomas

Thomas Hallgren wrote:

> Actually, that advice is incorrect. pljava.jar is not needed by the 
> deployer client program. It must only be seen by the backend server.
>
> The problem is that you use the -jar option. You should not use the 
> -jar option when running the deployer. Given that the CLASSPATH is set 
> the way you describe you should try this instead:
>
> java org.postgresql.pljava.deploy.Deployer -install
>
> Regards,
> Thomas Hallgren
>
>
> Edward Yakop wrote:
>
>> Hi,
>>
>> You need to add pljava.jar inside the $CLASSPATH
>> `java -jar org.postgresql.pljava.deploy.Deployer -install`, otherwise
>> `java -cp ${DIR_TO_PLJAVA_JAR}/pljava.jar
>> org.postgresql.pljava.deploy.Deployer -install`
>>
>> Regards,
>> Edward Yakop
>>
>> On 9/5/05, Mncedisi Kheswa <pkheswa at yahoo.com> wrote:
>>
>>> Hi all,  
>>> If anyone can help. I have installed Java with Postgres SQL Server 
>>> on Linux
>>> 8.0 and when trying to run # java
>>> org.postgresql.pljava.deploy.Deployer -install I get
>>> "NoClassDef in main error". Written a simple java program and it 
>>> runs fine.  
>>> Here's my /etc/profile environment variables : 
>>> JAVA_HOME=/usr/local/j2sdk1.4.2
>>> POSTGRES_HOME=/usr/local/pgsql
>>> PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$POSTGRES_HOME/bin:$PATH
>>> CLASSPATH=.:/usr/local/pljava/deploy.jar:/usr/local/pgsql/share/java/postgresql-8.0-312.jdbc3.jar 
>>>
>>> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client:$JAVA_HOME/jre/lib/i386/server:$JAVA_HOME/jre/lib/i386/native_threads 
>>>
>>>
>>> /usr/local/pgsql/data/postgresql.conf file : dynamic_library_path = 
>>> '$libdir:/usr/local/pljava/'
>>> custom_variable_classes = 'pljava'
>>> log_min_messages = info
>>> pljava.classpath = '/usr/local/pljava/pljava.jar'
>>> pljava.statement_cache_size = 10
>>> pljava.release_lingering_savepoints = true
>>> pljava.vmoptions = '-Xmx64M'
>>> pljava.debug = false
>>>
>>> Postgres database and Java are both installed and working. pljava is 
>>> installed under /usr/local/ - can check pljava.classpath value
>>> above.  
>>> Maybe I'm missing something, please help.  
>>> Thanks in advance.
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around 
>>> http://mail.yahoo.com _______________________________________________
>>> Pljava-dev mailing list
>>> Pljava-dev at gborg.postgresql.org
>>> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>>>
>>>
>>>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev







view thread (8+ messages)  latest in thread

Message-ID: <thhal-0WOz3Ax2r8LQdxbcqihMZJP+u7GvQVH@mailblocks.com>
Permalink:  ../thhal-0WOz3Ax2r8LQdxbcqihMZJP+u7GvQVH@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-0WOz3Ax2r8LQdxbcqihMZJP+u7GvQVH@mailblocks.com

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] Re: Deployer error.
  In-Reply-To: <thhal-0WOz3Ax2r8LQdxbcqihMZJP+u7GvQVH@mailblocks.com>

* 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