CXF run with Spring 2.5 will get bean create error (out of stack memory) when
CXF configures the endpoint with the <jaxws:endpoint> configure file
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: CXF-1249
URL: https://issues.apache.org/jira/browse/CXF-1249
Project: CXF
Issue Type: Bug
Components: Configuration
Affects Versions: 2.0.3
Reporter: willem Jiang
Assignee: willem Jiang
Fix For: 2.0.4, 2.1
Here is configuration file.
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<context:annotation-config />
<jaxws:endpoint id="{http://apache.org/hello_world_soap_http}SoapPort"
createdFromAPI="true">
<jaxws:features>
<bean class="org.apache.cxf.feature.LoggingFeature"/>
</jaxws:features>
</jaxws:endpoint>
</beans>
When the CXF configure the Endpoint with this configure file, it will run into
the endless loop , since endpoint init method will call endpoint
configure(this) method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.