You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sush0000 <su...@ars.usda.gov> on 2008/01/09 23:44:57 UTC

Embedded Tomcat 5.5.17 error

Hi All,

I am trying to develop a web application using EMBEDDED TOMCAT (5.5.17
version).
I am using standard function "registWAR(contextPath, warPATH)".
Inside this function, right after adding CONTEXT to HOST, I am getting this
exception.


Any help with this EXCEPTION and EMBEDDED TOMCAT (5.5.17) would be of great
help.

Thanks


Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.naming.NamingContextBindingsEnumeration.<init>(Ljava/util/Iterator;Ljavax/naming/Context;)V
        at
org.apache.naming.resources.FileDirContext.listBindings(FileDirContext.java:337)
        at
org.apache.naming.resources.ProxyDirContext.listBindings(ProxyDirContext.java:515)
        at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:142)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4035)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at test.embed.WebAppServer.registerWAR(WebAppServer.java:203)
        at test.embed.WebAppServer.main(WebAppServer.java:252)

-- 
View this message in context: http://www.nabble.com/Embedded-Tomcat-5.5.17-error-tp14723535p14723535.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org