本文主要是介绍解决IBM Liberty 部署Springboot 应用遇到StackOverflow的问题,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
客户最近要求把一个Springboot应用从was 9 迁移部署至 liberty 20,jar包部署,自启动没问题,但部署到liberty上server.xml配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<server description="new server"><!-- Enable features --><featureManager><feature>javaee-8.0</feature><feature>springBoot-2.0</feature><feature>localConnector-1.0</feature><feature>websocket-1.1</feature></featureManager><!-- This template enables security. To get the full use of all the capabilities, a keystore and user registry are required. --><!-- For the keystore, default keys are generated and stored in a keystore. To provide the keystore password, generate an encoded password using bin/securityUtility encode and add it below in the password attribute of the keyStore element. Then uncomment the keyStore element. --><!--<keyStore password=""/> --><!--For a user registry configuration, configure your user registry. For example, configure a basic user registry using thebasicRegistry element. Specify your own user name below in the name attribute of the user element. For the password, generate an encoded password using bin/securityUtility encode and add it in the password attribute of the user element. Then uncomment the user element. --><basicRegistry id="basic" realm="BasicRealm"> <!-- <user name="yourUserName" password="" /> --> </basicRegistry><!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" --><httpEndpoint id="defaultHttpEndpoint"httpPort="9080"httpsPort="9443" /><!-- Automatically expand WAR files and EAR f
这篇关于解决IBM Liberty 部署Springboot 应用遇到StackOverflow的问题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!