From: John L. <joh...@ke...> - 2008-02-15 11:30:40
|
Martin Pirker wrote: > Hi.... > > John Lyle wrote: > >> I'm getting a run-time error when anything tries to connect to the >> service. The full output is given at the end of the email. >> > > >> Exception in thread "main" java.lang.RuntimeException: cannot >> instantiate new XKMSContext, cannot continue: ERROR: couldn't initialise >> JAXBContext (maybe autogen classes missing in classpath?), aborting >> > > You may be missing JAXB. > > According to the README you need: > lib/jaxb/activation.jar > lib/jaxb/jaxb-api.jar > lib/jaxb/jaxb-impl.jar > lib/jaxb/jsr173_1.0_api.jar > > According to the README at time of release it was last tested with JAXB 2.03, > which can be obtained here: https://jaxb.dev.java.net/2.0.3/ > Decompressing/installing JAXB2_20061013.jar gives you all the 4 required libraries. > > I don't know about compatibility with newer JAXB builds, I havn't tested them. > > > >> If you have any suggestions, they would be much appreciated! >> > > IAIK XKMS currently only runs with Java 1.5, see mailing list archive for > the Java 1.6 patch. > > > >> JTSS_TSP: 0.2 20070903 09:47:28 >> JTSS_JNI: unknown >> > > The JTSS 0.2 release has a small bug, you need to additionally install > iaik_jtss_tcs.jar (and add it to the classpath) for your PrivacyCA to work. > You may want to read the PCA install experiences of Carolin in the mailing > list archive. > > > >> I'm really >> keen to use the IAIK libraries, as they will save me huge amounts of >> time (for which I'm already very grateful!) >> > > Note that this is a proof-of-concept setup. This is experimental > software with lots of sharp edges... :-) > > > Hope that helps, > Martin > Thanks Martin, using the right version of JAXB (and installing it properly!) did the trick. Thanks again for your help John |