Details

    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      com.liferay.portal.velocity.VelocityUtil.evaluate() (invoked in upgrade process) creates velocity.log in tomcat bin directory. It is not a good place for such file and in some environments portal may not have permissions to create that file, which cases exception.

      The upgrade process for 6.0.6 is going well without velocity right now, but in the future, if someone will use velocity in some sql, there will be problem with upgrade.

      It is described here also: http://www.liferay.com/community/forums/-/message_boards/message/7546271

      1. VelocityUtil-r64895.reverse.patch
        2 kB
        Rafał Piotrowski

        Activity

        Hide
        Rafał Piotrowski added a comment -

        Sorry, my mistake. It was fixed by brian.chan in commit 64895. In the attachment is reverse diff with changes in VelocityUtil.java that have fixed the bug.

        Show
        Rafał Piotrowski added a comment - Sorry, my mistake. It was fixed by brian.chan in commit 64895. In the attachment is reverse diff with changes in VelocityUtil.java that have fixed the bug.
        Hide
        Milan Jaroš added a comment -

        This is it! Thank you very much.

        Show
        Milan Jaroš added a comment - This is it! Thank you very much.
        Hide
        Artur Linhart (BC) added a comment -

        If somebody wants to have a fast way for fixing it, then here
        http://www.bcpraha.cz/c/document_library/get_file?uuid=60afd297-d4a5-4a87-b24b-9993c3eb5827&groupId=11845
        can be found the source code and also class file compiled under JDK 1.6 32bit

        Show
        Artur Linhart (BC) added a comment - If somebody wants to have a fast way for fixing it, then here http://www.bcpraha.cz/c/document_library/get_file?uuid=60afd297-d4a5-4a87-b24b-9993c3eb5827&groupId=11845 can be found the source code and also class file compiled under JDK 1.6 32bit
        Hide
        Artur Linhart (BC) added a comment -

        The above fix bases on the pure Liferay 6.0.6 original source code version,

        Show
        Artur Linhart (BC) added a comment - The above fix bases on the pure Liferay 6.0.6 original source code version,
        Hide
        Milan Jaroš added a comment -

        Thanks for share, Arche.

        Show
        Milan Jaroš added a comment - Thanks for share, Arche.

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 5 weeks, 1 day ago

              Development

                Subcomponents

                  Structure Helper Panel