That's pretty annoying. Does having this have a negative affect on those using Jdk 6 and, if not, can you add this change o trunk/1.4?
Chris On 2012-04-11, at 4:48 AM, Benjamin Wulff <[email protected]> wrote: > Hi all, > > just want to share this: I've switched to Java 7 (Oracle JDK 7 on Linux) this > week for another project and when I tried to start Matterhorn it gave me a > lot of framework errors about unresolved package dependencies and also a few > NoClassDefFoundErrors. > It appears that under Java 7 certain packages are by default not visible for > classes inside Felix, though they were under JDK6. This is a known effect > [1]. As a workaround I added [2] the to my FELIX_HOME/conf/system.properties. > Seems to work. When a package is added to the > org.osgi.framework.system.packages.extra property it becomes visible inside > the container. > > ...as this will most likely be the case for every new package of the flavor > javax.*, org.w3c.* and such, be warned if you switch to Java 7 now ;) > > Cheers, > Benjamin > > [1] https://issues.apache.org/jira/browse/FELIX-1909 > [2]: > org.osgi.framework.system.packages.extra= \ > javax.crypto; \ > javax.crypto.interfaces; \ > javax.crypto.spec; \ > javax.imageio; \ > javax.imageio.stream; \ > javax.management; \ > javax.management.remote; \ > javax.naming; \ > javax.net; \ > javax.net.ssl; \ > javax.sql; \ > javax.sql.rowset; \ > javax.security.auth; \ > javax.security.auth.x500; \ > javax.security.auth.callback; \ > javax.xml.datatype; \ > javax.xml.namespace; \ > javax.xml.parsers; \ > javax.xml.transform; \ > javax.xml.transform.dom; \ > javax.xml.transform.sax; \ > javax.xml.transform.stream;\ > javax.xml.validation; \ > javax.xml.xpath; \ > org.w3c.dom; \ > org.w3c.dom.bootstrap; \ > org.w3c.dom.events; \ > org.w3c.dom.html; \ > org.w3c.dom.ls; \ > org.w3c.dom.traversal; \ > org.w3c.dom.views; \ > org.w3c.dom.ranges; \ > org.xml.sax; \ > org.xml.sax.helpers; \ > org.xml.sax.ext; > > -- > Benjamin Wulff > > Universität Osnabrück > Zentrum für Informationsmanagement > und virtuelle Lehre (virtUOS) > Raum 42/205, Heger-Tor-Wall 12, D-49074 Osnabrück > > Telefon: (05 41) 969-6530 > E-Mail: [email protected] > URL: http://www.virtuos.uni-osnabrueck.de > > _______________________________________________ > Community mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/community > > > To unsubscribe please email > [email protected] > _______________________________________________ _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
