I don't know where should I post it, as the problem is possibly related to one of:
* JBoss 4.0.5GA
... as most of symptoms are visible in Richfaces-related matters I am starting here, but will cross-post it on JBoss AS and Maven forums.
The problem is:
I have a web application which is to be deployed on a JBoss 4.0.5GA. I was developing it using web-related features of Eclipse (MyEclipse edition, to be specific), with exploded deployment used on local machine during development. Everything was working ok. Problems started when I tried to deploy WAR built with maven... Application is starting, but AJAX-related features of Richfaces are not working: after submitting a4j:form blank pages are being rendered without any error message, reRender-related features are not working on AJAXified pages etc...
The strange thing is, that my application is working correctly in two situations:
* when it is deployed by Eclipse as an exploded archive
* when such an exploded archive is manually packed into a .war file by me and deployed.
but is NOT working, when maven creates an archive...
I've made sure compiler is set to source and target version of 1.5 in both Eclipse and maven configuration. I've tried to compare created archives and there are only two differences:
* when eclipse is setting up a deployment folder, it puts compiled resources of my project's sub-modules directly into WEB-INF/classes folder. When maven is building an archive separate .jar files for each module are created and put in WEB-INF/lib folder. One of those sub-modules is containg common JSF files (taglibs, some converters defined within a sub-module's faces-config.xml etc).
* compiled .class files differ by a slight margin (like 4450 bytes vs 4467 bytes) in size.
All library jars in the WEB-INF/lib folder are the same in both cases....
I'm astonished by this situation. What's more unfortunate is that I have absolutely no idea how to chase this problem further... Any ideas would be highly appreciated...
here comes full list of my library JARs: