Details of the configuration are needed.
The deployments are as close to the original downloads as I can get them. I am using 'default' of both 3.2.7 and 4.0.3sp1.
There are a couple of changes:
1) added some entries to login-conf.xml for my datasources and jaas names.
2) added a couple of extra jars into the lib directory.