EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: Archive-engine does not have sufficient permissions to export the .xml file
From: LONG FENG via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 19 Nov 2024 21:00:19 +0800
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  

Navigate by Date:
Prev: Re: Using separate .json files for NTTable definitions Érico Nogueira Rolim via Tech-talk
Next: I implemented the Model 3 of EPICS motor driver support, but the VAL and RBV of motor record are zero after IOC reboot. LiangChih Chiang via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: Re: Including display information in NTTables Michael Davidsaver via Tech-talk
Next: I implemented the Model 3 of EPICS motor driver support, but the VAL and RBV of motor record are zero after IOC reboot. LiangChih Chiang via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
ANJ, 20 Nov 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·