Deployment AttachmentStore error IllegalArgumentException JBOSS
If you see below exception while starting JBoss from eclipse:
Deployment “AttachmentStore” is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
Solution: This happens due to JDK version. It seems this error occurs when JRE version mismatch with JBoss server and could be fix after changing JDK version. In my case this was happening because my JBoss run time was pointing to JDK 1.7.0_60 version as below:
When I changed JBoss run time to JDK 1.6.0_45 it started working.
There are another workaround also available please refer this link: