aspose file tools*
The moose likes Struts and the fly likes Struts 2.2.1 on JBOSS 4.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2.2.1 on JBOSS 4.2" Watch "Struts 2.2.1 on JBOSS 4.2" New topic
Author

Struts 2.2.1 on JBOSS 4.2

swetha ma
Greenhorn

Joined: Jul 10, 2010
Posts: 6
I'm trying to deploy Struts2.2.1 web application on JBOSS 4.2, I'm getting this weird error.


namespace and action name are correct, the same application works fine on Tomcat6.

I've even added the constants specified in Struts2 documentation for Jboss -- http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-JBoss



is there any problem with Jboss? something else to configure?

Thanks
Swetha
swetha ma
Greenhorn

Joined: Jul 10, 2010
Posts: 6
I'm using annotations for configuration. Below is the snapshot of action class



swetha ma
Greenhorn

Joined: Jul 10, 2010
Posts: 6
Well, I tested it using struts.xml for configuration rather than annotations and it works fine.

why are annotations not working on Jboss. Is there something that needs to be configured so that Jboss can load these struts2 annotations
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2.2.1 on JBOSS 4.2