i am getting the error when i try to upload a file based exactly off the example shown here Sample
The error is
Allocate exception for servle
Maybe it's worth to mention that the RESTeasy documentation has information on how to upgrade the RESTeasy included in JBoss, which as mentioned above can cause some headache if you try to use another version.