Hi, Below is my content of my struts.xml contents. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.objectFactory" value="spring" /> <constant name="struts.devMode" value="false" /> <package name="DE" extends="struts-default" namespace="/">
<result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /> </result-types> <action name="start" class="startAction"> <result type="tiles">home.page</result> <result name="success" type="tiles">home.page</result> <result name="error" type="tiles">home.page</result> <!--<result name="success">index_de.jsp</result> <result name="error">index_de.jsp</result> <result name="error" type="tiles">home.page</result> --> </action> <action name="manageCase" class="manageCaseAction"> <result name="header" type="tiles">home.page</result> <!--<result name="header">/pages/layout/header.jsp</result> --> </action> <action name="defineDataRelationship" class="defineDataRelationshipAction"> </action> <action name="startOfRelationship" class="startOfRelationshipAction"> </action> <action name="endOfRelationship" class="endOfRelationshipAction"> </action> <action name="defineMutation" class="defineMutationAction"> </action> <action name="calculateRights" class="calculateRightsAction"> </action> <action name="createLetter" class="createLetterAction"></action> <action name="viewDoc" class="viewDocAction"></action> </package> </struts> Thanks and Regards, Satheesh Kannan A B -----Original Message----- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Tuesday, November 02, 2010 4:03 PM To: Struts Users Mailing List Subject: Re: Struts 2.1.8 Tiles Could you post your struts.xml file? 2010/11/2 Satheesh Kannan A B <satheesh.kan...@hcl.com>: > Hi, > I did wat u told. Now both struts tiles plugin and struts core 2.1.8 are sin > web layer itself. > Its deployed perfectly but if am try to run my appl in browser its showing. > ERROR org.apache.struts2.dispatcher.Dispatcher - Dispatcher initialization > failed. > > Full stack trace given below. > [11/2/10 15:50:34:775 IST] 0000004e SystemOut O 2010-11-02 15:50:34,743 > [WebContainer : 0] ERROR org.apache.struts2.dispatcher.Dispatcher - > Dispatcher initialization failed > Unable to load configuration. - action - > file:/D:/Official/PROJECTS/D&E/Source/DivorceAndEqualizationWeb/WebContent/WEB-INF/classes/struts.xml:16:44 > at > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) > at > org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) > at > org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190) > at > com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:438) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:352) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:214) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:272) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:661) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646) > at > com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:628) > at > com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:145) > at > com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:595) > at > com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811) > at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) > at > com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194) > at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510) > Caused by: Error building results for action start in namespace / - action - > file:/D:/Official/PROJECTS/D&E/Source/DivorceAndEqualizationWeb/WebContent/WEB-INF/classes/struts.xml:16:44 > at > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:367) > at > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468) > at > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264) > at > org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111) > at > com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) > at > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) > > Thanks and Regards, > > Satheesh Kannan A B > > > > -----Original Message----- > From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] > Sent: Tuesday, November 02, 2010 2:21 PM > To: Struts Users Mailing List > Subject: Re: Struts 2.1.8 Tiles > > Try to put dependencies in the same folder. > > -- > Maurizio Cucchiara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org