[ https://issues.apache.org/jira/browse/CMIS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-595. --------------------------------- Resolution: Fixed Assignee: Florian Müller Should be solved with OpenCMIS 0.14.0. > Fails in Webservices mode with Weblogic12C - Both 0.6 and 0.8 Weblogic > exclusive binding jars are tested > -------------------------------------------------------------------------------------------------------- > > Key: CMIS-595 > URL: https://issues.apache.org/jira/browse/CMIS-595 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.6.0, OpenCMIS 0.8.0 > Environment: Weblogic 12C application server in windows OS > Reporter: Dilip MD > Assignee: Florian Müller > > When a web application embedding OpenCMIS client logic access OpenCMIS > repository in "webservices" mode, following error appears: > INFO: Connecting to CMIS using webservices, impersonating admin, URL > http://host:port/alfresco/cmis > Oct 18, 2012 12:43:27 PM jsp_servlet._lal._content.__browsecmis getBinding > INFO: Binding: > org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl@1d3a3bc > javax.xml.bind.JAXBException: > Descriptor Exceptions: > --------------------------------------------------------- > Exception [EclipseLink-110] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): > org.eclipse.persistence.exceptions.DescriptorException > Exception Description: Descriptor is missing for class > [org.apache.chemistry.opencmis.commons.impl.jaxb.EnumIncludeRelationships]. > Mapping: > org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[includeRelationships] > Descriptor: > XMLDescriptor(org.apache.chemistry.opencmis.commons.impl.jaxb.GetDescendants > --> [DatabaseTable(getDescendants)]) > .... > ... > Runtime Exceptions: > --------------------------------------------------------- > at > org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:535) > at > org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:476) > at > org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:435) > at > org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:676) > at > org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:634) > at > org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:830) > at > org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:770) > at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:177) > at > org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:860) > at > org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:830) > ... 76 more > I have upgraded org.eclipse.persistence_2.0.0.0_2-3.jar in modules directory > to org.eclipse.persistence_2.5 from EclipseLink. Then I get class not found > error for classes in CMIS jars which are right inside the WEB-INF/lib folder > of war. Looks like Oracle customizes this jar. -- This message was sent by Atlassian JIRA (v6.3.15#6346)