当前位置: 代码迷 >> 综合 >> JBoss 5.1.0 GA:Error installing to Instantiated: name=AttachmentStore state=Desc
  详细解决方案

JBoss 5.1.0 GA:Error installing to Instantiated: name=AttachmentStore state=Desc

热度:60   发布时间:2023-12-18 09:17:40.0

进到类似目录 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><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>  修改为:

Xml代码<bean 

name="AttachmentStore" 

class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"> 

 

 

<constructor><parameter 

class="java.io.File"><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,问题解决

 

  相关解决方案