Running multiple agents simultaneously in grinder
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am working on parallel agents all should start at the same time. Atleast i
do not expect it to throw me an exception and exit.
Here is the set up that i have made.
1. Start grinder Console
2. Start Agent1 in new command prompt window
3. Start Agent2 in another
4. Start many more agents in different windows
5. Click on "Start worker processes" button in the Grinder Console.
Now the problem:
All agents except one or two, exit throwing this exception:
/
2013-11-01 09:33:14,909 INFO agent: communication shut down
2013-11-01 09:33:14,913 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.engine.agent.AgentDaemon.run(AgentDaemon.java:85)
~[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: java.io.FileNotFoundException:
C:\Users\reddys.ADS\.\HYDCNU304BWC0-file-store\current\cookielib.py (The
requested operation cannot be perfo
rmed on a file with a user-mapped section open)
at java.io.FileOutputStream.open(Native Method) ~[na:1.7.0_40]
at java.io.FileOutputStream.<init>(Unknown Source) ~[na:1.7.0_40]
at java.io.FileOutputStream.<init>(Unknown Source) ~[na:1.7.0_40]
at net.grinder.util.Directory.copyTo(Directory.java:497)
~[grinder-core-3.11.jar:na]
at
net.grinder.engine.agent.FileStore.getDirectory(FileStore.java:101)
~[grinder-core-3.11.jar:na]
... 4 common frames omitted
2013-11-01 09:33:14,916 INFO agent: finished
/
Please help me with this. Its very important for me to start all the agents
at once as there is a need to get number of active agents and divide my work
between them on the run.!!!
Thank you..
--
View this message in context: http://grinder.996249.n3.nabble.com/Running-multiple-agents-simultaneously-in-grinder-tp8667.html
Sent from the Grinder - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk