Re: Can't find jskwiki.properties

2018-05-30 Thread Harry Metske
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

2018-05-30 Thread 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 
> > > 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

2018-05-30 Thread Blake McBride
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

2018-05-30 Thread Harry Metske
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

2018-05-30 Thread 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

2018-05-30 Thread Harry Metske
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

2018-05-30 Thread 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