|
From: Marcos F. <mar...@ho...> - 2013-01-04 16:55:14
|
Hi,
When I'm are setting properties by the command:
bin/signserver.sh setproperties
doc/sample-configs/qs_pdfsigner_configuration.properties
I got the console error: Error reading property file. Is there some place
that I can see this log?
The configurations are right. Another question, what is the difference by
worker and signer?
The ID or Worker name, in the case of PDF, is the PDFSigner, configured in
this line: WORKERGENID1.NAME=PDFSigner?
And another question, I'm getting this error when i try to instantiate the
object os WSDL in this line
: ISigningAndValidation signserver = new
SigningAndValidationWS("localhost", 8442, true);
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
https://localhost:8442/signserver/signserverws/signserverws?wsdl. It failed
with:
java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: Default, provider: SunJSSE, class:
com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl).
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown
Source)
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown
Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown
Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown
Source)
at
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown
Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at
org.signserver.protocol.ws.gen.SignServerWSService.<init>(SignServerWSServic
e.java:42)
at
org.signserver.client.api.SigningAndValidationWS.<init>(SigningAndValidation
WS.java:120)
at
org.signserver.client.api.SigningAndValidationWS.<init>(SigningAndValidation
WS.java:83)
at
certificate.model.ModelDocumento.assinarDocumento4(ModelDocumento.java:145)
at certificate.principal.Principal.main(Principal.java:70)
Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException:
Error constructing implementation (algorithm: Default, provider: SunJSSE,
class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
at javax.net.ssl.DefaultSSLSocketFactory.throwException(Unknown
Source)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown
Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClie
nt(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknow
n Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown
Source)
at java.net.URL.openStream(Unknown Source)
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Unknown
Source)
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unknown
Source)
... 11 more
_____
Nenhum virus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Versao: 2013.0.2805 / Banco de dados de virus: 2637/6008 - Data de
Lancamento: 01/03/13
|