Can Not Create a Virtual Instance

Issue

  • When trying to create a virtual instance, an error "Please enter a valid virtual host" shows up. Actually the virtual host is verified to be working. After enabling the DEBUG log for com.liferay.portal.service.impl.CompanyLocalServiceImpl, the following message is thrown in the log:
    Sep 09 14:38:40.604 build-624 [liferay-67f9c9f6c-xltd6] [dxp] WARN  [http-nio2-8080-exec-10][CompanyLocalServiceImpl:1633] null
    Sep 09 14:38:40.604 build-624 [liferay-67f9c9f6c-xltd6] com.liferay.portal.kernel.exception.CompanyVirtualHostException: Duplicate virtual hostname abc.xyz.com

 

Environment

  • Liferay DXP 7.4

 

Resolution

  • The message indicates that the same host name is used somewhere in DXP. You may check the Virtual Host option under Site Configuration.

 

 

この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています