2019独角兽企业重金招聘Python工程师标准>>>

  1. 10:18:01,906 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described
  2. java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
  3. at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
  4. at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
  5. at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)

网上资源:

JBoss 论坛:Problem installing 5.1GA on solaris SPARC

JBoss bug:JBAS-6981

在 JBoss 的官方论坛上找到一篇解决方案,具体是:

  1. 确定正在使用的要发布的服务器(server 目录下使用到的服务目录,如 all, default, minial, ...,这里我使用的是 default)。
  2. 进到类似目录 server/default/conf/bootstrap,打开文件 profile.xml
  3. 找到:
    Xml代码 
    1. <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
    2. <constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
  4. 修改为:
    Xml代码 
    1. <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
    2. <constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
  5. 重启 JBoss,问题解决

转自http://mycream.iteye.com/blog/632166 谢谢这位高手!

转载于:https://my.oschina.net/u/562564/blog/128955

JBoss5 启动报错java.lang.IllegalArgumentException: ...相关推荐

  1. 客户端启动报错java.lang.IllegalArgumentException: no server available的解决方案 SpringCloud中 Nacos做注册中心

    客户端启动报错java.lang.IllegalArgumentException: no server available的解决方案 SpringCloud中 Nacos做注册中心(谷粒) 报错内容 ...

  2. DRP问题集结(一)-Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory...

    问题一:  Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory 问题二:[Error]Jav ...

  3. SpringBoot+MyBatis启动报错java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

    2019独角兽企业重金招聘Python工程师标准>>> 如题,在启动SpringBoot时报SpringBoot+MyBatis启动报错java.lang.NoClassDefFou ...

  4. Tomcat无法启动,报错java.lang.NoClassDefFoundError: or...

    今天使用Tomcat 7 时,发现Tomcat无法启动, 报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory 以为 ...

  5. Cookie报错java.lang.IllegalArgumentException

    项目中做自动登录和保存密码时,Cookie报错Java.lang.IllegalArgumentException,上google查了下 在http://hi.baidu.com/xtxycy/blo ...

  6. 报错java.lang.IllegalArgumentException: Result Maps collection does not contain value解决

    使用mybatis报错 java.lang.IllegalArgumentException: Result Maps collection does not contain value for co ...

  7. myeclipse 修改项目名Tomcat启动项目报错java.lang.IllegalArgumentException: Can't convert argument: null...

    一.Tomcat启动报错: 有时候我们会避免项目重名,在导入项目时会修改项目名称. 修改项目名称后启动该项目至tomcat,报错:java.lang.IllegalArgumentException: ...

  8. 后台报错java.lang.IllegalArgumentException: Invalid character found in the request target.

    问题描述:启动项目后,当点击页面某一个按钮时,项目出错并且后台报java.lang.IllegalArgumentException: Invalid character found in the r ...

  9. IDEA springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path

    IDEA springboot启动报错: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path: [D:\Java\bi ...

最新文章

  1. To B设计系统 - 在平平淡淡中开花结果
  2. 前端架构gulp与webpack(知识点整理)
  3. MotifStack:多motif序列比较和可视化
  4. thrift使用传输协议TCompactProtocol - xiaoshe的专栏 - 博客频道 - CSDN.NET
  5. (18)ISE14.7调试核名称与顶层名称不一致导致生成bit报error(FPGA不积跬步101)
  6. java对象和字符串转换_java中字符串和JSON对象、Bean之间的相互转换
  7. using namespace cv
  8. swift3.0 coreData的基本使用,简单实现增删改查
  9. 11. 判断是给属性前加typeof 可以同时判断属性是否存在
  10. [渝粤教育] 中山大学 地理信息系统概论 参考 资料
  11. 卸载adobe系列产品工具
  12. 小程序确定取消弹窗_小程序弹窗取消和确定 微信小程序怎么做
  13. dtm文件生成等高线 lisp_CAD2000下DTM的建立
  14. html右侧下拉菜单怎么写,HTML中下拉菜单使用
  15. 利用python进行识别相似图片(一)
  16. 需求提炼:产品需求、技术需求
  17. 计算机视觉---opencv人脸识别
  18. 今天女朋友问我多线程是什么?送命题?
  19. 【Prometheus】Prometheus 远端存储
  20. mkdir命令 – 创建目录文件

热门文章

  1. Word2Vec小心得
  2. 团队冲刺阶段一第四次站立会议
  3. 山寨今日头条的标题title效果
  4. 正确关闭WCF代理对象
  5. 关于windows消息机制的猜想
  6. C++中map的使用
  7. VC6.0下opencv1.0的环境配置
  8. 用汇编的眼光看C++(之拷贝、赋值函数)
  9. java jtextarea字体_java – 更改JTextArea中不同行的字体
  10. python flask框架剖析_python flask框架实现传数据到js的方法分析