Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B1DCA200CDD for ; Thu, 29 Jun 2017 18:31:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B07A0160BED; Thu, 29 Jun 2017 16:31:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 14B06160BFB for ; Thu, 29 Jun 2017 18:31:06 +0200 (CEST) Received: (qmail 59221 invoked by uid 500); 29 Jun 2017 16:31:06 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 59146 invoked by uid 99); 29 Jun 2017 16:31:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 16:31:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6C4FC1818A4 for ; Thu, 29 Jun 2017 16:31:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vX2aYCfNd94t for ; Thu, 29 Jun 2017 16:31:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 38A855FB71 for ; Thu, 29 Jun 2017 16:31:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 728B4E0D57 for ; Thu, 29 Jun 2017 16:31:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BCD4C245BC for ; Thu, 29 Jun 2017 16:31:00 +0000 (UTC) Date: Thu, 29 Jun 2017 16:31:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7076) Intermittent failure in WSDL cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Jun 2017 16:31:07 -0000 [ https://issues.apache.org/jira/browse/CXF-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068574#comment-16068574 ] ASF GitHub Bot commented on CXF-7076: ------------------------------------- Github user atokle commented on the issue: https://github.com/apache/cxf/pull/288 Wrong JIRA number > Intermittent failure in WSDL cache > ---------------------------------- > > Key: CXF-7076 > URL: https://issues.apache.org/jira/browse/CXF-7076 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime, Services > Affects Versions: 3.1.1 > Environment: Oracle JDK 1.8.0_91 > Tomcat 8.0.23 > Reporter: Marco Stettler > Priority: Blocker > > We have an error in the production environment that we can't reproduce locally. The error: > {quote} > Caused by: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element http://mynamespace MyService which is not in the schema. > at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886) > at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615) > at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593) > at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353) > at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209) > at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162) > at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405) > at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525) > at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261) > at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199) > at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102) > at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91) > at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157) > at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142) > at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493) > at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:359) > at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:350) > at javax.xml.ws.Service.getPort(Service.java:119) > at ch.mynamespace.MyService.getMyService() > {quote} > It looks like the WSDLManagerImpl gives not the correct cached SchemaCollection for the Service. Following the code for creating the client: > {quote} > private static final URL WSDL_RESOURCE = MyTest.class.getClassLoader().getResource("/wsdl/MyService.wsdl"); > ... > MyServicePort myServicePort = new MyService(WSDL_RESOURCE).getMyService(); > {quote} > This runs per invocation. We are on a webservice intermediate, so its possible to run in some sort of concurrency problem. As mentioned before, the error occours intermittent (about every 2 weeks). We are speaking about some load, but not that heavy (about 15k requests per day). > I think it could be the same as there: > https://issues.jboss.org/browse/JBWS-3973 > I'll inform if I have updates. As the production environment is involved, i have to investigate and must have a solution as quick as possible. > Thanks > Marco -- This message was sent by Atlassian JIRA (v6.4.14#64029)