jboss启动错误原因
来源:互联网 发布:怎么截图给淘宝客服 编辑:程序博客网 时间:2024/04/30 20:22
ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
……
DEPLOYMENTS IN ERROR:
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
从错误信息中,就知道是 AttachmentStore 的一个参数错误。
修改为:
启动成功。。。
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
……
DEPLOYMENTS IN ERROR:
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
从错误信息中,就知道是 AttachmentStore 的一个参数错误。
解决方法倒很简单,只要修改一下 profile.xml(JBOSS_HOME/server/default/conf/bootstrap/profile.xml) 中的 AttachmentStore 设置就可以了。在该文件中,你可以找到:
<!-- The attachment store --><bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"><constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor><property name="mainDeployer"><inject bean="MainDeployer" /></property><property name="serializer"><inject bean="AttachmentsSerializer" /></property><property name="persistenceFactory"><inject bean="PersistenceFactory" /></property></bean><bean name="AttachmentsSerializer" class="org.jboss.system.server.profileservice.repository.JAXBAttachmentSerializer"><constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor></bean>
修改为:
<parameter class="java.io.File">
<!-- The attachment store --><bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"><constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor><property name="mainDeployer"><inject bean="MainDeployer" /></property><property name="serializer"><inject bean="AttachmentsSerializer" /></property><property name="persistenceFactory"><inject bean="PersistenceFactory" /></property></bean><bean name="AttachmentsSerializer" class="org.jboss.system.server.profileservice.repository.JAXBAttachmentSerializer"><constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor></bean>
启动成功。。。
0 0
- jboss启动错误原因
- jboss启动--错误
- JBOSS启动错误
- JBOSS启动出现如下错误
- jboss启动常见的错误
- jboss启动常见的错误
- jboss启动常见的错误
- JBOSS 启动常见的错误
- JBoss启动常见的错误
- JBOSS无法启动——原因
- JBoss启动异常——常见错误
- Ubuntu mysql启动错误原因
- 启动JBoss时报如下错误 jboss启动不了,jboss不支持中文文件夹和带空格的文件夹
- jboss启动
- jboss错误
- 一个关于jboss的启动错误--preRegister() failed
- 烦躁JBoss启动报一大堆错误----端口被占用
- eclipse中jboss启动时提示 50 seconds. 超时错误
- 停车场项目
- 小技巧:在每行末尾加字符--有没有快速的方法?(批量)
- poj 1733_Parity game_并查集
- mybatis框架中的#和$的区别
- C# HashTable深度解析
- jboss启动错误原因
- 杭电2091空心三角形
- Maven Failsafe 插件
- 题库统计的小玩意_python
- 《iOS移动开发从入门到精通》图书连载6——Xcode8的使用(下)
- Reverse Words in a String
- 【每日一记】设计模式——备忘录模式
- vector容器类的使用
- 北纬数码专营店奇遇记