]]>http://www.ipunct.net/blog/2009/04/install-vmware-tools-on-ubuntu-server/comment-page-1/#comment-9Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Mario Rasserhttp://feedproxy.google.com/~r/ipunct-comments/~3/KxdMSPVQ47g/
Mario RasserFri, 21 May 2010 08:09:58 +0000http://blog.ipunct.net/?p=79#comment-11Glad i was able to help. Official support for <del datetime="2010-09-07T08:12:59+00:00">Sun</del> Oracle Glassfish would be even better.Glad i was able to help. Official support for Sun Oracle Glassfish would be even better.
]]>http://www.ipunct.net/blog/2010/03/atlassian-confluence-3-1-2-on-sun-glassfish-v2/comment-page-1/#comment-11Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Jayhttp://feedproxy.google.com/~r/ipunct-comments/~3/Pf37KX9-5iw/
JayWed, 19 May 2010 07:04:37 +0000http://blog.ipunct.net/?p=79#comment-7Thank you, thank you, thank you! Now I can finally upgrade and close my open ticket:
https://support.atlassian.com/browse/CSP-44715Thank you, thank you, thank you! Now I can finally upgrade and close my open ticket:

]]>http://www.ipunct.net/blog/2010/03/atlassian-confluence-3-1-2-on-sun-glassfish-v2/comment-page-1/#comment-7Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Mario Rasserhttp://feedproxy.google.com/~r/ipunct-comments/~3/9m4kbcPNByI/
Mario RasserFri, 05 Mar 2010 19:35:02 +0000http://blog.ipunct.net/?p=79#comment-6The given Exception without changing the above described stuff was in <code>atlassian-confluence.log</code>:
<blockquote><code>
2010-03-01 08:46:59,497 ERROR [RMI TCP Connection(1347)-XXX.XXX.XXX.XXX] [plugin.event.impl.DefaultPluginEventManager] notify Plugin Event Listener 'com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager@10396b2' threw an error on event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@1c510b2': Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.
com.atlassian.plugin.event.NotificationException: com.atlassian.plugin.osgi.container.OsgiContainerException: Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.
Caused by: com.atlassian.plugin.osgi.container.OsgiContainerException: Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.
</code></blockquote>The given Exception without changing the above described stuff was in atlassian-confluence.log:

2010-03-01 08:46:59,497 ERROR [RMI TCP Connection(1347)-XXX.XXX.XXX.XXX] [plugin.event.impl.DefaultPluginEventManager] notify Plugin Event Listener 'com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager@10396b2' threw an error on event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@1c510b2': Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.
com.atlassian.plugin.event.NotificationException: com.atlassian.plugin.osgi.container.OsgiContainerException: Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.
Caused by: com.atlassian.plugin.osgi.container.OsgiContainerException: Detected an incompatible version of Apache Xerces on the classpath. If using Tomcat, you may have an old version of Xerces in $TOMCAT_HOME/common/lib/endorsed that will need to be removed.

]]>http://www.ipunct.net/blog/2010/03/atlassian-confluence-3-1-2-on-sun-glassfish-v2/comment-page-1/#comment-6Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Mario Rasserhttp://feedproxy.google.com/~r/ipunct-comments/~3/TZc-DgWWrng/
Mario RasserFri, 05 Mar 2010 19:16:26 +0000http://blog.ipunct.net/?p=79#comment-5Hey,
in my case i moved the <code>/usr/share/glassfishv2/lib/webservices-rt.jar</code> to <code>/usr/share/glassfishv2/lib/webservices-rt-v2u1-b09d.jar</code>. Furthermore I changed <code>/var/lib/glassfishv2/domains/domain1/config/domain.xml</code> to match the above mentioned file. So Glassfish uses the above JAR, as Glassfish it self needs that lib and Confluence uses it shipped version of <code>webservices-rt.jar</code>. The Glassfish jar is still in the Java CLASSPATH, but does not take precedence over the Confluence shipped one. BTW the lib path is the same where the <code>mysql-connector-java-5.1.10-bin.jar</code> is installed in.
I have not tried to copy the the Confluence lib to the Glassfish lib path, as i assume it will brake Glassfish itself.Hey,

in my case i moved the /usr/share/glassfishv2/lib/webservices-rt.jar to /usr/share/glassfishv2/lib/webservices-rt-v2u1-b09d.jar. Furthermore I changed /var/lib/glassfishv2/domains/domain1/config/domain.xml to match the above mentioned file. So Glassfish uses the above JAR, as Glassfish it self needs that lib and Confluence uses it shipped version of webservices-rt.jar. The Glassfish jar is still in the Java CLASSPATH, but does not take precedence over the Confluence shipped one. BTW the lib path is the same where the mysql-connector-java-5.1.10-bin.jar is installed in.

I have not tried to copy the the Confluence lib to the Glassfish lib path, as i assume it will brake Glassfish itself.

]]>http://www.ipunct.net/blog/2010/03/atlassian-confluence-3-1-2-on-sun-glassfish-v2/comment-page-1/#comment-5Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Igor Minarhttp://feedproxy.google.com/~r/ipunct-comments/~3/jwinZ1Oc7Yk/
Igor MinarFri, 05 Mar 2010 17:19:33 +0000http://blog.ipunct.net/?p=79#comment-4uhh.. wordpress mangled the path, it should be: glassfish/domain/_yourdomain_/lib/uhh.. wordpress mangled the path, it should be: glassfish/domain/_yourdomain_/lib/
]]>http://www.ipunct.net/blog/2010/03/atlassian-confluence-3-1-2-on-sun-glassfish-v2/comment-page-1/#comment-4Kommentar zu Atlassian Confluence 3.1.2 on Sun Glassfish V2 von Igor Minarhttp://feedproxy.google.com/~r/ipunct-comments/~3/-DKsV1Sg8Pc/
Igor MinarFri, 05 Mar 2010 17:18:16 +0000http://blog.ipunct.net/?p=79#comment-3I don't quite understand how the chang in glassfish you described could resolve the issue (unless you make a typo somewhere).
The problem is that there two different xerces versions on the classpath and the one from glassfish takes precedence over the one bundled with Confluence. But since the one that comes with confluence is newer and confluence utilizes the new api & features, it fails to run with the xerces that is exposed from glassfish.
One of the solutions is to copy the xalan jar from confluence to glassfish/domain//lib/I don’t quite understand how the chang in glassfish you described could resolve the issue (unless you make a typo somewhere).

The problem is that there two different xerces versions on the classpath and the one from glassfish takes precedence over the one bundled with Confluence. But since the one that comes with confluence is newer and confluence utilizes the new api & features, it fails to run with the xerces that is exposed from glassfish.

One of the solutions is to copy the xalan jar from confluence to glassfish/domain//lib/