From: Ronald T. <ron...@ia...> - 2011-03-25 09:07:53
|
Hi, You also need to include the jars in the ext_libs directory. Ronald On 03/24/2011 11:23 PM, Mudassar Aslam wrote: > Hi > I have installed the TCS as windows service using setup.exe as > directed in documentation (section 7.3). I have also configured .ini > files. I can see TPM commands as services when I enter > http://localhost:30004/axis/services/TSSCoreServiceBindingImpl in my > browser which means that TCS daemon is running. > I am using eclipse to run very basic program using soap binding for > some reason. I have set class path for jtss_tcs.jar and jtss_tsp.jars > (normal and soap). I am not sure how to configure my eclipse project > to run my program with soap binding (e.g. axis server, port, wsdl > etc). I am getting following exceptions: > Exception in thread "main" java.lang.NoClassDefFoundError: > javax/xml/rpc/ServiceException > at > iaik.tc.tss.impl.java.tsp.TcTssSOAPCallFactory.newContextObject(TcTssSOAPCallFactory.java:18) > at > iaik.tc.tss.api.tspi.TcTssContextFactory.newContextObject(TcTssContextFactory.java:68) > at tests.TestTpm.main(TestTpm.java:21) > Caused by: java.lang.ClassNotFoundException: > javax.xml.rpc.ServiceException > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 3 more > Regards. > > Mudassar. > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Secure and Correct Systems fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |