OK, i already update it to accurate package names. On Wed, Jun 29, 2011 at 8:28 PM, Ivan <[email protected]> wrote:
> It looks to me that org.apache is a very common package name, once it is > added in the bootdelegation list, each class belongs to this package (even > class from Geronimo) will be delegated to framework classloader first, which > is not a good idea in my opinion. If some packages are really required to > load from there, the package names should be more accurate. > > 2011/6/29 <[email protected]> > >> Author: violalu >> Date: Wed Jun 29 09:03:40 2011 >> New Revision: 1141014 >> >> URL: http://svn.apache.org/viewvc?rev=1141014&view=rev >> Log: >> export org.apache.* in ibm jdk such as org.apache.xpath.* >> >> Modified: >> >> >> geronimo/server/trunk/framework/configs/karaf-framework/src/main/filtered-resources/etc/config.properties >> >> Modified: >> geronimo/server/trunk/framework/configs/karaf-framework/src/main/filtered-resources/etc/config.properties >> URL: >> http://svn.apache.org/viewvc/geronimo/server/trunk/framework/configs/karaf-framework/src/main/filtered-resources/etc/config.properties?rev=1141014&r1=1141013&r2=1141014&view=diff >> >> ============================================================================== >> --- >> geronimo/server/trunk/framework/configs/karaf-framework/src/main/filtered-resources/etc/config.properties >> (original) >> +++ >> geronimo/server/trunk/framework/configs/karaf-framework/src/main/filtered-resources/etc/config.properties >> Wed Jun 29 09:03:40 2011 >> @@ -55,7 +55,7 @@ org.osgi.framework.system.packages.extra >> org.apache.geronimo.hook >> >> # javax.transaction is needed to avoid class loader constraint violation >> when using javax.sql >> >> -org.osgi.framework.bootdelegation=sun.*,com.sun.*,javax.management.remote.rmi,javax.transaction,javax.transaction.*,com.ibm.*,org.apache.harmony.* >> >> +org.osgi.framework.bootdelegation=sun.*,com.sun.*,javax.management.remote.rmi,javax.transaction,javax.transaction.*,com.ibm.*,org.apache.harmony.*,org.apache.* >> >> # OSGi Execution Environment >> >> >> org.osgi.framework.executionenvironment=OSGi/Minimum-1.2,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6 >> >> >> > > > -- > Ivan > -- viola Apache Geronimo
