dev@glassfish.java.net

Re: Exceptions on server startup

From: dy220099 <Darani.Yallapragada_at_Sun.COM>
Date: Wed, 16 Sep 2009 11:55:31 -0700

Hello Marina,

This is because few methods in CorbaConnection(probe provider classes)
are not annotated (@probe) and so it gives this exception. An issue has
been filed by Prashanth Abbagani (9536).

Previously, we did not see this as probe classes had no manifest
entries. We will have to remove the manifest entries in
glassfish-corba-orb.jar .

Will speak with Ken and will integrate another Orb to resolve this .

Thanks
Darani


Marina Vatkina wrote:
> This is on today's ws:
>
> SEVERE: java.lang.RuntimeException: All params have to be named with
> a ProbeParam Annotation. This method (public
> com.sun.corba.ee.spi.transport.CorbaConnection
> com.sun.corba.ee.impl.transport.CorbaInboundConnectionCacheImpl.get(com.sun.corba.ee.spi.transport.CorbaAcceptor))
> did not have them.
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.flashlight.FlashlightUtils.getParamNames(FlashlightUtils.java:122)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:170)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:147)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderClass(MonitoringBootstrap.java:294)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:199)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.moduleStarted(MonitoringBootstrap.java:161)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:114)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:413)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:107)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.security.AccessController.doPrivileged(Native
> Method)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:208)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:129)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:460)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:404)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at org.jvnet.hk2.osgimain.Main.start(Main.java:117)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.Thread.run(Thread.java:619)
> Sep 16, 2009 11:40:29 AM
> SEVERE: java.lang.IllegalArgumentException:
> com.sun.corba.ee.impl.transport.CorbaInboundConnectionCacheImpl is not
> an interface
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:225)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:147)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderClass(MonitoringBootstrap.java:294)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:199)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.moduleStarted(MonitoringBootstrap.java:161)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:114)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:413)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:107)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.security.AccessController.doPrivileged(Native
> Method)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:208)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:129)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:460)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:404)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at org.jvnet.hk2.osgimain.Main.start(Main.java:117)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.Thread.run(Thread.java:619)
> Sep 16, 2009 11:40:29 AM
> SEVERE: java.lang.ClassNotFoundException:
> com.sun.corba.ee.impl.transport.CorbaOutboundConnectionCacheImpl
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:726)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1631)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:580)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1486)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:872)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1.run(OSGiModuleImpl.java:367)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.security.AccessController.doPrivileged(Native
> Method)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2.loadClass(OSGiModuleImpl.java:363)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:199)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.moduleStarted(MonitoringBootstrap.java:161)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:114)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:413)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:107)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.security.AccessController.doPrivileged(Native
> Method)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:208)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:129)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:460)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:404)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at org.jvnet.hk2.osgimain.Main.start(Main.java:117)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> Sep 16, 2009 11:40:29 AM
> SEVERE: at java.lang.Thread.run(Thread.java:619)
>
> -marina
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>