You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by chandu002 <ra...@rediffmail.com> on 2010/01/25 18:20:44 UTC

Struts 2.0 is unable to be loaded in Websphere 6.1

Hi,

We are getting the following exceptions whenever there is a new deployment
in Websphere 6.1. The exact version of Websphere we are using is Websphere
6.1.0.21. This exception often comes every 2 out of 3 times and goes away
only when we restart the Websphere profiles. This is happening in the
production and not in any of the test labs which we have.

As a primary investigation, we checked whether the invokefiltercompatibility
property is set to true or not in Webpshere Admin Console. This property
makes sure that Struts 2 is compatible with Websphere 6.1. In all the labs
over here and in the store, this property is true, so we made sure that this
property is not the cause for the problem.

We also checked if any unusual characters in tiles.xml is causing the xml
parser to parse the xml file. But, we found that there are no unusual
characters in tiles.xml when we read the xml files through the Hex Editor
plugin.

Following are the error logs when the problem with Struts 2.0 is occuring in
Websphere 6.1. This is happening frequently when there is a new deployment
in the stores and resolved only by restarting the Websphere profile.

12/18/09 7:54:52:776 CST] 000000a4 DefinitionMan E
org.apache.tiles.impl.mgmt.DefinitionManager resolveInheritance Error while
resolving definition inheritance: child 'custom' ca
n't find its ancestor 'star2.tabMainLayout'. Please check your description
file.
12/18/09 7:54:52:777 CST 000000a4 DefinitionMan E
org.apache.tiles.impl.mgmt.DefinitionManager resolveInheritance Error while
resolving definition inheritance: child 'custom' ca
n't find its ancestor 'star2.tabMainLayout'. Please check your description
file.
12/18/09 7:54:52:778 CST 000000a4 WebApp E Servlet Error-[Error
while resolving definition inheritance: child 'custom' can't find its
ancestor
'star2.tabMainLayout'.
Please check your description file.]:
org.apache.tiles.definition.NoSuchDefinitionException: Error while resolving
definition inheritance: child 'custom' can't find its ancestor '
star2.tabMainLayout'. Please check your description file.
at
org.apache.tiles.impl.mgmt.DefinitionManager.resolveInheritance(DefinitionManager.java:200)
at
org.apache.tiles.impl.mgmt.DefinitionManager.addDefinition(DefinitionManager.java:136)
at
org.apache.tiles.impl.mgmt.CachingTilesContainer.register(CachingTilesContainer.java:90)
at
org.apache.tiles.impl.mgmt.CachingTilesContainer.register(CachingTilesContainer.java:53)
at
walgreens.pos.backoffice.common.StarTileResultWag.doExecute(StarTileResultWag.java:129)
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
:$
at
walgreens.pos.backoffice.common.StarTileResultWag.doExecute(StarTileResultWag.java:129)
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at
com.pcmsgroup.v21.star2.application.common.interceptor.EntryBarResultsInterceptor.intercept(EntryBarResultsInterceptor.java:52)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at
com.pcmsgroup.v21.star2.application.common.interceptor.SessionInterceptor.intercept(SessionInterceptor.java:62)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at
com.pcmsgroup.v21.star2.application.common.interceptor.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:75)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:742)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:695)
at
com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:833)
at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:771)
at
com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3444)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
-- 
View this message in context: http://old.nabble.com/Struts-2.0-is-unable-to-be-loaded-in-Websphere-6.1-tp27307999p27307999.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org