Hi Tamas,
I attach the startup log of px-webapp running in Apache Geronimo. I
also attach my proximity.properties file with paths pointing to my
filesystem (directories where created manually before deploying).
I hope you can find the solution.
Thanks in advance,
Pablo.
------------------------------------------------------------------------
12:11:14,789 INFO [ContextLoader] Root WebApplicationContext: initialization
started
12:11:14,934 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from
ServletContext resource [/WEB-INF/applicationContext.xml]
12:11:15,267 INFO [XmlWebApplicationContext] Bean factory for application
context [Root WebApplicationContext]:
org.springframework.beans.factory.support.DefaultListableBeanFactory defining
beans
[messageSource,propertyConfigurer,proximity,stats,indexer,ibiblio,ibiblioFSStorage,ibiblioRemotePeer,codehaus,codehausFSStorage,codehausRemotePeer,inhouse,inhouseFSStorage,extNonFree,extNonFreeFSStorage,extFree,extFreeFSStorage];
root of BeanFactory hierarchy
12:11:15,294 INFO [XmlWebApplicationContext] 17 beans defined in application
context [Root WebApplicationContext]
12:11:15,403 INFO [PropertyPlaceholderConfigurer] Loading properties file from
ServletContext resource [/WEB-INF/proximity.properties]
12:11:15,418 INFO [CollectionFactory] JDK 1.4+ collections available
12:11:15,445 INFO [XmlWebApplicationContext] Using MessageSource
[org.springframework.context.support.ResourceBundleMessageSource:
basenames=[messages]]
12:11:15,451 INFO [XmlWebApplicationContext] Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default [EMAIL PROTECTED]
12:11:15,463 INFO [UiApplicationContextUtils] Unable to locate ThemeSource
with name 'themeSource': using default [EMAIL PROTECTED]
12:11:15,467 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in
factory [org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[messageSource,propertyConfigurer,proximity,stats,indexer,ibiblio,ibiblioFSStorage,ibiblioRemotePeer,codehaus,codehausFSStorage,codehausRemotePeer,inhouse,inhouseFSStorage,extNonFree,extNonFreeFSStorage,extFree,extFreeFSStorage];
root of BeanFactory hierarchy]
12:11:15,614 INFO [LuceneIndexer] Recreating indexes as instructed by
recreateIndexes parameter.
12:11:16,111 INFO [ProximityImpl] Received 5 repositories in a List.
12:11:16,112 INFO [ProximityImpl] Added repository inhouse
12:11:16,112 INFO [ProximityImpl] Added repository extNonFree
12:11:16,112 INFO [ProximityImpl] Added repository extFree
12:11:16,112 INFO [ProximityImpl] Added repository ibiblio
12:11:16,112 INFO [ProximityImpl] Added repository codehaus
12:11:16,113 INFO [ProximityImpl] Initializing all defined repositories
12:11:16,114 INFO [ProximityImpl] Initializing ibiblio
12:11:16,123 INFO [DefaultListableBeanFactory] Destroying singletons in
factory {org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[messageSource,propertyConfigurer,proximity,stats,indexer,ibiblio,ibiblioFSStorage,ibiblioRemotePeer,codehaus,codehausFSStorage,codehausRemotePeer,inhouse,inhouseFSStorage,extNonFree,extNonFreeFSStorage,extFree,extFreeFSStorage];
root of BeanFactory hierarchy}
12:11:16,126 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'proximity' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested
exception is java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)Z
java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)Z
at
hu.ismicro.commons.proximity.base.PathHelper.changePathLevel(PathHelper.java:86)
at
hu.ismicro.commons.proximity.base.local.ReadOnlyFileSystemStorage.getStorageBaseDir(ReadOnlyFileSystemStorage.java:124)
at
hu.ismicro.commons.proximity.base.local.ReadOnlyFileSystemStorage.listItems(ReadOnlyFileSystemStorage.java:168)
at
hu.ismicro.commons.proximity.base.RepositoryImpl.reindex(RepositoryImpl.java:251)
at
hu.ismicro.commons.proximity.base.RepositoryImpl.initialize(RepositoryImpl.java:161)
at
hu.ismicro.commons.proximity.base.ProximityImpl.afterPropertiesSet(ProximityImpl.java:35)
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:324)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1092)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
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.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
at
org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:375)
at org.mortbay.util.Container.start(Container.java:72)
at
org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:363)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
at
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
at
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.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:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.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:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$b8056091.start(<generated>)
at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAction(DeploymentPortlet.java:126)
at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:99)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:99)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
12:11:16,141 WARN [JettyWebAppContext] JettyWebAppContext failed
12:11:16,141 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED
state:
objectName="geronimo.server:J2EEApplication=null,J2EEServer=geronimo,j2eeType=WebModule,name=proximity"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'proximity' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested
exception is java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)Z
java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)Z
at
hu.ismicro.commons.proximity.base.PathHelper.changePathLevel(PathHelper.java:86)
at
hu.ismicro.commons.proximity.base.local.ReadOnlyFileSystemStorage.getStorageBaseDir(ReadOnlyFileSystemStorage.java:124)
at
hu.ismicro.commons.proximity.base.local.ReadOnlyFileSystemStorage.listItems(ReadOnlyFileSystemStorage.java:168)
at
hu.ismicro.commons.proximity.base.RepositoryImpl.reindex(RepositoryImpl.java:251)
at
hu.ismicro.commons.proximity.base.RepositoryImpl.initialize(RepositoryImpl.java:161)
at
hu.ismicro.commons.proximity.base.ProximityImpl.afterPropertiesSet(ProximityImpl.java:35)
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:324)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1092)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
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.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
at
org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:375)
at org.mortbay.util.Container.start(Container.java:72)
at
org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:363)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
at
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
at
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.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:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.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:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$b8056091.start(<generated>)
at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAction(DeploymentPortlet.java:126)
at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:99)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:283)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:99)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:170)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
------------------------------------------------------------------------
# proximity.properties
indexer.dir=/home/pablo/proximity/indexer
inhouseFSStorage.baseDir=/home/pablo/proximity/inhouse
ibiblioFSStorage.baseDir=/home/pablo/proximity/ibiblio
codehausFSStorage.baseDir=/home/pablo/proximity/codehaus
extNonFreeFSStorage.baseDir=/home/pablo/proximity/ext-non-free
extFreeFSStorage.baseDir=/home/pablo/proximity/ext-free
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]