cancel
Showing results for 
Search instead for 
Did you mean: 

License installation error

former_member636375
Participant
0 Kudos

Hi All,

while installing license from text file, i'm getting this error. Please help.

Exception in thread "main" java.lang.ExceptionInInitializerError at de.hybris.platform.licence.sap.DefaultKeySystem.loadPlatformProperties(DefaultKeySystem.java:61) at de.hybris.platform.licence.sap.DefaultKeySystem.(DefaultKeySystem.java:48) at de.hybris.platform.licence.sap.HybrisAdmin.main(HybrisAdmin.java:46) Caused by: java.lang.NullPointerException at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.loadXmlConfiguration(HybrisLog4j2ConfigurationFactory.java:105) at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:58) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:427) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:265) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:599) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:226) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at de.hybris.platform.util.logging.HybrisLogger.(HybrisLogger.java:104) at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance(HybrisLoggerFactory.java:31) at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:275) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:670) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at de.hybris.platform.core.Log4JUtils.readConfig(Log4JUtils.java:103) at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:56) at de.hybris.platform.util.Utilities.(Utilities.java:124) ... 3 more

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes, There is a release in 6.3.0.12 with the fix. You could download the latest release and replace the license.bat/sh file

Please refer to https://jira.hybris.com/browse/ECP-2351

Thanks Yan

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear All,

Download the attached license.bat file in the SAP note: https://launchpad.support.sap.com/#/notes/2591890

Replace license.bat file with the one in your server and run the license installation command.

Best Regards,

former_member636375
Participant
0 Kudos

our version is: 6.3.0.7 license.bat file content: @echo off SET BASE_DIR=%~dp0 SET CORE_DIR=%BASE_DIR%/ext/core SET CORE_LIB=%CORE_DIR%/lib SET BOOTSTRAP_DIR=%BASE_DIR%/bootstrap

SET LIKEY_LIB=%CORE_LIB%/likey-no-iaik-1.0.3.jar SET IO_UTILS_LIB=%CORE_LIB%/commons-io-2.4.jar SET COMMONS_LANG_LIB=%CORE_LIB%/commons-lang-2.6.jar SET LOG_4J_LIB=%CORE_LIB%/log4j-1.2.17.jar;%CORE_LIB%/slf4j-api-1.7.21.jar;%CORE_LIB%/log4j-api-2.7.jar;%CORE_LIB%/log4j-core-2.7.jar;%CORE_LIB%/log4j-slf4j-impl-2.7.jar SET GUAVA_LIB=%CORE_LIB%/guava-18.0.jar SET SPRING_LIB=%CORE_LIB%/spring-core-4.3.3.RELEASE.jar;%CORE_LIB%/spring-context-4.3.3.RELEASE.jar;%CORE_LIB%/spring-beans-4.3.3.RELEASE.jar SET CORE_CLASSES=%CORE_DIR%/classes SET CORE_RESOURCES=%CORE_DIR%/resources SET CORE_SERVER=%CORE_DIR%/bin/coreserver.jar SET BOOTSTRAP_CLASSES=%BOOTSTRAP_DIR%/classes SET BOOTSTRAP_JAR=%BOOTSTRAP_DIR%/bin/ybootstrap.jar

java.exe -classpath "%classpath%";"%LIKEY_LIB%";"%IO_UTILS_LIB%";"%COMMONS_LANG_LIB%";"%LOG_4J_LIB%";"%GUAVA_LIB%";"%SPRING_LIB%";"%CORE_SERVER%";"%CORE_CLASSES%";"%BOOTSTRAP_JAR%";"%BOOTSTRAP_CLASSES%";"%CORE_RESOURCES%"^ -Dpcd.home=%BASE_DIR% de.hybris.platform.licence.sap.HybrisAdmin %1 %2 %3 %4

Former Member
0 Kudos

Hi

There is a release with the fix of the license issue recently. Please upgrade to the latest patch.

Or if you are not sure, please share your version and license.bat/sh file here.

Thanks Yan

former_member636375
Participant
0 Kudos

license.bat -show giving same error