Great - glad it was resolved. I'm curious though - can you explain
what it is you are trying to do?
What platform and what version of Dogtag are you building all these on?
Ade
On Wed, 2015-10-14 at 14:52 +0200, Marcin Mierzejewski wrote:
Update, problem solved with jss version from fedora: /usr/lib64/jss
2015-10-14 14:27 GMT+02:00 Marcin Mierzejewski <
marcinmierzejewski1024(a)gmail.com>:
> I' m trying to build dogtag rest client but after adding jars I
> found in system:
> here is the list:
> pki-ca.jar
> pki-certsrv.jar
> pki-cms.jar
> pki-cmscore.jar
> pki-cmsutil.jar
> pki-console.jar
> pki-kra.jar
> pki-nsutil.jar
> pki-ocsp.jar
> pki-tks.jar
> pki-tomcat.jar
> pki-tools.jar
> pki-tps.jar
> I got some problem with dependencies with them(resteasy was
> missing) so I resolved them with maven pom. Now i have problem with
> mozilla JSS lib. In mozilla ftp(
>
https://ftp.mozilla.org/pub/security/jss/releases/) i found .jar
> and .so packages for difrent versions(from 3.0 to 4.3 ) but after
> checking all of them none of them have inner class SSLVersionRange
> in SSLSocket(check stacktrace bellow).
> So i checked what is dogtag source package dependecies and all i
> found in CMakeLists.txt is that dogtag is build with jss4.jar
> So, my question is what exact version of JSS is dogtag using and
> where I can get it?
>
>
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/mozilla/jss/ssl/SSLSocket$SSLVersionRange
> at
> com.netscape.certsrv.client.PKIConnection$JSSProtocolSocketFactory.
> connectSocket(PKIConnection.java:333)
> at
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConne
> ction(DefaultClientConnectionOperator.java:177)
> at
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedC
> lientConnectionImpl.java:304)
> at
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Defau
> ltRequestDirector.java:611)
> at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultR
> equestDirector.java:446)
> at
> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHt
> tpClient.java:882)
> at
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHt
> tpClient.java:82)
> at
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHt
> tpClient.java:55)
> at
> org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine.inv
> oke(ApacheHttpClient4Engine.java:283)
> at
> org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(Cl
> ientInvocation.java:436)
> at
> org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke
> (ClientInvoker.java:102)
> at
> org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(C
> lientProxy.java:64)
> at com.sun.proxy.$Proxy37.listProfiles(Unknown Source)
> at
> com.netscape.certsrv.profile.ProfileClient.listProfiles(ProfileClie
> nt.java:59)
> at com.company.CATest.test(CATest.java:93)
> at com.company.Main.main(Main.java:15)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
> l.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
> essorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:140
> )
>
>
_______________________________________________
Pki-users mailing list
Pki-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/pki-users