Problem solved, but I had to hack Zookeeper to fix it. It seems Zookeeper is not importing the package org.ieft.jgss. To recap, this is not a problem until one attempts to run the Zoo as an OSGi bundle.
On Tue, Apr 22, 2014 at 9:34 AM, Geoffry Roberts <[email protected]>wrote: > You both are right. And I did manage to find it. The problem is now how > to get OSGi to find it. BndTools has a flag for these things, but it's not > working just yet. > > Thanks for responding. > > > On Tue, Apr 22, 2014 at 9:22 AM, Matt Brown <[email protected]>wrote: > >> It is definitely a part of the JDK: >> http://docs.oracle.com/javase/7/docs/api/org/ietf/jgss/GSSException.html >> >> On my machine, OS X 10.9.2 with JDK 1.7.0_21, it is present in >> >> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/rt. >> jar: >> >> $ unzip -l >> >> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/rt. >> jar | grep GSSException >> 3612 04-07-13 15:01 org/ietf/jgss/GSSException.class >> 1130 04-07-13 15:01 sun/security/jgss/GSSExceptionImpl.class >> >> >> the same is true for JDK 1.8.0: >> >> $ unzip -l >> >> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar >> | grep GSSException >> 3616 03-04-14 03:15 org/ietf/jgss/GSSException.class >> 1130 03-04-14 03:15 sun/security/jgss/GSSExceptionImpl.class >> >> >> >> >> >> On 4/21/14, 7:26 PM, "Geoffry Roberts" <[email protected]> wrote: >> >> >Interesting you say it's there, like I said above... >> > >> >I'll look more carefully. >> >On Apr 21, 2014 6:38 PM, "Camille Fournier" <[email protected]> wrote: >> > >> >> Oh OSGi always bedevils me. It's definitely part of the standard Java >> >> libraries not sure why OSGi is giving you issues. Fwiw I'm in osx and >> >>it's >> >> definitely there in Java for osx. Sorry I can't help more. >> >> On Apr 21, 2014 6:32 PM, "Geoffry Roberts" <[email protected]> >> >>wrote: >> >> >> >> > I have several: 1.6 and a number of 1.7s. I did a jarscan on the >> whole >> >> tree >> >> > and nada. It could be because I'm using OSX. But Zookeeper runs fine >> >>as >> >> a >> >> > service. I can also run it as a client outside OSGi. But as an OSGi >> >> > bundle, that's when the trouble starts. >> >> > On Apr 21, 2014 5:17 PM, "Camille Fournier" <[email protected]> >> >>wrote: >> >> > >> >> > > It's in the JDK on my machine... what JDK are you running? >> >> > > >> >> > > >> >> > > On Mon, Apr 21, 2014 at 5:14 PM, Geoffry Roberts < >> >> [email protected] >> >> > > >wrote: >> >> > > >> >> > > > How can I resolve this dependency? >> >> > > > >> >> > > > I am getting an error when I try to connect to Zookeeper from an >> >> > Accumulo >> >> > > > client. I get a CNFE on class org.ietf.jgss.GSSException. I >> have >> >> > > Googled >> >> > > > on this and can't find much. One source said the class in >> question >> >> > would >> >> > > be >> >> > > > in rt.jar. I checked, it's not there. >> >> > > > >> >> > > > Can anyone point me in the right direction? >> >> > > > >> >> > > > Thanks mucho >> >> > > > >> >> > > > -- >> >> > > > There are ways and there are ways, >> >> > > > >> >> > > > Geoffry Roberts >> >> > > > >> >> > > >> >> > >> >> >> >> > > > -- > There are ways and there are ways, > > Geoffry Roberts > -- There are ways and there are ways, Geoffry Roberts
