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!

Content server 16.2.x error in weblogic 12.1.2.0.0

Status
Not open for further replies.

Susan2068

Programmer
Jul 22, 2016
16
IN
hi,

one of our web application is deployed in Weblogic 12.1.2.0.0 and the application is integrated with the Livelink content server 16.2.X when we try to invoke the following code

DocumentManagement dm = DocumentManagementService.getCurrentInstance().getDMService(admToken, livelinkContext); Node enterpriseWS = dm.getRootNode("EnterpriseWS");

it throws the below exception. but this code works fine in jboss
com.sun.xml.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.JAXBException
- with linked exception:
[org.xml.sax.SAXException:
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])]
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:130)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
at com.sun.proxy.$Proxy113.getRootNode(Unknown Source)
at jsp_servlet._modules._dms.__livelinksearch._jspService(__livelinksearch.java:535)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:238)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:573)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:272)
at com.sysarris.register.livelink.LiveLinkController.doForward(LiveLinkController.java:195)
at com.sysarris.register.livelink.LiveLinkController.doPost(LiveLinkController.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sysarris.register.util.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:137)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sysarris.register.util.SeperatorFilter.doFilter(SeperatorFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.ags.commons.web.filter.GZIPFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sysarris.register.util.SessionCheckWebFilter.doFilter(SessionCheckWebFilter.java:73)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[org.xml.sax.SAXException:
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])]
at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:572)
at com.sun.xml.ws.db.toplink.JAXBBond.unmarshal(JAXBBond.java:355)
at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:650)
at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:258)
at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:181)
at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:258)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:117)
... 44 more
Caused by: org.xml.sax.SAXException:
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [q1:DateValue] of type [class java.lang.String].
Descriptor: XMLDescriptor(com.opentext.livelink.service.core.DataValue --> [])
at org.eclipse.persistence.internal.oxm.record.XMLStreamReaderReader.parse(XMLStreamReaderReader.java:106)
at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:494)
... 50 more
 
Since it works in JBoss it may be futile to use SOAPUI to model what you are doing.But what one can do is to enable extended debugging in Livelink.My blog link will show you how it is done at the
livelink server if you are new and have not ever done any debugging

Mostly it will turn out to be missing or older classes that the OT webservices code is doing and your weblogic code/hierarchy may be newer builds.
Sometime OT puts out release notes saying that the web services client may have to be written in a specific java env.I know that almost 90 % of
livelink web services hosts run in the java realm on TC.The error stack includes references to eclipse,would that mean that your code has some eclipse
dependencies?

You should try your java code with the simplest of livelink soap calls.

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