« Return to Thread: Help, Exception after deploying in Tomcat

Re: Help, Exception after deploying in Tomcat

by Burt Beckwith :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
How does the Spring Security plugin have anything to do with this? All the plugin code is source like any other plugin, so it's compiled with the rest of your code and other plugins.


Burt


On Friday 03 July 2009 1:33:05 am James Beamish-White wrote:
> I had the same error, and found that the application must be compiled with
> the same version of Java as the container running it, if you've got the
> ACEGI plugin involved.
> James
>
> 2009/4/28 Volz Raphael <rv@...>
>
> > Hi -
> >
> > we are puzzled about the following exception that occurs when trying to
> > deploy our app
> > (successfully run in Jetty with run-app) on Tomcat 6
> >
> > Context: Grails 1.1, Acegi Plugin 0.5.1
> >
> > Webpage is one of our domain classes...
> >
> > Thanks for your insight
> >
> > Raphael
> >
> >
> >>> 2009-04-27 19:57:07,934 [http-8180-1] ERROR context.ContextLoader -
> >>> Context initialization failed
> >>> org.springframework.beans.factory.BeanCreationException: Error creating
> >>> bean with name 'pluginManager' defined in ServletContext resource
> >>> [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
> >>> exception is java.lang.NoClassDefFoundError: LWebpage;
> >>> at java.security.AccessController.doPrivileged(Native Method)
> >>> at
> >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
> >>> at
> >>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
> >>> at
> >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> >>> at
> >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> >>> at
> >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> >>> at
> >>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
> >>> at
> >>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
> >>> at
> >>> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
> >>> at
> >>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >>> at
> >>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> >>> at
> >>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> >>> at
> >>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
> >>> at
> >>> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
> >>> at
> >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>> at
> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> at
> >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>> at
> >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>> at
> >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> >>> at
> >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>> at
> >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>> at
> >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> at
> >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> >>> at
> >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> >>> at
> >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> >>> at
> >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >>> at java.lang.Thread.run(Thread.java:619)
> >>> Caused by: java.lang.NoClassDefFoundError: LWebpage;
> >>> at java.lang.Class.getDeclaredFields0(Native Method)
> >>> at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
> >>> at java.lang.Class.getDeclaredField(Class.java:1880)
> >>> ... 27 more
> >>> Caused by: java.lang.ClassNotFoundException: Webpage
> >>> at
> >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
> >>> at
> >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
> >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >>> ... 30 more
> >>> 27.04.2009 19:57:07 org.apache.catalina.core.StandardContext start
> >>> SCHWERWIEGEND: Error listenerStart
> >>> 27.04.2009 19:57:07 org.apache.catalina.core.StandardContext start
> >>> SCHWERWIEGEND: Context [/monitor-0.1] startup failed due to previous
> >>> errors
> >>>
> >>>
> >> Volz Innovation GmbH
> >> Kirchhaldenweg 10, 76597 Loffenau, Germany
> >>
> >> Tel: +49 18 03 55 18 51 075
> >> Mail: rv@...
> >> Web: www.raphaelvolz.de
> >> Fax: +49 18 03 55 18 51 075
> >>
> >> Company Seat / Sitz der Gesellschaft: Loffenau
> >> Company Register / Handelsregisternummer: HRB 704418,
> >> Amtsgericht Mannheim
> >> Managing Director / Geschäftsführer: Dr. Raphael Volz, CEO
> >>
> >>
> > Volz Innovation GmbH
> > Kirchhaldenweg 10, 76597 Loffenau, Germany
> >
> > Tel: +49 18 03 55 18 51 075
> > Mail: rv@...
> > Web: www.raphaelvolz.de
> > Fax: +49 18 03 55 18 51 075
> >
> > Company Seat / Sitz der Gesellschaft: Loffenau
> > Company Register / Handelsregisternummer: HRB 704418,
> > Amtsgericht Mannheim
> > Managing Director / Geschäftsführer: Dr. Raphael Volz, CEO




signature.asc (204 bytes) Download Attachment

 « Return to Thread: Help, Exception after deploying in Tomcat