码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-05-19 11:56:18      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

第一次开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,问题解决

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

标签:

原文地址:http://www.cnblogs.com/franson-2016/p/5508151.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!