The PageViewPlugin keeps track of pageviews, see [1] for details. It does
not the keep track of the number of pages. It stores all values in memory
and in a file. This file (PageCount.txt) is stored in the directory
designated by the jspwiki property jspwiki.workDir.
If you delete this file, all counters will be "reset" to zero (on the next
restart).

regards,
Harry




[1] - https://jspwiki-wiki.apache.org/Wiki.jsp?page=PageViewPlugin

On 23 June 2016 at 10:23, krille (JIRA) <j...@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/JSPWIKI-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346034#comment-15346034
> ]
>
> krille commented on JSPWIKI-1027:
> ---------------------------------
>
> I have in total 456 pages (*.txt) files. Is there any reference between
> the PageViewPlugin that states "Storing 671 counter values" ? Is there safe
> to stop the tomcat and empty "work" and "temp" directories? Or is there
> something else I can "reset"?
>
> > CorePlugin "TotalPages" unstable...
> > -----------------------------------
> >
> >                 Key: JSPWIKI-1027
> >                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1027
> >             Project: JSPWiki
> >          Issue Type: Bug
> >          Components: Plugins
> >    Affects Versions: 2.10.2
> >         Environment: Linux
> >            Reporter: krille
> >            Priority: Trivial
> >
> > I upgrade 2.10.0 to 2.10.2 and now the {$totalpages} plugin is
> restarting at 0 over and over again... It takes time until it has reached
> the complete count of all pages again... Then after some time it starts at
> 0 again?
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>

Reply via email to