struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Struts 2.1.8 Tiles
Date Tue, 02 Nov 2010 19:46:03 GMT

implement one extends e.g.
<package name="DE" extends="tiles-default" namespace="/">

Martin
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




> From: satheesh.kannan@hcl.com
> To: user@struts.apache.org
> Date: Wed, 3 Nov 2010 00:52:52 +0530
> Subject: RE: Struts 2.1.8 Tiles
> 
> Hi,
> I tried wat u all told, since am facing this issue. <package name="DE" extends="struts-default,tiles-default"
namespace="/">
> 
> [11/3/10 0:51:32:207 IST] 000000db SystemOut     O 2010-11-03 00:51:32,160 [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)
>         ... 32 more
> 
> Thanks  and Regards,
> 
> Satheesh Kannan A B
> 
> 
> 
> 
> -----Original Message-----
> From: Chris Pratt [mailto:thechrispratt@gmail.com]
> Sent: Wednesday, November 03, 2010 12:05 AM
> To: Struts Users Mailing List
> Subject: Re: Struts 2.1.8 Tiles
> 
> It looks like you extended the struts-default instead of the tiles-default
> and you didn't define the tiles result type yourself.  Try changing the
> package declaration to extends="tiles-default"
>   (*Chris*)
> 
> On Tue, Nov 2, 2010 at 3:49 AM, Maurizio Cucchiara <
> maurizio.cucchiara@gmail.com> wrote:
> 
> > This time it seems you have trouble with spring configuration
> > (http://struts.apache.org/2.1.8.1/docs/spring-plugin.html).
> >
> >
> > 2010/11/2 Satheesh Kannan A B <satheesh.kannan@hcl.com>:
> > > 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.cucchiara@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.kannan@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.cucchiara@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-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: user-help@struts.apache.org
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: user-help@struts.apache.org
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > Maurizio Cucchiara
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@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-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> >
> > --
> > Maurizio Cucchiara
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message