wKioL1XRPgaiVhVVAAFuUXxeKT4234.jpg

解决办法

oracle

update users set createdTS=createdTS+400

 

mysql

update users SET createdTS =DATE_ADD(createdTS, INTERVAL 1 YEAR);

wKioL1XRPh3ygF82AAGQh836qRE527.jpg

 

原理

Add debug configuration

log4j.logger.de.hybris.platform.licence.internal=debug

 

INFO  [localhost-startStop-1] [hybrisserver] ---------------------------------------------------------------

DEBUG [localhost-startStop-1][HybrisLicenceCrypto] Checking licence ...

text = hybris licence[licence.advancedsecurity=true;licence.clustering=true;licence.date=2013.03.27;licence.email=support@hybris.com;licence.endcustomer=hybrisAG;licence.eulaversion=2.0;licence.expiration=;licence.highperformance=true;licence.id=000001-001;licence.name=hybrisDemo Licence;licence.version=5.0;]

sig = [B@20c3bb32

DEBUG [localhost-startStop-1][HybrisLicenceValidator]

DEBUG [localhost-startStop-1][HybrisLicenceDAO] Check query for min starting point date: SELECTmin(createdTS) FROM users

DEBUG [localhost-startStop-1][HybrisLicenceValidator] Checking demo licence [current date:2015-02-20T16:58:42.397+08:00 expiration date: 2015-03-17T23:47:19.091+08:00]

INFO  [localhost-startStop-1] [Licence]##########################################################################

INFO  [localhost-startStop-1] [Licence] This Hybrislicence is only for demo or develop usage and is valid for 30 days.

INFO  [localhost-startStop-1] [Licence] After thistime you have to reinitialize database to continue your work.

DEBUG [localhost-startStop-1][HybrisLicenceDAO] Check query for min starting point date: SELECT min(createdTS) FROM users

INFO  [localhost-startStop-1] [Licence] Remainingdays ====> -33

INFO  [localhost-startStop-1] [Licence]##########################################################################