Follow Up:
I believe I set the logging levels to debug but updating my logging.properties
file:
java.util.logging.ConsoleHandler.level = FINEST
However, I also get this in my wiki log, so am not sure that the
logging.properties file is actually being read:
2015-02-19 15:07:03,210 [http-8080-Processor25] INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mywiki]
mywiki:/mywiki/ mywiki:http://10.191.203.76:8080/mywiki/ - No
jspwiki.propertyfile defined for this context, using default from
/WEB-INF/jspwiki.properties
2015-02-19 15:07:03,211 [http-8080-Processor25] INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mywiki]
mywiki:/mywiki/ mywiki:http://10.191.203.76:8080/mywiki/ - Loading cascading
properties...
2015-02-19 15:07:03,211 [http-8080-Processor25] INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mywiki]
mywiki:/mywiki/ mywiki:http://10.191.203.76:8080/mywiki/ - No cascading
properties defined for this context
This is what I get in the logs when I try to edit/save a page:
2015-02-19 15:07:08,260 [http-8080-Processor25] INFO JSPWiki
mywiki:/mywiki/Edit.jsp mywiki:http://10.191.203.76:8080/mywiki/Edit.jsp -
Editing page Application Support. User=10.191.206.50, host=10.191.206.50
2015-02-19 15:07:11,594 [http-8080-Processor25] INFO JSPWiki
mywiki:/mywiki/Edit.jsp mywiki:http://10.191.203.76:8080/mywiki/Edit.jsp -
Saving page Application Support. User=10.191.206.50, host=10.191.206.51
2015-02-19 15:07:11,594 [http-8080-Processor25] INFO JSPWiki
mywiki:/mywiki/Edit.jsp mywiki:http://10.191.203.76:8080/mywiki/Edit.jsp - Page
changed, warning user.
2015-02-19 15:07:11,614 [http-8080-Processor25] INFO JSPWiki
mywiki:/mywiki/PageModified.jsp
mywiki:http://10.191.203.76:8080/mywiki/PageModified.jsp - Page concurrently
modified Application Support
----- Original Message -----
From: "SDOCA SDOCA" <[email protected]>
To: [email protected]
Sent: Thursday, February 19, 2015 11:49:55 AM
Subject: Re: Can't Save Page Edits
Hi,
I haven't been able to find any upgrade instructions for JSPWiki. Is it simply
deploying the new war file to Tomcat and copying the wikidata folder?
Thanks!
----- Original Message -----
From: "Juan Pablo Santos RodrÃguez" <[email protected]>
To: [email protected]
Sent: Wednesday, February 18, 2015 11:21:58 AM
Subject: Re: Can't Save Page Edits
Hi,
I intended to answer at user's ml, but the email fell through and
ultimately I forgot to do it :-/
At [email protected] you told us you're on JSPWiki 2.6, so my first
question/recommendation is, is there anything blocking you to upgrade to a
newer version of JSPWiki? 2.6 was released quite some years ago and it's
difficult to backtrack what could be happening on your JSPWiki instance.
F.ex., I recall you were having problems with cached attachments; on 2.6
the cache layer was using OSCache, 2.10 uses ehCache which is a totally
different library.
Said that, your JSPWiki instance should work (given the fact that you have
appropiate permissions for the different files/folders involved), so I'm
guessing setting the log to debug and seeing what it yields should help
troubleshooting your issue. Lastly, I can't remember if you told this
already but, what container are you using to deploy your JSPWiki instance?
Are you using a web server (Apache or whatever) to serve your jspwiki
instance?
As for your original question, speaking broadly, JSPWiki marks the page
being on Edit mode when entering Edit.jsp, so that's a sympton something
isn't going as it should be.
br,
juan pablo
On Wed, Feb 18, 2015 at 6:50 PM, SDOCA SDOCA <[email protected]> wrote:
> Hi,
>
> I've already sent this question to the dev list, but there hasn't been any
> activity on it so I'm asking for help from the devs. Hopefully that's okay.
>
> I copied an existing JSPWiki from one server to another and have been
> trying to get it working. Currently I can't save edits to any page of the
> new wike. Everytime I edit a page and click save, I get the "Oops! Someone
> modified the page while you were editing it!" page even if I go back and
> "edit" it again, it will not save. I have tried a number of pages and get
> the same result. Currently, I am the only one who has access to the wiki,
> so am 100% certain someone else isn't making changes.
>
> How does JSPWiki mark a page as being in edit mode? Is there a way that I
> can clear this? It appears to be system wide.
>
> Thanks for any help.
>