Well it worked but just because I made a mistake :) I found out, that both the PropertyInitializer and the ShutdownManager were replaced with the MgnlServletContextListener but i just replaced the ShutdownManager and the PropertyInitializer was still registered. That was the mistake... removed both listener and added the new MgnlServletContextListener resolved the problem. Thanks again!
Magnolia - User mailing list wrote: > > > On Feb 12, 2008, at 09:55 , WarrenFaith wrote: > >> >> Thanks for the hint! >> I removed the registration of MgnlServletContextListener (the only >> one) in >> my web.xml and now it works! > > > This... is... impossible. > Please have a look at the default web.xml and compare it with yours: > http://svn.magnolia.info/view/magnolia/tags/magnolia-3.5.4/magnolia- > empty-webapp/src/main/webapp/WEB-INF/web.xml?rev=14340&view=markup > > hth, > > -greg > >> >> Thanks a lot! >> >> >> Magnolia - User mailing list wrote: >>> >>> how does your web.xml look like ? Did you - for some reason - >>> register MgnlServletContextListener twice ? >>> >>> g >>> >>> On Feb 11, 2008, at 12:21 , WarrenFaith wrote: >>> >>>> >>>> Hey list, >>>> >>>> i am trying to update to 3.5.4 but stuck in problems. I thing this >>>> is the >>>> last one but i cant find any solutions in the web. >>>> >>>> My system: tomcat 5.5.20, magnolia 3.5.4, berkeleydb, jre1.5.0_06, >>>> spring-framework 2.5 (if thats important) >>>> >>>> The exception during startup: >>>> >>>> ERROR org.apache.catalina.core.ContainerBase.[Catalina]. >>>> [localhost].[/] >>>> StandardContext.java(listenerStart:3767) 11.02.2008 11:57:45 >>>> Exception >>>> sending context initialized event to listener instance of class i >>>> nfo.magnolia.cms.servlets.MgnlServletContextListener >>>> java.lang.IllegalStateException: ModuleManager was already >>>> initialized ! >>>> at >>>> info.magnolia.module.ModuleManagerImpl.loadDefinitions >>>> (ModuleManagerImpl.java:116) >>>> at >>>> info.magnolia.cms.servlets.MgnlServletContextListener.contextInitial >>>> iz >>>> ed(MgnlServletContextListener.java:203) >>>> at >>>> org.apache.catalina.core.StandardContext.listenerStart >>>> (StandardContext.java:3763) >>>> at >>>> org.apache.catalina.core.StandardContext.start(StandardContext.java: >>>> 4211) >>>> at >>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java: >>>> 1013) >>>> at >>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:718) >>>> at >>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java: >>>> 1013) >>>> at >>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java: >>>> 442) >>>> at >>>> org.apache.catalina.core.StandardService.start(StandardService.java: >>>> 450) >>>> at >>>> org.apache.catalina.core.StandardServer.start(StandardServer.java: >>>> 709) >>>> at org.apache.catalina.startup.Catalina.start(Catalina.java: >>>> 551) >>>> 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 org.apache.catalina.startup.Bootstrap.start >>>> (Bootstrap.java:294) >>>> at org.apache.catalina.startup.Bootstrap.main >>>> (Bootstrap.java:432) >>>> >>>> Some ideas? >>>> Thanks and best regards >>>> -- >>>> View this message in context: http://www.nabble.com/Updating- >>>> to-3.5.4---ModuleManager-already-initialized- >>>> tp15409607p15409607.html >>>> Sent from the Magnolia - User mailing list archive at Nabble.com. >>>> >>>> >>>> ---------------------------------------------------------------- >>>> for list details see >>>> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >>>> ---------------------------------------------------------------- >>> >>> >>> ---------------------------------------------------------------- >>> for list details see >>> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >>> ---------------------------------------------------------------- >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Updating- >> to-3.5.4---ModuleManager-already-initialized-tp15409607p15429254.html >> Sent from the Magnolia - User mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------- >> for list details see >> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >> ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > > -- View this message in context: http://www.nabble.com/Updating-to-3.5.4---ModuleManager-already-initialized-tp15409607p15432346.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
