Hi All,
My application is of Struts2+spring+hibernate.

I am at the initial stage of development. Initially a simple POC type module was done with tomcat v6.0 server.
I tried to migrate it to Webpshere 7.0.
I am able to deploy the application and see the home page

strut actions are working fine in the default singleton scope. but throws error in the request or session scope. My validations need only request scope.

the error trace is :

[5/31/10 13:08:45:179 EDT] 00000023 webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[Unable to instantiate Action, transHistoryAction, defined for 'loadTrace' in namespace '/TransTrace'Error creating bean with name 'transHistoryAction': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Unable to instantiate Action, transHistoryAction, defined for 'loadTrace' in namespace '/TransTrace'Error creating bean with name 'transHistoryAction': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.sendError(WebAppDispatcherContext.java:624)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sen dError(SRTServletResponse.java:1071)
at org.apache.struts2.dispatcher.Dispatcher.sendError (Dispatcher.java:770)
at org.apache.struts2.dispatcher.Dispatcher.serviceAc tion(Dispatcher.java:505)
at org.apache.struts2.dispatcher.FilterDispatcher.doF ilter(FilterDispatcher.java:395)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:852)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager .invokeFilters(WebAppFilterManager.java:917)
at com.ibm.ws.webcontainer.extension.DefaultExtension Processor.invokeFilters(DefaultExtensionProcessor. java:924)
at com.ibm.ws.webcontainer.extension.DefaultExtension Processor.handleRequest(DefaultExtensionProcessor. java:852)
at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1527)



My application context.xml is

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schem...ng-aop-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schem...ontext-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
<bean
class="org.springframework.orm.jpa.support.Persist enceAnnotationBeanPostProcessor" />
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
<property name="location" value="WEB-INF/jdbc.properties" />
</bean>
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverM anagerDataSource">
<property name="driverClassName" value="${jdbc.driverClassName}" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
</bean>
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerE ntityManagerFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.Hibernat eJpaVendorAdapter">
<property name="database" value="ORACLE" />
<property name="showSql" value="true" />
</bean>
</property>
</bean>

<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionM anager">
<property name="entityManagerFactory" ref="entityManagerFactory"></property>
</bean>
<tx:annotation-driven transaction-manager="transactionManager" />
<aop:aspectj-autoproxy />
<bean id="serviceToolDao" class="com.wellpoint.servicetool.dao.ServiceToolDa oImpl"/>
<bean id="transHistoryService" class="com.wellpoint.servicetool.service.TransHist oryServiceImpl" >
<property name = "serviceToolDao" ref = "serviceToolDao"></property>
</bean>
<bean name="transHistoryAction" class="com.wellpoint.servicetool.action.TransHisto ryAction" scope="request">
<constructor-arg ref="transHistoryService"/>
</bean>
<bean id="transSubmissionService" class="com.wellpoint.servicetool.service.TransSubm issionServiceImpl" >
<property name = "serviceToolDao" ref = "serviceToolDao"></property>
</bean>
<bean name="transSubmissionAction" class="com.wellpoint.servicetool.action.TransSubmi ssionAction">
<constructor-arg ref="transSubmissionService"/>
</bean>

</beans>