You would have to remove affected jar from the WEB-INF/lib folder to get rid of the problem (and once you know which one it is, recompile the code with proper jdk). Also note that it might not be your module itself, but for example one library used by the module, or a version of the library you have on a global classpath or something like that. Jan
On Mon, 2008-08-11 at 00:24 -0700, Giancarlo F. Berner wrote: > No, nothing added, no changes made. At least not to the Magnolia > instance. I am though not sure if there was one of the "automatic" > updates running on my MacBook Pro, which updates the JDK during the > last weeks. I did not run this Magnolia instance for a few weeks. What > sort of bothers is that I have another 3.5.4 instance and that one > started up properly. The only difference are less custom modules. > Below are the log entries before the error. I also removed the "BBWeb > Module" but got the same error again. > > INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init: > 176) 10.08.2008 13:40:02 Loading repository at /Applications/Mg354/ > apache-tomcat-5.5.25/webapps/magnoliaAuthor/repositories/magnolia > (config file: /Applications/Mg354/apache-tomcat-5.5.25/webapps/ > magnoliaAuthor/WEB-INF/config/repo-conf/jackrabbit-mysql-search.xml) > INFO info.magnolia.cms.beans.config.ContentRepository > ContentRepository.java(init:199) 10.08.2008 13:41:32 System : JCR > loaded > INFO info.magnolia.cms.beans.config.ConfigLoader > ConfigLoader.java(load:147) 10.08.2008 13:41:32 Setting system context > INFO com.bbernerweb BBWebModuleVersionHandler.java(<init>:47) > 10.08.2008 13:41:32 BBWeb ->BBWebModuleVersionHandler Class/ > Installing module BBWeb... > DEBUG > com.bbernerweb.magnolia.module.bbweb.setup.BBWebModuleVersionHandler > AbstractModuleVersionHandler.java(getCurrentlyInstalled:96) 10.08.2008 > 13:41:32 checking currently installed version of module [BBWeb : > BBerner Webdesign Module (version 2.0.0)] > > Thanks a lot for your help! > Giancarlo > > > On Aug 10, 2008, at 11:12 PM, Jan Haderka wrote: > > > This error normally indicates you run tomcat with lower version of JDK > > then the one used to compile affected code. Seems like failure > > happened > > while trying to load some module class ... any new modules added > > compiled with 1.6 while running your tomcat on 1.5? > > cheers, > > Jan > > > > On Sun, 2008-08-10 at 15:45 -0700, Giancarlo F. Berner wrote: > >> Hi folks! > >> > >> I have a 3.5.4 Magnolia, which I use for development since quite a > >> while now (with regular star and stop of Tomcat). During the last 3 > >> weeks however I did not use it. > >> Today I wanted to come back to some research work, but it seems > >> Magnolia does not start up anymore! > >> > >> I get a strange error in the catalina.out log (see below) and was > >> wondering if any one experienced the same problem. It is somehow > >> weird > >> to suddenly get a "Bad version number" error. > >> > >> Thanks for letting me know! > >> Giancarlo > >> > >> > >> ERROR org.apache.catalina.core.ContainerBase.[Catalina]. > >> [localhost].[/ > >> magnoliaAuthor] StandardContext.java(listenerStart:3768) 10.08.2008 > >> 13:41:32 Exception sending context initialized event to listener > >> instance of class > >> info.magnolia.cms.servlets.MgnlServletContextListener > >> java.lang.UnsupportedClassVersionError: Bad version number in .class > >> file > >> at java.lang.ClassLoader.defineClass1(Native Method) > >> at java.lang.ClassLoader.defineClass(ClassLoader.java:675) > >> at > >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java: > >> 124) > >> at > >> org > >> .apache > >> .catalina > >> .loader.WebappClassLoader.findClassInternal(WebappClassLoader.java: > >> 1852) > >> at > >> org > >> .apache > >> .catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java: > >> 876) > >> at > >> org > >> .apache > >> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: > >> 1329) > >> at > >> org > >> .apache > >> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: > >> 1208) > >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) > >> at java.lang.Class.forName0(Native Method) > >> at java.lang.Class.forName(Class.java:164) > >> at info.magnolia.cms.util.ClassUtil.classForName(ClassUtil.java:75) > >> at > >> info > >> .magnolia > >> .module.ModuleManagerImpl.newVersionHandler(ModuleManagerImpl.java: > >> 192) > >> at > >> info > >> .magnolia > >> .module > >> .ModuleManagerImpl.checkForInstallOrUpdates(ModuleManagerImpl.java: > >> 140) > >> at > >> info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java: > >> 152) > >> at > >> info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java: > >> 119) > >> at > >> info > >> .magnolia > >> .cms > >> .servlets > >> .MgnlServletContextListener > >> .contextInitialized(MgnlServletContextListener.java:224) > >> at > >> org > >> .apache > >> .catalina.core.StandardContext.listenerStart(StandardContext.java: > >> 3764) > >> at > >> org.apache.catalina.core.StandardContext.start(StandardContext.java: > >> 4216) > >> at > >> org > >> .apache > >> .catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) > >> at > >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: > >> 740) > >> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java: > >> 544) > >> at > >> org > >> .apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java: > >> 920) > >> at > >> org > >> .apache > >> .catalina.startup.HostConfig.deployDirectories(HostConfig.java: > >> 883) > >> at > >> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java: > >> 492) > >> at org.apache.catalina.startup.HostConfig.start(HostConfig.java: > >> 1138) > >> at > >> org > >> .apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: > >> 311) > >> at > >> org > >> .apache > >> .catalina > >> .util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) > >> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: > >> 1022) > >> at org.apache.catalina.core.StandardHost.start(StandardHost.java: > >> 736) > >> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: > >> 1014) > >> at > >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java: > >> 443) > >> > >> > >> ---------------------------------------------------------------- > >> for list details see > >> http://documentation.magnolia.info/ > >> ---------------------------------------------------------------- > > > > > > ---------------------------------------------------------------- > > for list details see > > http://documentation.magnolia.info/ > > ---------------------------------------------------------------- > > > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/ > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
