Google Groups

Re: [Neo4j] No static content available for Neo Server at port [7474], management console


Stefan Armbruster Apr 4, 2012 12:01 PM
Posted in group: Neo4j
Hi Aldrin,

not a solution, but at least a workaround: copy
http://m2.neo4j.org/content/repositories/releases/org/neo4j/app/neo4j-server/1.6.1/neo4j-server-1.6.1-static-web.jar
to <projectdir>/lib. According to
http://jira.grails.org/browse/GRAILS-6147, dependencies with an
classifier do not work.

Regards,
Stefan
Am 04.04.2012 17:45, schrieb aldrinm:
> Hi Stefan,
>
> It's at https://github.com/aldrinm/neo4j-embedded
>
>
> -Aldrin
>
>
> On Wednesday, 4 April 2012 19:34:57 UTC+5:30, Stefan Armbruster wrote:
>
>     Hi Aldrin,
>
>     is your code available somewhere?
>
>     Regards,
>     Stefan
>
>     Am 04.04.2012 16:02, schrieb aldrinm:
>     > Hi Stefan,
>     >
>     > This didn't work for me. I get same error. However, I can access the
>     > REST endpoint http://localhost:7474/db/data/ and
>     > http://localhost:7474/webadmin gives me a 404. So i guess only the web
>     > admin console is not being set up correctly.
>     >
>     > Thanks,
>     > Aldrin
>     >
>     >
>     > On Wednesday, 4 April 2012 01:22:16 UTC+5:30, Stefan Armbruster wrote:
>     >
>     >     Hi,
>     >
>     >     it's a dependency issue. Jersey refuses to start up with "No
>     >     WebApplication provider is present". I've played around and
>     found a
>     >     working config. Try to replace the quoted section in your
>     >     BuildConfig.groovy with
>     >
>     >     dependencies {
>     >        compile(group:"org.neo4j.app", name:"neo4j-server",
>     version:"1.6.1")
>     >        runtime(group:"org.neo4j.app", name:"neo4j-server",
>     version:"1.6.1",
>     >     branch:"static-web")
>     >        runtime('com.sun.jersey:jersey-server:1.9')
>     >        runtime('com.sun.jersey:jersey-core:1.9')
>     >     }
>     >
>     >     Regards,
>     >     Stefan
>     >
>     >     Am 28.03.2012 10:53, schrieb aldrinm:
>     >     > "ERROR web.Jetty6WebServer  - No static content available
>     for Neo
>     >     Server
>     >     > at port [7474], management console"
>     >     >
>     >     > What does this error mean?
>     >     >
>     >     > I'm trying to run an embedded server from within a Grails 2.0.1
>     >     app with
>     >     > the Neo4j plugin.
>     >     >
>     >     > I've read
>     >     > this
>     >    
>     http://stackoverflow.com/questions/8111959/use-wrappingneoserverbootstrapper-with-spring-data-neo4j
>     <http://stackoverflow.com/questions/8111959/use-wrappingneoserverbootstrapper-with-spring-data-neo4j>
>     >    
>     <http://stackoverflow.com/questions/8111959/use-wrappingneoserverbootstrapper-with-spring-data-neo4j
>     <http://stackoverflow.com/questions/8111959/use-wrappingneoserverbootstrapper-with-spring-data-neo4j>>
>     >
>     >     > and set up the BuildConfig dependencies as specified
>     >     > in
>     >    
>     https://github.com/sarmbruster/neo4jsample/blob/master/grails-app/conf/BuildConfig.groovy
>     <https://github.com/sarmbruster/neo4jsample/blob/master/grails-app/conf/BuildConfig.groovy>
>     >    
>     <https://github.com/sarmbruster/neo4jsample/blob/master/grails-app/conf/BuildConfig.groovy
>     <https://github.com/sarmbruster/neo4jsample/blob/master/grails-app/conf/BuildConfig.groovy>>
>     >     >
>     >     >     dependencies {
>     >     >         // uncomment next three lines if you're using
>     embedded/ha
>     >     *and*
>     >     > you want the webadmin available
>     >     >         compile(group:"org.neo4j.app", name:"neo4j-server",
>     >     version:"1.6.1")
>     >     >         runtime(group:"org.neo4j.app", name:"neo4j-server",
>     >     > version:"1.6.1", branch:"static-web")
>     >     >         runtime('com.sun.jersey:jersey-bundle:1.9-SNAPSHOT')
>     >     >    }
>     >     >
>     >     >
>     >     > any insight would be helpful.
>     >     >
>     >     >
>     >     >  
>     >
>     >
>
>