Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2012-02-14 Thread ecarp
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

[convention plug-in] war do not work when packaing inside ear

2010-07-01 Thread mid491 mid491
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

Re: Convention plug-in, tiles, and no @Result annotation

2009-12-10 Thread Konstantyn Harasevich
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. ---

Re: Convention plug-in, tiles, and no @Result annotation

2009-12-10 Thread Paweł Wielgus
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

Re: Convention plug-in, tiles, and no @Result annotation

2009-12-09 Thread Wes Wannemacher
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

Convention plug-in, tiles, and no @Result annotation

2009-12-09 Thread Fran Hesser
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

Re: convention plug-in question

2009-05-30 Thread Wes Wannemacher
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

convention plug-in question

2009-05-29 Thread Jim Collings
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,

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread musomesa
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

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Lukasz Lenart
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 -

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread musomesa
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

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread musomesa
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

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread musomesa
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

RE: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Fernandes Celinio
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

Re: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Lukasz Lenart
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/ -

[Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Fernandes Celinio
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

Re: convention plug-in question

2009-05-14 Thread Jim Collings
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 > "

Re: convention plug-in question

2009-05-14 Thread Musachy Barroso
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

Re: convention plug-in question

2009-05-14 Thread Jim Collings
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.

Re: convention plug-in question

2009-05-14 Thread Jim Collings
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

Re: convention plug-in question

2009-05-14 Thread Musachy Barroso
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

convention plug-in question

2009-05-14 Thread Jim Collings
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

Re: convention plug-in

2009-05-13 Thread Jim Collings
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.

Re: convention plug-in

2009-05-13 Thread Dave Newton
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

Re: convention plug-in

2009-05-13 Thread Jim Collings
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

Re: convention plug-in

2009-05-13 Thread Dave Newton
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

Re: convention plug-in

2009-05-13 Thread Jim Collings
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/ > >

Re: convention plug-in

2009-05-13 Thread Lukasz Lenart
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.

convention plug-in

2009-05-13 Thread Jim Collings
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.

RE: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-03-05 Thread Vogel,Chris
...@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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-21 Thread Jerome ROBERT
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(

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-21 Thread Jerome ROBERT
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-)

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Musachy Barroso
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Jerome ROBERT
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 ?

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Musachy Barroso
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Jerome ROBERT
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Dave Newton
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Musachy Barroso
@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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Jerome ROBERT
> 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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Dave Newton
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Jerome ROBERT
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Musachy Barroso
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-08 Thread Jerome ROBERT
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

Re: Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-07 Thread Musachy Barroso
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

Problem with Jboss 4.2.3.GA and convention plug-in 2.1.6

2009-02-07 Thread Jerome ROBERT
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