Expand my Community achievements bar.

SOLVED

Configure Tomcat 7 for custom authentication

Avatar

Former Community Member

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(AbstractSAXParser.java:501)

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

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

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

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

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

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

        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: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.java: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

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi

We currently do not support Data Services 3.1 on Tomcat 7.

Regards,

Ashish Vashisht

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

Hi

We currently do not support Data Services 3.1 on Tomcat 7.

Regards,

Ashish Vashisht

Avatar

Employee

Hi Rupak,

For your information, we will support Tomcat 7.x in the upcoming ADEP Data Service for JEE 4.6 release. Take a look at what is in store in this release here. I would encourage you to get hold of it as soon as possible

Rohit

Data Services Team

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----