deegree3 icon indicating copy to clipboard operation
deegree3 copied to clipboard

Unable to import workspace with deegree-webservices-3.3.13 war

Open awst-baum opened this issue 9 years ago • 4 comments

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?

awst-baum avatar Mar 03 '15 17:03 awst-baum

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

tfr42 avatar Mar 03 '15 18:03 tfr42

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?

awst-baum avatar Mar 04 '15 09:03 awst-baum

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.

tfr42 avatar Mar 04 '15 15:03 tfr42

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.

awst-baum avatar Mar 04 '15 16:03 awst-baum