You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Anton (JIRA)" <ji...@apache.org> on 2012/12/11 14:37:22 UTC
[jira] [Commented] (AXIS2-5467) Extend Spring support to accept
web-scoped beans
[ https://issues.apache.org/jira/browse/AXIS2-5467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528962#comment-13528962 ]
Anton commented on AXIS2-5467:
-------------------------------
When I try use
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
I got
WARN [http-8080-2] org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier - Axis2 Can't find Spring's ApplicationContext
and error <Exception>org.apache.axis2.AxisFault: The SERVICE_OBJECT_SUPPLIER parameter is not specified.
at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:247)
at 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
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org