Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread quinmeda1
David H. DeWolf wrote: > > If you can add a ticket to jira and post a small, simple, webapp that > details the problem, that would help immensely. > > Done: https://bugzilla.spamassassin.org/struts/browse/SB-96 A small war is attached to the issue. Use http://localhost:8080/struts2tiles/

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread Craig McClanahan
On 11/28/06, quinmeda1 <[EMAIL PROTECTED]> wrote: A little more info The following exception is thrown when trying to start the app with the listener: 2006-11-28 10:44:15 StandardContext[/myapp]Exception sending context initialized event to listener instance of class org.apache.struts2.til

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread quinmeda1
David H. DeWolf wrote: > > Can you find the entire stack trace? > Sure: exception javax.servlet.ServletException: Filter execution threw an exception root cause java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext java.lang.Class.getDeclaredConstructors0(Native Method)

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread David H. DeWolf
Can you find the entire stack trace? quinmeda1 wrote: I'm definitely using 2.0.1. Found I had some extra tiles-core* JARs lying around in lib. I cleared those out. Now the listener is working, but I'm back to getting java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext when it tries

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread quinmeda1
I'm definitely using 2.0.1. Found I had some extra tiles-core* JARs lying around in lib. I cleared those out. Now the listener is working, but I'm back to getting java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext when it tries to render the result. I'll keep digging. -- View t

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread David H. DeWolf
Very odd, the 2.0.1 tag (http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_1/plugins/tiles/) has no reference to the TilesContainer, and I thought it was released/tagged before it was introduced. Are you sure you're using struts 2.0.1 and not struts 2.0.2-SNAPSHOT? David quinme

RE: [S2] configuring Tiles with Struts 2

2006-11-28 Thread quinmeda1
A little more info The following exception is thrown when trying to start the app with the listener: 2006-11-28 10:44:15 StandardContext[/myapp]Exception sending context initialized event to listener instance of class org.apache.struts2.tiles.StrutsTilesListener java.lang.NoClassDefFoundErr

RE: [S2] configuring Tiles with Struts 2

2006-11-28 Thread Dave Newton
FWIW I'm running 2.0.1 with Tiles without difficulty. I don't have the machine in front of me; I'm not sure which Tiles it's using, though; I can post tomorrow. Dave From: David H. DeWolf [mailto:[EMAIL PROTECTED] On Behalf Of David H. > I'm going to have to do some digging around to see if I ca

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread David H. DeWolf
Sorry guys, I've been traveling with the family for thanksgiving. . . I'm going to have to do some digging around to see if I can replicate your problem. I don't currently have an app using 2.0.1 (using the trunk revision until 2.0.2 is released - this week I hope) If you can add a ticket to

Re: [S2] configuring Tiles with Struts 2

2006-11-27 Thread Sébastien LABEY
Hi Kim, No, sorry, no resolution to this :-( I'm waiting for an answer. I hope David will have a solution soon... If ever you find something to help, could you post it? Thanks. Sebastien On 11/27/06, Kim <[EMAIL PROTECTED]> wrote: > > On 11/22/06, Sébastien LABEY gmail.com> wrote: > > > > If

Re: [S2] configuring Tiles with Struts 2

2006-11-27 Thread Kim
> > On 11/22/06, Sébastien LABEY gmail.com> wrote: > > > > If I don't register the Tiles listener in the web.xml, Tomcat starts, my > > webapp works, but when I ask for a page build with tiles, I have a > > ClassDefNotFoundException on the TilesContext class... > > > > Maybe this can help you to

Re: [S2] configuring Tiles with Struts 2

2006-11-22 Thread Sébastien LABEY
Sorry : java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext... On 11/22/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote: David, I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail, but it doesn't

Re: [S2] configuring Tiles with Struts 2

2006-11-22 Thread Sébastien LABEY
David, I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail, but it doesn't work too. I have exactly the same problem while starting Tomcat and initializing the Tiles listener. If I don't register the Tiles lis

Re: [S2] configuring Tiles with Struts 2

2006-11-22 Thread Sébastien LABEY
Hi David, Thank you for your answer. I did not had enough time to try it until now, but it doesn't work. I'm quite sure I'm doing something wrong, in particular I think I did not have the right jars. Depending on the jars included in my /lib directory, I always have ClassNotFoundExcpetions... As

Re: [S2] configuring Tiles with Struts 2

2006-11-21 Thread David H. DeWolf
Sure. . .have you looked at: http://cwiki.apache.org/WW/tiles-plugin.html I'll be updating it shortly to take into account some of the recent changes in the plugin, but this should work in 2.0.1. There are a couple of different options if your using the snapshot. Also, depending on which t