chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dilip MD (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-595) Fails in Webservices mode with Weblogic12C - Both 0.6 and 0.8 Weblogic exclusive binding jars are tested
Date Wed, 31 Oct 2012 04:15:11 GMT
Dilip MD created CMIS-595:
-----------------------------

             Summary: 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.8.0, OpenCMIS 0.6.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message