Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Websphere liberty adminCenter-1.0和jaxrs-2.1_Websphere Liberty - Fatal编程技术网

Websphere liberty adminCenter-1.0和jaxrs-2.1

Websphere liberty adminCenter-1.0和jaxrs-2.1,websphere-liberty,Websphere Liberty,运行WebSphereLiberty 20.0.0.1 在运行jaxrs的liberty服务器上启用adminCenter,我收到以下消息: The configured features jaxrs-2.1 and adminCenter-1.0 include one or more features that cause the conflict. 那么,我如何才能将adminCenter与需要一些更新功能的其他应用程序一起运行呢 完整的功能集是: <featureManager&

运行WebSphereLiberty 20.0.0.1

在运行jaxrs的liberty服务器上启用adminCenter,我收到以下消息:

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>

jaxrs-2.1
adminCenter-1.0

/bwa

尝试更新到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.

我的安装出现了一些奇怪的问题。运行新的二进制和installUtility后,它工作正常。

能否在server.xml中共享完整的功能集(所有功能元素)?它还可以帮助您说明安装Liberty所使用的方法和/或工件。如果您可以在messages.log:com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I中找到类似的消息,您也可能会有所了解:“java.lang.IllegalArgumentException:无法加载功能“com.ibm.websphere.appserver.javax.servlet-3.1”和“com.ibm.websphere.appserver.javax.servlet-4.0”的冲突版本。”。导致冲突的特性依赖链是:com.ibm.websphere.appserver.cdi-1.2->。。。。。和com.ibm.websphere.appserver.batch-1.0->…请看这个问题:虽然它涉及不同的功能,但可能是相同的配置问题功能集就这么简单:只要有人尝试一下。。。您不需要任何应用程序来复制jaxrs-2.1 adminCenter-1.0好的,这澄清了功能集。安装怎么样?您是否正在使用Maven安装Liberty?哪件文物?您是否正在从其他来源下载zip?哪个拉链?您遇到的问题可能只会在某些安装路径中出现,而不会在其他安装路径中出现。