Ok thanks, log4j warnings are gone. Cheers Pieter
On 27/11/2015 16:02, Stephen Mallette wrote: > you're running the console from inside the bin directory. i bet if you do: > bin/gremlin.sh it will make that message go away. > > On Fri, Nov 27, 2015 at 8:59 AM, pieter <[email protected]> wrote: > >> Is the log4j warning something on my side? >> >> Thanks >> Pieter >> >> On 27/11/2015 14:54, Stephen Mallette wrote: >>> assuming i'm looking at the latest code in your repo, you still have the >>> old package naming for this file: >>> >>> >> https://github.com/pietermartin/sqlg/blob/master/sqlg-hsqldb/src/main/resources/META-INF/services/com.tinkerpop.gremlin.groovy.plugin.GremlinPlugin >>> should be org.apache.tinkerpop..... >>> >>> On Fri, Nov 27, 2015 at 7:49 AM, pieter <[email protected]> wrote: >>> >>>> Thanks, yes my grapeConfig.xml was incorrect, or just not there >> actually. >>>> So I added it according to the docs and added >>>> >>>> <ibiblio name="central-snapshots" >>>> root="https://oss.sonatype.org/content/repositories/snapshots/" >>>> m2compatible="true"/> >>>> >>>> The install command worked now. >>>> >>>> However running ':plugin list' does not show the hsqldb plugin. >>>> >>>> gremlin> :install org.umlg sqlg-hsqldb 1.1.0-SNAPSHOT >>>> log4j:WARN No appenders could be found for logger >>>> (org.apache.tinkerpop.gremlin.groovy.util.DependencyGrabber). >>>> log4j:WARN Please initialize the log4j system properly. >>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig >> for >>>> more info. >>>> ==>Loaded: [org.umlg, sqlg-hsqldb, 1.1.0-SNAPSHOT] >>>> gremlin> :plugin list >>>> ==>tinkerpop.server[active] >>>> ==>tinkerpop.gephi >>>> ==>tinkerpop.utilities[active] >>>> ==>tinkerpop.sugar >>>> ==>tinkerpop.credentials >>>> ==>tinkerpop.tinkergraph[active] >>>> >>>> >>>> The SqlgHsqldbGremlinPlugin defines the getName() as "sqlg-hsqldb" >>>> The SqlgPostgresGremlinPlugin defines the getName() as >>>> "tinkerpop.sqlg-postgres" >>>> >>>> I recall you asking me to drop the tinkerpop from the name. >>>> >>>> However the plugin is not loading for either of them. >>>> >>>> Got some more pointers? >>>> >>>> Thanks >>>> Pieter >>>> >>>> >>>> >>>> On 27/11/2015 14:13, Stephen Mallette wrote: >>>>> Is your ~/.groovy/grapeConfig.xml setup properly? >>>>> >>>>> >> http://tinkerpop.apache.org/docs/3.1.0-incubating/#gremlin-applications >>>>> i see that you are trying to use SNAPSHOT which is notoriously annoying >>>>> with grape. As stated in that link I provided you can try to add this: >>>>> >>>>> <ibiblio name="apache-snapshots" root=" >>>>> http://repository.apache.org/snapshots/" m2compatible="true"/> >>>>> >>>>> but it doesn't always work as consistently as it should. Let me know if >>>> any >>>>> of that helps. >>>>> >>>>> >>>>> >>>>> On Thu, Nov 26, 2015 at 3:58 PM, pieter <[email protected]> >> wrote: >>>>>> Hi, >>>>>> >>>>>> I eventually got sqlg working on 3.1.0-incubating so now I am trying >> to >>>>>> see if the gremlin console works with it. >>>>>> >>>>>> But alas I am getting the following. >>>>>> >>>>>> [pieter@pieter-home bin]$ ./gremlin.sh >>>>>> >>>>>> \,,,/ >>>>>> (o o) >>>>>> -----oOOo-(3)-oOOo----- >>>>>> plugin activated: tinkerpop.server >>>>>> plugin activated: tinkerpop.utilities >>>>>> plugin activated: tinkerpop.tinkergraph >>>>>> gremlin> :install org.umlg sqlg-hsqldb 1.1.0-SNAPSHOT >>>>>> log4j:WARN No appenders could be found for logger >>>>>> (org.apache.tinkerpop.gremlin.groovy.util.DependencyGrabber). >>>>>> log4j:WARN Please initialize the log4j system properly. >>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig >>>> for >>>>>> more info. >>>>>> ==>Error grabbing Grapes -- [download failed: >>>>>> org.apache.tinkerpop#gremlin-core;3.1.0-incubating!gremlin-core.jar, >>>>>> download failed: >>>>>> >> org.apache.tinkerpop#gremlin-shaded;3.1.0-incubating!gremlin-shaded.jar, >>>>>> download failed: >>>>>> >> org.apache.tinkerpop#gremlin-groovy;3.1.0-incubating!gremlin-groovy.jar] >>>>>> >>>>>> org.umlg sqlg-hsqldb 1.1.0-SNAPSHOT is both in my local m2 repository >>>>>> and on the maven snapshot server. >>>>>> >>>>>> Any ideas as to what I'm doing wrong? >>>>>> >>>>>> Thanks >>>>>> Pieter >>>>>> >>>>>> >>>>>> >>>>>> >>
