Only thing that was logged that seemed out of the ordinary is the following
G:\jspwiki-test\apache-tomcat-9.0.86\wikistorage\%23%24%25.txt
G:\jspwiki-test\apache-tomcat-9.0.86\wikistorage\No+such+variable%3A+No+variable+jspwiki.frontPage+defined..txt


not entirely sure where these are coming from.


On Mon, Sep 2, 2024 at 9:32 AM Alex O'Ree <alexo...@apache.org> wrote:

> I searched and couldn't find any file named ehcache. Where abouts should
> it be located?
>
> I also edited the source to log every time page exists is called. For the
> specific file in question (UnusedPages.txt) it prints that it exists. I
> also stepped through the code and it looks like it's loading the content
> just fine and calling the renderer. I'm baffled with this one
>
> I also tried searching for the page not found error message and trying to
> determine why but still couldn't locate the reason why.
>
> On Thu, Aug 22, 2024 at 6:32 PM Alex O'Ree <alexo...@apache.org> wrote:
>
>> This happens at first bootup with no cache files.
>>
>> Nothing in the logs to indicate a problem on debug level.
>>
>> I noticed that JSPWiki does some calculations based on the requested page
>> to try and find a file on disk. Looks like this happens somewhere around
>> AbstractFileProvider#mangleName but there doesn't seem to be any check for
>> case insensitivity. In this case, the files were created on windows, but
>> served up on linux.
>>
>> I can PR a case for this to normalize to lower case or something like
>> that if you want
>>
>> On Thu, Aug 22, 2024, 7:36 AM Juan Pablo Santos Rodríguez <
>> juanpablo.san...@gmail.com> wrote:
>>
>>> Hi!
>>>
>>> As for the 1st issue, most probably is due to caching being turned on.
>>> Deleting the ehcache files prior to starting tomcat up should fix the
>>> issue.
>>>
>>> As for the 2nd issue, sounds like a very probable cause, log should
>>> clarify
>>> that.
>>>
>>> Cheers,
>>> juan pablo
>>>
>>> El jue, 22 ago 2024, 1:43, Alex O'Ree <alexo...@apache.org> escribió:
>>>
>>> > Is there anything special i need to know when creating files outside of
>>> > jspwiki and then copying them into the wiki storage location?
>>> >
>>> > i'm seeing some strange behavior. If i link to the page that exists on
>>> > disk, the link will show as a non-existent article. If i click the edit
>>> > button, i'll get the content of the file on disk. If i press save (no
>>> > changes), it will still register as a non-existent file. If i attempt
>>> to
>>> > create/edit it again, then change the file slightly, then save,
>>> everything
>>> > works as normal.
>>> >
>>> > I'm also seeing some strange issues with files loading with jspwiki on
>>> > windows and not loading on jspwiki on linux. This might be the fact
>>> that
>>> > the file system is not case sensitive on windows.
>>> >
>>> > are any of these known issues?
>>> >
>>>
>>

Reply via email to