2 Replies Latest reply: Nov 23, 2011 10:16 AM by Rohit . Kumar RSS

    Configure Tomcat 7 for custom authentication

    RupakKhurana

      Hello

      I am using Tomcat 7.0.19 for custom authentication. I followed the procedures defined in the LCDS 3.1 specs. However I get the following exception for TomcatValve.. please advise..

       

      thanks

      Rupak

       

       

      SEVERE: Error deploying web application directory ROOT

      java.lang.VerifyError: class flex.messaging.security.TomcatValve overrides final method start.()V

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

              at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

              at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

              at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

              at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)

              at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)

              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXPars er.java:501)

              at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Abstrac tXMLDocumentParser.java:179)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(X MLDocumentFragmentScannerImpl.java:1343)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2755)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:648)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:511)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:808)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:737)

              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)

              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1205)

              at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)

              at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1543)

              at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:650)

              at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:587)

              at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:855)

              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:340)

              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

              at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)

              at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)

              at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)

              at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)

              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)

              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

              at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)

              at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)

              at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:324)

              at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)

              at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

              at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)

              at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

              at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

              at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

              at org.apache.catalina.startup.Catalina.start(Catalina.java:621)

              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:597)

              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

      Nov 22, 2011 1:09:46 PM org.apache.coyote.AbstractProtocol start