You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Tim Webster (JIRA)" <ji...@apache.org> on 2013/11/19 18:17:26 UTC

[jira] [Commented] (CMIS-595) Fails in Webservices mode with Weblogic12C - Both 0.6 and 0.8 Weblogic exclusive binding jars are tested

    [ https://issues.apache.org/jira/browse/CMIS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826694#comment-13826694 ] 

Tim Webster commented on CMIS-595:
----------------------------------

I got this to work in Weblogic 12.1.1 by reverting back to the 'old' JAXB providers.

Details here:http://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#CIHBHDGI

It seemed to only work with the system variables - adding the override jar to the classpath seemed to have no effect.

> 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
>
> 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.1#6144)