a non blocking error when starting ACC on my server
not clear from when this error occurs...
thanks for any help
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: .\log\acc.log (Accès refusé)
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.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
at com.aris.prov.common.logging.Logger.getLogger(Logger.java:23)
at com.aris.prov.macc.MultiAgentCommandLineCloudController.<clinit>(MultiAgentCommandLineCloudController.java:68)
in fact, it's run without administrator privilege, (i can start/stop runnable, list...) on node localhost
but when it start with administrator privilege, i have to set a node...
ACC+> list node give no nodes... so i try "add node nodename server... but it do not acccept the ARIS default password. I suppose it is the ARIS system password ?
thanks
pam
I took another look at the log file above. It clearly states that ACC can't access its own log files. Means, this can't be solved by a raised Command Prompt to Administrator level.
Seems as if the user account which was used for installing ARIS doesn't have sufficient access privileges on the folder where ACC wants to create its log files.
At least in ARIS 9.8.4 the ACC log folder is located in %UserProfile%\y472\ARIS90\acc\log. %UserProfile% is a Windows environment variable which gets properly resolved in the address bar of Windows Explorer.
Cheers
Rune