Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Error 'Access is denied' is returned while accessing uiconfig.bat or executing CLI commands in TIBCO Spotfire Server configuration
Solution:
You may see the following error message in command line interface (CLI) while executing commands such as 'export-config', 'export-service-config' as below or while accessing TIBCO Spotfire Server configuration tool by double clicking on uiconfig.bat.
Command:
>config export-service-config --capability=AUTOMATION_SERVICES --deployment-area=Production
Output:
2019-05-15 10:39:26,589 main ERROR RollingFileManager (C:\tibco\tss\10.0.0\tomcat\bin\\..\logs/tools.log) java.io.FileNotFoundException: C:\tibco\tss\10.0.0\tomcat\bin\..\logs\tools.log (Access is denied) java.io.FileNotFoundException: C:\tibco\tss\10.0.0\tomcat\bin\..\logs\tools.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:640)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:608)
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:113)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:116)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:188)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:145)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:61)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:547)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:619)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:243)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:174)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:648)
at com.spotfire.logging.LogManager.getLoggerInternal(LogManager.java:415)
at com.spotfire.logging.LogManager.getLogger(LogManager.java:411)
at com.spotfire.server.config.tool.ConfigApp.<clinit>(ConfigApp.java:65)
2019-05-15 10:39:26,605 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@6ca8564a] unable to create manager for [C:\tibco\tss\10.0.0\tomcat\bin\\..\logs/tools.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@50b472aa[pattern=C:\tibco\tss\10.0.0\tomcat\bin\\..\logs/tools.log.%i, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[SizeBasedTriggeringPolicy(size=10485760)]), strategy=DefaultRolloverStrategy(min=1, max=9, useMax=false), advertiseURI=null, layout=%p %d{yyyy-MM-dd'T'HH:mm:ss,SSSZ} %c{3}: %m%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@6ca8564a] unable to create manager for [C:\tibco\tss\10.0.0\tomcat\bin\\..\logs/tools.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@50b472aa[pattern=C:\tibco\tss\10.0.0\tomcat\bin\\..\logs/tools.log.%i, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[SizeBasedTriggeringPolicy(size=10485760)]), strategy=DefaultRolloverStrategy(min=1, max=9, useMax=false), advertiseURI=null, layout=%p %d{yyyy-MM-dd'T'HH:mm:ss,SSSZ} %c{3}: %m%n, filePermissions=null, fileOwner=null]]
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:115)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:116)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:188)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:145)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:61)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:547)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:619)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:243)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:174)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:648)
at com.spotfire.logging.LogManager.getLoggerInternal(LogManager.java:415)
at com.spotfire.logging.LogManager.getLogger(LogManager.java:411)
at com.spotfire.server.config.tool.ConfigApp.<clinit>(ConfigApp.java:65)
2019-05-15 10:39:26,605 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:229)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:547)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:619)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:243)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:174)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:648)
at com.spotfire.logging.LogManager.getLoggerInternal(LogManager.java:415)
at com.spotfire.logging.LogManager.getLogger(LogManager.java:411)
at com.spotfire.server.config.tool.ConfigApp.<clinit>(ConfigApp.java:65)
2019-05-15 10:39:26,605 main ERROR Null object returned for RollingFile in Appenders.
2019-05-15 10:39:26,620 main ERROR Unable to locate appender "toolLog" for logger config "org.apache.http.headers"
2019-05-15 10:39:26,620 main ERROR Unable to locate appender "toolLog" for logger config "com.amazonaws"
2019-05-15 10:39:26,620 main ERROR Unable to locate appender "toolLog" for logger config "org.springframework"
2019-05-15 10:39:26,620 main ERROR Unable to locate appender "toolLog" for logger config "com.spotfire.ws.library.IMPORT"
2019-05-15 10:39:26,636 main ERROR Unable to locate appender "toolLog" for logger config "org.apache.http"
2019-05-15 10:39:26,636 main ERROR Unable to locate appender "toolLog" for logger config "com.spotfire"
Tool password: The above error message indicates that the user who is logged in or the user account running the TIBCO Spotfire Server service does not have access to the "<spotfire server installation directory>\tomcat\" directory. To resolve, update the file/folder permissions for the user for the <spotfire server installation directory>\tomcat\" folder. Alternatively, you can also give full access to the Everyone group (at least temporarily as a diagnostic test to confirm it is folder permissions is the root cause).
If the issue still persists after validating the user permissions to the file/folders, please contact TIBCO Support at https://support.tibco.com/ for more assistance.
Doc: Opening the configuration tool.
Comments
0 comments
Article is closed for comments.