deegree / deegree3

Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
https://www.deegree.org
GNU Lesser General Public License v2.1
146 stars 99 forks source link

Unable to import workspace with deegree-webservices-3.3.13 war #510

Open awst-baum opened 9 years ago

awst-baum commented 9 years ago

When installing the deegree-webservices-3.3.13 war file on my machine (tomcat 7.0.42, openSUSE 13.1), I have problems following the getting started doc at "Downloading and activating example workspaces" (http://download.deegree.org/documentation/3.3.13/html/lightly.html#downloading-and-activating-example-workspaces): When I click on "deegree-workspace-wps", I get an error message: "Unable to import workspace: /usr/share/tomcat/.deegree/deegree-workspace-wps/processes/ContainsProcess.xml (No such file or directory) " My working directory is /usr/share/tomcat/.deegree - which does not exist.

degree3_workspaces So how do I rectify that?

tfr42 commented 9 years ago

Have you checked if the user running the Apache Tomcat process has read and write access to the /usr/share/tomcat/.deegreedirectory?

awst-baum commented 9 years ago

I created the /usr/share/tomcat/.deegree directory and gave it to the tomcat user and now I can import workspaces - thanks :) Is there a way to configure the webservice to put the deegree dirctory somewhere else?

tfr42 commented 9 years ago

Yes, as described in chap. 4.2. Location of the deegree workspace directory you can set the environment variable DEEGREE_WORKSPACE_ROOTand point this to an arbitrary directory (tomcat process needs read/write access). Hope that answers your question.

awst-baum commented 9 years ago

Yes, it does - thanks a lot for the quick help! :)

Maybe you could add a few sentences to the manual, Section 3.1.1. "Downloading and activating example workspaces", something like: If you have trouble importing workspaces, check your working directory (first line of the workspace management screen). If it doesn't exist, create it (it will be filled automatically once you import workspaces); if it exists, check access permissions. If you want to change the location of the working directory, refer to Section 4.2. "Location of the deegree workspace directory" of the manual.