jboss 5.1 启动问题解决
在安装好后启动时可能遇到这样的情况:
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]
只要修改一下 profile.xml(JBOSS_HOME\server\default\conf\bootstrap\profile.xml) 中的 AttachmentStore 设置就可以了。
修改:
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor>
<!-- 修改这里 -->
<parameter class="java.io.File">
<inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" />
</parameter>
</constructor>
然后重启
最新文章
- 11——在operator=中处理自我赋值
- #ifdef __cplusplus extern ";C";
- CentOS6.5 ssh远程连接缓慢解决方法
- 在sql-server上建立mysql链接库
- POJ 3278Catch That Cow
- BZOJ2151: 种树
- POJ2524+并查集
- java中的浮点计算
- 数据库分库分表(sharding)系列(二) 全局主键生成策略
- hdu 1546 Idiomatic Phrases Game
- boost uuid 学习笔记
- 浅解ARC中的 __bridge、__bridge_retained和__bridge_transfer
- IPSEC VPN配置实例
- Pythonh中的zip()与*zip()函数详解
- Asp.Net Web API(二)
- CentOS 7 搭建基于携程Apollo(阿波罗)配置中心单机模式
- Linux环境下Swap配置方法
- BZOJ_1828_[Usaco2010 Mar]balloc 农场分配_线段树
- java对象在内存中的结构
- k8s之external-etcd集群管理