我正在尝试设置一个由 10 个代理组成的环境,每个代理 1 个进程,每个进程 10 个线程。
当我打开 10 个终端/提示并在启动所有 10 个代理后单击研磨机中的“启动工作进程”时,问题就出现了。除了一两个代理之外,所有代理都会自动退出并声明此异常。我知道这是因为所有这些都是同时开始的,但是我可以做些什么来使它起作用..?
这是例外
2013-10-31 14:36:41,469 INFO agent: communication shut down
2013-10-31 14:36:41,475 ERROR agent: Could not create file store directory
net.grinder.engine.agent.FileStore$FileStoreException: Could not create file store directory
at net.grinder.engine.agent.FileStore.getDirectory(FileStore.java:111) ~[grinder-core-3.11.jar:na]
at net.grinder.engine.agent.AgentImplementation.run(AgentImplementation.java:188) ~[grinder-core-3.11.jar:na]
at net.grinder.Grinder.run(Grinder.java:124) ~[grinder-core-3.11.jar:na]
at net.grinder.Grinder.main(Grinder.java:67) ~[grinder-core-3.11.jar:na]
Caused by: net.grinder.util.Directory$DirectoryException: Could not delete 'C:\Users\reddys.ADS\.\HYDCNU304BWC0-file-store\current\a360utility$py.clas
s'
at net.grinder.util.Directory.deleteContents(Directory.java:257) ~[grinder-core-3.11.jar:na]
at net.grinder.util.Directory.copyTo(Directory.java:473) ~[grinder-core-3.11.jar:na]
at net.grinder.engine.agent.FileStore.getDirectory(FileStore.java:101) ~[grinder-core-3.11.jar:na]
... 3 common frames omitted