运行JBoss 5.1.0 GA时出现Error installing to Instantiated:name=AttachmentStore state=Described错误的解决办法

第一次开JBoss服务器:有些时候会遇到这种情况:把以下的文字替换即可

进到类似目录 server/default/conf/bootstrap,打开文件 profile.xml找到: Xml代码

 <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">   <constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor> 

修改为:

<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">   <constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>  

 重启 JBoss,问题解决

posted @ 2016-05-19 11:44  Franson  阅读(822)  评论(0编辑  收藏  举报