Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2021-04-24 Thread Олександр Ридзевський
Thank you very much for you reply, Juan! I was find that tomcat on debian running by systemd with "ProtectSystem-strict" which prohibit to jspwiki do write to directory which not in list. On 2021/04/22 16:38:46, Juan Pablo Santos Rodríguez wrote: > Hi Alex,> > > (apologies for brevity & typos

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2021-04-22 Thread Juan Pablo Santos Rodríguez
Hi Alex, (apologies for brevity & typos, on mobile) Inside the 2nd stacktrace you can see the root cause: java.io.IOException: Page directory is not writable: /var/lib/jspwiki/pages First stacktrace contains a similar error, but for a different folder, please check permissions on those files for

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2021-03-17 Thread Jim Willeke
I still get nothing to work and still the same issue. less /var/log/tomcat9/localhost.2021-03-17.log 17-Mar-2021 11:51:53.595 INFO [Catalina-utility-1] org.apache.catalina.core.ApplicationContext.log JSPWiki: Unable to load and setup properties from jspwiki.properties. Failed to start. Caused by: n

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2021-01-11 Thread Juan Pablo Santos Rodríguez
Hi, apologies on not answering before. Couple things to try: - would you mind start your tomcat instance passing as env variable "log4j.rootCategory=DEBUG,ConsoleLog" and attach the contents of catalina.out? You can see a couple examples on how to do this at [#1] - would you mind trying to start

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2021-01-01 Thread Jim Willeke
I am still stuck. Have repeated this process a few times and still obtain the same results. The file ldapwiki.war was deployed to /var/lib/tomcat9/webapps/ldapwiki.war -rw-r--r-- 1 root root 24143885 Dec 20 12:23 /var/lib/tomcat9/webapps/ldapwiki.war We see that the ldapwiki.war was expanded to:

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-27 Thread Juan Pablo Santos Rodríguez
Hi, it's located in JSPWiki.war!WEB-INF/lib/jspwiki-main-2.11.0.M8.jar!ini/jspwiki.properties br, juan pablo On Sun, Dec 27, 2020 at 12:46 PM Jim Willeke wrote: > Where is jspwiki.properties located within the JSPWiki.war file? > > I see it nowhere in > https://apache.osuosl.org/jspwiki/2.11.

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-27 Thread Jim Willeke
Where is jspwiki.properties located within the JSPWiki.war file? I see it nowhere in https://apache.osuosl.org/jspwiki/2.11.0.M8/binaries/webapp/JSPWiki.war -- -jim Jim Willeke On Mon, Dec 21, 2020 at 3:22 PM Jim Willeke wrote: > And that is what I have attempted. > And even that does not wor

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-21 Thread Jim Willeke
And that is what I have attempted. And even that does not work. -- -jim Jim Willeke On Mon, Dec 21, 2020 at 12:29 PM Juan Pablo Santos Rodríguez < juanpablo.san...@gmail.com> wrote: > Hi, > > given that the OS, Let's Encrypt, Tomcat, etc. are correctly installed, I'd > begin with a simple, non-c

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-21 Thread Juan Pablo Santos Rodríguez
Hi, given that the OS, Let's Encrypt, Tomcat, etc. are correctly installed, I'd begin with a simple, non-customized jspwiki war to make sure it deploys OK. If there are problems, what's the log saying? Are you able to set it to debug level (through JAVA_OPTS, or whatever method)? Once you have th

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-19 Thread Jim Willeke
The issue I have always run into is that upgrading is a huge pain. It is never Just JSPwiki but all the dependencies. These are the facets for upgrades I came up with: - Operating System - let's Encrypt - nginx - Java - Tomcat - JSPWiki - jspwiki engine - jspwiki pag

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-17 Thread Juan Pablo Santos Rodríguez
Hi Jim, I've always have worked with an environment in which CATALINA_BASE == CATALINA_HOME, said that, yes, your setup seems correct to me (also 2 min of google https://stackoverflow.com/a/29398713 seem to confirm that). best regards, juan pablo On Thu, Dec 17, 2020 at 2:19 PM Jim Willeke wro

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-17 Thread Jim Willeke
My setup is now: DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS" Apache Tomcat/9.0.31 (Ubuntu) Java Home: /usr/lib/jvm/java-13-openjdk-amd64 JVM Version:13.0.4+8-Ubuntu-120.04 CATALINA_BASE: /var/lib/tomcat9 CATALINA_HOME: /usr/share/tomcat9 So I am assuming we would place the jspwiki.war (reg

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-15 Thread Juan Pablo Santos Rodríguez
Hi Jim, apologies, the e-mail got stuck in drafts and I didn't notice :-/ the contents of the work folder were to see which war was deployed if ldapwiki.war or folder.war.. The unfound jspwiki.properties file should be inside the jspwiki-main jar, under the ini folder. As for starting tomcat pas

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-07 Thread Jim Willeke
I changed to folder.war, as I was making a feeble attempt to hide details about ldapwiki. Not sure what you are looking for here: ll /var/lib/tomcat9/work/Catalina/localhost/ total 24 drwxr-x--- 6 tomcat tomcat 4096 Dec 4 10:43 ./ drwxr-x--- 3 tomcat tomcat 4096 Dec 4 09:49 ../ drwxr-x--- 3 tomc

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-07 Thread Juan Pablo Santos Rodríguez
Hi Jim, you mention initially that the war is deployed as folder.war instead of ldapwiki.war, is that correct? What files are placed inside $TOMCAT_HOME/work? Also, would you mind starting tomcat providing it a "-Dlog4j.rootCategory=DEBUG,ConsoleLog" argument? That should provide more information

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-06 Thread Jim Willeke
Here is what I see: less /var/log/tomcat9/catalina.2020-12-06.log 06-Dec-2020 10:48:43.248 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/etc/tomcat9/Catalina/localhost/host-manager.xml] has finished in [416] ms 06-Dec-2020 10:48:43.252 IN

Re: JSPWiki: Unable to load and setup properties from jspwiki.properties

2020-12-05 Thread Harry Metske
does catalina.out reveal any more detail? regards, Harry On Fri, 4 Dec 2020 at 13:31, Jim Willeke wrote: > New install. > Apache Tomcat/9.0.31 (Ubuntu) > 11.0.9.1+1-Ubuntu-0ubuntu1.20.04 > JspWiki: 2.11.0.M7 (Binary download) > java --version openjdk 11.0.9.1 2020-11-04 > OpenJDK 64-Bit Server