email - Conflict between javax.xml.soap.SOAPConnection and java.mail -


in our system(app), send tax document webservices hosted government servers. send documents following method:

public soapmessage conecta(string xmlnfedados, url url) throws soapexception{     soapmessage res = null;       try {         mimeheaders header = new mimeheaders();         header.addheader("content-type", "application/soap+xml");          messagefactory factory = messagefactory.newinstance(soapconstants.soap_1_2_protocol);          soapmessage message;         message = factory.createmessage(header, new bytearrayinputstream(xmlnfedados.getbytes()));         soapconnection con = soapconnectionfactory.newinstance().createconnection();         res = con.call(message, url);          con.close();     } catch (ioexception e) {         e.printstacktrace();     }     return res; } 

and before connection set properties in jvm:

public void setpropertiesa1(string caminhocertificado, string senhacertificado, string caminhocacerts){     //preparar propriedades     properties properties = system.getproperties();     properties.setproperty("java.protocol.handler.pkgs",  "com.sun.net.ssl.internal.www.protocol");     properties.setproperty("javax.net.ssl.keystoretype", "pkcs12");     properties.setproperty("javax.net.ssl.keystore", caminhocertificado);     properties.setproperty("javax.net.ssl.keystorepassword", senhacertificado);     properties.setproperty("javax.net.ssl.truststoretype", "jks");     properties.setproperty("javax.net.ssl.truststore", caminhocacerts);     properties.setproperty("javax.net.ssl.truststorepassword", "changeit");     properties.setproperty("com.sun.xml.ws.transport.http.client.httptransportpipe.dump", "true");     //properties.setproperty("javax.net.debug", "all");  } 

everything working fine. until need send , receive emails suppliers. in case of receiving emails, use following:

public static store conectar(string login, string senha) throws nosuchproviderexception, messagingexception {     logger.info("conectando ao servidor de e-mail");      logger.info("--------------processo de leitura iniciado-----------------");     string imap = "imaps";     string host = "pop.gmail.com";     int porta = 587;     string diretorioservidor = "inbox";      properties prop = new properties();     //system.out.println("numero antes " + system.getproperties().size());     session session = session.getinstance(prop);      //urlname url = new urlname(imap, host, porta, diretorioservidor, login, senha);      store store = session.getstore("pop3s");      store.connect(host, login, senha);     //system.out.println("numero depois " + system.getproperties().size());     logger.info("conexão estabelecida com servidor imap.");     return store; } 

the store object returned method conectar handled following:

public static folder recuperarcaixaentrada(store store) throws messagingexception {     folder folder = store.getfolder("inbox");     folder.open(2);      return folder; } 

the messages contained in object folder handled later in method proccessmail():

public fileinputstream processmail() throws messagingexception {     fileinputstream anexo = null;     try     {       logger.info("quantida de de e-mails encontrados na caixa de entrada: " + this.messages.length);       if (this.messages.length <= 0) {         this.folder.close(true);          this.store.close();          system.out.println("esta conectado " + store.isconnected());         return null;      }       system.out.println("existem na caixa de entrada: " + this.messages.length + " para serem tratados!");       system.out.println("tratando e-mail:1 de " + this.messages.length);      logger.info("tratando e-mail:1 de " + this.messages.length);       this.message = this.messages[0];      system.out.println("content type: " + this.message.getcontenttype());       if (!this.message.getcontenttype().equals("text/plain; charset=br-ascii"))      {        anexo = getemail(0);        system.out.println("baixou anexo");      } else {        system.out.println("não baixou anexo");      }       this.folder.close(true);       this.store.close();      } catch (authenticationfailedexception e) {        this.store.close();        logger.error("falha na autentica&#65533;&#65533;o: " + e.getmessage());      } catch (folderclosedexception e) {        this.store.close();        logger.error("falha no fechamento da pasta: " + e.getmessage());      } catch (foldernotfoundexception e) {        this.store.close();        logger.error("pasta n&#65533;o encontrada: " + e.getmessage());      } catch (nosuchproviderexception e) {        this.store.close();        logger.error("nosuchproviderexception: " + e.getmessage());      } catch (readonlyfolderexception e) {        this.store.close();        logger.error("pasta com permiss&#65533;o de somente leitura: " + e.getmessage());      } catch (storeclosedexception e) {        this.store.close();        logger.error("erro ao fechar pasta auxiliar: " + e.getmessage());      } catch (exception e) {        this.store.close();        logger.error("erro no m&#65533;todo principal: " + e.getmessage());        system.out.println(e.getmessage());     }   return anexo; } 

so, right after proccess of receiving emails had been implemented, sending of tax documents begin return following error:

com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed 17:37:56,434 error [stderr] (http-localhost-127.0.0.1-8080-6)   @      com.sun.xml.messaging.saaj.client.p2p.httpsoapconnection.call(httpsoapconn     ection.java:191) 17:37:56,435 error [stderr] (http-localhost-127.0.0.1-8080-6)   @     br.com.nfe.business.comunicacaoreceitabusiness.conecta(comunicacaoreceitab    usiness.java:205) 17:37:56,436 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.nfe.business.comunicacaoreceitabusiness.criaconexao(comunicacaoreceitabusiness.java:39) 17:37:56,436 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.nfe.business.emissaoreceitabusiness.emissaonfe(emissaoreceitabusiness.java:46) 17:37:56,437 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.coliseu.nfe.business.nfebusiness.emitirnota(nfebusiness.java:1739) 17:37:56,437 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.coliseu.controller.notasaidacontroller.emitir(notasaidacontroller.java:1023) 17:37:56,438 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) 17:37:56,439 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) 17:37:56,439 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) 17:37:56,440 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ java.lang.reflect.method.invoke(method.java:606) 17:37:56,440 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.executemethodinterceptor.intercept(executemethodinterceptor.java:61) 17:37:56,441 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,441 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,442 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:56) 17:37:56,443 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,443 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.lazyinterceptorhandler.execute(lazyinterceptorhandler.java:61) 17:37:56,444 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,444 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.coliseu.interceptor.logininterceptor.intercept(logininterceptor.java:92) 17:37:56,445 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,446 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,446 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:56) 17:37:56,447 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,447 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.exceptionhandlerinterceptor.intercept(exceptionhandlerinterceptor.java:71) 17:37:56,448 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,448 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,449 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.flashinterceptor.intercept(flashinterceptor.java:83) 17:37:56,450 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,450 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,451 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.parametersinstantiatorinterceptor.intercept(parametersinstantiatorinterceptor.java:93) 17:37:56,451 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.lazyinterceptorhandler.execute(lazyinterceptorhandler.java:59) 17:37:56,452 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,452 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.instantiateinterceptor.intercept(instantiateinterceptor.java:48) 17:37:56,453 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,454 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,454 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.interceptor.resourcelookupinterceptor.intercept(resourcelookupinterceptor.java:69) 17:37:56,455 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:54) 17:37:56,455 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,456 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.toinstantiateinterceptorhandler.execute(toinstantiateinterceptorhandler.java:56) 17:37:56,457 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.defaultinterceptorstack.next(defaultinterceptorstack.java:54) 17:37:56,457 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.core.enhancedrequestexecution.execute(enhancedrequestexecution.java:44) 17:37:56,458 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.vraptor$1.insiderequest(vraptor.java:91) 17:37:56,458 error [stderr] (http-localhost-127.0.0.1-8080-6)   @     br.com.caelum.vraptor.ioc.spring.springprovider.provideforrequest(springprovider.java:58) 17:37:56,459 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ br.com.caelum.vraptor.vraptor.dofilter(vraptor.java:88) 17:37:56,459 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:280) 17:37:56,460 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248) 17:37:56,460 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.opensymphony.sitemesh.webapp.sitemeshfilter.obtaincontent(sitemeshfilter.java:129) 17:37:56,461 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.opensymphony.sitemesh.webapp.sitemeshfilter.dofilter(sitemeshfilter.java:77) 17:37:56,462 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:280) 17:37:56,462 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248) 17:37:56,463 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:275) 17:37:56,463 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:161) 17:37:56,464 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.jboss.as.jpa.interceptor.webnontxemcloservalve.invoke(webnontxemcloservalve.java:50) 17:37:56,464 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.jboss.as.web.security.securitycontextassociationvalve.invoke(securitycontextassociationvalve.java:153) 17:37:56,465 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:155) 17:37:56,465 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) 17:37:56,466 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) 17:37:56,467 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:368) 17:37:56,467 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.coyote.http11.http11processor.process(http11processor.java:877) 17:37:56,468 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:671) 17:37:56,468 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:930) 17:37:56,469 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ java.lang.thread.run(thread.java:745) 17:37:56,470 error [stderr] (http-localhost-127.0.0.1-8080-6) caused by: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed 17:37:56,470 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ java.security.accesscontroller.doprivileged(native method) 17:37:56,471 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.sun.xml.messaging.saaj.client.p2p.httpsoapconnection.call(httpsoapconnection.java:185) 17:37:56,471 error [stderr] (http-localhost-127.0.0.1-8080-6)   ... 60 more 17:37:56,472 error [stderr] (http-localhost-127.0.0.1-8080-6) caused by: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed 17:37:56,472 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.sun.xml.messaging.saaj.client.p2p.httpsoapconnection.post(httpsoapconnection.java:389) 17:37:56,473 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.sun.xml.messaging.saaj.client.p2p.httpsoapconnection$priviledgedpost.run(httpsoapconnection.java:214) 17:37:56,474 error [stderr] (http-localhost-127.0.0.1-8080-6)   ... 62 more 17:37:56,474 error [stderr] (http-localhost-127.0.0.1-8080-6) caused by: javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target 17:37:56,475 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.alerts.getsslexception(alerts.java:192) 17:37:56,476 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.sslsocketimpl.fatal(sslsocketimpl.java:1904) 17:37:56,476 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.handshaker.fatalse(handshaker.java:279) 17:37:56,477 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.handshaker.fatalse(handshaker.java:273) 17:37:56,477 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.clienthandshaker.servercertificate(clienthandshaker.java:1446) 17:37:56,478 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.clienthandshaker.processmessage(clienthandshaker.java:209) 17:37:56,478 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.handshaker.processloop(handshaker.java:913) 17:37:56,479 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.handshaker.process_record(handshaker.java:849) 17:37:56,479 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.sslsocketimpl.readrecord(sslsocketimpl.java:1023) 17:37:56,480 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.sslsocketimpl.performinitialhandshake(sslsocketimpl.java:1332) 17:37:56,480 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1359) 17:37:56,481 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1343) 17:37:56,481 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.net.www.protocol.https.httpsclient.afterconnect(httpsclient.java:559) 17:37:56,482 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.connect(abstractdelegatehttpsurlconnection.java:185) 17:37:56,483 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.net.www.protocol.http.httpurlconnection.getoutputstream(httpurlconnection.java:1092) 17:37:56,483 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.net.www.protocol.https.httpsurlconnectionimpl.getoutputstream(httpsurlconnectionimpl.java:250) 17:37:56,484 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ com.sun.xml.messaging.saaj.client.p2p.httpsoapconnection.post(httpsoapconnection.java:346) 17:37:56,485 error [stderr] (http-localhost-127.0.0.1-8080-6)   ... 63 more 17:37:56,485 error [stderr] (http-localhost-127.0.0.1-8080-6) caused by: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target 17:37:56,486 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.validator.pkixvalidator.dobuild(pkixvalidator.java:385) 17:37:56,487 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.validator.pkixvalidator.enginevalidate(pkixvalidator.java:292) 17:37:56,488 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.validator.validator.validate(validator.java:260) 17:37:56,488 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.x509trustmanagerimpl.validate(x509trustmanagerimpl.java:326) 17:37:56,489 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.x509trustmanagerimpl.checktrusted(x509trustmanagerimpl.java:231) 17:37:56,489 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.x509trustmanagerimpl.checkservertrusted(x509trustmanagerimpl.java:126) 17:37:56,490 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.ssl.clienthandshaker.servercertificate(clienthandshaker.java:1428) 17:37:56,490 error [stderr] (http-localhost-127.0.0.1-8080-6)   ... 75 more 17:37:56,491 error [stderr] (http-localhost-127.0.0.1-8080-6) caused by: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target 17:37:56,492 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.provider.certpath.suncertpathbuilder.enginebuild(suncertpathbuilder.java:196) 17:37:56,492 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ java.security.cert.certpathbuilder.build(certpathbuilder.java:268) 17:37:56,493 error [stderr] (http-localhost-127.0.0.1-8080-6)   @ sun.security.validator.pkixvalidator.dobuild(pkixvalidator.java:380)     17:37:56,493 error [stderr] (http-localhost-127.0.0.1-8080-6)   ... 81 more 

so, error message clear : unable find valid certification path requested target reason our app not finding certificate path. however, said before, method setpropertiesa1() called every single time document need sent. adding this, had checked if before app tries sent document, certificate path ok, , is. properties "javax.net.ssl.keystore" has right value.

if has deep understanding of how types of connections works, can give glimpse of solution, or point doing wrong, thankful.

i hope question clear enough.

we use jboss 7.1.1.final server application.

update problem here isn't "missing certificate", because wouldn't work if comment code responsible sending emails.

another point of clarification is, both connections not been done @ same time, occur 1 after another. more precisely, connection of email part before connection of tax document part.

the main question here : why soapconnection not getting path properties, after send or receive email?

in order create connection on secured http connection (https) need import client certificate of backend service java key store file (jks) use encrypt message sending through wire, can decrypted using backend private key. in error don't have client certificate in local java key store file. import local jks file , work.

following command can use import client certificate java key store. here java documentation it.

keytool -import -alias susan -file example.cer -keystore exampleraystore.jks 

if don't have certificate can export client certificate following command. here java documentation it.

keytool -export -keystore examplestore -alias signfiles -file example.cer 

[update] above statement valid if complain missing certificate. in case bug in openjdk may need latest fix version of openjdk or move oraclejdk.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -