[ http://issues.apache.org/jira/browse/GERONIMO-2190?page=all ]

Vamsavardhana Reddy closed GERONIMO-2190.
-----------------------------------------

    Fix Version/s: 1.1.1
       Resolution: Fixed

>From the comments, it looks like the issue has been resolved in 1.1.1.  Please 
>reopen if this is still a problem.

> Deployer not undeploying GBeans thats have stopped because of exceptions
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-2190
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2190
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.1
>         Environment: Geronimo 1.1 on Debian using Java 1.5 
>            Reporter: Timothy Sutton
>             Fix For: 1.1.1
>
>
> After deploying a Gbean and if the process stops because an exception is 
> thrown. If you go to perform an undeploy it will tell you that the Gbean 
> doesnt exsist. Although you can uninstall with the console utility in 
> geronimo, and your car file will be removed for the directory.  Then when you 
> go to deploy an updated version of the gbean it tells you it  still exsists. 
> You are forced to stop geronimo, and then start geronimo back up to fix this 
> problem.
> Stack trace 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'hashman' defined in class path resource [Adaptor.asset.xml]: 
> Instantiation of bean failed; nested exception is 
> org.springframework.beans.FatalBeanException: Could not instantiate class 
> [com.sensis.assetmgmt.assetInterface.AssetHashManager]; constructor threw 
> exception; nested exception is java.lang.ExceptionInInitializerError: null
> org.springframework.beans.FatalBeanException: Could not instantiate class 
> [com.sensis.assetmgmt.assetInterface.AssetHashManager]; constructor threw 
> exception; nested exception is java.lang.ExceptionInInitializerError: null
> java.lang.ExceptionInInitializerError
>         at 
> com.sensis.assetmgmt.assetInterface.AssetHashManager.<init>(AssetHashManager.java:20)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
>         at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:76)
>         at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:49)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:453)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:333)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>         at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>         at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:81)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:66)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:57)
>         at 
> com.sensis.assetmgmt.assetInterface.SpringGBean.doStart(SpringGBean.java:62)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:512)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:493)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:338)
>         at 
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at 
> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
>         at 
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>         at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>         at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'sessionFactory' defined in class path resource 
> [dao.spring.xml]: Instantiation of bean failed; nested exception is 
> java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>         at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
>         at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:81)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:66)
>         at 
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:57)
>         at com.sensis.assetmgmt.dao.DAOFactory.<clinit>(DAOFactory.java:19)
>         ... 63 more
> Caused by: java.lang.NoClassDefFoundError: 
> javax/transaction/TransactionManager
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
>         at java.lang.Class.getDeclaredMethods(Class.java:1763)
>         at java.beans.Introspector$1.run(Introspector.java:1265)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
>         at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
>         at java.beans.Introspector.getBeanInfo(Introspector.java:387)
>         at java.beans.Introspector.getBeanInfo(Introspector.java:159)
>         at 
> org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:143)
>         at 
> org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:84)
>         at 
> org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperImpl.java:365)
>         at 
> org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:323)
>         at 
> org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:305)
>         at 
> org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java:187)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:454)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:333)
>         ... 71 more
> Exception in thread "Timer-2" 
> javax.xml.transform.TransformerFactoryConfigurationError: Provider 
> net.sf.joost.trax.TransformerFactoryImpl could not be instantiated: 
> java.lang.NullPointerException
>         at 
> javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:109)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.saveXmlToFile(LocalAttributeManager.java:467)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.save(LocalAttributeManager.java:433)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager$2.run(LocalAttributeManager.java:636)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to