Musachy,
The example was already there, but i failed making it work. My custom
ActionConfigBuilder class is simply ignored, and
looking at the code i failed in finding where
"struts.convention.actionConfigBuilder" is injected. (bad day, way too much
failure for one man.)
That's why i began to think
Hi,
It is said in the documentation (
http://cwiki.apache.org/WW/convention-plugin.html#ConventionPlugin-Overwritingpluginclasses)
that the plug-in can be extended by overriding its classes using (for
example) the constant "struts.convention.actionConfigBuilder" to provide a
new implementation. I t
rkup
>
> The methods getPackageLocatorTest, getPackageFinderTest create some
> anonymous classes, that are the ones that define if a class will be
> treated as an action or not. Put breakpoints there, and see why the
> jboss classes are getting accepted.
>
> musachy
>
>
Chris,
I haven't had much time to investigate on that problem since my last post (2
weeks ago) and unfortunately hadn't come to any resolution of the problem.
In fact we tried to deploy on JBoss 5.0.0.GA and it solved the problem since
its classloading policy seems to be more orthodox but by doing
Jar scanning is disabled (at least i haven't enabled it...). I'm gonna try
some debuging on the server.
I think i should put a breakpoint in the struts filter in order to see
what's going on.
As far as you know is there something i should look at more specifically ?
@Musachy
In fact, no error appears in the "TRACE", by simply looking at the traces
you asked me to activate... everything seems Ok ! and it probably is,
beacause what I did not see at first is that in spite of the bunch of
exceptions that rise my "helloWorld" application is working !
The problem
> As far as I know you can't (by default) use convention alongside a
> non-convention application.
>
> Musachy, has this changed? IIRC I asked the same question a long time ago
> and that was the answer I got.
>
> Dave
>
I suspected a problem of that's kind, that why, since my first test, i
deploy
I turned logging level to "TRACE" but it does not tell me much...
16:45:19,977 DEBUG [XmlConfigurationProvider] Loading action configurations
from: struts-default.xml
16:45:20,387 DEBUG [XmlConfigurationProvider] Loaded action configuration
from: struts-default.xml
16:45:20,407 INFO [XmlConfigu
Hello,
just as you suggested i tried to enable debug information by setting (in
jboss-log4j.xml) :
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) a
Hi to all,
I try to deploy a struts2 application, using convention plug-in in JBoss
4.2.3.GA. All I get is a weird error (see below)
and the weidest thing about it is that all i have to do to get this error is
to drop de convention plug-in into a working struts2 application.
I got the stack trace b
10 matches
Mail list logo