Re: Can't find jskwiki.properties
I fail to see why this is jspwiki-custom.properties harder for multiples? What would you propose? -- -jim Jim Willeke On Fri, Jun 1, 2018 at 7:21 AM, Foster Schucker wrote: > So it's a chicken and egg. We can make it harder for the multiples to > work and make it easier for the singles. > > I'm worried about making it impossible for the multiples to work. I'm one > of the multiples, and having the setup the way it is is super simple for me. > > Maybe one of the maintainers will have a clever way to solve both problems. > > Thanks for the feedback! > > Foster > >
Re: Can't find jskwiki.properties
So it's a chicken and egg. We can make it harder for the multiples to work and make it easier for the singles. I'm worried about making it impossible for the multiples to work. I'm one of the multiples, and having the setup the way it is is super simple for me. Maybe one of the maintainers will have a clever way to solve both problems. Thanks for the feedback! Foster
Re: Can't find jskwiki.properties
One major advantage of the user-properties file is that its settings (eg location of your page repository, ...) are retained when deploying a new version of jspwiki war. dirk On Thu, May 31, 2018 at 3:00 PM Paul Uszak wrote: > Are you convinced that this is the typical use case that you want to > target? The percentage of multiple jspwikis must hover around 1%. Look at > it from the perspective of the mainstream user base. IMHO, this unnecessary > flexibility is actually a major obstacle to installation and usability. > Cutting off your nose... I would suggest dropping all in-jar settings and > go with external configuration files, one for logging (log4j) and one for > jspwiki. Something for v.3? My €1's worth. > > On 31 May 2018 at 04:49, Harry Metske wrote: > > > if I remember correctly, the most important reason was that it allows you > > to configure multiple jspwiki’s running in the same appserver. > > Since java system properties (-D) are jvm wide you can t do it with that. > > And setting system properties in moat hosted jvms are not allowed. > > > > We could of course add this way of configuring as well, if we want it > > > > > > > > Op do 31 mei 2018 om 01:59 schreef Paul Uszak > > > > > Any reason that this isn't done the traditional way with a -D system > > > property pointing to an external .properties file? That way you'd only > > have > > > one file and be able to see all the configuration parameters should you > > > wish to change some... Large applications (including Tomcat itself) are > > > configured this way. > > > > > > On 30 May 2018 at 21:57, Blake McBride wrote: > > > > > > > That did it! Thanks a lot! > > > > > > > > On Wed, May 30, 2018 at 3:32 PM, Harry Metske < > harry.met...@gmail.com> > > > > wrote: > > > > > > > > > setting custom properties should be done with the > > > > jspwiki-custom.properties > > > > > file. > > > > > See > > > > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section- > > > > > Documentation-ConfigurationAndAdministration > > > > > > > > > > hope that helps > > > > > > > > > > regards, > > > > > Harry > > > > > > > > > > > > > > > Op wo 30 mei 2018 om 22:18 schreef Blake McBride < > > blake1...@gmail.com> > > > > > > > > > > > Thanks for the help, but I am confused. Tomcat explodes the war > > into > > > > the > > > > > > app directory. It doesn't explode any jar files within a war. > > What > > > > good > > > > > > is it in the jar? How can I edit it? Do I extract it, edit it, > > > re-jar > > > > > > it? Is jspwiki.war a tomcat redy-to-go web app? > > > > > > > > > > > > Thanks! > > > > > > > > > > > > Blake > > > > > > > > > > > > > > > > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske < > > > harry.met...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > the jspwiki properties file is inside the jspwiki.jar which is > in > > > the > > > > > > > jspwiki.war. > > > > > > > So you have to recurse one level deeper :-) > > > > > > > > > > > > > > cheers, > > > > > > > Harry > > > > > > > > > > > > > > > > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride < > > > > blake1...@gmail.com> > > > > > > > > > > > > > > > Hi. > > > > > > > > > > > > > > > > The page at > > > > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > > > > > > states: > > > > > > > > > > > > > > > > "This is simple dump of the *jspwiki.properties *file > contained > > > in > > > > > > > > JSPWiki.war." > > > > > > > > > > > > > > > > I downloaded JSPWiki.war from > > > > > > > > > > > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > > > > > > binaries/webapp/JSPWiki.war > > > > > > > > > > > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > > > > > > and it responds: > > > > > > > > > > > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > > > > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > > > > > > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > > > > > > > > > > > I also tried running .../Install.jsp > > > > > > > > > > > > > > > > Still no jspwiki.properties > > > > > > > > > > > > > > > > Am I using the wrong war file? > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > Blake McBride > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: Can't find jskwiki.properties
Are you convinced that this is the typical use case that you want to target? The percentage of multiple jspwikis must hover around 1%. Look at it from the perspective of the mainstream user base. IMHO, this unnecessary flexibility is actually a major obstacle to installation and usability. Cutting off your nose... I would suggest dropping all in-jar settings and go with external configuration files, one for logging (log4j) and one for jspwiki. Something for v.3? My €1's worth. On 31 May 2018 at 04:49, Harry Metske wrote: > if I remember correctly, the most important reason was that it allows you > to configure multiple jspwiki’s running in the same appserver. > Since java system properties (-D) are jvm wide you can t do it with that. > And setting system properties in moat hosted jvms are not allowed. > > We could of course add this way of configuring as well, if we want it > > > > Op do 31 mei 2018 om 01:59 schreef Paul Uszak > > > Any reason that this isn't done the traditional way with a -D system > > property pointing to an external .properties file? That way you'd only > have > > one file and be able to see all the configuration parameters should you > > wish to change some... Large applications (including Tomcat itself) are > > configured this way. > > > > On 30 May 2018 at 21:57, Blake McBride wrote: > > > > > That did it! Thanks a lot! > > > > > > On Wed, May 30, 2018 at 3:32 PM, Harry Metske > > > wrote: > > > > > > > setting custom properties should be done with the > > > jspwiki-custom.properties > > > > file. > > > > See > > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section- > > > > Documentation-ConfigurationAndAdministration > > > > > > > > hope that helps > > > > > > > > regards, > > > > Harry > > > > > > > > > > > > Op wo 30 mei 2018 om 22:18 schreef Blake McBride < > blake1...@gmail.com> > > > > > > > > > Thanks for the help, but I am confused. Tomcat explodes the war > into > > > the > > > > > app directory. It doesn't explode any jar files within a war. > What > > > good > > > > > is it in the jar? How can I edit it? Do I extract it, edit it, > > re-jar > > > > > it? Is jspwiki.war a tomcat redy-to-go web app? > > > > > > > > > > Thanks! > > > > > > > > > > Blake > > > > > > > > > > > > > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske < > > harry.met...@gmail.com> > > > > > wrote: > > > > > > > > > > > the jspwiki properties file is inside the jspwiki.jar which is in > > the > > > > > > jspwiki.war. > > > > > > So you have to recurse one level deeper :-) > > > > > > > > > > > > cheers, > > > > > > Harry > > > > > > > > > > > > > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride < > > > blake1...@gmail.com> > > > > > > > > > > > > > Hi. > > > > > > > > > > > > > > The page at > > > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > > > > > states: > > > > > > > > > > > > > > "This is simple dump of the *jspwiki.properties *file contained > > in > > > > > > > JSPWiki.war." > > > > > > > > > > > > > > I downloaded JSPWiki.war from > > > > > > > > > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > > > > > binaries/webapp/JSPWiki.war > > > > > > > > > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > > > > > and it responds: > > > > > > > > > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > > > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > > > > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > > > > > > > > > I also tried running .../Install.jsp > > > > > > > > > > > > > > Still no jspwiki.properties > > > > > > > > > > > > > > Am I using the wrong war file? > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > Blake McBride > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: Can't find jskwiki.properties
if I remember correctly, the most important reason was that it allows you to configure multiple jspwiki’s running in the same appserver. Since java system properties (-D) are jvm wide you can t do it with that. And setting system properties in moat hosted jvms are not allowed. We could of course add this way of configuring as well, if we want it Op do 31 mei 2018 om 01:59 schreef Paul Uszak > Any reason that this isn't done the traditional way with a -D system > property pointing to an external .properties file? That way you'd only have > one file and be able to see all the configuration parameters should you > wish to change some... Large applications (including Tomcat itself) are > configured this way. > > On 30 May 2018 at 21:57, Blake McBride wrote: > > > That did it! Thanks a lot! > > > > On Wed, May 30, 2018 at 3:32 PM, Harry Metske > > wrote: > > > > > setting custom properties should be done with the > > jspwiki-custom.properties > > > file. > > > See > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section- > > > Documentation-ConfigurationAndAdministration > > > > > > hope that helps > > > > > > regards, > > > Harry > > > > > > > > > Op wo 30 mei 2018 om 22:18 schreef Blake McBride > > > > > > > Thanks for the help, but I am confused. Tomcat explodes the war into > > the > > > > app directory. It doesn't explode any jar files within a war. What > > good > > > > is it in the jar? How can I edit it? Do I extract it, edit it, > re-jar > > > > it? Is jspwiki.war a tomcat redy-to-go web app? > > > > > > > > Thanks! > > > > > > > > Blake > > > > > > > > > > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske < > harry.met...@gmail.com> > > > > wrote: > > > > > > > > > the jspwiki properties file is inside the jspwiki.jar which is in > the > > > > > jspwiki.war. > > > > > So you have to recurse one level deeper :-) > > > > > > > > > > cheers, > > > > > Harry > > > > > > > > > > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride < > > blake1...@gmail.com> > > > > > > > > > > > Hi. > > > > > > > > > > > > The page at > > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > > > > states: > > > > > > > > > > > > "This is simple dump of the *jspwiki.properties *file contained > in > > > > > > JSPWiki.war." > > > > > > > > > > > > I downloaded JSPWiki.war from > > > > > > > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > > > > binaries/webapp/JSPWiki.war > > > > > > > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > > > > and it responds: > > > > > > > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > > > > > > > I also tried running .../Install.jsp > > > > > > > > > > > > Still no jspwiki.properties > > > > > > > > > > > > Am I using the wrong war file? > > > > > > > > > > > > Thanks! > > > > > > > > > > > > Blake McBride > > > > > > > > > > > > > > > > > > > > >
Re: Can't find jskwiki.properties
Any reason that this isn't done the traditional way with a -D system property pointing to an external .properties file? That way you'd only have one file and be able to see all the configuration parameters should you wish to change some... Large applications (including Tomcat itself) are configured this way. On 30 May 2018 at 21:57, Blake McBride wrote: > That did it! Thanks a lot! > > On Wed, May 30, 2018 at 3:32 PM, Harry Metske > wrote: > > > setting custom properties should be done with the > jspwiki-custom.properties > > file. > > See > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section- > > Documentation-ConfigurationAndAdministration > > > > hope that helps > > > > regards, > > Harry > > > > > > Op wo 30 mei 2018 om 22:18 schreef Blake McBride > > > > > Thanks for the help, but I am confused. Tomcat explodes the war into > the > > > app directory. It doesn't explode any jar files within a war. What > good > > > is it in the jar? How can I edit it? Do I extract it, edit it, re-jar > > > it? Is jspwiki.war a tomcat redy-to-go web app? > > > > > > Thanks! > > > > > > Blake > > > > > > > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske > > > wrote: > > > > > > > the jspwiki properties file is inside the jspwiki.jar which is in the > > > > jspwiki.war. > > > > So you have to recurse one level deeper :-) > > > > > > > > cheers, > > > > Harry > > > > > > > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride < > blake1...@gmail.com> > > > > > > > > > Hi. > > > > > > > > > > The page at > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > > > states: > > > > > > > > > > "This is simple dump of the *jspwiki.properties *file contained in > > > > > JSPWiki.war." > > > > > > > > > > I downloaded JSPWiki.war from > > > > > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > > > binaries/webapp/JSPWiki.war > > > > > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > > > and it responds: > > > > > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > > > > > I also tried running .../Install.jsp > > > > > > > > > > Still no jspwiki.properties > > > > > > > > > > Am I using the wrong war file? > > > > > > > > > > Thanks! > > > > > > > > > > Blake McBride > > > > > > > > > > > > > > >
Re: Can't find jskwiki.properties
That did it! Thanks a lot! On Wed, May 30, 2018 at 3:32 PM, Harry Metske wrote: > setting custom properties should be done with the jspwiki-custom.properties > file. > See > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section- > Documentation-ConfigurationAndAdministration > > hope that helps > > regards, > Harry > > > Op wo 30 mei 2018 om 22:18 schreef Blake McBride > > > Thanks for the help, but I am confused. Tomcat explodes the war into the > > app directory. It doesn't explode any jar files within a war. What good > > is it in the jar? How can I edit it? Do I extract it, edit it, re-jar > > it? Is jspwiki.war a tomcat redy-to-go web app? > > > > Thanks! > > > > Blake > > > > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske > > wrote: > > > > > the jspwiki properties file is inside the jspwiki.jar which is in the > > > jspwiki.war. > > > So you have to recurse one level deeper :-) > > > > > > cheers, > > > Harry > > > > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride > > > > > > > Hi. > > > > > > > > The page at > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > > states: > > > > > > > > "This is simple dump of the *jspwiki.properties *file contained in > > > > JSPWiki.war." > > > > > > > > I downloaded JSPWiki.war from > > > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > > binaries/webapp/JSPWiki.war > > > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > > and it responds: > > > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > > > I also tried running .../Install.jsp > > > > > > > > Still no jspwiki.properties > > > > > > > > Am I using the wrong war file? > > > > > > > > Thanks! > > > > > > > > Blake McBride > > > > > > > > > >
Re: Can't find jskwiki.properties
setting custom properties should be done with the jspwiki-custom.properties file. See https://jspwiki-wiki.apache.org/Wiki.jsp?page=Documentation#section-Documentation-ConfigurationAndAdministration hope that helps regards, Harry Op wo 30 mei 2018 om 22:18 schreef Blake McBride > Thanks for the help, but I am confused. Tomcat explodes the war into the > app directory. It doesn't explode any jar files within a war. What good > is it in the jar? How can I edit it? Do I extract it, edit it, re-jar > it? Is jspwiki.war a tomcat redy-to-go web app? > > Thanks! > > Blake > > > On Wed, May 30, 2018 at 3:01 PM, Harry Metske > wrote: > > > the jspwiki properties file is inside the jspwiki.jar which is in the > > jspwiki.war. > > So you have to recurse one level deeper :-) > > > > cheers, > > Harry > > > > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride > > > > > Hi. > > > > > > The page at > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > > states: > > > > > > "This is simple dump of the *jspwiki.properties *file contained in > > > JSPWiki.war." > > > > > > I downloaded JSPWiki.war from > > > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > > binaries/webapp/JSPWiki.war > > > > > > I then type: jar tvf JSPWiki.war |grep properties > > > and it responds: > > > > > >100 Sun May 20 20:20:14 CDT 2018 > > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > > > I also tried running .../Install.jsp > > > > > > Still no jspwiki.properties > > > > > > Am I using the wrong war file? > > > > > > Thanks! > > > > > > Blake McBride > > > > > >
Re: Can't find jskwiki.properties
Thanks for the help, but I am confused. Tomcat explodes the war into the app directory. It doesn't explode any jar files within a war. What good is it in the jar? How can I edit it? Do I extract it, edit it, re-jar it? Is jspwiki.war a tomcat redy-to-go web app? Thanks! Blake On Wed, May 30, 2018 at 3:01 PM, Harry Metske wrote: > the jspwiki properties file is inside the jspwiki.jar which is in the > jspwiki.war. > So you have to recurse one level deeper :-) > > cheers, > Harry > > > Op wo 30 mei 2018 om 21:33 schreef Blake McBride > > > Hi. > > > > The page at https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > > states: > > > > "This is simple dump of the *jspwiki.properties *file contained in > > JSPWiki.war." > > > > I downloaded JSPWiki.war from > > > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/ > binaries/webapp/JSPWiki.war > > > > I then type: jar tvf JSPWiki.war |grep properties > > and it responds: > > > >100 Sun May 20 20:20:14 CDT 2018 > > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > > > So, there is no jspwiki.properties file in JSPWiki.war > > > > I also tried running .../Install.jsp > > > > Still no jspwiki.properties > > > > Am I using the wrong war file? > > > > Thanks! > > > > Blake McBride > > >
Re: Can't find jskwiki.properties
the jspwiki properties file is inside the jspwiki.jar which is in the jspwiki.war. So you have to recurse one level deeper :-) cheers, Harry Op wo 30 mei 2018 om 21:33 schreef Blake McBride > Hi. > > The page at https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration > states: > > "This is simple dump of the *jspwiki.properties *file contained in > JSPWiki.war." > > I downloaded JSPWiki.war from > > http://mirror.metrocast.net/apache/jspwiki/2.10.4/binaries/webapp/JSPWiki.war > > I then type: jar tvf JSPWiki.war |grep properties > and it responds: > >100 Sun May 20 20:20:14 CDT 2018 > META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties > > So, there is no jspwiki.properties file in JSPWiki.war > > I also tried running .../Install.jsp > > Still no jspwiki.properties > > Am I using the wrong war file? > > Thanks! > > Blake McBride >
Can't find jskwiki.properties
Hi. The page at https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration states: "This is simple dump of the *jspwiki.properties *file contained in JSPWiki.war." I downloaded JSPWiki.war from http://mirror.metrocast.net/apache/jspwiki/2.10.4/binaries/webapp/JSPWiki.war I then type: jar tvf JSPWiki.war |grep properties and it responds: 100 Sun May 20 20:20:14 CDT 2018 META-INF/maven/org.apache.jspwiki/jspwiki-war/pom.properties So, there is no jspwiki.properties file in JSPWiki.war I also tried running .../Install.jsp Still no jspwiki.properties Am I using the wrong war file? Thanks! Blake McBride