geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject osgi/jndi problem
Date Thu, 15 Oct 2009 07:05:35 GMT
I cleaned up a bunch of dependency problems and am getting the build  
further.  I now have 3 plugins starting quickly on the first try and  
have fixed a class visibility problem in the JMXConnector.  However,  
I'm now seeing this exception (if I debug in the right place) trying  
to start the JMXConnector gbean which tries to use jndi...

java.lang.NullPointerException
	at com.sun.naming.internal.VersionHelper12$InputStreamEnumeration 
$1.run(VersionHelper12.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at  
com 
.sun 
.naming 
.internal 
.VersionHelper12 
$InputStreamEnumeration.getNextElement(VersionHelper12.java:194)
	at  
com 
.sun 
.naming 
.internal 
.VersionHelper12$InputStreamEnumeration.hasMore(VersionHelper12.java: 
214)
	at  
com 
.sun 
.naming 
.internal.ResourceManager.getApplicationResources(ResourceManager.java: 
470)
	at  
com 
.sun 
.naming 
.internal.ResourceManager.getInitialEnvironment(ResourceManager.java: 
159)
	at javax.naming.InitialContext.init(InitialContext.java:219)
	at javax.naming.InitialContext.<init>(InitialContext.java:197)
	at  
javax 
.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java: 
619)
	at  
javax 
.management 
.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
	at  
org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java: 
206)
	at  
org 
.apache 
.geronimo 
.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
	at  
org 
.apache 
.geronimo 
.gbean 
.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java: 
269)
	at  
org 
.apache 
.geronimo 
.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
	at  
org 
.apache 
.geronimo 
.gbean 
.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
	at  
org 
.apache 
.geronimo 
.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:542)
	at  
org 
.apache 
.geronimo 
.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:385)
	at  
org 
.apache 
.geronimo 
.kernel 
.config 
.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:459)
	at  
org 
.apache 
.geronimo 
.kernel 
.config 
.KernelConfigurationManager.start(KernelConfigurationManager.java:223)
	at  
org 
.apache 
.geronimo 
.kernel 
.config 
.SimpleConfigurationManager 
.startConfiguration(SimpleConfigurationManager.java:713)
	at  
org.apache.geronimo.system.osgi.BootActivator.start(BootActivator.java: 
126)
	at  
org 
.apache 
.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java: 
1076)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java: 
264)
	at java.lang.Thread.run(Thread.java:637)


Anyone have a clue what might be wrong?

thanks
david jencks


Mime
View raw message