2014-10-22 2 views
0

(hawtio 버전 1.4.27, karaf 버전 3.0.2)hawtio - 웹 내가 여기에 누락 무엇을 아주 확실하지 않다 karaf

시작되지 것 "배포"붙어. 나는 다음과 같은 콘솔 내가에만 hawtio 코어 기능을 설치하고있어 here을 제안

[email protected]()> feature:repo-add mvn:io.hawt/hawtio-karaf/1.4.27/xml/features 
Adding feature url mvn:io.hawt/hawtio-karaf/1.4.27/xml/features 
[email protected]()> feature:install hawtio-core 
[email protected]()> web:list 
ID | State  | Web-State | Level | Web-ContextPath | Name       
----------------------------------------------------------------------------------------- 
216 | Active  | Deploying | 80 | /hawtio   | hawtio :: hawtio-web (1.4.27) 
[email protected]()> 

으로 Karaf

에 hawtio 기능을 배포하는 명령을 실행했습니다.

그러나 전쟁 번들 207 (hawtio-web)은 "배포 중"웹 상태에서 영원히 멈추었습니다. 디스플레이 (루트 로거는 INFO에서 실행 OSGI에 로깅 : : *)이 유일한 관련 라인이

2014-10-22 16:09:17,783 | WARN | e ssh user karaf | FeatureValidationUtil   | 24 - org.apache.karaf.features.core - 3.0.1 | Old style feature file without namespace found (URI: mvn:io.hawt/hawtio-karaf/1.4.27/xml/features). This format is deprecated and support for it will soon be removed 
2014-10-22 16:10:03,770 | INFO | e ssh user karaf | FeaturesServiceImpl    | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature hawtio-core 1.4.27 
2014-10-22 16:10:03,771 | INFO | e ssh user karaf | FeaturesServiceImpl    | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature war 3.0.1 

기록이다 나는 어떤 서블릿

[email protected]()> http:list 
ID | Servlet | Servlet-Name | State | Alias | Url 
------------------------------------------------- 
[email protected]()> 

기록에 따르면이 중 하나를 설치 표시되지 않습니다 문제를 나타내는 것이 아무것도 기록되지 않았기 때문에 전쟁을 멈추고/hawtio 자원을 사용할 수 없으므로 어떻게 디버깅 할 수 있는지에 대한 아이디어는 있습니까?

감사합니다. Andras

답변

0

PBKAC - i는 org.osgi.core 및 org.osgi.compendium을 maven에서 다운로드하여 karaf "lib"폴더에 추가했습니다. 그들은 클래스 패스 (확실히 --cp에 열거되지 않았다)에 - 카라프/펠릭스가 패키지를 제공하기 때문에, 그들은 중복되고 분명히 문제를 디버그하기가 극도로 어려워진다. (문제를 나타내는 하나의 라인이 다시 기록되지 않는다)

tl; dr 3.0.2 카라프 릴리스 타르에서는 재현 할 수 없습니다. 그러나 lib 폴더에 osgi.core 및 osgi.compendium을 넣으십시오.

관련 문제