Ingo Hoffmann
Thu, 24 Sep 2009 13:35:36 -0700
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. musachyOn Thu, Sep 24, 2009 at 12:53 PM, Ingo Hoffmann <i...@hoffmann.cx> wrote:In contrast to Tomcat: 2009-09-24 16:51:08,115 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Settingaction default parent package to [convention-default] 2009-09-24 16:51:08,117 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Loadingaction configurations 2009-09-24 16:51:08,117 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Actions being loaded using package locators [action, actions, struts, struts2]2009-09-24 16:51:08,118 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Excludingactions from packages [org.apache.struts.*, org.apache.struts2.*, org.springframework.web.struts.*, org.springframework.web.struts2.*, org.hibernate.*] 2009-09-24 16:51:08,207 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Changedaction name from [HelloWorld] to [hello-world] 2009-09-24 16:51:08,208 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) GotactionName for class [class cx.hoffmann.bab.web.actions.HelloWorld] of[hello-world] 2009-09-24 16:51:08,209 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [cx.hoffmann.bab.web.actions#convention- default#] witha namespace [] 2009-09-24 16:51:08,214 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using non-default action namespace from the Action annotation of [/asd] 2009-09-24 16:51:08,214 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [cx.hoffmann.bab.web.actions#convention- default#] witha namespace [] 2009-09-24 16:51:08,217 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using finalcalculated namespace [] 2009-09-24 16:51:08,217 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the Servlet container at [/WEB-INF/content/] with resultprefix of [/WEB-INF/content/asd] 2009-09-24 16:51:08,218 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.jsp] 2009-09-24 16:51:08,218 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.freemarker] 2009-09-24 16:51:08,219 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index-success.ftl] 2009-09-24 16:51:08,219 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index.ftl] 2009-09-24 16:51:08,220 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the class path at [WEB-INF/content/] with a result prefix of[/WEB-INF/content/asd] and action name [asd] 2009-09-24 16:51:08,227 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Changedaction name from [HelloWorld] to [hello-world] 2009-09-24 16:51:08,227 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) GotactionName for class [class exemplo.actions.HelloWorld] of [hello- world]2009-09-24 16:51:08,228 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [exemplo.actions#convention-default#] with a namespace[] 2009-09-24 16:51:08,229 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using finalcalculated namespace [] 2009-09-24 16:51:08,230 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the Servlet container at [/WEB-INF/content/] with resultprefix of [/WEB-INF/content/hello-world] 2009-09-24 16:51:08,230 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.jsp] 2009-09-24 16:51:08,231 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) The result file [/WEB-INF/content/hello-world.jsp] has no result code and therefore will be associated with success, input and error by default. This might beoverridden by another result file or an annotation. 2009-09-24 16:51:08,232 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.freemarker] 2009-09-24 16:51:08,233 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) The resultfile [/WEB-INF/content/hello-world.freemarker] has no result code andtherefore will be associated with success, input and error by default. Thismight be overridden by another result file or an annotation. 2009-09-24 16:51:08,234 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index-success.ftl] 2009-09-24 16:51:08,234 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index.ftl] 2009-09-24 16:51:08,235 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the class path at [WEB-INF/content/] with a result prefix of[/WEB-INF/content/hello-world] and action name [hello-world] 2009-09-24 16:51:08,237 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Changedaction name from [xpto] to [xpto] 2009-09-24 16:51:08,237 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Changedaction name from [HelloWorld] to [hello-world] 2009-09-24 16:51:08,247 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Got actionName for class [class exemplo.actions.xpto.HelloWorld] of [hello-world] 2009-09-24 16:51:08,247 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [exemplo.actions.xpto#convention-default#/ xpto] with anamespace [/xpto] 2009-09-24 16:51:08,249 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using finalcalculated namespace [/xpto] 2009-09-24 16:51:08,250 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the Servlet container at [/WEB-INF/content/xpto/] with resultprefix of [/WEB-INF/content/xpto/hello-world] 2009-09-24 16:51:08,250 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the class path at [WEB-INF/content/xpto/] with a result prefix of [/WEB-INF/content/xpto/hello-world] and action name [hello-world]2009-09-24 16:51:08,251 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Changedaction name from [HelloWorldAction] to [hello-world] 2009-09-24 16:51:08,252 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) GotactionName for class [class cx.hoffmann.bab.web.actions.HelloWorldAction] of[hello-world] 2009-09-24 16:51:08,252 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [cx.hoffmann.bab.web.actions#convention- default#] witha namespace [] 2009-09-24 16:51:08,253 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using non-default action namespace from the Action annotation of [/asd] 2009-09-24 16:51:08,256 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Created package config named [cx.hoffmann.bab.web.actions#convention- default#] witha namespace [] 2009-09-24 16:51:08,257 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Using finalcalculated namespace [] 2009-09-24 16:51:08,260 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the Servlet container at [/WEB-INF/content/] with resultprefix of [/WEB-INF/content/asd] 2009-09-24 16:51:08,261 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.jsp] 2009-09-24 16:51:08,264 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/hello-world.freemarker] 2009-09-24 16:51:08,265 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index-success.ftl] 2009-09-24 16:51:08,265 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Processingresource path [/WEB-INF/content/index.ftl] 2009-09-24 16:51:08,266 [TRACE](com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Searching for results in the class path at [WEB-INF/content/] with a result prefix of[/WEB-INF/content/asd] and action name [asd] On 24/09/2009, at 16:22, Musachy Barroso wrote:Any traces or errors? Set the log level to TRACE musachyOn Thu, Sep 24, 2009 at 12:20 PM, Ingo Hoffmann <i...@hoffmann.cx> wrote:Hi,I have been trying to get the Convention plugin to work on Winstone andJetty 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 to actions, but it doesn't show uponWinstone or Jetty at all. The config-browser plugin doesn't show anyactions on the default namespace or any other namespace besides its own.I'm using Maven 2.2.1 to build the .war. Tried Struts 2.1.6, 2.1.7 and2.1.8 without any luck. Anyone with a similar experience? Thanks, Ingo Hoffmann --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org-- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- 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-- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- 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