2013-10-16 3 views
2

eclipse kepler에 로컬로 통합 된 자유 프로필에 EAR 프로젝트를 배포하는 데 문제가 있습니다. 그것은 다음과 같은 오류와 함께 다시 온다 :wasJmsClient는 websphere 8.5에서 지원되지 않습니다. liberty profile

Application 'App-Name' requires feature wasJmsClient, 
which is not supported by WebSphere Application Server V8.5 liberty profile. 

Reason: 
Application 'App-Name' requires feature wasJmsClient, 
which is not supported by WebSphere Application Server V8.5 liberty profile. 

는 나는 당신이 당신의 server.xml에이 기능에 suppport을 추가 할 필요가 있음을 나타냅니다 IBM 문서에까지 읽었습니다. 나는 이것을 피했다.

내의 server.xml은 다음과 같습니다 : 내가 잘못된거야 위치에

<server description="new server"> 

<!-- Enable features --> 
<featureManager> 
    <feature>jsp-2.2</feature> 
    <feature>wasJmsServer-1.0</feature> 
    <feature>wasJmsClient-1.1</feature> 
    <feature>jmsMdb-3.1</feature> 
    <feature>jndi-1.0</feature> 
</featureManager> 

<httpEndpoint id="defaultHttpEndpoint" host="localhost" 
    httpPort="9080" httpsPort="9443" /> 

<messagingEngine id="defaultME"> 
    <queue id="libertyQ" forceReliability="ReliablePersistent" 
     maxQueueDepth="5000"> 
    </queue> 
</messagingEngine> 

<jmsQueueConnectionFactory jndiName="jms/libertyQCF" 
    connectionManagerRef="ConMgr2"> 
    <properties.wasJms nonPersistentMapping="ExpressNonPersistent" 
     persistentMapping="ReliablePersistent"   

</jmsQueueConnectionFactory> 
<connectionManager id="ConMgr2" maxPoolSize="2" /> 

<jmsQueue jndiName="jms/libertyQue"> 
    <properties.wasJms queueName="libertyQ" 
     deliveryMode="Application" timeToLive="500000" priority="1" 
     readAhead="AsConnection" /> 
</jmsQueue> 

어떤 제안? 감사합니다.

+0

사용하는 자유의 버전은 무엇? JMS 기능은 8.5.5까지 추가되지 않았습니다. –

답변

8

Liberty 프로필은 두 개의 jar 파일, 런타임 jar 및 선택적 확장 jar로 배포됩니다. JMS를 사용하려면 확장 jar도 설치해야합니다. 이 질문에있는 정보를 토대로 이것은 누락되었을 수 있습니다. wasdev.net에서 런타임 및 확장 된 jar를 모두 다운로드 할 수 있습니다.

당신은 wasJmsClient 및 wasJmsServer가 을 실행하여 설치되어있는 기능 있는지 확인할 수 있습니다 다음 WLP/bin 폴더에있는

productInfo featureInfo

명령을 사용합니다.

1

간단합니다. 이 링크에서 wlp-extended jar를 가져 와서 명령 프롬프트에서 admin으로 설치하십시오. WLP-extended.jar

은 그냥 라이센스를 입력하라는 메시지와 매우 interactive.I가 좋은 생각 -jar

자바 : https://developer.ibm.com/wasdev/downloads/#asset/addons-8.5.5-wlp-extended

단지 WLP/bin 폴더에서 다음 명령을 실행하여 설치 거기에서 나가기. 모든 웹 프로파일 도구를 설치합니다.

는 당신이 WLP/빈에서 다음 명령을 실행할 수 있음을 다시 확인하려면

productInfo featureInfo

관련 문제