On Fri, Oct 26, 2012 at 11:58 PM, Fabio Mancinelli
<fabio.mancinelli(a)xwiki.com> wrote:
On Fri, Oct 26, 2012 at 4:21 PM, Sorin Burjan
<sorin.burjan(a)xwiki.com> wrote:
Hello everybody,
After the release of 4.3 Milestone 1, I wanted to start testing the
new features but I ran into an issue (
http://jira.xwiki.org/browse/XWIKI-8365 ) when starting and accessing
the Wiki based on 4.3 M1.
After Marius helped me figure out the cause, it seemed that we had a
jar duplication of Xalan in our Manager package. I have tested this on
another machine and wasn't able to reproduce. Fabio also tested,
without success, but the duplication is clear - I had 2 Xalan jars in
my /lib folder (even on the machine where I had no errors).
After that, I started to look for other duplicates in my /lib folder.
Below are my findings.
Checked these 2 XWiki packages to be sure it's not package dependant:
* xwiki-manager-jetty-hsqldb
* xwiki-manager-jetty-mysql
Found the following JAR duplicates:
1)
activation-1.1.1.jar
activation-1.1.jar
2)
commons-lang3-3.1.1jar
commons-lang-2.6.jar
3)
jdom-1.0
jdom-1.1.jar
4)
plexus-utils-2.0.6.jar
plexus-utils-2.0.7.jar
5)
rome-0.9.jar
rome-1.0.0.jar
rome 1.0.jar
6)
vorbis-java-core-0.1.jar
vorbis-java-core-0.1-tests.jar
7)
xercesImpl-2.9.1.jar
xercesImpl-2.8.1.jar
After the release of 4.3 M1 I have also downloaded a 4.3-SNAPSHOT
build (xwiki-manager-jetty-hsqldb-4.3-20121025.181227-95.zip).
Besides the duplicates from above, I have also found a lot of XWiki
jars duplicated.
Note, the list if far from being complete !
xwiki-commons-classloader-api-4.3-20121024.173322-34.jar
xwiki-commons-classloader-api-4.3-SNAPSHOT.jar
xwiki-commons-classloader-protocol-jar-4.3-20121024.173330-34.jar
xwiki-commons-classloader-protocol-jar-4.3-SNAPSHOT.jar
xwiki-commons-component-observation-4.3-20121024.173347-34.jar
xwiki-commons-component-observation-4.3-SNAPSHOT.jar
xwiki-commons-configuration-api-4.3-20121024.173413-34.jar
xwiki-commons-configuration-api-4.3-SNAPSHOT.jar
xwiki-commons-context-4.3-20121024.173359-34.jar
xwiki-commons-context-4.3-SNAPSHOT.jar
xwiki-commons-diff-api-4.3-20121024.173722-33.jar
xwiki-commons-diff-api-4.3-SNAPSHOT.jar
xwiki-platform-bridge-4.3-20121025.165136-181.jar
xwiki-platform-bridge-4.3-20121025.174305-182.jar
xwiki-platform-cache-api-4.3-20121025.165403-177.jar
xwiki-platform-cache-api-4.3-20121025.174540-178.jar
xwiki-platform-cache-infinispan-4.3-20121025.165428-177.jar
xwiki-platform-cache-infinispan-4.3-20121025.174606-178.jar
xwiki-rendering-transformation-icon-4.3-20121024.193826-57.jar
xwiki-rendering-transformation-icon-4.3-SNAPSHOT.jar
xwiki-rendering-transformation-linkchecker-4.3-20121024.193846-57.jar
xwiki-rendering-transformation-macro-4.3-20121024.193051-57.jar
xwiki-rendering-transformation-macro-4.3-SNAPSHOT.jar
xwiki-rendering-transformation-wikiword-4.3-20121024.193833-57.jar
xwiki-rendering-transformation-wikiword-4.3-SNAPSHOT.jar
Items statistics:
/lib folder on SNAPSHOT : 126.6 MB - 445 Items
/lib folder on Milestone 1: 126.3 MB - 392 Items
The odd thing is that I do not get any warnings, errors, stacktraces
when starting the 4.3-SNAPSHOT.
I wrote this mail to report the issue, because IMO this can cause
serious issues.
Please tell me that I don't have to redo the release :)
Just kidding...
Well, duplication doesn't sound good.
I wonder why, because the release step is pretty much
automated (it's
just a matter of running a script).
XEM depends on XE war and other jars (application-manager,
wiki-manager, workspace-api, etc.). The "problem" is that when the XEM
war is build the XE war is a _black box_ for Maven because it doesn't
know what jars are included in the XE war so it can't do a proper
dependency mediation, i.e. it can't filter automatically transitive
jar dependencies of XEM that are already in the XE war so they get
duplicated.
This is a generic problem when you build a war based on another war
and add new dependencies.
Thanks,
Marius
-Fabio
Regards,
Sorin B.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs