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 C0616BFE4 for ; Wed, 4 Jan 2012 09:42:48 +0000 (UTC) Received: (qmail 44510 invoked by uid 500); 4 Jan 2012 09:42:48 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 44321 invoked by uid 500); 4 Jan 2012 09:42:30 -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 44303 invoked by uid 99); 4 Jan 2012 09:42:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 09:42:24 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 09:42:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A069137FC2 for ; Wed, 4 Jan 2012 09:41:38 +0000 (UTC) Date: Wed, 4 Jan 2012 09:41:38 +0000 (UTC) From: "Kunpeng Yang (Created) (JIRA)" To: dev@chemistry.apache.org Message-ID: <361448114.4006.1325670098370.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CMIS-492) Failed to trigger "CmisTckAntTask" for ws tests due to conflict of jaxws in the JDK and opencmis lib MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Failed to trigger "CmisTckAntTask" for ws tests due to conflict of jaxws in the JDK and opencmis lib ---------------------------------------------------------------------------------------------------- Key: CMIS-492 URL: https://issues.apache.org/jira/browse/CMIS-492 Project: Chemistry Issue Type: Bug Components: opencmis-tck Affects Versions: OpenCMIS 0.6.0 Reporter: Kunpeng Yang Priority: Critical Currently opencmis lib use Jaxws 2.1.7 while JDK 6 only contains Jaxws 2.0. When the ant task "CmisTckAntTask" is triggered, it will automatically load Jaxws in JDK firstly which cause following error msg to execute WS TCK tests {code} C:\OpenCMIS\chemistry-opencmis-test\chemistry-opencmis-test-tck\target\classes\build.xml:34: OpenCMIS TCK run failed! at org.apache.chemistry.opencmis.tck.runner.CmisTckAntTask.execute(CmisTckAntTask.java:125) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) Caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot initalize Web Services port object: $Proxy40 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider at org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(PortProvider.java:131) at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:210) at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:109) at org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:57) at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96) at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(AbstractSessionTest.java:142) at org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(AbstractCmisTestGroup.java:109) at org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(AbstractRunner.java:250) at org.apache.chemistry.opencmis.tck.runner.CmisTckAntTask.execute(CmisTckAntTask.java:120) ... 16 more Caused by: java.lang.ClassCastException: $Proxy40 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider at org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(PortProvider.java:108) ... 26 more {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira