Hi Brendan,

You can find the source in the neo4j-server repository. The particular file is 
here:
https://github.com/neo4j/server/blob/1.3.M03/examples/src/main/java/org/neo4j/examples/server/plugins/GetAll.java

I'll take a look at that example to see what's going on.

Cheers,
Andreas

On Feb 27, 2011, at 4:27 PM, Brendan Cheng wrote:

> Hi,
> 
> I tried to load the GetAll example into ServerPlugin directory of
> 1.3.M03 but found:
> 
> 22:58:28 | 850 [WrapperSimpleAppMain] WARN
> org.neo4j.server.plugins.PluginManager  - Failed to load plugin:
> ServerPlugin[GetAll]
> INFO   | jvm 1    | 2011/02/27 22:58:28 |
> java.lang.IllegalArgumentException: Name contains illegal characters
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.ServerPlugin.verifyName(ServerPlugin.java:120)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.PluginPoint.<init>(PluginPoint.java:36)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.PluginMethod.<init>(PluginMethod.java:40)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.PluginPointFactoryImpl.createFrom(PluginPointFactoryImpl.java:98)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.ServerPlugin.getDefaultExtensionPoints(ServerPlugin.java:175)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.ServerPlugin.loadServerExtender(ServerPlugin.java:152)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:57)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:45)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.modules.RESTApiModule.loadPlugins(RESTApiModule.java:75)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.modules.RESTApiModule.start(RESTApiModule.java:50)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.NeoServerWithEmbeddedWebServer.startModules(NeoServerWithEmbeddedWebServer.java:114)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:83)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.BootStrapper.start(BootStrapper.java:62)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.neo4j.server.BootStrapper.main(BootStrapper.java:115)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> java.lang.reflect.Method.invoke(Method.java:597)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
> INFO   | jvm 1    | 2011/02/27 22:58:28 |     at
> java.lang.Thread.run(Thread.java:662)
> 
> I have changed a character from your example.
> Any idea?
> where can I locate your ServerPlugin.java file?
> Cheers,
> 
> Brendan
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to