Issue
Workaround:
Go to %JBOSS_HOME%/server/ <instance>/conf/bootstrap /profile.xml and include class="java.io.File" as given below:
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot"> </parameter> </constructor>
</bean>
While starting JBoss from Eclipse, JBoss throws the below exception:
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR: 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]
Workaround:
Go to %JBOSS_HOME%/server/ <instance>/conf/bootstrap /profile.xml and include class="java.io.File" as given below:
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot"> </parameter> </constructor>
</bean>