Kevan, thanks
for the welcome. - first of all, there is definitely a problem with the hot deploy 01:38:30,491 ERROR [DirectoryMonitor] Unable to scan file /Applications/geronimo-jetty6-jee5-2.0.1/deploy/lautizieEar.ear during initialization java.lang.NullPointerException at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.getDeploymentTime(DirectoryHotDeployer.java:237) at org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:240) at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:213) at java.lang.Thread.run(Thread.java:613) 01:38:36,340 ERROR [Deployer] Deployment failed due to java.lang.NullPointerException at org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceContext.java:144) at org.apache.geronimo.deployment.DeploymentContext.addFile(DeploymentContext.java:461) at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:288) ... - second, even with standard deploy, as you suggested, there is another problem. it looks related to my application but i think it is related to some classloader issue this is the stacktrace given by the deploy.sh ============================================ org.apache.geronimo.kernel.config.LifecycleException: start of default/myappEar/1188257714796/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:547) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511) 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:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342) 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:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865) 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:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:613) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) ... 36 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/myappEar_myappWeb.war/1188257714796/car failed to start due to the following reasons: The service J2EEApplication=default/myappEar/1188257714796/car,WebFilter=Acegi Filter Chain Proxy,WebModule=myappWeb.war,j2eeType=URLWebFilterMapping,name="[/%5C*]" did not start because default/myappEar/1188257714796/car?J2EEApplication=default/myappEar/1188257714796/car,WebModule=myappWeb.war,j2eeType=WebFilter,name=Acegi%20Filter%20Chain%20Proxy did not start. The service J2EEApplication=default/myappEar/1188257714796/car,WebFilter=sitemesh,WebModule=myappWeb.war,j2eeType=URLWebFilterMapping,name="[/%5C*]" did not start because default/myappEar/1188257714796/car?J2EEApplication=default/myappEar/1188257714796/car,WebFilter=Acegi%20Filter%20Chain%20Proxy,WebModule=myappWeb.war,j2eeType=URLWebFilterMapping,name=%22[/%5C*]%22 did not start. The service J2EEApplication=default/myappEar/1188257714796/car,WebModule=myappWeb.war,j2eeType=Servlet,name=myappweb did not start because org.apache.geronimo.kernel.proxy.DeadProxyException: Proxy is no longer valid to gbean: default/myappEar/1188257714796/car?J2EEApplication=default/myappEar/1188257714796/car,j2eeType=WebModule,name=myappWeb.war The service J2EEApplication=default/myappEar/1188257714796/car,WebModule=myappWeb.war,j2eeType=WebFilter,name=Acegi Filter Chain Proxy did not start because Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/applicationContextListener.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMostSpecificMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method; at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477) ... 39 more =========================== as you see the cause is Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/applicationContextListener.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMostSpecificMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method; the stack in geronimo, during the deploy, is =========================== 01:41:33,902 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/applicationContextListener.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMostSpecificMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method; Caused by: java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMostSpecificMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method; at org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource.computeTransactionAttribute(AbstractFallbackTransactionAttributeSource.java:144) at org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource.getTransactionAttribute(AbstractFallbackTransactionAttributeSource.java:103) at org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor$TransactionAttributeSourcePointcut.matches(TransactionAttributeSourceAdvisor.java:102) at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:195) at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:236) ..... =========================== consider that the application is working and the the loading of the resourcebundle is done by this part of spring config ================================ <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basenames"> <list> <value>/WEB-INF/resourcebundle/mailMessages</value> </list> </property> <property name="cacheSeconds" value="0"/> </bean> ================================= just my impression is that the problem lies in loading the resources Paolo Kevan Miller wrote:
|
- Problem at geronimo boot Paolo Denti
- Re: Problem at geronimo boot Vamsavardhana Reddy
- Re: Problem at geronimo boot Paolo Denti
- Re: Problem at geronimo boot Kevan Miller
- Re: Problem at geronimo boot Paolo Denti
- Re: Problem at geronimo boot David Jencks
- Re: Problem at geronimo boot Kevan Miller
- Re: Problem at geronimo boot Paolo Denti
- Re: Problem at geronimo boot Kevan Miller
- Re: Problem at geronimo ... Jason Warner
- Re: Problem at geronimo ... Kevan Miller
- Re: Problem at geronimo ... Jason Warner
- Re: Problem at geronimo ... Paolo Denti
- Re: Problem at geronimo ... Viet Nguyen
- Re: Problem at geronimo ... Paolo Denti