Hi Eduard,
Thanks for getting back to me.
I've tried various things to get this to work but out of the box the application doesn't work with the server JSF version, 2.3.3, or if I bundle the specific version, 2.1.13, I know works with with the application when it was deployed in Glassfish 3.1.2.2.
When using the server version is that as soon as a page does an ajax call (in the icefaces world this is a partial submit) then we see the error:
javax.faces.FacesException: Cannot add the same component twice: v9oeh233_icefaces_config
Looking around this normally means that com.sun.faces.config.ConfigureListener has been started twice however in this case that listener isn't included in our web.xml and I don't see any errors suggesting that it has been started twice. If I include it in the web.xml then it makes no difference we still see the error. The servlet spec set in the web.xml was also specified as 2.5 which another thread suggested would stop that listener from being auto initialised by Servlet 3.0.
When bundling JSF I have had to also bundle the weld core jar to get it to work as well as using the whitelist-package functionality to get to a point where it will load the EJB jar project. Once it's started I can visit some of the pages in the application but as soon as I get to one that uses our custom taglib I get the following error:
java.lang.NoSuchMethodException: com.thirddegree.shared.utils.UserHasRoleTagHandler.<init>(javax.faces.view.facelets.TagConfig)
The class is definitely there and that constructor exists as it all worked on glassfish 3.1.2.2 so it's possibly something to do with class versioning but I can't seem to work out what.
For us it would be better if it worked with the latest version of JSF as it's one less thing stuck on a legacy version.
Any ideas welcome and thanks again,
Darren