Hybris 30 天许可证过期

Jua*_*oid 3 license-key licenses.licx hybris

我正在运行我的开发人员 Hybris 实例,我收到一条消息,说我的许可证已过期。

根据维基,它说我必须重新初始化数据库才能继续我的工作

*** LICENSE VERIFICATION HAS FAILED! *** 

************************************************************* 
Your demo/develop license has expired, it is valid only for 30 days. If you're using develop licence you need to reinitialize database to continue your work. ************************************************************* 
Hybris licence [licence.advancedsecurity.true;licence.clustering.true;licence.date.2013.03.27;licence.email.support@hybris.com;licence.endcustomer=hybris AG;licence.eulaversion=2.0;licence.expiration.;licence.highperformance.true;licence.id=000001-001;licence.name=hybris Demo Licence;licence.version=5.0;]
Shutting down hybris registry.. 
archiving 1 old GC log files to log\solr\instances\default\archived 
archiving 1 console log files to \log\solr\instances\default\archived 
Rotating solr logs, keeping a max of 9 generations
Waiting up to 30 to see Solr running on port 8983 
Started Solr server on port 8983. Happy searching! 
error notifying tenant listener : ListableBeanFactory must not be null java.lang.IllegalArgumentException: ListableBeanFactory must not be null 
at org.springframework.util.Assert.notNull(Assert.java:134) 
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors (BeanFactoryUtils.java:308) 
at de.hybris.olatform..mx.MBeanRe•isterUtilities.refreshMBeans MBeanRe•isterUtilities..ava:157 
Run Code Online (Sandbox Code Playgroud)

这是常规消息。

此 Hybris 许可证仅用于演示或开发用途,有效期为 30 天。信息 在此之后,您必须重新初始化数据库以继续您的工作。信息剩余天数 ====> 26

如何在不重新初始化的情况下继续我的工作?

mky*_*oft 10

您可以安装临时许可证。

./license.sh -temp CPS_MYS
Run Code Online (Sandbox Code Playgroud)

您将使用上述命令获得 90 天临时许可证。在使用以下命令安装新许可证之前,您需要删除现有的临时许可证。

./license.sh -delete SystemID HardwareKey SoftwareProducts
Run Code Online (Sandbox Code Playgroud)

您可以使用以下命令获取上述命令中使用的参数。

./license.sh -get
Run Code Online (Sandbox Code Playgroud)

为 Linux/Mac 上的 MySQL 提供的示例命令,您需要使用 Windows 的 bat 扩展。

其他许可证选项是使用 SQL 更新用户创建日期:

UPDATE users set createdTS = NOW()
Run Code Online (Sandbox Code Playgroud)

来源:http : //gunce.mkysoft.com/install-hybris-temp-license/


Hyb*_*elp 5

要解决此问题,您可以安装临时许可证。

安装临时许可证

  1. installedSaplicenses.properties从许可证文件夹中删除

     \hybris\config\licence
    
    Run Code Online (Sandbox Code Playgroud)
  2. 转到 Platform 目录并运行./license.sh-temp CPS_SQLlicense.bat -temp CPS_SQL

如果您使用的是 HSQL 以外的数据库,请按照how-to-install-temp-hybris-license操作。