4 Replies Latest reply on Apr 4, 2013 5:48 AM by Alejandro Segura

    Error to try SSL connection

    Alejandro Segura Newbie

      Hello people!!

       

      I need your help

       

      We have this stacktrace that we going to try an SSL connection.

       

      java.lang.UnsatisfiedLinkError: no njssl9 in java.library.path
          at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
          at java.lang.Runtime.loadLibrary0(Runtime.java:823)
          at java.lang.System.loadLibrary(System.java:1028)
          at oracle.security.ssl.OracleSSLSocketImpl.<clinit>(Unknown Source)
          at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source)
          at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source)
          at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source)
          at HTTPClient.OracleSSL.getSSLDefaultCipherSuites(OracleSSL.java:108)
          at HTTPClient.OracleSSL.initHttps(OracleSSL.java:91)
          at HTTPClient.OracleSSL.<init>(OracleSSL.java:76)
          at HTTPClient.HTTPClientSSLFactory.mk(HTTPClientSSLFactory.java:137)
          at HTTPClient.HTTPConnection.getSSL(HTTPConnection.java:4175)
          at HTTPClient.HTTPConnection.getSSLSocket(HTTPConnection.java:4221)
          at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4038)
          at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3003)
          at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
          at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
          at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1107)
          at oracle.soap.transport.http.OracleSOAPHTTPConnection.post(OracleSOAPHTTPConnection.java:904)
          at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:713)
          at org.apache.soap.rpc.Call.invoke(Call.java:261)
          at rcaws.proxy.RCA_WSProxy.makeSOAPCallRPC(RCA_WSProxy.java:482)
          at rcaws.proxy.RCA_WSProxy.WS_GENCAT_CATSALUT_Consulta_Cip(RCA_WSProxy.java:461)
          at com.hphis.custom.adt.paciente.SSCC_PacGes.opcionCONSULTA_CIP(SSCC_PacGes.java:946)
          at org.apache.jsp.custom.adt.paciente.SSCC_005fPacGes_jsp._jspService(SSCC_005fPacGes_jsp.java:161)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.PA.filtro.LockFilter.doFilterInternal(LockFilter.java:258)
          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
          at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.configLog.filter.ConfigLogFilter.doFilter(ConfigLogFilter.java:29)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:416)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.procesarPeticion(HibernateSessionFilter.java:306)
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.sessionPerRequest(HibernateSessionFilter.java:256)
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:101)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.filters.login.LoginFilter.doFilter(LoginFilter.java:249)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:69)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at com.hphis.corp.filters.access.PostAccessFilter.doFilter(PostAccessFilter.java:99)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
          at java.lang.Thread.run(Thread.java:619)
      
      
      10:24:34,498 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/hphis].[jsp]] (http--130.1.88.93-8080-5) Servlet.service() para servlet jsp lanz¾ excepci¾n: ja
          at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) [rt.jar:1.6.0_20]
          at java.lang.Runtime.loadLibrary0(Runtime.java:823) [rt.jar:1.6.0_20]
          at java.lang.System.loadLibrary(System.java:1028) [rt.jar:1.6.0_20]
          at oracle.security.ssl.OracleSSLSocketImpl.<clinit>(Unknown Source) [javavm_ssl_1_2.jar:]
          at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source) [javavm_ssl_1_2.jar:]
          at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source) [javavm_ssl_1_2.jar:]
          at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source) [javavm_ssl_1_2.jar:]
          at HTTPClient.OracleSSL.getSSLDefaultCipherSuites(OracleSSL.java:108) [http_client.jar:]
          at HTTPClient.OracleSSL.initHttps(OracleSSL.java:91) [http_client.jar:]
          at HTTPClient.OracleSSL.<init>(OracleSSL.java:76) [http_client.jar:]
          at HTTPClient.HTTPClientSSLFactory.mk(HTTPClientSSLFactory.java:137) [http_client.jar:]
          at HTTPClient.HTTPConnection.getSSL(HTTPConnection.java:4175) [http_client.jar:]
          at HTTPClient.HTTPConnection.getSSLSocket(HTTPConnection.java:4221) [http_client.jar:]
          at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4038) [http_client.jar:]
          at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3003) [http_client.jar:]
          at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843) [http_client.jar:]
          at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635) [http_client.jar:]
          at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1107) [http_client.jar:]
          at oracle.soap.transport.http.OracleSOAPHTTPConnection.post(OracleSOAPHTTPConnection.java:904) [soap.jar:]
          at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:713) [soap.jar:]
          at org.apache.soap.rpc.Call.invoke(Call.java:261) [soap.jar:]
          at rcaws.proxy.RCA_WSProxy.makeSOAPCallRPC(RCA_WSProxy.java:482) [RCAWS.jar:]
          at rcaws.proxy.RCA_WSProxy.WS_GENCAT_CATSALUT_Consulta_Cip(RCA_WSProxy.java:461) [RCAWS.jar:]
          at com.hphis.custom.adt.paciente.SSCC_PacGes.opcionCONSULTA_CIP(SSCC_PacGes.java:946) [classes:]
          at org.apache.jsp.custom.adt.paciente.SSCC_005fPacGes_jsp._jspService(SSCC_005fPacGes_jsp.java:161)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jbossweb-7.0.13.Final.jar:]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [jbossweb-7.0.13.Final.jar:]
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.PA.filtro.LockFilter.doFilterInternal(LockFilter.java:258) [classes:]
          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring-web.jar:2.0]
          at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) [spring-web.jar:2.0]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.configLog.filter.ConfigLogFilter.doFilter(ConfigLogFilter.java:29) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:416) [javamelody-1.19.0.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.procesarPeticion(HibernateSessionFilter.java:306) [classes:]
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.sessionPerRequest(HibernateSessionFilter.java:256) [classes:]
          at com.hphis.corp.hibernate.filter.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:101) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.filters.login.LoginFilter.doFilter(LoginFilter.java:249) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:69) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at com.hphis.corp.filters.access.PostAccessFilter.doFilter(PostAccessFilter.java:99) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) [urlrewrite-2.6.0.jar:2.6.0]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.13.Final.jar:]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
      
      

       

      Anyone ever tried it?

       

      Thanks in advance.

       

      Alejandro Segura