Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5662

Attachment Versioning problem using Windows + Tomcat as a service

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.1 M1
    • 2.5
    • Model
    • None
    • Windows + Tomcat as a Service with System Account
    • Attachment Version Windows Service
    • Unknown

    Description

      I was having some trouble with attachment versioning. I was using XWiki with Tomcat as a Service with Windows Server and I couldn't store more than one revision of my attachments. All the old attachment revisions were lost after restarting XWiki...

      The fast workaround is: Configure Tomcat to run as a User account, not a System Account (in the service properties window).

      What I found is: XWiki uses a "kind of" CVS repository to store the attachment revisions. When Tomcat is running as a service with a System account, XWiki stores the author name with a "$". This "corrupts" the repository and XWiki can't load it again! Using a User account is a simple workaround for this! Maybe this could be changed in the next version....

      Best regards!

      Felipe Luiz Christófolli Giotto
      Linux User #497287

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            felipegiotto Felipe Giotto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: