Hello,
just as you suggested  i tried to enable debug information  by setting (in
jboss-log4j.xml) :

<category name="org.apache.struts2.convention">
      <priority value="DEBUG"/>
   </category>

   <category name="com.opensymphony">
      <priority value="DEBUG"/>
   </category> <user-h...@struts.apache.org>

and then i deployed a tiny application with a single HelloWorld (how
original!) action and the convention plug-in in it.
I still get this weird exception (see below) and i am a bit desappointed
since there is nothing in the debug traces that may help me in finding whats
wrong. Am I missing something ???

The debug traces -------------------->
...
15:43:55,316 DEBUG [XmlConfigurationProvider] Loaded
type:org.apache.struts2.convention.ActionConfigBuilder name:default
impl:org.apache.struts2.convention.PackageBasedActionConfigBuilder
15:43:55,316 DEBUG [XmlConfigurationProvider] Loaded
type:org.apache.struts2.convention.ActionNameBuilder name:default
impl:org.apache.struts2.convention.SEOActionNameBuilder
15:43:55,326 DEBUG [XmlConfigurationProvider] Loaded
type:org.apache.struts2.convention.ResultMapBuilder name:default
impl:org.apache.struts2.convention.DefaultResultMapBuilder
15:43:55,326 DEBUG [XmlConfigurationProvider] Loaded
type:org.apache.struts2.convention.InterceptorMapBuilder name:default
impl:org.apache.struts2.convention.DefaultInterceptorMapBuilder
15:43:55,336 DEBUG [XmlConfigurationProvider] Loaded
type:org.apache.struts2.convention.ConventionsService name:default
impl:org.apache.struts2.convention.ConventionsServiceImpl
15:43:55,336 DEBUG [XmlConfigurationProvider] Loaded
type:com.opensymphony.xwork2.config.PackageProvider
name:convention.packageProvider
impl:org.apache.struts2.convention.ClasspathPackageProvider
15:43:55,346 DEBUG [XmlConfigurationProvider] Loaded
type:com.opensymphony.xwork2.config.PackageProvider
name:convention.containerProvider
impl:org.apache.struts2.convention.ClasspathConfigurationProvider
15:43:55,346 DEBUG [XmlConfigurationProvider] Loading action configurations
from: struts.xml
15:43:55,376 DEBUG [XmlConfigurationProvider] Loaded action configuration
from: struts.xml
15:43:55,376 INFO  [XmlConfigurationProvider] Parsing configuration file
[struts.xml]
15:43:55,476 DEBUG [LocalizedTextUtil] Added default resource bundle
'org/apache/struts2/struts-messages' to default resource bundles =
[org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]
15:43:56,267 DEBUG [XmlConfigurationProvider] Loaded [BUILDER]
{PackageConfig Name:struts-default namespace: parents:[]}
15:43:56,587 DEBUG [DefaultValidatorFactory] Loading validator definitions.
15:43:56,788 DEBUG [I18nInterceptor] new I18nInterceptor()
15:43:56,808 DEBUG [I18nInterceptor] new I18nInterceptor()
15:43:56,818 DEBUG [I18nInterceptor] new I18nInterceptor()
15:43:56,888 DEBUG [XmlConfigurationProvider] Loaded [BUILDER]
{PackageConfig Name:convention-default namespace: parents:[{PackageConfig
Name:struts-default namespace: parents:[]}]}
15:44:01,559 DEBUG [PackageBasedActionConfigBuilder] Processing class
[example.actions.HelloWorld] in package [example.actions]
15:44:01,599 DEBUG [PackageBasedActionConfigBuilder] Creating action config
for class [class example.actions.HelloWorld], name [hello-world] and package
name [example.actions#convention-default#] in namespace []



Server start traces with the exception -------------------------->

...
16:00:18,264 INFO  [XmlConfigurationProvider] Parsing configuration file
[struts-default.xml]
16:00:18,795 INFO  [XmlConfigurationProvider] Parsing configuration file
[struts-plugin.xml]
16:00:18,915 INFO  [XmlConfigurationProvider] Parsing configuration file
[struts.xml]
16:00:18,935 INFO  [BeanSelectionProvider] Choosing bean (struts) for class
com.opensymphony.xwork2.
ObjectFactory
16:00:18,935 INFO  [BeanSelectionProvider] Choosing bean (struts) for class
com.opensymphony.xwork2.
conversion.impl.XWorkConverter
16:00:18,945 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.TextProvider
16:00:18,945 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.ActionProxyFactory
16:00:18,945 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.conversion.ObjectTypeDeterminer
16:00:18,945 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface org.apache.struts2.d
ispatcher.mapper.ActionMapper
16:00:18,955 INFO  [BeanSelectionProvider] Choosing bean (jakarta) for
interface org.apache.struts2.
dispatcher.multipart.MultiPartRequest
16:00:18,955 INFO  [BeanSelectionProvider] Choosing bean (struts) for class
org.apache.struts2.views
.freemarker.FreemarkerManager
16:00:18,975 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface org.apache.struts2.c
omponents.UrlRenderer
16:00:18,985 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.validator.ActionValidatorManager
16:00:18,985 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.util.ValueStackFactory
16:00:18,995 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.util.reflection.ReflectionProvider
16:00:18,995 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.util.reflection.ReflectionContextFactory
16:00:19,005 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.util.PatternMatcher
16:00:19,005 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface org.apache.struts2.d
ispatcher.StaticContentLoader
16:00:19,005 INFO  [BeanSelectionProvider] Choosing bean (struts) for
interface com.opensymphony.xwo
rk2.UnknownHandlerManager
16:00:21,098 ERROR [STDERR] java.lang.Exception: Could not load
jbossmq-httpil/war/WEB-INF/classes/o
rg/jboss/mq/il/http/servlet/HTTPServerILServlet.class
16:00:21,098 ERROR [STDERR]     at
com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(Clas
sFinder.java:745)
16:00:21,108 ERROR [STDERR]     at
com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinde
r.java:148)
16:00:21,108 ERROR [STDERR]     at
org.apache.struts2.convention.PackageBasedActionConfigBuilder.fin
dActions(PackageBasedActionConfigBuilder.java:295)
16:00:21,108 ERROR [STDERR]     at
org.apache.struts2.convention.PackageBasedActionConfigBuilder.bui
ldActionConfigs(PackageBasedActionConfigBuilder.java:277)
16:00:21,118 ERROR [STDERR]     at
org.apache.struts2.convention.ClasspathPackageProvider.loadPackag
es(ClasspathPackageProvider.java:52)
16:00:21,118 ERROR [STDERR]     at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadCo
ntainer(DefaultConfiguration.java:200)
16:00:21,118 ERROR [STDERR]     at
com.opensymphony.xwork2.config.ConfigurationManager.getConfigurat
ion(ConfigurationManager.java:55)
16:00:21,118 ERROR [STDERR]     at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguratio
n(Dispatcher.java:360)
16:00:21,128 ERROR [STDERR]     at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403
)
16:00:21,128 ERROR [STDERR]     at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(In
itOperations.java:69)
16:00:21,128 ERROR [STDERR]     at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFi
lter.init(StrutsPrepareAndExecuteFilter.java:48)

Reply via email to