• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2.2.1 on JBOSS 4.2

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic