This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2.2.1 on JBOSS 4.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Struts 2.2.1 on JBOSS 4.2
 
Similar Threads
Default Action In Struts2
Struts2 config error
web.xml problem in struts2
Struts2 integration with Spring Security
struts2-maven File not found exception problem