[JBoss] Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]



JBoss 를 로컬환경에서 띄울려고 하다 보니 아래와 같은 오류가 발생하였습니다.




22:52:20,485 INFO [JMXKernel] Legacy JMX core initialized



22:52:21,235 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]





at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)



at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)



at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)




구글링을 하다보니 JBoss 의 jira 에 해결책이 있었습니다.


https://jira.jboss.com/jira/browse/JBAS-6973



설정 중에 AttachmentStore 를 생성하는 부분의 constructor 를 수정합니다.



[JBOSS_HOME]\server\default\conf\bootstrap\profile.xml


주석처리한 기존 부분 대신에 새로운 constructor 를 넣습니다. parameter 의 클래스를 정의해 주는 부분이 추가되었습니다.





일단 JBoss 는 뜨는 듯 합니다.



댓글

가장 많이 본 글