ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schölver, Andreas" <Andreas.Schoel...@ebootis.de>
Subject RE: Newbie question - HTTPS and testkeys
Date Tue, 21 Jun 2005 15:25:11 GMT
Hi Eric

The place, where fr.insat.MyServeur2Secure.class is in, is part of your
classpath.
The JAVA runtime expects the class to execute to be in the classpath,
especially in the given package path inside of the classpath.

Andreas

> -----Original Message-----
> From: Eric BOYER [mailto:Eric.Boyer@insa-toulouse.fr] 
> Sent: Tuesday, June 21, 2005 5:18 PM
> To: xmlrpc-user@ws.apache.org
> Subject: Re: Newbie question - HTTPS and testkeys
> 
> 
> Schölver, Andreas a écrit :
> 
> >Hi Eric
> >
> >Does your test class use a package definition?
> >  
> >
> my test class (MyServeur2Secure.java) is in a package fr.insat;
> 
> >It might be neccessary to put the key file somewhere in the 
> classpath,
> >  
> >
> How can you put the key file in the classpath ?
> 
> >but it should IMO not be inside of a package.
> >  
> >
> what is IMO ?
> 
> Eric
> Thanks for your answers ...
> 
> >Andreas
> >
> >  
> >
> >>-----Original Message-----
> >>From: Eric BOYER [mailto:Eric.Boyer@insa-toulouse.fr] 
> >>Sent: Tuesday, June 21, 2005 4:54 PM
> >>To: xmlrpc-user@ws.apache.org
> >>Subject: Newbie question - HTTPS and testkeys
> >>
> >>
> >>Hello,
> >>
> >>I try to set up a HTTPS xmlrpc server but i've got an exception :
> >>java.io.FileNotFoundException: testkeys (No such file or directory)
> >>
> >>with the code :
> >>"
> >>SecureWebServer server = new SecureWebServer(port);
> >>server.addHandler("bonjour", new HelloWorld2());
> >>
> >>server.start();
> >>"
> >>
> >>So I generated a testkey file with :
> >>"
> >>keytool -genkey -alias duke -keystore testkeys -keyalg rsa
> >>"
> >>
> >>I put the testkey file in the directory of *.java and *.class but I 
> >>always have got the exception.
> >>
> >>Could help me please ?
> >>
> >>Thanks,
> >>
> >>Eric
> >>
> >>    
> >>
> >
> >  
> >
> 

Mime
View raw message