adminCenter-1.0 и jaxrs-2.1 - PullRequest
       85

adminCenter-1.0 и jaxrs-2.1

0 голосов
/ 24 февраля 2020

Запуск WebSphere Liberty 20.0.0.1

Включение adminCenter на свободном сервере с jaxrs Я получаю следующее сообщение:

The configured features jaxrs-2.1 and adminCenter-1.0 include one or more features that cause the conflict.

Так как для запуска adminCenter вместе с другими приложениями требуются некоторые новые функции ?

Полный набор функций:

<featureManager>
  <feature>jaxrs-2.1</feature> 
  <feature>adminCenter-1.0</feature>
</featureManager>

/ bwa

Ответы [ 2 ]

0 голосов
/ 27 февраля 2020

Оказалось, странная проблема с моей установкой. После запуска двоичного файла fre sh и установки утилиты он работает нормально.

0 голосов
/ 26 февраля 2020

Попробуй обновить до 20.0.0.2, у меня нормально работает. Или попробуйте убрать перезагрузку на свой.

Launching defaultServer (WebSphere Application Server 20.0.0.2/wlp-1.0.37.cl200220200204-1746) on Eclipse OpenJ9 VM, version 11.0.6+10 (en_PL)
[AUDIT   ] CWWKE0001I: The server defaultServer 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/20.0.0.2/lafiles/en.html
[INFO    ] CWWKE0002I: The kernel started after 0.858 seconds
[INFO    ] CWWKF0007I: Feature update started.
[WARNING ] CWWKS3103W: There are no users defined for the BasicRegistry configuration of ID com.ibm.ws.security.registry.basic.config[basic].
[INFO    ] CWWKS0007I: The security service is starting...
[INFO    ] OSGi Work Path [ D:\Liberty\wlp-javaee8-20.0.0.2\wlp\usr\servers\defaultServer\workarea\org.eclipse.osgi\41\data ]
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications.
[INFO    ] Aries Blueprint packages not available. So namespaces will not be registered
[INFO    ] DYNA1001I: WebSphere Dynamic Cache instance named baseCache initialized successfully.
[INFO    ] DYNA1071I: The cache provider default is being used.
[INFO    ] DYNA1056I: Dynamic Cache (object cache) initialized successfully.
[AUDIT   ] CWPKI0820A: The default keystore has been created using the 'keystore_password' environment variable.
[INFO    ] CWWKS4105I: LTPA configuration is ready after 0.006 seconds.
[INFO    ] CWWKS0008I: The security service is ready.
[INFO    ] CWWKS1123I: The collective authentication plugin with class name NullCollectiveAuthenticationPlugin has been activated. 
[INFO    ] Successfully loaded default keystore: D:/Liberty/wlp-javaee8-20.0.0.2/wlp/usr/servers/defaultServer/resources/security/key.p12 of type: PKCS12
[INFO    ] CWWKX1015I: FILE persistence layer initialized for the Admin Center.
[INFO    ] CWWKX1063I: FILE persistence layer initialized for the Admin Center tool data loader.
[INFO    ] CWWKO0219I: TCP Channel defaultHttpEndpoint has been started and is now listening for requests on host kubernetes.docker.internal  (IPv4: 127.0.0.1) port 9080.
[INFO    ] CWWKO0219I: TCP Channel defaultHttpEndpoint-ssl has been started and is now listening for requests on host kubernetes.docker.internal  (IPv4: 127.0.0.1) port 9443.
[AUDIT   ] CWWKF0012I: The server installed the following features: [adminCenter-1.0, distributedMap-1.0, el-3.0, jaxrs-2.1, jaxrsClient-2.1, jndi-1.0, json-1.0, jsonp-1.1, jsp-2.3, localConnector-1.0, restConnector-2.0, servlet-4.0, ssl-1.0].
[INFO    ] CWWKF0008I: Feature update completed in 1.038 seconds.
[AUDIT   ] CWWKF0011I: The defaultServer server is ready to run a smarter planet. The defaultServer server started in 1.897 seconds.
[INFO    ] SRVE0169I: Loading Web Module: IBMJMXConnectorREST.
[INFO    ] SRVE0169I: Loading Web Module: The Liberty Server Config Tool.
[INFO    ] SRVE0250I: Web Module The Liberty Server Config Tool has been bound to default_host.
[INFO    ] SRVE0250I: Web Module IBMJMXConnectorREST has been bound to default_host.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/ibm/adminCenter/serverConfig-1.0/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/IBMJMXConnectorREST/
[INFO    ] CWWKX0103I: The JMX REST connector is running and is available at the following service URL: service:jmx:rest://localhost:9443/IBMJMXConnectorREST
[INFO    ] CWWKX0103I: The JMX REST connector is running and is available at the following service URL: service:jmx:rest://localhost:9443/IBMJMXConnectorREST
[INFO    ] SRVE0169I: Loading Web Module: ibm/api.
[INFO    ] SRVE0250I: Web Module ibm/api has been bound to default_host.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/ibm/api/
[INFO    ] SRVE0169I: Loading Web Module: The Liberty Explore Tool.
[INFO    ] SRVE0250I: Web Module The Liberty Explore Tool has been bound to default_host.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/ibm/adminCenter/explore-1.0/
[INFO    ] SESN8501I: The session manager did not find a persistent storage location; HttpSession objects will be stored in the local application server's memory.
[INFO    ] SRVE0169I: Loading Web Module: The Liberty Admin Center.
[INFO    ] SRVE0250I: Web Module The Liberty Admin Center has been bound to default_host.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/adminCenter/
[INFO    ] SESN0176I: A new session context will be created for application key default_host/ibm/api
[INFO    ] SESN0176I: A new session context will be created for application key default_host/adminCenter
[INFO    ] SESN0176I: A new session context will be created for application key default_host/ibm/adminCenter/serverConfig-1.0
[INFO    ] SESN0176I: A new session context will be created for application key default_host/ibm/adminCenter/explore-1.0
[INFO    ] SESN0176I: A new session context will be created for application key default_host/IBMJMXConnectorREST
[INFO    ] SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[INFO    ] SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[INFO    ] SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[INFO    ] SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[INFO    ] SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[INFO    ] DYNA1056I: Dynamic Cache (object cache) initialized successfully.
[INFO    ] SRVE0242I: [com.ibm.ws.jmx.connector.server.rest] [/IBMJMXConnectorREST] [JMXRESTProxyServlet]: Initialization successful.
[INFO    ] SRVE9103I: A configuration file for a web server plugin was automatically generated for this server at D:\Liberty\wlp-javaee8-20.0.0.2\wlp\usr\servers\defaultServer\logs\state\plugin-cfg.xml.
[INFO    ] SRVE0242I: [com.ibm.ws.ui] [/adminCenter] [/login.jsp]: Initialization successful.
[AUDIT   ] CWWKS1100A: Authentication did not succeed for user ID admin. An invalid user ID or password was specified.
[AUDIT   ] CWWKG0016I: Starting server configuration update.
[AUDIT   ] CWWKG0017I: The server configuration was successfully updated in 0.030 seconds.
[INFO    ] SRVE0242I: [com.ibm.ws.ui] [/adminCenter] [/toolbox.jsp]: Initialization successful.
[INFO    ] SRVE0242I: [com.ibm.ws.rest.handler] [/ibm/api] [RESTProxyServlet]: Initialization successful.
[INFO    ] CWWKX1029I: The Admin Center default toolbox for user admin loaded.
[INFO    ] CWWKX1000I: The Admin Center default catalog loaded.
...