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 S
hi,
I got a Maven 2 multi projects (EJB 3 / Struts 2.1.8 with convention pugin)
Deploying the war module to JBOSS 5.1.0 outside the EAR just work fine : the
plugin "config browser" show my action mapping, and the application is working
fine.
But when I try to package the war within the EAR (wit
Hello
Problem with Tiles 2:
When try to deploy application standart wrapper exception
Servlet.service()
Problem with tiles for configuring locale. Exception tell that no definition
for locale in tiles with null pointer exception .
How to resolve this?
Thanks.
---
Hi Fran and Wes,
an alternative for what Wes has written is to use tiles inside jsp
files like this,
in my-action.jsp i have: [extra spaces added]
< % @page contentType="text/html;charset=utf-8" language="java" % >
< % @ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" % >
< % @ tag
I haven't tried it, but from the docs it looks like you can set the
'struts.convention.relative.result.types' variable. It defaults to
'dispatcher,velocity,freemarker' so add 'tiles' to it and see if that
works.
-Wes
On Wed, Dec 9, 2009 at 8:34 AM, Fran Hesser wrote:
> Is there a way to use the
Is there a way to use the convention plugin, and not specify the
@Result annotation for the action classes with the result being tiles
or will it only find .jsps and Freemarker templates?
When I run this code I get the dreaded:
com.opensymphony.xwork2.config.configurationexcept...@1199919 ==> No
re
I'd have to test to be sure but I don't thinl the plug in cares about
the method. It will do action-return.jsp the way it does for normal
processing.
On 5/29/09, Jim Collings wrote:
> So if I use dynamic method invocation, like so:
>
> /admin/change-wingding!change
>
> How will the result urls fo
So if I use dynamic method invocation, like so:
/admin/change-wingding!change
How will the result urls for that call be constructed?
Jim C.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
Subject: Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0
2009/5/27 :
> Me again: here is a link with a discussion. Don't hold your breath as
> it does not give a work around.
> http://www.nabble.com/Problems-using-Struts2-on-JBoss-5.0.1GA-td22969807.html
Does it
2009/5/27 :
> Me again: here is a link with a discussion. Don't hold your breath as
> it does not give a work around.
> http://www.nabble.com/Problems-using-Struts2-on-JBoss-5.0.1GA-td22969807.html
Does it mean it solves your issue? Or there there is something new
regarding JBoss 5.1?
Regards
-
1:06 pm
Subject: RE: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0
Yes, I did and it works.
So i am assuming there is a problem with Jboss. I have not checked the logs yet.
-Message d'origine-
e : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
nvoyé : mercr
Users Mailing List
Sent: Wed, 27 May 2009 1:02 pm
Subject: Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0
2009/5/27 Fernandes Celinio :
> I know it works well with the Tomcat server.
JBoss is using Tomcat to serve Java web applications, did you try
deploy the s
to do with
the scanning process as the framework scans for action classes.
Anyone who knows more, chime in.
Cheers
Chris
-Original Message-
From: Fernandes Celinio
To: Struts Users Mailing List
Sent: Wed, 27 May 2009 12:58 pm
Subject: [Struts 2.1.6] Convention plug-in not working with
ntion plug-in not working with Jboss 5.1.0
2009/5/27 Fernandes Celinio :
> I know it works well with the Tomcat server.
JBoss is using Tomcat to serve Java web applications, did you try deploy the
same application to standalone Tomcat?
Regards
--
Lukasz
http://www.lenar
2009/5/27 Fernandes Celinio :
> I know it works well with the Tomcat server.
JBoss is using Tomcat to serve Java web applications, did you try
deploy the same application to standalone Tomcat?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
Hi,
Is there a problem when using the Convention plug-in with Jboss 5.1.0 ?
I mean there is no struts.xml file., the mapping is defined in the
Action classes, through the use of annotations such as :
@Actions({
@Action(value="/myFirstPath",
result...@r
Musachy Barroso wrote:
> if you add a "/" to the action name, it won't append the namespace to
> it, but use it as the whole action name. If your namespace is
> "myactions", and you set the name as "/action", the action name is
> "/action", if you set it to "action" then the action name will be
> "
if you add a "/" to the action name, it won't append the namespace to
it, but use it as the whole action name. If your namespace is
"myactions", and you set the name as "/action", the action name is
"/action", if you set it to "action" then the action name will be
"/myaction/action".
musachy
On T
So I have this working but I had to specify a value for @Action. I don't
think I should have to do this. There should be a convention in the
convention plugin of assuming that a result mapped the way I tried to map it
is for the current method using it's conventional url when value is left
blank.
Currently I have no unusual interceptors or changes thereto. I've been
holding off trying to learn em just yet.
First things, first. I'm using the default stack.
Jim C.
On Thu, May 14, 2009 at 1:34 PM, Musachy Barroso wrote:
> Do you have a custom stack interceptor? If the fields are not
> pop
Do you have a custom stack interceptor? If the fields are not
populated in the action, then the params interceptor is not getting
applied, it is hard to say without more details.
musachy
On Thu, May 14, 2009 at 1:30 PM, Jim Collings wrote:
> I have an action with "execute" in the superclass (Act
I have an action with "execute" in the superclass (ActionSupport) being
called by one activity and another method of the same Action called
"doSomething" being called by ! notation in a form submit.
I've noticed that when I annotate the "doSomething" method with:
@Action(results = {...@result(nam
Dave Newton wrote:
> Jim Collings wrote:
>> A table of defaults for all of the conventions the convention plugin
...
> Hmm, I guess that's what I thought that table of results and results
> codes was. If you file a CLA you can update the wiki yourself.
Thanks. I may just do that. :-)
Jim C.
Jim Collings wrote:
A table of defaults for all of the conventions the convention plugin
uses. I suppose you could call it a "conventions cheat sheet".
For example:
I create a foo.jsp that submits to "/place/wingding"
foo.jsp -> /place/wingding -> wingding-[ success | fail | error ]
Note: I th
A table of defaults for all of the conventions the convention plugin
uses. I suppose you could call it a "conventions cheat sheet".
For example:
I create a foo.jsp that submits to "/place/wingding"
foo.jsp -> /place/wingding -> wingding-[ success | fail | error ]
Note: I think this is right but
Jim Collings wrote:
I've read this many times but I'm not getting out of it what I should. When
this happens to me, I seek alternate means. In college, I learned that not
all instructors can teach all students and not all documentation can be read
by all people. A simple table, X leads to Y lead
ntions are that the
> > convention plug-in uses?
>
> Did you read the documentation [1]?
>
> [1] http://cwiki.apache.org/WW/convention-plugin.html
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
>
2009/5/13 Jim Collings :
> Is there a place where I can see what the conventions are that the
> convention plug-in uses?
Did you read the documentation [1]?
[1] http://cwiki.apache.org/WW/convention-plugin.html
Regards
--
Lukasz
http://www.lenart.
Is there a place where I can see what the conventions are that the
convention plug-in uses?
Preferably in a clean table format. I'm a fairly visual learner.
Jim C.
...@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(
t by doing this we ran
into an issue involving spring classpath scanning and the new jboss5 virtual
file system "vfs". Now i've no other choice than to make the convention
plug-in work with JBoss 4.2.3 whatever it may imply ! (hope it won't cost me
a leg ! -sorry for that joke-)
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 ?
rg.jboss.*"/>).
>
> As I also suspect a problem a classloader isolation i configured jboss for
> war isolation.
>
> In spite of all those efforts... there are still exception at server
> startup. (I can't believe that i am the one that need to deploy a
> struts2+conve
added the pattern to
"struts.convention.exclude.packages" ().
As I also suspect a problem a classloader isolation i configured jboss for
war isolation.
In spite of all those efforts... there are still exception at server
startup. (I can't believe that i am the one that need to deploy a
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
gt; 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 what
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
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 stac
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
45 matches
Mail list logo