When started after installation, you may encounter the following situation:
Error [abstractkernelcontroller] Error installing to instantiated: Name = attachmentstore state = described
Java. Lang. illegalargumentexception: Wrong arguments. New for target java. Lang. Reflect. constructor expected = [java.net. Uri] actual = [java. Io. File]
......
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]
Modify the attachmentstore settings in profile. XML (jboss_home \ Server \ Default \ conf \ Bootstrap \ profile. XML.
Modify:
<Bean name = "attachmentstore" class = "org. JBoss. system. server. profileservice. repository. abstractattachmentstore">
<Constructor>
<! -- Modify here -->
<Parameter class = "Java. Io. File">
<Inject bean = "bootstrapprofilefactory" property = "attachmentstoreroot"/>
</Parameter>
</Constructor>
Then restart
Solve JBoss 5.1 startup Problems