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

进到类似目录 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,问题解决

 

你可能感兴趣的:(JBoss 5.1.0 GA:Error installing to Instantiated: name=AttachmentStore state=Desc)