Export site failed with below exception.
==========================================================================
Can't load log handler "com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler"
java.io.IOException: Couldn't get lock for /srv/endeca/apps/Store/logs/Store.%u.%g.log
java.io.IOException: Couldn't get lock for /srv/endeca/apps/Store/logs/Store.%u.%g.log
at java.util.logging.FileHandler.openFiles(FileHandler.java:389)
at java.util.logging.FileHandler.<init>(FileHandler.java:254)
at com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler.<init>(RelativePathFileHandler.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at java.util.logging.LogManager$4.run(LogManager.java:690)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:683)
at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1255)
at java.util.logging.LogManager.access$1300(LogManager.java:148)
at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1338)
at java.util.logging.Logger.log(Logger.java:609)
at java.util.logging.Logger.doLog(Logger.java:631)
at java.util.logging.Logger.log(Logger.java:654)
at java.util.logging.Logger.fine(Logger.java:1204)
at com.endeca.soleng.eac.toolkit.Controller.parseArgs(Controller.java:1036)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:136)
[02.17.17 11:17:18] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[02.17.17 11:17:28] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.application.Application isDefined - Caught exception while querying for defined application list.
Caused by com.endeca.eac.client.EACFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 - null
==========================================================================
Solution :
1) Stop the EAC (Endeca HTTP Service)
2) Rename the directory ENDECA_CONF/state to state-backup
3) Create an empty state directory
4) Start the Endeca HTTP Service again
==========================================================================
Can't load log handler "com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler"
java.io.IOException: Couldn't get lock for /srv/endeca/apps/Store/logs/Store.%u.%g.log
java.io.IOException: Couldn't get lock for /srv/endeca/apps/Store/logs/Store.%u.%g.log
at java.util.logging.FileHandler.openFiles(FileHandler.java:389)
at java.util.logging.FileHandler.<init>(FileHandler.java:254)
at com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler.<init>(RelativePathFileHandler.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at java.util.logging.LogManager$4.run(LogManager.java:690)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:683)
at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1255)
at java.util.logging.LogManager.access$1300(LogManager.java:148)
at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1338)
at java.util.logging.Logger.log(Logger.java:609)
at java.util.logging.Logger.doLog(Logger.java:631)
at java.util.logging.Logger.log(Logger.java:654)
at java.util.logging.Logger.fine(Logger.java:1204)
at com.endeca.soleng.eac.toolkit.Controller.parseArgs(Controller.java:1036)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:136)
[02.17.17 11:17:18] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[02.17.17 11:17:28] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.application.Application isDefined - Caught exception while querying for defined application list.
Caused by com.endeca.eac.client.EACFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 - null
==========================================================================
Solution :
1) Stop the EAC (Endeca HTTP Service)
2) Rename the directory ENDECA_CONF/state to state-backup
3) Create an empty state directory
4) Start the Endeca HTTP Service again
No comments:
Post a Comment