From: <fra...@in...> - 2007-08-27 10:27:17
|
Hi, i've installed your package Privacy CA using the installation instructions. I suppose i've done the correctly setup, but when i run the scrypt it gives me the following error: ./pki-server.sh *** *** *** Welcome to the IAIK JCE Library *** *** *** *** This version of IAIK JCE is licensed for educational and research use *** *** and evaluation only. Commercial use of this software is prohibited. *** *** For details please see http://jce.iaik.tugraz.at/sales/licences/. *** *** This message does not appear in the registered commercial version. *** *** *** Exception in thread "main" java.lang.NoClassDefFoundError: iaik.tc.apps.jtt.common.QueryVersion at iaik.tc.apps.pki.server.TCServer.main(TCServer.java:144) Please help me! Thanks, Francesca Fabbri ---------------------------------------------------------------------------- DEXGATEMICRO il centralino VoIP multifunzione per l'azienda. Prova gratuita per 4 utenti! Scopri tutte le funzionalita' sul sito Dexgate.com ---------------------------------------------------------------------------- |
From: <fra...@in...> - 2007-08-27 14:56:59
|
Thanks for your response. I've build my own jtpmtool in the lib directory, so it didn't run. Now i use your jtpmtool build and it seems to function. But now i've a problem with jtpmtool: i run ./jtt.sh but the output is: ./jtt.sh ----------------------------------- IAIK/OpenTC Java TPM Tools - - - - - - - - - - using IAIK Trusted Computing libs jTSS, TCcert and XKMS ----------------------------------- 16:45:59:072 [INFO] CommonSettings::getTssFactory (39): TrouSerS and/or jTSS Wrapper not found. Trying IAIK jTSS. Exception in thread "main" java.lang.NoClassDefFoundError: iaik.tc.tss.impl.csp.TcCrypto at java.lang.Class.initializeClass(libgcj.so.70) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.<clinit>(Unknown Source) at java.lang.Class.initializeClass(libgcj.so.70) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsiOpenContext(Unknown Source) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspContextOpen_Internal(TcTspInternal.java:378) at iaik.tc.tss.impl.java.tsp.TcContext.connect(Unknown Source) at iaik.tc.tss.impl.java.tsp.TcContext.connect(Unknown Source) at iaik.tc.apps.jtt.common.CommonSettings.getTssFactory(CommonSettings.java:44) at iaik.tc.apps.JTpmTools.main(JTpmTools.java:42) Caused by: java.lang.ClassNotFoundException: javax.crypto.spec.PSource not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_jtss_tcs.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_jtss_tsp.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/lib/iaik_jtpmtools.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_xkms.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_jce.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_xsect.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/jaxb/activation.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/jaxb/jaxb-api.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/jaxb/jaxb-impl.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/jaxb/jsr173_1.0_api.jar,file:/home/francesca/Desktop/download/tpm/jTpmTools_0.3/ext_libs/iaik_tccert.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.70) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) ...8 more i've just controlled that all the libraries were in ext-lib. Can you help me? thanks Francesca Fabbri ---------------------------------------------------------------------------- DEXGATEMICRO il centralino VoIP multifunzione per l'azienda. Prova gratuita per 4 utenti! Scopri tutte le funzionalita' sul sito Dexgate.com ---------------------------------------------------------------------------- |
From: Martin P. <Mar...@ia...> - 2007-08-27 15:05:16
Attachments:
smime.p7s
|
fra...@in... wrote: > Thanks for your response. I've build my own jtpmtool in the lib directory, so it didn't run. Now i use your jtpmtool build and it seems to function. > Exception in thread "main" java.lang.NoClassDefFoundError: iaik.tc.tss.impl.csp.TcCrypto > at java.lang.Class.initializeClass(libgcj.so.70) Please read the PCA readme, section 2.3.1 "Java". GCJ is not supported, use Sun Java. HTH -- Martin Pirker IAIK, TU Graz |
From: Martin P. <Mar...@ia...> - 2007-08-27 11:29:49
Attachments:
smime.p7s
|
fra...@in... wrote: > Hi, i've installed your package Privacy CA using the installation instructions. > I suppose i've done the correctly setup, but when i run the scrypt it gives me the following error: > Exception in thread "main" java.lang.NoClassDefFoundError: iaik.tc.apps.jtt.common.QueryVersion > at iaik.tc.apps.pki.server.TCServer.main(TCServer.java:144) Please read the PCA readme, section 2.3.2 "Libraries". The above error suggests you are missing JTpmTools. (The PCA package basically requires all other packages. JTpmTools already implements the AIK cycle in a local version. The PCA extends the class from JTpmTools and overrides only 3 specific methods to make it a server service). HTH -- Martin Pirker IAIK, TU Graz |