ERROR 2015-07-01 10:14:11,170 [main] org.openforis.collect.earth.app.desktop.EarthApp: The server could not start java.io.FileNotFoundException: C:\Users\tesfay.woldemariam\AppData\Roaming\CollectEarth\generated\applicationContext.xml (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.openforis.collect.earth.sampler.utils.FreemarkerTemplateUtils.applyTemplate(FreemarkerTemplateUtils.java:33) at org.openforis.collect.earth.app.desktop.ServerController.initilizeDataSources(ServerController.java:141) at org.openforis.collect.earth.app.desktop.ServerController.startServer(ServerController.java:196) at org.openforis.collect.earth.app.desktop.EarthApp.serverStartAndOpenGe(EarthApp.java:371) at org.openforis.collect.earth.app.desktop.EarthApp.initializeServer(EarthApp.java:288) at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:84)

asked 01 Jul '15, 16:52

Tesfay's gravatar image

Tesfay
0258
accept rate: 0%

edited 01 Jul '15, 16:56


Dear Tesfay,

In this case it seems that the file where Collect Earth writes the configuration of the Jetty server where it actually runs is protected.

Could you open the folder *C:\Users\tesfay.woldemariam\AppData\Roaming\CollectEarth* and make sure that the contents within the folder are not protected?

Also, you can try to simply delete the generated/ folder as this folder is dynamic and is regenerated everytime Collect Earth starts.

Let me know if that works!

permanent link

answered 02 Jul '15, 11:16

Open%20Foris's gravatar image

Open Foris ♦♦
9995714
accept rate: 10%

Thank you very much!

The last option seems to work. After deleting the generated folder and restarting Collect Earth it did load!

Thanks Again, Tesfay

permanent link

answered 02 Jul '15, 16:49

Tesfay's gravatar image

Tesfay
0258
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×281

question asked: 01 Jul '15, 16:52

question was seen: 5,140 times

last updated: 02 Jul '15, 16:49