Re: PostgreSQL + SSL - sun.security.validator.ValidatorException

From: Andrew M <andrew(at)jibeya(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: 2004-12-07 09:58:17
Message-ID: 84BE6EF8-4836-11D9-870C-0003938366A4@jibeya.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Ok,
I need to specify a class with property. What class!!??

java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert
class

I am using OS X java 1.4.2

regards

Andrew

On 7 Dec 2004, at 08:52, Andrew M wrote:

> Vadim,
>
> i'm doing exactly as you mentioned, but only get presented with a
> usage list:
>
> root# java
> -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert
>
> Usage: java [-options] class [args...]
> (to execute a class)
> or java [-options] -jar jarfile [args...]
> (to execute a jar file)
>
> where options include:
> .......
> -D<name>=<value>
> set a system property
>
> I can't see what the problem is here.
>
> regards
>
> Andrew
>
> On 7 Dec 2004, at 02:05, Vadim Nasardinov wrote:
>
>> On Monday 06 December 2004 20:07, Andrew M wrote:
>>> typing the following:
>>>
>>> $ java -D javax.net.ssl.trustStore =
>>> /library/java/home/lib/security/cacert
>>>
>>> gives me the following error message
>>>
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> javax/net/ssl/trustStore
>>>
>>> How do I resolve this issue?
>>
>> There should be no space between "-D" and "javax.net.ssl.trustStore".
>> Likewise for the equal sign: there should be no space on either side
>> of it.
>> Like so:
>>
>> java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert
>>
>>
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 1: subscribe and unsubscribe commands go to
>> majordomo(at)postgresql(dot)org
>>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrew M 2004-12-07 12:38:44 Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Previous Message Andrew M 2004-12-07 08:52:16 Re: PostgreSQL + SSL - sun.security.validator.ValidatorException