Re: Struts 2.0.11 + Tiles 2.0.5

2008-01-03 Thread Vinny
Did you by chance build your project from the info on this page? http://struts.apache.org/2.0.11/docs/struts-maven-archetypes.html the archetype is uses as an example is old (2.0.5). Should a Jira be opened to correct this? On Jan 3, 2008 9:02 AM, Marcin Pietraszek <[EMAIL PROTECTED]> wrote: > 20

Re: Struts 2.0.11 + Tiles 2.0.5

2008-01-03 Thread Marcin Pietraszek
2008/1/3, Antonio Petrelli <[EMAIL PROTECTED]>: > I think that the wrong dependency is in the struts2-tiles-plugin > because it seems to reference an old version of the "render" method. Of course this was my problem! I should use org.apache.struts struts2-tiles-plugin 2.0.11

Re: Struts 2.0.11 + Tiles 2.0.5

2008-01-03 Thread Antonio Petrelli
2008/1/3, Marcin Pietraszek <[EMAIL PROTECTED]>: org.apache.tiles.TilesContainer.render(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V > > org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104) > > org.apache.struts2.dispatcher.StrutsResultSupport.exe

Re: Struts 2.0.11 + Tiles

2007-12-08 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > Thanks it is working now! I also needed commons-collection. Why does > not Struts come with those jars? :) Tiles does not need commons collections. It's commons-digester that is needed. Antonio

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Thanks it is working now! I also needed commons-collection. Why does not Struts come with those jars? :) Thanks, Rodrigo Pereira On Dec 7, 2007 6:20 PM, Mike Jennings <[EMAIL PROTECTED]> wrote: > Looks like you don't have apache commons-digester in your classpath > > > Rodrigo Pereira wrote: > >

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Martin Gainty
did you check to see commons-digester.jar is on /WEB-INF/lib ? and which version ? M- - Original Message - From: "Rodrigo Pereira" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, December 07, 2007 3:17 PM Subject: Re: Struts 2.0.11 + Tiles

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Mike Jennings
Looks like you don't have apache commons-digester in your classpath Rodrigo Pereira wrote: I got more information. 07/12/2007 18:15:55 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.struts2.tile

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
I got more information. 07/12/2007 18:15:55 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.struts2.tiles.StrutsTilesListener java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
That's all it is printed... Thanks, Rodrigo Pereira On Dec 7, 2007 5:38 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > Hi, > > after I updated to 2.0.5 I got errors during startup > > > > org.apache.tiles.impl.BasiTilesContainer init > > INFO

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > Hi, > after I updated to 2.0.5 I got errors during startup > > org.apache.tiles.impl.BasiTilesContainer init > INFO: Initializing Tiles2 container > org.apache.catalina.core.StandardContext start > SEVERE:startup failed due to previous errors > org.

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Hi, after I updated to 2.0.5 I got errors during startup org.apache.tiles.impl.BasiTilesContainer init INFO: Initializing Tiles2 container org.apache.catalina.core.StandardContext start SEVERE:startup failed due to previous errors org.apache.tiles.access.TilesAccess setContainer INFO: Removing Til

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > No, only a message from tomcat saying the resource is not available. > Well, my index.html page automatically redirects to an action. Mmm... at this point I suggest to update to Tiles 2.0.5. http://tiles.apache.org/download.html Probably you wi

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
tener you haven't any exception in you server log? > No exception on startup ? > No exception when you try to access to your application? > > -Message d'origine- > De : Rodrigo Pereira [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 7 décembre 2007 16:27 > À : Struts

RE: Struts 2.0.11 + Tiles

2007-12-07 Thread LEONARD Julien (Consulting for ACCOR Hotels)
ruts Users Mailing List Objet : Re: Struts 2.0.11 + Tiles Yes, I only get the exception if I remove it, if not I get "The requested resource (/myApp/) is not available." and it seems like all my actions stop working. Thanks, Rodrigo Pereira On Dec 7, 2007 1:10 PM, Antonio Petrelli <[

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Yes, I only get the exception if I remove it, if not I get "The requested resource (/myApp/) is not available." and it seems like all my actions stop working. Thanks, Rodrigo Pereira On Dec 7, 2007 1:10 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > Hi, > no exception during startup. > Btw, is it correct of not having StrutsTilesListener in web.xml? Yes, it *is* correct. Why are you asking, did you remove it? That listener is necessary for Tiles (inside Struts) to work. Antonio

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Hi, no exception during startup. Btw, is it correct of not having StrutsTilesListener in web.xml? Thanks, Rodrigo Pereira On Dec 7, 2007 12:46 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > > > java.lang.NullPointerException > > org.a

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Alberto A. Flores
Have you try replacing this: tilesDefinitions /WEB-INF/tiles.xml with this org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles.xml Antonio Petrelli wrote: 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: java.lang.NullPointerException org.apache.

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > java.lang.NullPointerException > org.apache.struts2.views.tiles.TilesResult.doExecute( > TilesResult.java:104) Ok this is symptom that the Tiles container has not been loaded (there is an issue that addresses the problem of the NPE, jus

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
I noticed before I sent the note that I only get this exception if I took off StrutsTilesListener from web.xml, not sure if this is correct. java.lang.NullPointerException org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104) org.apache.struts2.dispatcher.Str

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
Ok I give up :-( Seriously Rodrigo, we need the stack trace of the exception that you told that you have found. Otherwise, you are really too vague. Antonio 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > I got that error: "The requested resource (/myApp/) is not available." > > web.xml: > >

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
I got that error: "The requested resource (/myApp/) is not available." web.xml: tilesDefinitions /WEB-INF/tiles.xml struts org.apache.struts2.dispatcher.FilterDispatcher struts /*

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Antonio Petrelli
Rodrigo Please post the exception stack trace here, otherwise we cannot help you! Antonio 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > Struts actions stop working and it is not recognize by tomcat. > > I have the following jars: > > struts2-tiles-plugin-2.0.11.jar > tiles-api-2.0.4.jar > t

Re: Struts 2.0.11 + Tiles

2007-12-07 Thread Rodrigo Pereira
Struts actions stop working and it is not recognize by tomcat. I have the following jars: struts2-tiles-plugin-2.0.11.jar tiles-api-2.0.4.jar tiles-core-2.0.4.jar tiles-jsp-2.0.4.jar Thanks, Rodrigo Pereira On 12/6/07, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Rodrigo Pereira <[EMAIL PROTE

Re: Struts 2.0.11 + Tiles

2007-12-06 Thread Dave Newton
--- Rodrigo Pereira <[EMAIL PROTECTED]> wrote: > I am facing an issue trying to use struts 2.0.11 + tiles. > > When I insert the following information in my web.xml I get an exception: > > > org.apache.struts2.tiles.StrutsTilesListener > Any particular exception? You have the Tiles plugin? You

Re: Struts 2.0.11 + Tiles

2007-12-06 Thread Mike Jennings
What is the exception that you are getting? Rodrigo Pereira wrote: Hi, I am facing an issue trying to use struts 2.0.11 + tiles. When I insert the following information in my web.xml I get an exception: org.apache.struts2.tiles.StrutsTilesListener Have anybody faced the same issue here befo