![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||
|
Hi all,
When I execute the command archive-engine -engine Demo -export Demo.xml , a permission issue occurs, as shown below: 2024-11-19 20:46:58 INFO [org.csstudio.archive] Archive Engine 4.0.0 (PID 6791) 2024-11-19 20:46:58 INFO [org.csstudio.archive] Engine Configuration: Demo 2024-11-19 20:46:58 INFO [org.csstudio.archive] Archive Configuration 'Demo' 2024-11-19 20:46:58 INFO [org.csstudio.archive] RDB: jdbc:mysql://localhost/archive?rewriteBatchedStatements=true 2024-11-19 20:46:58 INFO [org.csstudio.archive] User: archive 2024-11-19 20:46:58 INFO [org.csstudio.archive] ID: 1 2024-11-19 20:46:58 INFO [org.csstudio.archive] Description: Demo Engine 2024-11-19 20:46:58 INFO [org.csstudio.archive] Web Server : http://localhost:4812 2024-11-19 20:46:58 INFO [org.csstudio.archive] Group 'Demo' (1) 2024-11-19 20:46:58 INFO [org.csstudio.archive] Channel 'freddy' (3), Monitor @ min. period 0.1 sec 2024-11-19 20:46:58 INFO [org.csstudio.archive] Channel 'sim://noiseWaveform(0,10,100,10)' (2), Monitor @ min. period 0.1 sec 2024-11-19 20:46:58 INFO [org.csstudio.archive] Channel 'sim://sine(0, 10, 50, 0.1)' (1), Monitor [threshold 1.0] @ min. period 0.1 sec 2024-11-19 20:46:58 INFO [org.csstudio.archive] Saving configuration to Demo.xml Exception in thread "main" java.io.FileNotFoundException: Demo.xml (Permission denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184) at org.csstudio.archive.engine.config.XMLConfig.write(XMLConfig.java:53) at org.csstudio.archive.Engine.main(Engine.java:343) What could be causing this problem? Thanks! Feng
| ||||||||||||||
ANJ, 20 Nov 2024 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |