Start JBoss, then goto http://localhost:8080/jmx-console/
find link: service=KeyGeneratorFactory,type=HiLo
click, then change its value
jboss.jca.name=DefaultDS to your datasource value
in "List of MBean attributes" section
How do I persist this change? I don't want to have to make that change each and every time I start the application?
Has anyone figured this out?
I found the answer... here
I simply removed the deploy/uuid-key-generator.sar
however if you want to change the datasource form DefaultDS you need to explode the sar and change jboss-service.xml file.