[jetty-user] Re: NameAlreadyBoundException (fresh user)

Kjetil Midtlie <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
> Cannot startup this ehcache.war file in jetty7.1.6 (latest 7 build)
> (
> http://sourceforge.net/settings/mirror_choices?projectname=ehcache&filename=ehcache-server/ehcache-server-1.0.0/ehcache-server-1.0.0-distribution.tar.gz)
>
> stacktrace always showing :
> ---------------------------------------
>
> 2010-09-08 11:26:50.629:WARN::Failed startup of context
> WebAppContext@12b6c89@12b6c89/ehcache,[file:/tmp/Jetty_0_0_0_0_8080_ehcache.war__ehcache__.2vv2hl/webinf/,
> [file:/tmp/Jetty_0_0_0_0_8080_ehcache.war__ehcache__.2vv2hl/webinf/,
> jar:file:/home/kdm/apps/jetty-hightide-7.1.6.v20100715/webapps/ehcache.war!/]],/home/kdm/apps/jetty-hightide-7.1.6.v20100715/webapps/ehcache.war
> javax.naming.NameAlreadyBoundException: env
> at
> org.eclipse.jetty.jndi.NamingContext.createSubcontext(NamingContext.java:451)
>  at
> org.eclipse.jetty.jndi.NamingContext.createSubcontext(NamingContext.java:515)
>  at
> org.eclipse.jetty.plus.webapp.EnvConfiguration.createEnvContext(EnvConfiguration.java:203)
>  at
> org.eclipse.jetty.plus.webapp.EnvConfiguration.preConfigure(EnvConfiguration.java:62)
>  at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:378)
>  at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
>  at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
>  at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
>  at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
>  at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
>  at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
>  at
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
>  at org.eclipse.jetty.server.Server.doStart(Server.java:242)
>  at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
>  at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1018)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:983)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:616)
>  at org.eclipse.jetty.start.Main.invokeMain(Main.java:490)
>  at org.eclipse.jetty.start.Main.start(Main.java:631)
>  at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:280)
>  at org.eclipse.jetty.start.Main.main(Main.java:82)
> 2010-09-08 11:26:50.651:INFO::Started [email protected]:8080
>
> regards
> kjetil
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.