Hi,
I am testing TeamSite 7.1 on linux.
We are using cssdk client jar files to communicate with TeamSite server.
We have tomcat as the web application server.
I have copied all the cssdk related jar files onto /webapps/my_application/WEB-INF/lib
From my_application, I am trying to connect to TeamSite server to obtain a client using a service url like,
https://tshost:443 and SOAP protocol (CSSOAPFactory). However I am getting error in tomcat logs as follows and client is not obtained.
2010-09-21 13:37:40 [DEBUG] TeamSiteClientImpl:538 - Calling CSFactory.getFactory with properties = {com.interwoven.cssdk.factory.CSFactory=com.interwoven.cssdk.factory.CSSOAPFactory, serviceBaseURL=
https://tshot:443}2010-09-21 13:37:42 [DEBUG] TeamSiteClientImpl:565 - [createClient()] host='tshost', port='443', previewPort='81', user='user', role='Master',password='pass'
2010-09-21 13:37:43 [ERROR] TeamSiteRepositoryServiceImpl:259 - CSException: com.interwoven.cssdk.common.CSException: (java.net.SocketException: java.lang.ClassNotFoundException: com.interwoven.cssdk.factory.DummySSLSocketFactory)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
I have made sure and cssdksoap.jar is present in /webapps/my_application/WEB-INF/lib. this jar has the required DummySSLSocketFactory present.
I have also tested the same using JNI (CSJavaFactory and same service url
https://tshost:443 and that works. Means it gets the csclient correctly without error.
Also I have tested running CSSDK_CLIENT examples from outside of tomcat server and I am able to get the client with
https://tshost:443 and SOAP as well as JNI.
So I think TOMCAT is creating some issues with SOAP and
https://tshost:443.
Not sure if there is some permissions setting needed (for ssl socket) in the catalina.policy or server.xml ?
Please let me know your thoughts as to what may be wrong here.
Thanks