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.

        Issue Links

          Activity

          Matt Ryall [Atlassian] created issue -
          Matt Ryall [Atlassian] made changes -
          Field Original Value New Value
          Status New [ 10034 ] Open [ 1 ]
          Hide
          Matt Ryall [Atlassian] 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 Ryall [Atlassian] 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.
          Bill Arconati [Atlassian] made changes -
          Labels nf
          Hide
          Mark Mielke added a comment -

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

          Show
          Mark Mielke added a comment - 7u1 is out... does this resolve the crash?
          Hide
          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
          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
          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
          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
          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
          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 Ryall [Atlassian] 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 Ryall [Atlassian] 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
          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
          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 Ryall [Atlassian] 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 Ryall [Atlassian] 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
          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
          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
          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
          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 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 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?
          Bill Arconati [Atlassian] made changes -
          Remote Link This issue links to "Wiki Page (Pug)" [ 16015 ]
          Bill Arconati [Atlassian] made changes -
          Fix Version/s 4.2 [ 22895 ]
          Hide
          Matt Ryall [Atlassian] 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 Ryall [Atlassian] 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 Ryall [Atlassian] made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Matt Ryall [Atlassian] [ matt@atlassian.com ]
          Resolution Fixed [ 1 ]
          Hide
          Harry Chan [Cloud Shards] 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 [Cloud Shards] 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
          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
          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 [Cloud Shards] 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 [Cloud Shards] 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 Ryall [Atlassian] 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 Ryall [Atlassian] 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.
          Felipe Cuozzo [Atlassian] made changes -
          Remote Link This issue links to "Wiki Page (SDOG)" [ 23544 ]
          Felipe Cuozzo [Atlassian] made changes -
          Remote Link This issue links to "JSTDEV-1903 (SDOG)" [ 23813 ]
          Hide
          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
          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.
          Niraj Bhawnani [Atlassian] made changes -
          Link This issue is related to CONF-25964 [ CONF-25964 ]
          Anatoli Kazatchkov [Administrative Account] made changes -
          Workflow Confluence Default Workflow [ 350422 ] New Confluence Default Workflow [ 478319 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                1 year, 20 weeks, 2 days ago