[xwiki-users] PlandUML configuration issue
I am trying to configure PlantUML to work with local Graphviz server. My environment - Linux Mint Debian (last stable), MySQL, Tomcat, XWiki 4.1.3. XWiki installed from standart xwiki deb-packages. No any customization on OS or XWiki. Empty base (only installed standart wiki-pages). According to PlantUML macros installation guide, I installed Graphviz, and deleted path to external graphviz server. Also I added GRAPHVIZ_DOT to system variable (added export GRAPHVIZ_DOT="/usr/bin/dot" to /etc/profile). But when I opening test page http://localhost:8080/xwiki/bin/view/XWiki/PlantUMLMacro I have got an error: Dot executable is /usr/bin/dot Dot version: dot - graphviz version ... java.io.FileNotDoundExeption: testdottmp42.dot (Permission denied) ... I checked - dot executable exists in /usr/bin/. Also I checked environment variables with comand env - all is ok, GRAPHVIZ_DOT variable exists and give correct path. Also, I tried to give full permissions for /usr/bin/ and dot executable - any user/group can read / write / execute it. Also I tried to change tomcat parameters: TOMCAT6_USER=root and TOMCAT6_GROUP=root for the starting tomcat as root (it is not good for security reason but for testing is ok). As a result - same situation, same error. What is the problem and how I is possible correct it? Thanks beforehand! Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/PlandUML-configuration-issue-tp7580944.htm... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Eugen, PlantUML has found Graphviz (the dot program) and then tries to create the file testdottmp42.dot and encounters the permission issue. It may be a java permission error. Just to test quickly, you can try to disable the security manager of Tomcat. I hope this helps Maxime 2012/8/18 Eugen Colesnicov <[email protected]>:
I am trying to configure PlantUML to work with local Graphviz server. My environment - Linux Mint Debian (last stable), MySQL, Tomcat, XWiki 4.1.3. XWiki installed from standart xwiki deb-packages. No any customization on OS or XWiki. Empty base (only installed standart wiki-pages).
According to PlantUML macros installation guide, I installed Graphviz, and deleted path to external graphviz server. Also I added GRAPHVIZ_DOT to system variable (added export GRAPHVIZ_DOT="/usr/bin/dot" to /etc/profile).
But when I opening test page http://localhost:8080/xwiki/bin/view/XWiki/PlantUMLMacro I have got an error: Dot executable is /usr/bin/dot Dot version: dot - graphviz version ... java.io.FileNotDoundExeption: testdottmp42.dot (Permission denied) ...
I checked - dot executable exists in /usr/bin/. Also I checked environment variables with comand env - all is ok, GRAPHVIZ_DOT variable exists and give correct path.
Also, I tried to give full permissions for /usr/bin/ and dot executable - any user/group can read / write / execute it. Also I tried to change tomcat parameters: TOMCAT6_USER=root and TOMCAT6_GROUP=root for the starting tomcat as root (it is not good for security reason but for testing is ok).
As a result - same situation, same error. What is the problem and how I is possible correct it?
Thanks beforehand! Eugen Colesnicov
-- View this message in context: http://xwiki.475771.n2.nabble.com/PlandUML-configuration-issue-tp7580944.htm... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I checked - Tomcat security manager already is disabled. As I said, XWiki installation I made from deb packages, which contains all nessesery soft & setups. Maybe another issue? On Sun, Aug 19, 2012 at 1:14 AM, Maxime Sinclair <[email protected]>wrote:
disable the security manager of Tomcat.
-- Best Regards Eugene Colesnicov
Sorry but I have no other idea and I'm not familiar with the debian package of XWiki. May you can try to install the plantuml.war (you have to download it from plantuml website) in your tomcat and then configure the macro to use this "external" server. Maxime 2012/8/19 Eugene Colesnicov <[email protected]>:
I checked - Tomcat security manager already is disabled. As I said, XWiki installation I made from deb packages, which contains all nessesery soft & setups. Maybe another issue?
On Sun, Aug 19, 2012 at 1:14 AM, Maxime Sinclair <[email protected]>wrote:
disable the security manager of Tomcat.
-- Best Regards Eugene Colesnicov _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Eugen Colesnicov -
Eugene Colesnicov -
Maxime Sinclair