Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D47D610325 for ; Tue, 19 Nov 2013 17:17:34 +0000 (UTC) Received: (qmail 29282 invoked by uid 500); 19 Nov 2013 17:17:34 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 27030 invoked by uid 500); 19 Nov 2013 17:17:28 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 26617 invoked by uid 99); 19 Nov 2013 17:17:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 17:17:26 +0000 Date: Tue, 19 Nov 2013 17:17:26 +0000 (UTC) From: "Tim Webster (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-595) Fails in Webservices mode with Weblogic12C - Both 0.6 and 0.8 Weblogic exclusive binding jars are tested MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(XMLContext.java:830) > at org.eclipse.persistence.oxm.XMLContext$XMLContextState.(XMLContext.java:770) > at org.eclipse.persistence.oxm.XMLContext.(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)