This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2.2.1 on JBOSS 4.2

 
swetha ma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using annotations for configuration. Below is the snapshot of action class



 
swetha ma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic