Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
Hi John, It seems jetty-run is extracting the WAR already: Extract jar:file:/Users/lasombra/x/bab/Borrow-a-Book.war!/ to /private/ var/folders/tx/tx81A4fxHIqgj+kBEbe3CU+++TI/-Tmp-/ Jetty_0_0_0_0_8080_Borrow.a.Book.waremg8ve/webapp And scanning the WAR is not working either. On 25/09/200

Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
rrors can be ignored, they are just annoying. musachy On Fri, Sep 25, 2009 at 8:22 AM, Ingo Hoffmann wrote: That makes sense. Should I enable jar scanning maybe? -Original Message- From: Musachy Barroso Date: Fri, 25 Sep 2009 08:20:29 To: Struts Users Mailing List Subject: Re: Convent

Re: Convention plugins problems

2009-09-25 Thread Musachy Barroso
e: > That makes sense. > Should I enable jar scanning maybe? > -Original Message- > From: Musachy Barroso > Date: Fri, 25 Sep 2009 08:20:29 > To: Struts Users Mailing List > Subject: Re: Convention plugins problems > > that makes sense. By the default Convention wi

Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
That makes sense. Should I enable jar scanning maybe? -Original Message- From: Musachy Barroso Date: Fri, 25 Sep 2009 08:20:29 To: Struts Users Mailing List Subject: Re: Convention plugins problems that makes sense. By the default Convention will not scan jar files, the jar files are

Re: Convention plugins problems

2009-09-25 Thread Musachy Barroso
that makes sense. By the default Convention will not scan jar files, the jar files are found using the META-INF directory. If the application is not unpacked, the the plugin will not find the classes. musachy On Fri, Sep 25, 2009 at 5:10 AM, j.ollier wrote: > I have also been trying to get start

Re: Convention plugins problems

2009-09-25 Thread j.ollier
I have also been trying to get started with the Convention plugin and was struggling to understand why a webapp which works fine in Tomcat would not work in Jetty. I found that if Jetty does not expand the WAR file then I get this on startup: java.lang.Exception: Could not load WEB-INF/classes/co

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
I'm using the jetty-starter On 24/09/2009, at 17:33, Musachy Barroso wrote: hard to say. A good point to start debugging is in PackageBasedActionConfigBuilder.buildUrlSet, for some reason it is not finding the actions. I used jetty all the time, but I use it with the maven jetty plugin. musach

Re: Convention plugins problems

2009-09-24 Thread Musachy Barroso
hard to say. A good point to start debugging is in PackageBasedActionConfigBuilder.buildUrlSet, for some reason it is not finding the actions. I used jetty all the time, but I use it with the maven jetty plugin. musachy On Thu, Sep 24, 2009 at 12:53 PM, Ingo Hoffmann wrote: > In contrast to Tomc

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
In contrast to Tomcat: 2009-09-24 16:51:08,115 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Setting action default parent package to [convention-default] 2009-09-24 16:51:08,117 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Loading acti

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
The only thing TRACE returns: 2009-09-24 16:24:06,956 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Setting action default parent package to [convention-default] 2009-09-24 16:24:06,958 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Loadi

Re: Convention plugins problems

2009-09-24 Thread Musachy Barroso
Any traces or errors? Set the log level to TRACE musachy On Thu, Sep 24, 2009 at 12:20 PM, Ingo Hoffmann wrote: > Hi, > > I have been trying to get the Convention plugin to work on Winstone and > Jetty without any luck. It seems it doesn't even start. > > The same .war works without issues on To

Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
Hi, I have been trying to get the Convention plugin to work on Winstone and Jetty without any luck. It seems it doesn't even start. The same .war works without issues on Tomcat. I set org.apache.struts2.convention to DEBUG and I see on the Tomcat logs the convention plugins mapping my URLs