Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in EWS

Status
Not open for further replies.

megapix

Technical User
Jan 22, 2013
18
IT
Hi All!
If i call my EWS :

return:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoClassDefFoundError
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36)
javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95)
javax.xml.ws.spi.Provider.provider(Provider.java:83)
javax.xml.ws.Service.<init>(Service.java:56)
com.opentext.livelink.service.core.Authentication_Service.<init>(Authentication_Service.java:42)
com.soc.opentext.cs.utils.ot.WebServiceUtil.getAuthenticationService(WebServiceUtil.java:143)
com.soc.opentext.cs.utils.ot.WebServiceUtil.getAuthenticationToken(WebServiceUtil.java:44)
com.soc.opentext.cs.utils.ot.OTClient.connect(OTClient.java:125)
com.soc.opentext.cs.wf.TestEWS.doGet(TestEWS.java:58)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

in rcs.log :

2013-02-04 16:29:16,287 ERROR [http-8080-Processor24] otx.Apache : org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/EWS].[TestEWS] - Servlet.service() for servlet TestEWS threw exception
java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36)
at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95)
at javax.xml.ws.spi.Provider.provider(Provider.java:83)
at javax.xml.ws.Service.<init>(Service.java:56)
at com.opentext.livelink.service.core.Authentication_Service.<init>(Authentication_Service.java:42)
at com.soc.opentext.cs.utils.ot.WebServiceUtil.getAuthenticationService(WebServiceUtil.java:143)
at com.soc.opentext.cs.utils.ot.WebServiceUtil.getAuthenticationToken(WebServiceUtil.java:44)
at com.soc.opentext.cs.utils.ot.OTClient.connect(OTClient.java:125)
at com.soc.opentext.cs.wf.TestEWS.doGet(TestEWS.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

Any suggestions to investigate pls?

Many Thanks
 
is that a webservice(webapp) you wrote or is that Opentext webservices that you have hosted in a tomcat server

I also see RCS in the picture so I think you are trying to work with Enterprise Library which I do not really
know. RCS programming examples ELS are avilable in the KB.Make sure you follow that.Did you create the TESTEWS app
in the MMC (Admin Client).From what little I know RCS can only work if the RCS server is configured to talk
to a livelink server.Also basically you are sending commands in your ELS code so that it hits a livelink server
finally calling the same or similar Enterprise Web Services.There is very little programming help available in this other
than OT's KB.

The standdard webservices for livelink is usually in this form

the IIS WSDL looks like this
//shown for DocumentManagment
the Tomcat WSDL should be similar although I don't have a Tomcat to check the exact way

What you are trying or getting confused is you want to get into livelink with a userid/password in the URL.
Unfortunately livelink doesnot do RESTful API's like what you want.

Livelink's search is a RESTful API so you can chain querystring params
in that you can hardcode userid/password.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top