Hi,
Were you able to fix this problem? I'm having the same error, so sharing
what you did would be of great help!
Thanks.
EC
--
View this message in context:
http://struts.1045723.n5.nabble.com/Problem-with-Jboss-4-2-3-GA-and-convention-plug-in-2-1-6-tp3490340p5482969.html
Sent from the Struts
...@gmail.com]
Sent: Saturday, February 21, 2009 1:08 PM
To: Vogel,Chris
Cc: Struts Users Mailing List
Subject: Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6
Chris,
I haven't had much time to investigate on that problem since my last post (2
weeks ago) and unfortunately hadn't c
In fact, exception occurs before the methods getPackageLocatorTest and
getPackageFinderTest are executed. It seems to occur when the ClassFinder is
instantiated ( PackageBasedActionConfigBuilder.java line 295 : ClassFinder
finder = new ClassFinder(getClassLoaderForFinder(), buildUrlSet().getUrls(
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
Put breakpoints on this class:
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java?view=markup
The methods getPackageLocatorTest, getPackageFinderTest create some
anonymous classes, that are the ones
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 ?
Do you have jar scanning enabled? It should be disabled by default. I
find it strange that it is trying to load the jboss classes, even when
you have the baseNamespace setting set. Are you able to debug at all
on that server?
musachy
On Sun, Feb 8, 2009 at 3:21 PM, Jerome ROBERT wrote:
> @Musach
@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
Musachy Barroso wrote:
@Dave: yeah you can use convention side by side with regular xml configuration.
Oh, you know, I might be remembering Codebehind.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For ad
@Dave: yeah you can use convention side by side with regular xml configuration.
@Jerome : I don't see the exception in your last email. The convention
plugin should tell you what class is trying to load, so we will know
which one is failing. Also, setting
struts.convention.package.locators.basePack
> 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
Jerome ROBERT wrote:
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 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
My bad, set the log level to "trace".
musachy
On Sun, Feb 8, 2009 at 10:13 AM, Jerome ROBERT wrote:
> 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
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
The convention plugin found a class that it thinks is an action, and
it is trying to load it, and failing in the process. Setting the debug
level to debug should give you more information on what class it is
etc.
musachy
On Sat, Feb 7, 2009 at 4:50 PM, Jerome ROBERT wrote:
> Hi to all,
> I try t
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
17 matches
Mail list logo