Details

    • Last commented by user?:
      true

      Description

      Confluence doesn't currently support Java 7. We should extend our testing and support to this new version.

        Attachments

          Issue Links

            Activity

            matt@atlassian.com Matt Ryall created issue -
            matt@atlassian.com Matt Ryall made changes -
            Field Original Value New Value
            Status New [ 10034 ] Open [ 1 ]
            Hide
            matt@atlassian.com Matt Ryall added a comment - - edited

            This is blocked by a Lucene problem that causes a JVM crash when Confluence is running: LUCENE-3335. This problem reliably crashes our most basic test suite every time.

            We can't support Java 7 until this is resolved by either the Oracle Java developers or the Lucene team.

            Show
            matt@atlassian.com Matt Ryall added a comment - - edited This is blocked by a Lucene problem that causes a JVM crash when Confluence is running: LUCENE-3335 . This problem reliably crashes our most basic test suite every time. We can't support Java 7 until this is resolved by either the Oracle Java developers or the Lucene team.
            barconati Bill Arconati made changes -
            Labels nf
            Hide
            markm@nortel.com Mark Mielke added a comment -

            7u1 is out... does this resolve the crash?

            Show
            markm@nortel.com Mark Mielke added a comment - 7u1 is out... does this resolve the crash?
            Hide
            adeccico Adrian Deccico [Atlassian] added a comment -

            7u1 is out... does this resolve the crash?

            According to the release notes: http://www.oracle.com/technetwork/java/javase/7u1-relnotes-507962.html ir doesn't look like.

            Show
            adeccico Adrian Deccico [Atlassian] added a comment - 7u1 is out... does this resolve the crash? According to the release notes: http://www.oracle.com/technetwork/java/javase/7u1-relnotes-507962.html ir doesn't look like.
            Hide
            markm@nortel.com Mark Mielke added a comment - - edited

            I'm having trouble unraveling how Oracle is managing updates - and I monitor their jdk7u updates mailing list. sigh

            Here is an example of the "worst" 7.0.0 bug - the loop unrolling problem - that is also not in the release notes, but shows up as "fixed" in the actual Bug:

            http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738
            http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2212770

            Given this confusion, I can understand why vendors would choose to stay off - but I do have an interest in the Java 7 feature set, and so I am interested in any progress Atlassian makes here...

            Show
            markm@nortel.com Mark Mielke added a comment - - edited I'm having trouble unraveling how Oracle is managing updates - and I monitor their jdk7u updates mailing list. sigh Here is an example of the "worst" 7.0.0 bug - the loop unrolling problem - that is also not in the release notes, but shows up as "fixed" in the actual Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2212770 Given this confusion, I can understand why vendors would choose to stay off - but I do have an interest in the Java 7 feature set, and so I am interested in any progress Atlassian makes here...
            Hide
            markm@nortel.com Mark Mielke added a comment -

            Ok, I think it made it into this build:

            http://download.java.net/jdk7u2/changes/jdk7u2-b04.html

            Looks like odd numbered patches are the critical security patch updates, and even numbered are for everything else. Looks like we're waiting for JDK 7u2, which is due out sometime before end of year.

            Show
            markm@nortel.com Mark Mielke added a comment - Ok, I think it made it into this build: http://download.java.net/jdk7u2/changes/jdk7u2-b04.html Looks like odd numbered patches are the critical security patch updates, and even numbered are for everything else. Looks like we're waiting for JDK 7u2, which is due out sometime before end of year.
            Hide
            matt@atlassian.com Matt Ryall added a comment -

            Thanks for the info, Mark. We did try a run with a pre-release developer build of _u2, but Confluence wouldn't even compile. I guess we'll wait for the final release, and hopefully for the resolution of LUCENE-3335 too.

            Show
            matt@atlassian.com Matt Ryall added a comment - Thanks for the info, Mark. We did try a run with a pre-release developer build of _u2, but Confluence wouldn't even compile. I guess we'll wait for the final release, and hopefully for the resolution of LUCENE-3335 too.
            Hide
            t_heit Thorsten Heit added a comment -

            According to the release notes, some bugs concerning Lucene have been fixed:

            JIT and Loop Bugs
            Three bugs reported by various parties, including Apache Lucene developers, have been fixed in JDK 7 Update 1, in addition to a fourth related bug found by Oracle (7070134, 7068051, 7044738, 7077439).

            Recently I saw a German blog entry that describes what you have to do to use Confluence 4 with JDK 7: http://everflux.de/confluence-4-mit-jdk-7-1901/

            It's quite easy, and on my machine everything works fine tm:

            Assuming you start Confluence via the shell scripts, i.e. bin/startup.sh, simply add the following to JAVA_OPTS in bin/setenv.sh:

            -Datlassian.org.osgi.framework.bootdelegation=META-INF.services,com.yourkit,com.yourkit.*,com.jprofiler,com.jprofiler.*,org.apache.xerces,org.apache.xerces.*,org.apache.xalan,org.apache.xalan.*,sun.*,com.sun.jndi.,com.icl.saxon,com.icl.saxon.*,javax.servlet,javax.servlet.*,com.sun.xml.bind.*

            Flush the OSGi plugin cache from $confluence-home/plugins-osgi-cache, then start Confluence, voilĂ . Works with Java 7

            Show
            t_heit Thorsten Heit added a comment - According to the release notes, some bugs concerning Lucene have been fixed: JIT and Loop Bugs Three bugs reported by various parties, including Apache Lucene developers, have been fixed in JDK 7 Update 1, in addition to a fourth related bug found by Oracle (7070134, 7068051, 7044738, 7077439). Recently I saw a German blog entry that describes what you have to do to use Confluence 4 with JDK 7: http://everflux.de/confluence-4-mit-jdk-7-1901/ It's quite easy, and on my machine everything works fine tm : Assuming you start Confluence via the shell scripts, i.e. bin/startup.sh, simply add the following to JAVA_OPTS in bin/setenv.sh: -Datlassian.org.osgi.framework.bootdelegation=META-INF.services,com.yourkit,com.yourkit.*,com.jprofiler,com.jprofiler.*,org.apache.xerces,org.apache.xerces.*,org.apache.xalan,org.apache.xalan.*,sun.*,com.sun.jndi.,com.icl.saxon,com.icl.saxon.*,javax.servlet,javax.servlet.*,com.sun.xml.bind.* Flush the OSGi plugin cache from $confluence-home/plugins-osgi-cache, then start Confluence, voilĂ . Works with Java 7
            Hide
            matt@atlassian.com Matt Ryall added a comment -

            Thanks for the information, Thorsten. We'll endeavour to set up some testing for JDK 7u1 to verify the fix.

            With your suggested workaround, do you mean in addition to running with Java 7u1? I can't see how the boot delegation is related to the Lucene problem, so perhaps it is another issue we haven't hit yet.

            Show
            matt@atlassian.com Matt Ryall added a comment - Thanks for the information, Thorsten. We'll endeavour to set up some testing for JDK 7u1 to verify the fix. With your suggested workaround, do you mean in addition to running with Java 7u1? I can't see how the boot delegation is related to the Lucene problem, so perhaps it is another issue we haven't hit yet.
            Hide
            markm@nortel.com Mark Mielke added a comment -

            Just stumbled upon this as well:

            http://lucene.apache.org/java/docs/index.html#26+October+2011+-+Java+7u1+fixes+index+corruption+and+crash+bugs+in+Apache+Lucene+Core+and+Apache+Solr

            Not to say that Confluence won't experience other problems - but it seems that the concerns raised by the Apache team have been address in 7u1.

            Show
            markm@nortel.com Mark Mielke added a comment - Just stumbled upon this as well: http://lucene.apache.org/java/docs/index.html#26+October+2011+-+Java+7u1+fixes+index+corruption+and+crash+bugs+in+Apache+Lucene+Core+and+Apache+Solr Not to say that Confluence won't experience other problems - but it seems that the concerns raised by the Apache team have been address in 7u1.
            Hide
            markm@nortel.com Mark Mielke added a comment -

            Confluence 3.5.13 + Java 7u2... in a test environment (RHEL 5.5 / x86 / 32-bit) it comes up without any errors. Seems positive!

            Show
            markm@nortel.com Mark Mielke added a comment - Confluence 3.5.13 + Java 7u2... in a test environment (RHEL 5.5 / x86 / 32-bit) it comes up without any errors. Seems positive!
            Hide
            sabine.schalch Sabine Schalch added a comment - - edited

            Hello,
            I have been looking for information about Confluence and Java7 and came across this issue.
            Oracle has announced the EOL of Java SE6 for November 2012. (https://blogs.oracle.com/java/entry/eoling_java_se_6_javafx)
            When will Confluence support Java 7 and for which Confluence versions would that be?

            Show
            sabine.schalch Sabine Schalch added a comment - - edited Hello, I have been looking for information about Confluence and Java7 and came across this issue. Oracle has announced the EOL of Java SE6 for November 2012. ( https://blogs.oracle.com/java/entry/eoling_java_se_6_javafx ) When will Confluence support Java 7 and for which Confluence versions would that be?
            barconati Bill Arconati made changes -
            Remote Link This issue links to "Wiki Page (Pug)" [ 16015 ]
            barconati Bill Arconati made changes -
            Fix Version/s 4.2 [ 22895 ]
            Hide
            matt@atlassian.com Matt Ryall added a comment -

            We plan to support Java 7 from Confluence 4.2 onwards. We haven't found any further problems in our testing over the past few months.

            Show
            matt@atlassian.com Matt Ryall added a comment - We plan to support Java 7 from Confluence 4.2 onwards. We haven't found any further problems in our testing over the past few months.
            matt@atlassian.com Matt Ryall made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Matt Ryall [Atlassian] [ matt@atlassian.com ]
            Resolution Fixed [ 1 ]
            Hide
            harry.chan Harry Chan [Query Foundry] added a comment -

            I'm running Confluence 4.2 and the menus/popups are completed stuffed under Java 7. Switching back to Java 6 and it works perfectly.

            Show
            harry.chan Harry Chan [Query Foundry] added a comment - I'm running Confluence 4.2 and the menus/popups are completed stuffed under Java 7. Switching back to Java 6 and it works perfectly.
            Hide
            markm@nortel.com Mark Mielke added a comment -

            I switched to Java 7 for my 10 user instance to see how it works and I found what Harry found - the menus/popups showed up very wrong. However, because it's my 10 user instance, I also didn't mind zapping the plugins-osgi-cache directory. Upon rebuilding this cache, the menus/popups appear to be fine.

            Show
            markm@nortel.com Mark Mielke added a comment - I switched to Java 7 for my 10 user instance to see how it works and I found what Harry found - the menus/popups showed up very wrong. However, because it's my 10 user instance, I also didn't mind zapping the plugins-osgi-cache directory. Upon rebuilding this cache, the menus/popups appear to be fine.
            Hide
            harry.chan Harry Chan [Query Foundry] added a comment -

            I've came to the same conclusion Mark. Please document this somewhere for those planning to upgrade to Java 7. Also, would be good to document the performance difference of the G1 GC and if it'd be officially supported by Atlassian as G1 GC is now officially supported by Oracle as of java 7 update 4 (replacing CMS).

            Show
            harry.chan Harry Chan [Query Foundry] added a comment - I've came to the same conclusion Mark. Please document this somewhere for those planning to upgrade to Java 7. Also, would be good to document the performance difference of the G1 GC and if it'd be officially supported by Atlassian as G1 GC is now officially supported by Oracle as of java 7 update 4 (replacing CMS).
            Hide
            matt@atlassian.com Matt Ryall added a comment -

            Please raise a bug for any issues you see with Java 7 in Confluence 4.2 or later, and we'll investigate these separately.

            Show
            matt@atlassian.com Matt Ryall added a comment - Please raise a bug for any issues you see with Java 7 in Confluence 4.2 or later, and we'll investigate these separately.
            fcuozzo Felipe Cuozzo made changes -
            Remote Link This issue links to "Wiki Page (SDOG)" [ 23544 ]
            fcuozzo Felipe Cuozzo made changes -
            Remote Link This issue links to "JSTDEV-1903 (SDOG)" [ 23813 ]
            Hide
            deafsquad Nihad added a comment -

            after deleting plugins-osgi-cache with version 5.0 and java7 most popup problems went away. The quick search is the only popup that is still corrupt. I see the number infront of the results but the text is invisible.

            Show
            deafsquad Nihad added a comment - after deleting plugins-osgi-cache with version 5.0 and java7 most popup problems went away. The quick search is the only popup that is still corrupt. I see the number infront of the results but the text is invisible.
            nbhawnani Niraj Bhawnani made changes -
            Link This issue is related to CONF-25964 [ CONF-25964 ]
            akazatchkov.adm Anatoli Kazatchkov [Administrative Account] made changes -
            Workflow Confluence Default Workflow [ 350422 ] New Confluence Default Workflow [ 478319 ]
            rrobins Rachel Robins [Atlassian Tech Writer] made changes -
            Remote Link This issue links to "Wiki Page (Pug)" [ 16015 ] This issue links to "Page (Pug - Confluence Dogfood)" [ 16015 ]
            msaxby Matthew Saxby made changes -
            Issue Type Improvement [ 4 ] Suggestion [ 10000 ]
            Rank (Obsolete) 127570000000
            mhrynczak Mark Hrynczak [Atlassian] made changes -
            Workflow New Confluence Default Workflow [ 478319 ] Confluence Cloud First Workflow [ 1093671 ]
            osanico Owen Sanico made changes -
            Workflow Confluence Cloud First Workflow [ 1093671 ] Confluence Cloud First Workflow v2 [ 1170360 ]
            jturnquist Jonah Turnquist [Atlassian] made changes -
            Labels nf application-server-support nf
            jturnquist Jonah Turnquist [Atlassian] made changes -
            Component/s Application Server Support [ 10564 ]
            osanico Owen Sanico made changes -
            Workflow Confluence Cloud First Workflow v2 [ 1170360 ] Confluence Cloud First Workflow TEMP [ 1316745 ]
            osanico Owen Sanico made changes -
            Workflow Confluence Cloud First Workflow TEMP [ 1316745 ] Confluence Workflow - Public Facing [ 1356713 ]

              People

              • Votes:
                10 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 22 weeks, 4 days ago