Shouldn't the profileservice attachments go under:
${jboss.server.data.dir}/profile-service
The server data dir is supposed to hold persistent server data.
Also the saved attachments could use a corresponding .xml suffix (if they are actually
xml).
Cheers
/Dimitris