[
https://issues.apache.org/jira/browse/AXIS2-5467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529738#comment-13529738
]
Anton edited comment on AXIS2-5467 at 2/4/13 1:05 PM:
-------------------------------------------------------
Sample project added and restricted to jira-users
If I try
WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext) in
SpringServletContextObjectSupplier I got "No WebApplicationContext found: no
ContextLoaderListener registered?" with this head of stacktrace:
"org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:95)"
"org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier.getServiceObject(SpringServletContextObjectSupplier.java:74)"
"org.apache.axis2.util.Utils.createServiceObject(Utils.java:725)"
"org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:245)"
"org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:282)"
was (Author: popalka):
If I try
WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext) in
SpringServletContextObjectSupplier I got "No WebApplicationContext found: no
ContextLoaderListener registered?" with this head of stacktrace:
"org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:95)"
"org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier.getServiceObject(SpringServletContextObjectSupplier.java:74)"
"org.apache.axis2.util.Utils.createServiceObject(Utils.java:725)"
"org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:245)"
"org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:282)"
> Extend Spring support to accept web-scoped beans
> ------------------------------------------------
>
> Key: AXIS2-5467
> URL: https://issues.apache.org/jira/browse/AXIS2-5467
> Project: Axis2
> Issue Type: New Feature
> Components: Integration
> Affects Versions: 1.6.2
> Reporter: Anton
> Attachments: AxisSpringExample.zip
>
>
> Now AXIS2 offers only ContextLoaderListener as Listener for Spring
> <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
> </listener>
> It's initialized during deploy of war
> For using spring web-scoped beans
> http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-factory-scopes-other-web-configuration
> axis2 must support also
> <listener>
>
> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
> </listener>
> Please, add suport or provide workaround for this issue
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]