OK.
I see, you mean? If I use default shared lib. the libararies in default
shared lib are also affected by <hidden-classes> and/or <import-package>.

So, I tried to use my own shared library, for investigation, I writed ejb
sample code and servelt sample code.
Both cases, I got following errors. 

2012-10-19 11:30:07,938 ERROR [DeploymentPortlet] The application was not
successfully started.
start of default/hello/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
default/hello/1.0/car failed
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:726)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
        at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
        ... 3 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could
not load GBeanInfo class from classloader:
org.eclipse.osgi.framework.internal.core.BundleContextImpl@e8d30d
className=org.apache.geronimo.system.sharedlib.SharedLib
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:250)
        at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
        ... 5 more
Caused by: java.lang.ClassNotFoundException:
org.apache.geronimo.system.sharedlib.SharedLib
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at
org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:248)
        ... 7 more





--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/geronimo-3-0-application-specific-logging-tp3985902p3985926.html
Sent from the Users mailing list archive at Nabble.com.

Reply via email to