JBOSS报错:Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException
2014-03-28 09:50
656 查看
此错误常在5.1版本中出现。
这个错误是配置文件profile.xml内的一个bug,文件路径为:$JBOSS_HOME/server/<serverName>/conf/bootstrap/profile.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
这个错误是配置文件profile.xml内的一个bug,文件路径为:$JBOSS_HOME/server/<serverName>/conf/bootstrap/profile.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
相关文章推荐
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container
- Exception in thread "main" java.lang.IllegalArgumentException: node to traverse cannot be null!
- nested exception is java.lang. IllegalArgumentException: error at ::0 formal unbound in pointcut
- jmeter3.2生成图形html遇到的问题Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:log is not empty
- java.lang.IllegalArgumentException: There is no shards to execute shard operation: 错误原因
- spark Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Re
- 出现java.lang.IllegalArgumentException: id to load is required for loading的解决方法
- java.lang.IllegalArgumentException: id to load is required for loading
- Caused by: java.lang.IllegalArgumentException: The handle attribute is must refer to an existing chi
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- nested exception is java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernat
- 解决Eclipse启动JBoss7.1异常的问题(Exception in thread "main" java.lang.ExceptionInInitializerError)
- Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! ..错误解决
- java.lang.IllegalArgumentException: id to load is required for loading
- java.lang.IllegalArgumentException: already added ...Conversion to Dalvik format failed with error 1解决办法
- Hive连接MYSQL数据OK,查询出现in thread "Thread-18" java.lang.IllegalArgumentException:Does not contain a vali
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
- 【SSH进阶】java.lang.IllegalArgumentException: id to load is required for loading