On Fri, Oct 26, 2012 at 6:03 PM, Sorin Burjan <[email protected]> wrote: > On Fri, Oct 26, 2012 at 5:51 PM, Thomas Mortagne > <[email protected]> wrote: >> On Fri, Oct 26, 2012 at 4:21 PM, Sorin Burjan <[email protected]> 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 >> >> This is not a duplicate. >> >>> >>> 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 >> >> Thoses are perfectly normal and happen only in SNAPSHOT. > > Are you sure ? I am looking on a 4.2 SNAPSHOT - > http://maven.xwiki.org/snapshots/org/xwiki/manager/xwiki-manager-jetty-mysql/4.2-SNAPSHOT/xwiki-manager-jetty-mysql-4.2-20121025.112104-349.zip > and I don't have these kind of duplications.
It depends if the jar comes from a remote repository or if they have been built on the same agent. > > Regards, > Sorin B. > > >> >>> >>> 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. >>> >>> >>> Regards, >>> Sorin B. >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

