Hi there, remember that this code you refer to will start up its own Jetty web server, so running this inside another webserver will probably not work. Could you confirm this by running the code from a standalone Java application instead of a webapp?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Sep 5, 2011 at 1:09 PM, mpula <[email protected]> wrote: > I am using embedded neo4j server in my web application running on tomcat 6, > which use JSF 1.2. I have tried to run webadmin using this instructions: > http://docs.neo4j.org/chunked/milestone/server-embedded.html. I have > copied > all libraries and put code in place where database is being started. When > line srv.start() is being executed I get exception: > > > 2011-09-05 11:26:35 org.mortbay.log.Slf4jLog warn > SEVERE: Failed startup of context > org.mortbay.jetty.webapp.WebAppContext@4ef523 > {/webadmin,jar:file:/home/some_path/apache-tomcat-6.0.18/webapps/myapp/WEB-INF/lib/neo4j-server-1.4.1-static-web.jar!/webadmin-html} > com.sun.faces.config.ConfigurationException: no web.xml present > at > > com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:805) > at > > com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:765) > at > > com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:178) > at > > org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) > at > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:224) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:152) > at > org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:95) > at > > org.neo4j.server.NeoServerWithEmbeddedWebServer.startWebServer(NeoServerWithEmbeddedWebServer.java:204) > at > > org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:93) > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:76) > > > Does anyone know what is the cause of this exception and how to fix it? > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Webadmin-with-embedded-neo4j-on-tomcat-6-tp3310583p3310583.html > Sent from the Neo4j Community Discussions mailing list archive at > Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

