cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Stettler (JIRA)" <>
Subject [jira] [Commented] (CXF-7076) Intermittent failure in WSDL cache
Date Tue, 11 Apr 2017 07:58:41 GMT


Marco Stettler commented on CXF-7076:

You find the whole specification about the service on But it's a lot, and
i don't think that helps much.

Initially, after starting, the application run w/o problems. The error occured after some
load/running time.
After reading issue 5407 i think it could be a problem between the GC and interning strings.

Is it possible that there are equal strings (not same ref/intern) that the JVM interns (optimize)
after some runtime (problem of issue 5407)?
Could it be a concurrency problem (maybe with the GC) on the mainDataMap (WeakHashMap) or
extraKeyMap (WeakIdentityHashMap) on the CacheMap?

> Intermittent failure in WSDL cache
> ----------------------------------
>                 Key: CXF-7076
>                 URL:
>             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(
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(
> 	at org.apache.cxf.wsdl11.WSDLServiceFactory.create(
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(
> 	at
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(
> 	at org.apache.cxf.frontend.ClientFactoryBean.create(
> 	at org.apache.cxf.frontend.ClientProxyFactoryBean.create(
> 	at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(
> 	at org.apache.cxf.jaxws.ServiceImpl.createPort(
> 	at org.apache.cxf.jaxws.ServiceImpl.getPort(
> 	at org.apache.cxf.jaxws.ServiceImpl.getPort(
> 	at
> 	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
> I think it could be the same as there:
> 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

View raw message