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
action 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)
Excluding
actions 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)
Changed
action name from [HelloWorld] to [hello-world]
2009-09-24 16:51:08,208 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Got
actionName 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#] with
a 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#] with
a namespace []
2009-09-24 16:51:08,217 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Using final
calculated 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
result
prefix of [/WEB-INF/content/asd]
2009-09-24 16:51:08,218 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/hello-world.jsp]
2009-09-24 16:51:08,218 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/hello-world.freemarker]
2009-09-24 16:51:08,219 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/index-success.ftl]
2009-09-24 16:51:08,219 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource 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)
Changed
action name from [HelloWorld] to [hello-world]
2009-09-24 16:51:08,227 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Got
actionName 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 final
calculated 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
result
prefix of [/WEB-INF/content/hello-world]
2009-09-24 16:51:08,230 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource 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 be
overridden by another result file or an annotation.
2009-09-24 16:51:08,232 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/hello-world.freemarker]
2009-09-24 16:51:08,233 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) The
result
file [/WEB-INF/content/hello-world.freemarker] has no result code
and
therefore will be associated with success, input and error by
default. This
might 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)
Processing
resource path [/WEB-INF/content/index-success.ftl]
2009-09-24 16:51:08,234 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource 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)
Changed
action name from [xpto] to [xpto]
2009-09-24 16:51:08,237 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Changed
action 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 a
namespace [/xpto]
2009-09-24 16:51:08,249 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Using final
calculated 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 result
prefix 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)
Changed
action name from [HelloWorldAction] to [hello-world]
2009-09-24 16:51:08,252 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Got
actionName 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#] with
a 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#] with
a namespace []
2009-09-24 16:51:08,257 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Using final
calculated 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
result
prefix of [/WEB-INF/content/asd]
2009-09-24 16:51:08,261 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/hello-world.jsp]
2009-09-24 16:51:08,264 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/hello-world.freemarker]
2009-09-24 16:51:08,265 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource path [/WEB-INF/content/index-success.ftl]
2009-09-24 16:51:08,265 [TRACE]
(com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69)
Processing
resource 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
musachy
On 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 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 to actions, but it doesn't
show up
on
Winstone or Jetty at all. The config-browser plugin doesn't show
any
actions
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 and
2.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