2016-09-26 1 views
1

Я пытаюсь добавить db2Datasource и oracle datasource через server.xml для websphereliberty, но при запуске сервера отображается некоторая ошибка.Websphere Liberty in eclipse

Ошибки:

[AUDIT ] CWWKF0012I: The server installed the following features: [jsp-2.3, servlet-3.1, jndi-1.0, localConnector-1.0, el-3.0]. 
[AUDIT ] CWWKF0011I: The server WebServer is ready to run a smarter planet. 
[AUDIT ] CWWKG0016I: Starting server configuration update. 
[ERROR ] CWWKF0042E: A feature definition cannot be found for the jdbc-4.0 feature. Try running the command, bin/installUtility install jdbc-4.0, to install the feature. Alternatively, you can run the command, bin/installUtility install WebServer, to install all features that are referenced by this configuration. 
[ERROR ] CWPKI0033E: The keystore located at F:/WGD/Dep 497281-DSA_JAVA/kashish/softwares/WEB server/usr/servers/WebServer/resources/security/key.jks did not load because of the following error: Keystore was tampered with, or password was incorrect 
[WARNING ] CWPKI0809W: There is a failure loading the defaultKeyStore keystore. If an SSL configuration references the defaultKeyStore keystore, then the SSL configuration will fail to initialize. 
[AUDIT ] CWWKG0017I: The server configuration was successfully updated in 16,199 seconds. 
[AUDIT ] CWWKF0012I: The server installed the following features: [ssl-1.0, distributedMap-1.0, appSecurity-2.0]. 
[AUDIT ] CWWKF0008I: Feature update completed in 16,092 seconds. 
[AUDIT ] CWWKE0036I: The server WebServer stopped after 2 minutes, 14,767 seconds. 
******************************************************************************** 
product = WebSphere Application Server 16.0.0.2 (wlp-1.0.13.cl160220160526-2258) 
wlp.install.dir = F:/WGD/Dep 497281-DSA_JAVA/kashish/softwares/WEB server/ 
java.home = C:\Program Files\Java\jre1.8.0_101 
java.version = 1.8.0_101 
java.runtime = Java(TM) SE Runtime Environment (1.8.0_101-b13) 
os = Windows 7 (6.1; amd64) (en_US) 
process = [email protected] 
******************************************************************************** 
[AUDIT ] CWWKE0001I: The server WebServer has been launched. 
[AUDIT ] CWWKE0100I: This product is licensed for development, and limited production use. The full license terms can be viewed here: https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/license/base_ilan/ilan/16.0.0.2/lafiles/en.html 
[ERROR ] CWWKF0042E: A feature definition cannot be found for the jdbc-4.0 feature. Try running the command, bin/installUtility install jdbc-4.0, to install the feature. Alternatively, you can run the command, bin/installUtility install WebServer, to install all features that are referenced by this configuration. 
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications. 
[ERROR ] CWWKE0702E: Could not resolve module: com.ibm.ws.transaction.cdi [49] 
    Unresolved requirement: Import-Package: com.ibm.tx.jta; version="[2.1.0,3.0.0)" 

[ERROR ] CWWKE0702E: Could not resolve module: com.ibm.ws.jca [73] 
    Unresolved requirement: Import-Package: com.ibm.tx.jta; version="[2.1.0,3.0.0)" 

[ERROR ] CWWKE0702E: Could not resolve module: com.ibm.ws.jca-1.7 [76] 
    Unresolved requirement: Import-Package: com.ibm.ws.jca.cm 

[ERROR ] CWWKE0702E: Could not resolve module: com.ibm.ws.app.manager.rar [77] 
+0

Заранее спасибо –

ответ

1

Ключа это сообщение об ошибке:

[ERROR] CWWKF0042E: Определение функции не может быть найдено для функции JDBC-4.0. Попробуйте запустить команду, bin/installUtility install jdbc-4.0, чтобы установить эту функцию. Кроме того, вы можете запустить команду bin/installUtility install WebServer, чтобы установить все функции, на которые ссылается эта конфигурация.

+0

Хм .. Я не помню какой-либо функции webServer в Liberty ..., поэтому, вероятно, опечатка :-) – Gas

+0

Это имя сервера. Это вставленное значение, IIRC – ebullient

1

Поскольку Liberty 16.0.0.2 по умолчанию имеет только функции Java EE 7, вам либо нужно использовать функцию jdbc-4.1, либо установить jdbc-4.0 как предлагаемый ebullient.

я предлагаю просто изменить на 4.1 :-)

Если вам нужны более старые функции (с Java EE 6), я хотел бы предложить установить либо webProfile-6.0 особенность или baseBundle приплюсовать. Оба могут быть установлены с installUtility.

 Смежные вопросы

  • Нет связанных вопросов^_^