Well this issue seems to be cause by the fact that either or both of the spring-surf-1.0.0.jar and spring-wescripts-1.0.0.jar files are different between Alfresco 4.0 and 4,1
I'm surprised that the version numbers are the same!!!
By using the Share 4.1.a spring-surf-1.0.0.jar and updating the surf.tld file again to have the bodycontent elements containing JSP code be JSP in Upper Case rather than in lower case so it meets the spec for the DTD it now works, which means there is a difference in the context file compared to the version shipped with 4.0
Anyway, one more change was required and that was to remove the jta.jar file shipped in the WEB-INF/lib directory. This clashed with the jta.jar file deployed with JBoss 6 AS and share will not start with this file.
With both of these changes done, share 4.1.a now runs fine with JBoss6.
Notice I am using JBoss 6 AS and NOT JBoss 6.1 AS. I believe these issues are non-issues with the latter but I cannot confirm this as I don't currently have JBoss 6.1 AS deployed.
As a side not…… The Alfresco 4.1.a (and 4.0.d) repo alfresco.war will NOT run on JBoss 6 AS without significant changes so I have deployed this to JBoss 4.2.2.GA for the moment.
Regards
Steve