[ 
https://issues.apache.org/jira/browse/JSPWIKI-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152659#comment-18152659
 ] 

Alex O'Ree commented on JSPWIKI-1396:
-------------------------------------

i've added the following notes to the public wiki at

https://jspwiki-wiki.apache.org/Wiki.jsp?page=Getting%20Started#section-Getting+Started-TomcatOnLinuxSystemsViaPackageManagers

Ubuntu with Tomcat10
 * /var/tomcat10/lib path is typically empty and not on classpath. Do not put 
your jspwiki-custom.properties file here. Suggest 
/var/tomcat10/webapps/JSPWiki/WEb-INF/classes
 * Using a path for wiki storage can sometimes be a pain due to linux file 
permissions. In this case /var/tomcat10/wikifiles for example, will not 
typically work as /var and /var/tomcat10 are owned by root:root and the 
directories do not have the +x bit set for the world (and you wouldn't want 
that anyhow). /wikfiles didn't work me, nor did anything in /opt/wikifiles. One 
option that did work was to use /home/tomcat. Typically the following should 
work

mkdir /home/tomcat chown tomcat:tomcat /home/tomcat

then update your jspwiki-custom.properties to point there instead.

 

i don't know enough about linux file systems and the why behind this behavior. 
I even tried chmod 777 on a root dir. mount looked like it was read/write. 
bizarre 

> Quick and simple deployment guide no longer works on linux based deployments
> ----------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1396
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1396
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>            Priority: Major
>         Attachments: image-2026-11-29-11-21-38-318.png, 
> image-2026-11-29-11-23-10-265.png, image-2026-11-29-11-23-53-098.png, 
> image-2026-11-29-15-51-41-443.png, jspwiki.log
>
>
> [https://jspwiki-wiki.apache.org/Wiki.jsp?page=Getting%20Started#section-Getting+Started-QuickAndSimpleInstall]
> via the user list, there were multiple issues with storage directories, 
> permissions and the ehcache file being loaded from the embedded instance in 
> the jar file.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to