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

2009-05-27 Thread musomesa
There is something new -- something to do with virtual classpaths that
makes JBoss 5 reject apps with dev mode on or with the Convention
plugin active while JBoss 4 accepts them.
Chris


-Original Message-
From: Lukasz Lenart 
To: Struts Users Mailing List 
Sent: Wed, 27 May 2009 4:51 pm
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 mean it solves your issue? Or there there is something new
regarding JBoss 5.1?


Regards
-- 
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




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
-- 
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



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

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


-Original Message-
From: Fernandes Celinio 
To: Struts Users Mailing List 
Sent: Wed, 27 May 2009 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é : mercredi 27 mai 2009 19:02
 : Struts Users Mailing List
bjet : 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
ame application to standalone Tomcat?

egards
-
ukasz
ttp://www.lenart.org.pl/
-
o unsubscribe, e-mail: user-unsubscr...@struts.apache.org
or additional commands, e-mail: user-h...@struts.apache.org


o unsubscribe, e-mail: user-unsubscr...@struts.apache.org
or additional commands, e-mail: user-h...@struts.apache.org



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

2009-05-27 Thread musomesa
Lukasz, it is JBoss specific -- actually JBoss 5. Apps that
work on JBoss 4 with the Convention Plugin fail with
JBoss 5.

I can post the specific error messages when I get home next
week (I am in Stockholm without my code.
Cheers
Chris


-Original Message-
From: Lukasz Lenart 
To: Struts 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 same application to standalone Tomcat?


Regards
-- 
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




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

2009-05-27 Thread musomesa
Fernandes I had the same problem -- essentially I could not get it to work 
using the Convention plugin. Also, when you configure by xml you can't
have dev mode on.

The most I have gleaned off the internet, and there are people who 
should know better than me on this list the problem is 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 Jboss 5.1.0



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...@result(name="success",
location="/here/first.jsp")}
 ),
 @Action(value="/mySecondPath",
 result...@result(name="success",
location="/here/second.jsp")}
 )
})

Http://localhost:8080/myFirstPath 
Gives me the following error :
HTTP Status 404 - There is no Action mapped for namespace / and action
name myFirstPath.

Http://localhost:8080/mySecondPath
Gives me the following error :
HTTP Status 404 - There is no Action mapped for namespace / and action
name mySecondPath.

I know it works well with the Tomcat server.

Is there a problem with Jboss ? Something else to configure ?

Thanks for helping.
Celinio

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



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

2009-05-27 Thread Fernandes Celinio
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-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] 
Envoyé : mercredi 27 mai 2009 19:02
À : Struts Users Mailing List
Objet : 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 
same application to standalone Tomcat?


Regards
--
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



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/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



[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...@result(name="success",
location="/here/first.jsp")}
 ),
 @Action(value="/mySecondPath",
 result...@result(name="success",
location="/here/second.jsp")}
 )
})

Http://localhost:8080/myFirstPath 
Gives me the following error :
HTTP Status 404 - There is no Action mapped for namespace / and action
name myFirstPath.

Http://localhost:8080/mySecondPath
Gives me the following error :
HTTP Status 404 - There is no Action mapped for namespace / and action
name mySecondPath.

I know it works well with the Tomcat server.

Is there a problem with Jboss ? Something else to configure ?

Thanks for helping.
Celinio

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org