geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuk Chinmoy Pal Chaudhuri" <Anshuk_PalChaudh...@infosys.com>
Subject Issues while deploying servicemix 3.0M1 on geronimo 1.1
Date Mon, 19 Feb 2007 04:54:42 GMT

Hi,



I am trying to deploy servicemix 3.0M1 web application (war provided
with the latest binary) on Geronimo 1.1.

But I am getting an error when the context listener is trying to load it
gives the error where Jencks is trying to invoke a non-existent
constructor.

Please let me know how this issue can be resolved.





08:22:22,235 ERROR [ContextLoader] Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'jbi' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested
exception is java.lang.NoSuchMethodError:
org.apache.geronimo.transaction.manager.TransactionManagerImpl.<init>(IL
org/apache/geronimo/transaction/manager/TransactionLog;Ljava/util/Collec
tion;)V

java.lang.NoSuchMethodError:
org.apache.geronimo.transaction.manager.TransactionManagerImpl.<init>(IL
org/apache/geronimo/transaction/manager/TransactionLog;Ljava/util/Collec
tion;)V

            at
org.jencks.factory.WorkManagerFactoryBean.getTransactionManager(WorkMana
gerFactoryBean.java:121)

            at
org.jencks.factory.WorkManagerFactoryBean.createTransactionContextManage
r(WorkManagerFactoryBean.java:171)

            at
org.jencks.factory.WorkManagerFactoryBean.getTransactionContextManager(W
orkManagerFactoryBean.java:94)

            at
org.jencks.factory.WorkManagerFactoryBean.createWorkManager(WorkManagerF
actoryBean.java:175)

            at
org.jencks.factory.WorkManagerFactoryBean.getWorkManager(WorkManagerFact
oryBean.java:78)

            at
org.apache.servicemix.jbi.container.SpringJBIContainer.createWorkManager
(SpringJBIContainer.java:175)

            at
org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:
474)

            at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSe
t(SpringJBIContainer.java:54)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:363)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:226)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:147)

            at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:275)

            at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:320)

            at
org.springframework.web.context.support.AbstractRefreshableWebApplicatio
nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)

            at
org.springframework.web.context.ContextLoader.createWebApplicationContex
t(ContextLoader.java:246)

            at
org.springframework.web.context.ContextLoader.initWebApplicationContext(
ContextLoader.java:184)

            at
org.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:49)

            at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3727)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4162
)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoSt
andardContext.java:67)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStandardContext.java:337)

            at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geronim
oBeforeAfterValve.java:31)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandar
dContext.java:192)

            at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)

            at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

            at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

            at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.ja
va:313)

            at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.i
nvoke(<generated>)

            at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

            at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv
oker.java:38)

            at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j
ava:122)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav
a:817)

            at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

            at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperation
Invoker.java:35)

            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyM
ethodInterceptor.java:96)

            at
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$c61853e6.ad
dContext(<generated>)

            at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppConte
xt.java:448)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInst
ance.java:981)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GB
eanInstanceState.java:267)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstance
State.java:102)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBea
nInstanceState.java:124)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInst
ance.java:540)

            at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKe
rnel.java:379)

            at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGB
eans(ConfigurationUtil.java:374)

            at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Kerne
lConfigurationManager.java:187)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:512)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:493)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassB
yCGLIB$$ce77a924.invoke(<generated>)

            at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

            at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv
oker.java:38)

            at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j
ava:122)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav
a:817)

            at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

            at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperation
Invoker.java:35)

            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyM
ethodInterceptor.java:96)

            at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhancer
ByCGLIB$$ac63015f.startConfiguration(<generated>)

            at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComman
d.java:67)

            at java.lang.Thread.run(Thread.java:534)

08:22:22,255 ERROR [0-m1]] Exception sending context initialized event
to listener instance of class
org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'jbi' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested
exception is java.lang.NoSuchMethodError:
org.apache.geronimo.transaction.manager.TransactionManagerImpl.<init>(IL
org/apache/geronimo/transaction/manager/TransactionLog;Ljava/util/Collec
tion;)V

java.lang.NoSuchMethodError:
org.apache.geronimo.transaction.manager.TransactionManagerImpl.<init>(IL
org/apache/geronimo/transaction/manager/TransactionLog;Ljava/util/Collec
tion;)V

            at
org.jencks.factory.WorkManagerFactoryBean.getTransactionManager(WorkMana
gerFactoryBean.java:121)

            at
org.jencks.factory.WorkManagerFactoryBean.createTransactionContextManage
r(WorkManagerFactoryBean.java:171)

            at
org.jencks.factory.WorkManagerFactoryBean.getTransactionContextManager(W
orkManagerFactoryBean.java:94)

            at
org.jencks.factory.WorkManagerFactoryBean.createWorkManager(WorkManagerF
actoryBean.java:175)

            at
org.jencks.factory.WorkManagerFactoryBean.getWorkManager(WorkManagerFact
oryBean.java:78)

            at
org.apache.servicemix.jbi.container.SpringJBIContainer.createWorkManager
(SpringJBIContainer.java:175)

            at
org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:
474)

            at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSe
t(SpringJBIContainer.java:54)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)

            at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:363)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:226)

            at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:147)

            at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:275)

            at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:320)

            at
org.springframework.web.context.support.AbstractRefreshableWebApplicatio
nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)

            at
org.springframework.web.context.ContextLoader.createWebApplicationContex
t(ContextLoader.java:246)

            at
org.springframework.web.context.ContextLoader.initWebApplicationContext(
ContextLoader.java:184)

            at
org.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:49)

            at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3727)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4162
)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoSt
andardContext.java:67)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStandardContext.java:337)

            at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geronim
oBeforeAfterValve.java:31)

            at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandar
dContext.java:192)

            at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)

            at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

            at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

            at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.ja
va:313)

            at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.i
nvoke(<generated>)

            at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

            at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv
oker.java:38)

            at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j
ava:122)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav
a:817)

            at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

            at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperation
Invoker.java:35)

            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyM
ethodInterceptor.java:96)

            at
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$c61853e6.ad
dContext(<generated>)

            at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppConte
xt.java:448)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInst
ance.java:981)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GB
eanInstanceState.java:267)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstance
State.java:102)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBea
nInstanceState.java:124)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInst
ance.java:540)

            at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKe
rnel.java:379)

            at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGB
eans(ConfigurationUtil.java:374)

            at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Kerne
lConfigurationManager.java:187)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:512)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:493)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassB
yCGLIB$$ce77a924.invoke(<generated>)

            at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

            at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv
oker.java:38)

            at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j
ava:122)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav
a:817)

            at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

            at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperation
Invoker.java:35)

            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyM
ethodInterceptor.java:96)

            at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhancer
ByCGLIB$$ac63015f.startConfiguration(<generated>)

            at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComman
d.java:67)

            at java.lang.Thread.run(Thread.java:534)

08:22:22,285 ERROR [StandardContext] Error listenerStart

08:22:22,285 ERROR [StandardContext] Context [/servicemix-web-3.0-m1]
startup failed due to previous errors

08:22:22,335 WARN  [TomcatWebAppContext] TomcatWebAppContext failed

08:22:22,335 ERROR [GBeanInstanceState] Error while starting; GBean is
now in the FAILED state:
abstractName="default/servicemix-web-3.0-m1/1171853532471/war?J2EEApplic
ation=null,j2eeType=WebModule,name=default/servicemix-web-3.0-m1/1171853
532471/war"

java.lang.NullPointerException

            at java.util.Hashtable.put(Hashtable.java:393)

            at
org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextUR
LStreamHandler.java:233)

            at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppConte
xt.java:453)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInst
ance.java:981)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GB
eanInstanceState.java:267)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstance
State.java:102)

            at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBea
nInstanceState.java:124)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInst
ance.java:540)

            at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKe
rnel.java:379)

            at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGB
eans(ConfigurationUtil.java:374)

            at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Kerne
lConfigurationManager.java:187)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:512)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig
uration(SimpleConfigurationManager.java:493)

            at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassB
yCGLIB$$ce77a924.invoke(<generated>)

            at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

            at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv
oker.java:38)

            at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j
ava:122)

            at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav
a:817)

            at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

            at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperation
Invoker.java:35)

            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyM
ethodInterceptor.java:96)

            at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhancer
ByCGLIB$$ac63015f.startConfiguration(<generated>)

            at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComman
d.java:67)

            at java.lang.Thread.run(Thread.java:534)



Regards,

Anshuk Pal Chaudhuri



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Mime
View raw message