Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
Thanks, didn't mean to sound unpatient. man  and the command
itself works for all those, so it seems the problem really is isolated
to just listing them.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Sure, my output gives:
>
>  Welcome to NeoShell
>  Available commands: cd env export gsh help jsh ls man mkrel mv pwd
>  quit rm rmrel set
>
> Use man  for info about each command.
>  neo-sh (0)$
>
>
> I guess 'man ', f.ex. man export woul work even in your case!
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > OK, if you find you still can't reproduce it I can give you my
>  >  complete source tree :)
>  >
>  >  In the meanwhile, could someone just tell me what the available
>  >  commands are? "man X" works just fine, so if I just know the available
>  >  X's that'd help alot in the exploration.
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Allright thanks for the digging, I've tried with Ubuntu Hardy and java
>  >  >  1.5 just like you and I can't reproduce it... However!
>  >  >
>  >  >  Now it hits me that it just must be the fact that it's run inside a
>  >  >  webapp. 'man' searches for available commands (classes extending
>  >  >  org.neo4j.util.shell.App) by looking at the classpath (directories and
>  >  >  .jar-files). The class loader hierarchy is a little different for
>  >  >  webapps. I'll add a ticket about this problem, to myself!
>  >  >
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  > First, these are the jars maven give me (complete listing in the
>  >  >  >  unlikely case there is actually some strange interaction with one of
>  >  >  >  these and the neo shell).
>  >  >  >
>  >  >  >  commons-codec-1.2.jar
>  >  >  >  commons-el-1.0.jar
>  >  >  >  commons-httpclient-3.0.1.jar
>  >  >  >  commons-logging-1.0.3.jar
>  >  >  >  htmlparser-1.6.jar
>  >  >  >
>  >  >  > index-util-0.4-20080430.070359-1.jar
>  >  >  >  jbrainz-1.0-SNAPSHOT.jar
>  >  >  >  json-taglib-0.5-SNAPSHOT.jar
>  >  >  >  jstl-1.1.2.jar
>  >  >  >
>  >  >  > jta-1.0.1.jar
>  >  >  >  jug-1.1.jar
>  >  >  >  log4j-1.2.14.jar
>  >  >  >
>  >  >  > lucene-core-2.3.1.jar
>  >  >  >
>  >  >  > neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >  openid4java-0.9.3.jar
>  >  >  >  openxri-client-1.0.1.jar
>  >  >  >  openxri-syntax-1.0.1.jar
>  >  >  >  shell-1.0-rc1-SNAPSHOT.jar
>  >  >  >  standard-1.1.2.jar
>  >  >  >  xercesImpl-2.8.1.jar
>  >  >  >  xmlsec-1.3.0.jar
>  >  >  >
>  >  >  >  1) Can't be very precise, it's a Java webapp running on tomcat 
> (don't
>  >  >  >  know what these are called, a "Servlet" is just one part). Neo is
>  >  >  >  hooked in through a ServletContextListener:
>  >  >  >
>  >  >  >  public final class ContextListener implements 
> ServletContextListener {
>  >  >  >
>  >  >  > private final Log log = LogFactory.getLog(this.getClass());
>  >  >  >
>  >  >  > public void contextInitialized(ServletContextEvent event) {
>  >  >  >
>  >  >  > log.debug("Starting neo service");
>  >  >  > NeoService neo = new EmbeddedNeo("/tmp/neostore");
>  >  >  > neo.enableRemoteShell();
>  >  >  > event.getServletContext().setAttribute("neoService", neo);
>  >  >  >
>  >  >  > log.debug("Starting index service");
>  >  >  > IndexService indexService = new NeoIndexService(neo);
>  >  >  > event.getServletContext().setAttribute("indexService", 
> indexService);
>  >  >  > }
>  >  >  >
>  >  >  > public void contextDestroyed(ServletContextEvent event) {
>  >  >  >
>  >  >  > log.debug("Shutting down index service");
>  >  >  > IndexService indexService =
>  >  >  > 
> (IndexService)event.getServletContext().getAttribute("indexService");
>  >  >  > if (indexService != null)
>  >  >  > indexService.shutdown();
>  >  >  >
>  >  >  > log.debug("Shutting down neo service");
>  >  >  > NeoService neo =
>  >  >  >  (NeoService)event.getServletContext().getAttribute("neoService");
>  >  >  > if (neo != null)
>  >  >  > neo.shutdown();
>  >  >  > }
>  >  >  >  }
>  >  >  >
>  >  >  >  These only run once, verified by my logs.
>  >  >  >
>  >  >  >  Installed to tomcat with "mvn install", but that's hardly helpful 
> to know.
>  >  >  >
>  >  >  >  2)
>  >  >  >
>  >  >  >  (in the project directory where I just built and installed the 
> webapp)
>  >  >  >
>  >  >  >  $ java -jar target/mushup/WEB-INF/lib/shell-1.0-rc1-SNAPSHOT.jar
>  >  >  >
>  >  >  > NOTE: No port or RMI name specified, using default port 1337 and 
> name 'shell'.
>  >  >  >  Welcome to NeoShell
>  >  >  >  Available commands: quit
>  >  >  >  Use man  for info about each command.
>  >  >  >  neo-sh (0)$ man
>  >  >  >
>  >  >  > Available commands: quit
>  >  >  >  Use man  for info about each command.
>  >  >  >  neo-sh (0)$ ls
>  >  >  >  (me) --[MUSICBRAINZ]--> (4)
>  >  >  >  (me) --[INDEX_SERV

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Sure, my output gives:

Welcome to NeoShell
Available commands: cd env export gsh help jsh ls man mkrel mv pwd
quit rm rmrel set
Use man  for info about each command.
neo-sh (0)$

I guess 'man ', f.ex. man export woul work even in your case!

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> OK, if you find you still can't reproduce it I can give you my
>  complete source tree :)
>
>  In the meanwhile, could someone just tell me what the available
>  commands are? "man X" works just fine, so if I just know the available
>  X's that'd help alot in the exploration.
>
>
>
>  Philip
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Allright thanks for the digging, I've tried with Ubuntu Hardy and java
>  >  1.5 just like you and I can't reproduce it... However!
>  >
>  >  Now it hits me that it just must be the fact that it's run inside a
>  >  webapp. 'man' searches for available commands (classes extending
>  >  org.neo4j.util.shell.App) by looking at the classpath (directories and
>  >  .jar-files). The class loader hierarchy is a little different for
>  >  webapps. I'll add a ticket about this problem, to myself!
>  >
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  > First, these are the jars maven give me (complete listing in the
>  >  >  unlikely case there is actually some strange interaction with one of
>  >  >  these and the neo shell).
>  >  >
>  >  >  commons-codec-1.2.jar
>  >  >  commons-el-1.0.jar
>  >  >  commons-httpclient-3.0.1.jar
>  >  >  commons-logging-1.0.3.jar
>  >  >  htmlparser-1.6.jar
>  >  >
>  >  > index-util-0.4-20080430.070359-1.jar
>  >  >  jbrainz-1.0-SNAPSHOT.jar
>  >  >  json-taglib-0.5-SNAPSHOT.jar
>  >  >  jstl-1.1.2.jar
>  >  >
>  >  > jta-1.0.1.jar
>  >  >  jug-1.1.jar
>  >  >  log4j-1.2.14.jar
>  >  >
>  >  > lucene-core-2.3.1.jar
>  >  >
>  >  > neo-1.0-rc1-SNAPSHOT.jar
>  >  >  openid4java-0.9.3.jar
>  >  >  openxri-client-1.0.1.jar
>  >  >  openxri-syntax-1.0.1.jar
>  >  >  shell-1.0-rc1-SNAPSHOT.jar
>  >  >  standard-1.1.2.jar
>  >  >  xercesImpl-2.8.1.jar
>  >  >  xmlsec-1.3.0.jar
>  >  >
>  >  >  1) Can't be very precise, it's a Java webapp running on tomcat (don't
>  >  >  know what these are called, a "Servlet" is just one part). Neo is
>  >  >  hooked in through a ServletContextListener:
>  >  >
>  >  >  public final class ContextListener implements ServletContextListener {
>  >  >
>  >  > private final Log log = LogFactory.getLog(this.getClass());
>  >  >
>  >  > public void contextInitialized(ServletContextEvent event) {
>  >  >
>  >  > log.debug("Starting neo service");
>  >  > NeoService neo = new EmbeddedNeo("/tmp/neostore");
>  >  > neo.enableRemoteShell();
>  >  > event.getServletContext().setAttribute("neoService", neo);
>  >  >
>  >  > log.debug("Starting index service");
>  >  > IndexService indexService = new NeoIndexService(neo);
>  >  > event.getServletContext().setAttribute("indexService", 
> indexService);
>  >  > }
>  >  >
>  >  > public void contextDestroyed(ServletContextEvent event) {
>  >  >
>  >  > log.debug("Shutting down index service");
>  >  > IndexService indexService =
>  >  > 
> (IndexService)event.getServletContext().getAttribute("indexService");
>  >  > if (indexService != null)
>  >  > indexService.shutdown();
>  >  >
>  >  > log.debug("Shutting down neo service");
>  >  > NeoService neo =
>  >  >  (NeoService)event.getServletContext().getAttribute("neoService");
>  >  > if (neo != null)
>  >  > neo.shutdown();
>  >  > }
>  >  >  }
>  >  >
>  >  >  These only run once, verified by my logs.
>  >  >
>  >  >  Installed to tomcat with "mvn install", but that's hardly helpful to 
> know.
>  >  >
>  >  >  2)
>  >  >
>  >  >  (in the project directory where I just built and installed the webapp)
>  >  >
>  >  >  $ java -jar target/mushup/WEB-INF/lib/shell-1.0-rc1-SNAPSHOT.jar
>  >  >
>  >  > NOTE: No port or RMI name specified, using default port 1337 and name 
> 'shell'.
>  >  >  Welcome to NeoShell
>  >  >  Available commands: quit
>  >  >  Use man  for info about each command.
>  >  >  neo-sh (0)$ man
>  >  >
>  >  > Available commands: quit
>  >  >  Use man  for info about each command.
>  >  >  neo-sh (0)$ ls
>  >  >  (me) --[MUSICBRAINZ]--> (4)
>  >  >  (me) --[INDEX_SERVICE]--> (1)
>  >  >
>  >  >  As you can see, the shell is working, it's just that the command
>  >  >  listing seems wrong. Are you saying that you get a different (correct)
>  >  >  listing on some other platform? That sounds very odd to me.
>  >  >
>  >  >
>  >  >
>  >  >  Philip
>  >  >
>  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Great, actually you could start by sending my the exact commands you
>  >  >  >  use to start neo/shell (simplified jar-filenames in my examples):
>  >  >  >
>  >  >  >  o Are you starting neo separately with neo.enableRe

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
OK, if you find you still can't reproduce it I can give you my
complete source tree :)

In the meanwhile, could someone just tell me what the available
commands are? "man X" works just fine, so if I just know the available
X's that'd help alot in the exploration.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Allright thanks for the digging, I've tried with Ubuntu Hardy and java
>  1.5 just like you and I can't reproduce it... However!
>
>  Now it hits me that it just must be the fact that it's run inside a
>  webapp. 'man' searches for available commands (classes extending
>  org.neo4j.util.shell.App) by looking at the classpath (directories and
>  .jar-files). The class loader hierarchy is a little different for
>  webapps. I'll add a ticket about this problem, to myself!
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > First, these are the jars maven give me (complete listing in the
>  >  unlikely case there is actually some strange interaction with one of
>  >  these and the neo shell).
>  >
>  >  commons-codec-1.2.jar
>  >  commons-el-1.0.jar
>  >  commons-httpclient-3.0.1.jar
>  >  commons-logging-1.0.3.jar
>  >  htmlparser-1.6.jar
>  >
>  > index-util-0.4-20080430.070359-1.jar
>  >  jbrainz-1.0-SNAPSHOT.jar
>  >  json-taglib-0.5-SNAPSHOT.jar
>  >  jstl-1.1.2.jar
>  >
>  > jta-1.0.1.jar
>  >  jug-1.1.jar
>  >  log4j-1.2.14.jar
>  >
>  > lucene-core-2.3.1.jar
>  >
>  > neo-1.0-rc1-SNAPSHOT.jar
>  >  openid4java-0.9.3.jar
>  >  openxri-client-1.0.1.jar
>  >  openxri-syntax-1.0.1.jar
>  >  shell-1.0-rc1-SNAPSHOT.jar
>  >  standard-1.1.2.jar
>  >  xercesImpl-2.8.1.jar
>  >  xmlsec-1.3.0.jar
>  >
>  >  1) Can't be very precise, it's a Java webapp running on tomcat (don't
>  >  know what these are called, a "Servlet" is just one part). Neo is
>  >  hooked in through a ServletContextListener:
>  >
>  >  public final class ContextListener implements ServletContextListener {
>  >
>  > private final Log log = LogFactory.getLog(this.getClass());
>  >
>  > public void contextInitialized(ServletContextEvent event) {
>  >
>  > log.debug("Starting neo service");
>  > NeoService neo = new EmbeddedNeo("/tmp/neostore");
>  > neo.enableRemoteShell();
>  > event.getServletContext().setAttribute("neoService", neo);
>  >
>  > log.debug("Starting index service");
>  > IndexService indexService = new NeoIndexService(neo);
>  > event.getServletContext().setAttribute("indexService", 
> indexService);
>  > }
>  >
>  > public void contextDestroyed(ServletContextEvent event) {
>  >
>  > log.debug("Shutting down index service");
>  > IndexService indexService =
>  > 
> (IndexService)event.getServletContext().getAttribute("indexService");
>  > if (indexService != null)
>  > indexService.shutdown();
>  >
>  > log.debug("Shutting down neo service");
>  > NeoService neo =
>  >  (NeoService)event.getServletContext().getAttribute("neoService");
>  > if (neo != null)
>  > neo.shutdown();
>  > }
>  >  }
>  >
>  >  These only run once, verified by my logs.
>  >
>  >  Installed to tomcat with "mvn install", but that's hardly helpful to know.
>  >
>  >  2)
>  >
>  >  (in the project directory where I just built and installed the webapp)
>  >
>  >  $ java -jar target/mushup/WEB-INF/lib/shell-1.0-rc1-SNAPSHOT.jar
>  >
>  > NOTE: No port or RMI name specified, using default port 1337 and name 
> 'shell'.
>  >  Welcome to NeoShell
>  >  Available commands: quit
>  >  Use man  for info about each command.
>  >  neo-sh (0)$ man
>  >
>  > Available commands: quit
>  >  Use man  for info about each command.
>  >  neo-sh (0)$ ls
>  >  (me) --[MUSICBRAINZ]--> (4)
>  >  (me) --[INDEX_SERVICE]--> (1)
>  >
>  >  As you can see, the shell is working, it's just that the command
>  >  listing seems wrong. Are you saying that you get a different (correct)
>  >  listing on some other platform? That sounds very odd to me.
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Great, actually you could start by sending my the exact commands you
>  >  >  use to start neo/shell (simplified jar-filenames in my examples):
>  >  >
>  >  >  o Are you starting neo separately with neo.enableRemoteShell() and
>  >  >  connecting with it remotely, with something like:
>  >  > 1) $> java -cp target/classes:neo.jar:jta.jar:shell.jar
>  >  >  my.class.which.starts.MyNeoService
>  >  > 2) $> java -jar shell.jar
>  >  >  o Are you using only one jvm instance to run the neo service AND the
>  >  >  shell, something like:
>  >  > 1) $> java -cp neo.jar:jta.jar:shell.jar
>  >  >  org.neo4j.util.shell.StartRemoteClient path/to/neo/
>  >  >
>  >  >  Send the commands as precisely as possible.
>  >  >
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  > Strange, I thought it was an oversight and not a bug as such. A

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Allright thanks for the digging, I've tried with Ubuntu Hardy and java
1.5 just like you and I can't reproduce it... However!

Now it hits me that it just must be the fact that it's run inside a
webapp. 'man' searches for available commands (classes extending
org.neo4j.util.shell.App) by looking at the classpath (directories and
.jar-files). The class loader hierarchy is a little different for
webapps. I'll add a ticket about this problem, to myself!

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> First, these are the jars maven give me (complete listing in the
>  unlikely case there is actually some strange interaction with one of
>  these and the neo shell).
>
>  commons-codec-1.2.jar
>  commons-el-1.0.jar
>  commons-httpclient-3.0.1.jar
>  commons-logging-1.0.3.jar
>  htmlparser-1.6.jar
>
> index-util-0.4-20080430.070359-1.jar
>  jbrainz-1.0-SNAPSHOT.jar
>  json-taglib-0.5-SNAPSHOT.jar
>  jstl-1.1.2.jar
>
> jta-1.0.1.jar
>  jug-1.1.jar
>  log4j-1.2.14.jar
>
> lucene-core-2.3.1.jar
>
> neo-1.0-rc1-SNAPSHOT.jar
>  openid4java-0.9.3.jar
>  openxri-client-1.0.1.jar
>  openxri-syntax-1.0.1.jar
>  shell-1.0-rc1-SNAPSHOT.jar
>  standard-1.1.2.jar
>  xercesImpl-2.8.1.jar
>  xmlsec-1.3.0.jar
>
>  1) Can't be very precise, it's a Java webapp running on tomcat (don't
>  know what these are called, a "Servlet" is just one part). Neo is
>  hooked in through a ServletContextListener:
>
>  public final class ContextListener implements ServletContextListener {
>
> private final Log log = LogFactory.getLog(this.getClass());
>
> public void contextInitialized(ServletContextEvent event) {
>
> log.debug("Starting neo service");
> NeoService neo = new EmbeddedNeo("/tmp/neostore");
> neo.enableRemoteShell();
> event.getServletContext().setAttribute("neoService", neo);
>
> log.debug("Starting index service");
> IndexService indexService = new NeoIndexService(neo);
> event.getServletContext().setAttribute("indexService", indexService);
> }
>
> public void contextDestroyed(ServletContextEvent event) {
>
> log.debug("Shutting down index service");
> IndexService indexService =
> 
> (IndexService)event.getServletContext().getAttribute("indexService");
> if (indexService != null)
> indexService.shutdown();
>
> log.debug("Shutting down neo service");
> NeoService neo =
>  (NeoService)event.getServletContext().getAttribute("neoService");
> if (neo != null)
> neo.shutdown();
> }
>  }
>
>  These only run once, verified by my logs.
>
>  Installed to tomcat with "mvn install", but that's hardly helpful to know.
>
>  2)
>
>  (in the project directory where I just built and installed the webapp)
>
>  $ java -jar target/mushup/WEB-INF/lib/shell-1.0-rc1-SNAPSHOT.jar
>
> NOTE: No port or RMI name specified, using default port 1337 and name 'shell'.
>  Welcome to NeoShell
>  Available commands: quit
>  Use man  for info about each command.
>  neo-sh (0)$ man
>
> Available commands: quit
>  Use man  for info about each command.
>  neo-sh (0)$ ls
>  (me) --[MUSICBRAINZ]--> (4)
>  (me) --[INDEX_SERVICE]--> (1)
>
>  As you can see, the shell is working, it's just that the command
>  listing seems wrong. Are you saying that you get a different (correct)
>  listing on some other platform? That sounds very odd to me.
>
>
>
>  Philip
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Great, actually you could start by sending my the exact commands you
>  >  use to start neo/shell (simplified jar-filenames in my examples):
>  >
>  >  o Are you starting neo separately with neo.enableRemoteShell() and
>  >  connecting with it remotely, with something like:
>  > 1) $> java -cp target/classes:neo.jar:jta.jar:shell.jar
>  >  my.class.which.starts.MyNeoService
>  > 2) $> java -jar shell.jar
>  >  o Are you using only one jvm instance to run the neo service AND the
>  >  shell, something like:
>  > 1) $> java -cp neo.jar:jta.jar:shell.jar
>  >  org.neo4j.util.shell.StartRemoteClient path/to/neo/
>  >
>  >  Send the commands as precisely as possible.
>  >
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  > Strange, I thought it was an oversight and not a bug as such. Anyway,
>  >  >  Ubuntu Hardy with Java 1.5 (sun-java5-jre 1.5.0-15-0ubuntu1). I can
>  >  >  send you debug printouts or whatever you need if you give me
>  >  >  instructions.
>  >  >
>  >  >
>  >  >
>  >  >  Philip
>  >  >
>  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > I'll try to reproduce it, what version of Ubuntu/Java are you using?
>  >  >  >
>  >  >  >
>  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  > Nope, I haven't explicitly included the shell, but doing so I get
>  >  >  >  >  shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the 
> only
>  >  >  >  >  command man knows about. This is hardly critical, but I guess 
> you'd
>

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
First, these are the jars maven give me (complete listing in the
unlikely case there is actually some strange interaction with one of
these and the neo shell).

commons-codec-1.2.jar
commons-el-1.0.jar
commons-httpclient-3.0.1.jar
commons-logging-1.0.3.jar
htmlparser-1.6.jar
index-util-0.4-20080430.070359-1.jar
jbrainz-1.0-SNAPSHOT.jar
json-taglib-0.5-SNAPSHOT.jar
jstl-1.1.2.jar
jta-1.0.1.jar
jug-1.1.jar
log4j-1.2.14.jar
lucene-core-2.3.1.jar
neo-1.0-rc1-SNAPSHOT.jar
openid4java-0.9.3.jar
openxri-client-1.0.1.jar
openxri-syntax-1.0.1.jar
shell-1.0-rc1-SNAPSHOT.jar
standard-1.1.2.jar
xercesImpl-2.8.1.jar
xmlsec-1.3.0.jar

1) Can't be very precise, it's a Java webapp running on tomcat (don't
know what these are called, a "Servlet" is just one part). Neo is
hooked in through a ServletContextListener:

public final class ContextListener implements ServletContextListener {

private final Log log = LogFactory.getLog(this.getClass());

public void contextInitialized(ServletContextEvent event) {

log.debug("Starting neo service");
NeoService neo = new EmbeddedNeo("/tmp/neostore");
neo.enableRemoteShell();
event.getServletContext().setAttribute("neoService", neo);

log.debug("Starting index service");
IndexService indexService = new NeoIndexService(neo);
event.getServletContext().setAttribute("indexService", indexService);
}

public void contextDestroyed(ServletContextEvent event) {

log.debug("Shutting down index service");
IndexService indexService =

(IndexService)event.getServletContext().getAttribute("indexService");
if (indexService != null)
indexService.shutdown();

log.debug("Shutting down neo service");
NeoService neo =
(NeoService)event.getServletContext().getAttribute("neoService");
if (neo != null)
neo.shutdown();
}
}

These only run once, verified by my logs.

Installed to tomcat with "mvn install", but that's hardly helpful to know.

2)

(in the project directory where I just built and installed the webapp)

$ java -jar target/mushup/WEB-INF/lib/shell-1.0-rc1-SNAPSHOT.jar
NOTE: No port or RMI name specified, using default port 1337 and name 'shell'.
Welcome to NeoShell
Available commands: quit
Use man  for info about each command.
neo-sh (0)$ man
Available commands: quit
Use man  for info about each command.
neo-sh (0)$ ls
(me) --[MUSICBRAINZ]--> (4)
(me) --[INDEX_SERVICE]--> (1)

As you can see, the shell is working, it's just that the command
listing seems wrong. Are you saying that you get a different (correct)
listing on some other platform? That sounds very odd to me.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Great, actually you could start by sending my the exact commands you
>  use to start neo/shell (simplified jar-filenames in my examples):
>
>  o Are you starting neo separately with neo.enableRemoteShell() and
>  connecting with it remotely, with something like:
> 1) $> java -cp target/classes:neo.jar:jta.jar:shell.jar
>  my.class.which.starts.MyNeoService
> 2) $> java -jar shell.jar
>  o Are you using only one jvm instance to run the neo service AND the
>  shell, something like:
> 1) $> java -cp neo.jar:jta.jar:shell.jar
>  org.neo4j.util.shell.StartRemoteClient path/to/neo/
>
>  Send the commands as precisely as possible.
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > Strange, I thought it was an oversight and not a bug as such. Anyway,
>  >  Ubuntu Hardy with Java 1.5 (sun-java5-jre 1.5.0-15-0ubuntu1). I can
>  >  send you debug printouts or whatever you need if you give me
>  >  instructions.
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > I'll try to reproduce it, what version of Ubuntu/Java are you using?
>  >  >
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  > Nope, I haven't explicitly included the shell, but doing so I get
>  >  >  >  shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the 
> only
>  >  >  >  command man knows about. This is hardly critical, but I guess you'd
>  >  >  >  want to fix it.
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  Philip
>  >  >  >
>  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  > Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
>  >  >  >  >
>  >  >  >  >  2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
>  >  >  >  >
>  >  >  >  > > Allright weird, and you have:
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  
>  >  >  >  >  >org.neo4j
>  >  >  >  >  >shell
>  >  >  >  >  >
>  >  >  >  >  >1.0-rc1-SNAPSHOT
>  >  >  >  >  >  
>  >  >  >  >  >
>  >  >  >  >  >  as well right? I just tried it, and it worked... using Mac OS 
> X Leopard.
>  >  >  >  >  >  (make sure you have the -SNAPSHOT)
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTEC

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Great, actually you could start by sending my the exact commands you
use to start neo/shell (simplified jar-filenames in my examples):

o Are you starting neo separately with neo.enableRemoteShell() and
connecting with it remotely, with something like:
1) $> java -cp target/classes:neo.jar:jta.jar:shell.jar
my.class.which.starts.MyNeoService
2) $> java -jar shell.jar
o Are you using only one jvm instance to run the neo service AND the
shell, something like:
1) $> java -cp neo.jar:jta.jar:shell.jar
org.neo4j.util.shell.StartRemoteClient path/to/neo/

Send the commands as precisely as possible.

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> Strange, I thought it was an oversight and not a bug as such. Anyway,
>  Ubuntu Hardy with Java 1.5 (sun-java5-jre 1.5.0-15-0ubuntu1). I can
>  send you debug printouts or whatever you need if you give me
>  instructions.
>
>
>
>  Philip
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > I'll try to reproduce it, what version of Ubuntu/Java are you using?
>  >
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  > Nope, I haven't explicitly included the shell, but doing so I get
>  >  >  shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the only
>  >  >  command man knows about. This is hardly critical, but I guess you'd
>  >  >  want to fix it.
>  >  >
>  >  >
>  >  >
>  >  >  Philip
>  >  >
>  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
>  >  >  >
>  >  >  >  2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
>  >  >  >
>  >  >  > > Allright weird, and you have:
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  
>  >  >  >  >org.neo4j
>  >  >  >  >shell
>  >  >  >  >
>  >  >  >  >1.0-rc1-SNAPSHOT
>  >  >  >  >  
>  >  >  >  >
>  >  >  >  >  as well right? I just tried it, and it worked... using Mac OS X 
> Leopard.
>  >  >  >  >  (make sure you have the -SNAPSHOT)
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  > So... which versions should I use together? Currently I have
>  >  >  >  >  >
>  >  >  >  >  > 
>  >  >  >  >  >   org.neo4j
>  >  >  >  >  >   neo
>  >  >  >  >  >   1.0-rc1-SNAPSHOT
>  >  >  >  >  > 
>  >  >  >  >  >
>  >  >  >  >  > 
>  >  >  >  >  >   org.neo4j
>  >  >  >  >  >   index-util
>  >  >  >  >  >   0.4-SNAPSHOT
>  >  >  >  >  > 
>  >  >  >  >  >
>  >  >  >  >  >  Shouldn't rc1 include everything that b6 does? I moved to rc1 
> because
>  >  >  >  >  >  I got some ClassNotFoundException with neo-b6 and
>  >  >  >  >  >  index-utils-0.3-SNAPSHOT (I think).
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  Philip
>  >  >  >  >  >
>  >  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  > Oh, good (no windows) :)
>  >  >  >  >  >  >
>  >  >  >  >  >  >  It really should work with the latest 1.0-b6 version now, 
> try getting it from:
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  > Yep there's a b0rked dependency on lucene in index-utils, 
> that is on a
>  >  >  >  >  >  >  todo-list somewhere.
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  > No Windows for me, thanks. I'm running Ubuntu and the 
> jars that maven
>  >  >  >  >  >  >  >  has collected for me are:
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  > jta-1.0.1.jar
>  >  >  >  >  >  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  >  >  >  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude 
> it if I don't want it.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  > Oh, you're using Windows right? I guess that fix came 
> in after shell
>  >  >  >  >  >  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  I figure I could patch the b6 version with that fix 
> as well...
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  > > Thanks, I can now connect to my neo running in a 
> tomcat webapp. One
>  >  >  >  >  >  >  >  >  >  annoyance is that "man" says that the only 
> available command is
>  >  >  >  >  >  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
Strange, I thought it was an oversight and not a bug as such. Anyway,
Ubuntu Hardy with Java 1.5 (sun-java5-jre 1.5.0-15-0ubuntu1). I can
send you debug printouts or whatever you need if you give me
instructions.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> I'll try to reproduce it, what version of Ubuntu/Java are you using?
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > Nope, I haven't explicitly included the shell, but doing so I get
>  >  shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the only
>  >  command man knows about. This is hardly critical, but I guess you'd
>  >  want to fix it.
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
>  >  >
>  >  >  2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
>  >  >
>  >  > > Allright weird, and you have:
>  >  >  >
>  >  >  >
>  >  >  >  
>  >  >  >org.neo4j
>  >  >  >shell
>  >  >  >
>  >  >  >1.0-rc1-SNAPSHOT
>  >  >  >  
>  >  >  >
>  >  >  >  as well right? I just tried it, and it worked... using Mac OS X 
> Leopard.
>  >  >  >  (make sure you have the -SNAPSHOT)
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  > So... which versions should I use together? Currently I have
>  >  >  >  >
>  >  >  >  > 
>  >  >  >  >   org.neo4j
>  >  >  >  >   neo
>  >  >  >  >   1.0-rc1-SNAPSHOT
>  >  >  >  > 
>  >  >  >  >
>  >  >  >  > 
>  >  >  >  >   org.neo4j
>  >  >  >  >   index-util
>  >  >  >  >   0.4-SNAPSHOT
>  >  >  >  > 
>  >  >  >  >
>  >  >  >  >  Shouldn't rc1 include everything that b6 does? I moved to rc1 
> because
>  >  >  >  >  I got some ClassNotFoundException with neo-b6 and
>  >  >  >  >  index-utils-0.3-SNAPSHOT (I think).
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  Philip
>  >  >  >  >
>  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  > Oh, good (no windows) :)
>  >  >  >  >  >
>  >  >  >  >  >  It really should work with the latest 1.0-b6 version now, try 
> getting it from:
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  > Yep there's a b0rked dependency on lucene in index-utils, that 
> is on a
>  >  >  >  >  >  todo-list somewhere.
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  > No Windows for me, thanks. I'm running Ubuntu and the jars 
> that maven
>  >  >  >  >  >  >  has collected for me are:
>  >  >  >  >  >  >
>  >  >  >  >  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >  >  >  >
>  >  >  >  >  >  > jta-1.0.1.jar
>  >  >  >  >  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  >  >  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >  >  >  >  >
>  >  >  >  >  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude it 
> if I don't want it.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  > Oh, you're using Windows right? I guess that fix came in 
> after shell
>  >  >  >  >  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  I figure I could patch the b6 version with that fix as 
> well...
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  > > Thanks, I can now connect to my neo running in a 
> tomcat webapp. One
>  >  >  >  >  >  >  >  >  annoyance is that "man" says that the only available 
> command is
>  >  >  >  >  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  >  >  >  >  >  > Oh btw, sorry I meant that that it's the neo 
> jar file which isn't
>  >  >  >  >  >  >  >  >  >  the latest.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  You can download it here:
>  >  >  >  >  >  >  >  >  >  
> http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  You could probably download the latest shell as 
> well :) :
>  >  >  >  >  >  >  >  >  >  
> http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  > > Looks like the mailing list doesn't like 
> attachments.
>  >  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  >
>  >  >  > 

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
I'll try to reproduce it, what version of Ubuntu/Java are you using?

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> Nope, I haven't explicitly included the shell, but doing so I get
>  shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the only
>  command man knows about. This is hardly critical, but I guess you'd
>  want to fix it.
>
>
>
>  Philip
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
>  >
>  >  2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
>  >
>  > > Allright weird, and you have:
>  >  >
>  >  >
>  >  >  
>  >  >org.neo4j
>  >  >shell
>  >  >
>  >  >1.0-rc1-SNAPSHOT
>  >  >  
>  >  >
>  >  >  as well right? I just tried it, and it worked... using Mac OS X 
> Leopard.
>  >  >  (make sure you have the -SNAPSHOT)
>  >  >
>  >  >
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  > So... which versions should I use together? Currently I have
>  >  >  >
>  >  >  > 
>  >  >  >   org.neo4j
>  >  >  >   neo
>  >  >  >   1.0-rc1-SNAPSHOT
>  >  >  > 
>  >  >  >
>  >  >  > 
>  >  >  >   org.neo4j
>  >  >  >   index-util
>  >  >  >   0.4-SNAPSHOT
>  >  >  > 
>  >  >  >
>  >  >  >  Shouldn't rc1 include everything that b6 does? I moved to rc1 
> because
>  >  >  >  I got some ClassNotFoundException with neo-b6 and
>  >  >  >  index-utils-0.3-SNAPSHOT (I think).
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  Philip
>  >  >  >
>  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  > Oh, good (no windows) :)
>  >  >  >  >
>  >  >  >  >  It really should work with the latest 1.0-b6 version now, try 
> getting it from:
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  > Yep there's a b0rked dependency on lucene in index-utils, that is 
> on a
>  >  >  >  >  todo-list somewhere.
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  > No Windows for me, thanks. I'm running Ubuntu and the jars 
> that maven
>  >  >  >  >  >  has collected for me are:
>  >  >  >  >  >
>  >  >  >  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >  >  >
>  >  >  >  >  > jta-1.0.1.jar
>  >  >  >  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  >  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >  >  >  >
>  >  >  >  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude it if I 
> don't want it.
>  >  >  >  >  >
>  >  >  >  >  >  Philip
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  > Oh, you're using Windows right? I guess that fix came in 
> after shell
>  >  >  >  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  I figure I could patch the b6 version with that fix as 
> well...
>  >  >  >  >  >  >
>  >  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >
>  >  >  >  >  >  > > Thanks, I can now connect to my neo running in a tomcat 
> webapp. One
>  >  >  >  >  >  >  >  annoyance is that "man" says that the only available 
> command is
>  >  >  >  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  > Oh btw, sorry I meant that that it's the neo jar 
> file which isn't
>  >  >  >  >  >  >  >  >  the latest.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  You can download it here:
>  >  >  >  >  >  >  >  >  
> http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  You could probably download the latest shell as well 
> :) :
>  >  >  >  >  >  >  >  >  
> http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  > > Looks like the mailing list doesn't like 
> attachments.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  >  >  >  >  >  >  > Hi, now I'm back (the brain behind the neo 
> shell :) ).
>  >  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  >  For starters, the "Not in transaction" bug was 
> only found in the
>  >  >  >  >  >  >  >  >  >  >  1.0-b6 release. It's fixed though, only the 
> shell download link
>  >  >  >  >  >  >  >  >  >  >  doesn't refer to the latest jar file! Could 
> someone please fix that!
>  >  >  >  >  >  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as 
> well). There's also no
>  >  >  >  >  >  >  >

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
Nope, I haven't explicitly included the shell, but doing so I get
shell-1.0-rc1-SNAPSHOT.jar instead. However, "quit" is still the only
command man knows about. This is hardly critical, but I guess you'd
want to fix it.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.
>
>  2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
>
> > Allright weird, and you have:
>  >
>  >
>  >  
>  >org.neo4j
>  >shell
>  >
>  >1.0-rc1-SNAPSHOT
>  >  
>  >
>  >  as well right? I just tried it, and it worked... using Mac OS X Leopard.
>  >  (make sure you have the -SNAPSHOT)
>  >
>  >
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  > So... which versions should I use together? Currently I have
>  >  >
>  >  > 
>  >  >   org.neo4j
>  >  >   neo
>  >  >   1.0-rc1-SNAPSHOT
>  >  > 
>  >  >
>  >  > 
>  >  >   org.neo4j
>  >  >   index-util
>  >  >   0.4-SNAPSHOT
>  >  > 
>  >  >
>  >  >  Shouldn't rc1 include everything that b6 does? I moved to rc1 because
>  >  >  I got some ClassNotFoundException with neo-b6 and
>  >  >  index-utils-0.3-SNAPSHOT (I think).
>  >  >
>  >  >
>  >  >
>  >  >  Philip
>  >  >
>  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Oh, good (no windows) :)
>  >  >  >
>  >  >  >  It really should work with the latest 1.0-b6 version now, try 
> getting it from:
>  >  >  >
>  >  >  >
>  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  > Yep there's a b0rked dependency on lucene in index-utils, that is on 
> a
>  >  >  >  todo-list somewhere.
>  >  >  >
>  >  >  >
>  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  > No Windows for me, thanks. I'm running Ubuntu and the jars that 
> maven
>  >  >  >  >  has collected for me are:
>  >  >  >  >
>  >  >  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >  >
>  >  >  >  > jta-1.0.1.jar
>  >  >  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >  >  >
>  >  >  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude it if I 
> don't want it.
>  >  >  >  >
>  >  >  >  >  Philip
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  > Oh, you're using Windows right? I guess that fix came in after 
> shell
>  >  >  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >  >  >
>  >  >  >  >  >  I figure I could patch the b6 version with that fix as well...
>  >  >  >  >  >
>  >  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >
>  >  >  >  >  > > Thanks, I can now connect to my neo running in a tomcat 
> webapp. One
>  >  >  >  >  >  >  annoyance is that "man" says that the only available 
> command is
>  >  >  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  Philip
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  > Oh btw, sorry I meant that that it's the neo jar 
> file which isn't
>  >  >  >  >  >  >  >  the latest.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  You can download it here:
>  >  >  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  You could probably download the latest shell as well :) 
> :
>  >  >  >  >  >  >  >  
> http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  >  >  >  >  >  > Hi, now I'm back (the brain behind the neo shell 
> :) ).
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  For starters, the "Not in transaction" bug was 
> only found in the
>  >  >  >  >  >  >  >  >  >  1.0-b6 release. It's fixed though, only the shell 
> download link
>  >  >  >  >  >  >  >  >  >  doesn't refer to the latest jar file! Could 
> someone please fix that!
>  >  >  >  >  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). 
> There's also no
>  >  >  >  >  >  >  >  >  >  assumption of an empty (or non-empty) database so 
> you don't have to do
>  >  >  >  >  >  >  >  >  >  that reference node thingies.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  >  As for the shell being started without a neo 
> instance already started
>  >  >  >  >  >  >  >  >  >  (just passing in the path to the neo store), that 
> functionality got
>  >  >  >  >  >  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  > 

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Yep, all that's in 1.0-b6 is in 1.0-rc1 as well.

2008/5/5 Mattias Persson <[EMAIL PROTECTED]>:
> Allright weird, and you have:
>
>
>  
>org.neo4j
>shell
>
>1.0-rc1-SNAPSHOT
>  
>
>  as well right? I just tried it, and it worked... using Mac OS X Leopard.
>  (make sure you have the -SNAPSHOT)
>
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > So... which versions should I use together? Currently I have
>  >
>  > 
>  >   org.neo4j
>  >   neo
>  >   1.0-rc1-SNAPSHOT
>  > 
>  >
>  > 
>  >   org.neo4j
>  >   index-util
>  >   0.4-SNAPSHOT
>  > 
>  >
>  >  Shouldn't rc1 include everything that b6 does? I moved to rc1 because
>  >  I got some ClassNotFoundException with neo-b6 and
>  >  index-utils-0.3-SNAPSHOT (I think).
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Oh, good (no windows) :)
>  >  >
>  >  >  It really should work with the latest 1.0-b6 version now, try getting 
> it from:
>  >  >
>  >  >
>  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >
>  >  >
>  >  >
>  >  > Yep there's a b0rked dependency on lucene in index-utils, that is on a
>  >  >  todo-list somewhere.
>  >  >
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  > No Windows for me, thanks. I'm running Ubuntu and the jars that maven
>  >  >  >  has collected for me are:
>  >  >  >
>  >  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >  >
>  >  >  > jta-1.0.1.jar
>  >  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >  >
>  >  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't 
> want it.
>  >  >  >
>  >  >  >  Philip
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  > Oh, you're using Windows right? I guess that fix came in after 
> shell
>  >  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >  >
>  >  >  >  >  I figure I could patch the b6 version with that fix as well...
>  >  >  >  >
>  >  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >
>  >  >  >  > > Thanks, I can now connect to my neo running in a tomcat webapp. 
> One
>  >  >  >  >  >  annoyance is that "man" says that the only available command 
> is
>  >  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >  >
>  >  >  >  >  >  Philip
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  > Oh btw, sorry I meant that that it's the neo jar file 
> which isn't
>  >  >  >  >  >  >  the latest.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  You can download it here:
>  >  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >  >  >
>  >  >  >  >  >  >  You could probably download the latest shell as well :) :
>  >  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >  >
>  >  >  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >
>  >  >  >  >  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  For starters, the "Not in transaction" bug was only 
> found in the
>  >  >  >  >  >  >  >  >  1.0-b6 release. It's fixed though, only the shell 
> download link
>  >  >  >  >  >  >  >  >  doesn't refer to the latest jar file! Could someone 
> please fix that!
>  >  >  >  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). 
> There's also no
>  >  >  >  >  >  >  >  >  assumption of an empty (or non-empty) database so 
> you don't have to do
>  >  >  >  >  >  >  >  >  that reference node thingies.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  As for the shell being started without a neo 
> instance already started
>  >  >  >  >  >  >  >  >  (just passing in the path to the neo store), that 
> functionality got
>  >  >  >  >  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  / Mattias
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt 
> <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so 
> if there are some
>  >  >  >  >  >  >  >  >  >  >  assumptions made that there will acutally be 
> something there, it is
>  >  >  >  >  >  >  >  >  >  >  not so.
>  >  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Allright weird, and you have:

 
   org.neo4j
   shell
   1.0-rc1-SNAPSHOT
 

as well right? I just tried it, and it worked... using Mac OS X Leopard.
(make sure you have the -SNAPSHOT)

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> So... which versions should I use together? Currently I have
>
> 
>   org.neo4j
>   neo
>   1.0-rc1-SNAPSHOT
> 
>
> 
>   org.neo4j
>   index-util
>   0.4-SNAPSHOT
> 
>
>  Shouldn't rc1 include everything that b6 does? I moved to rc1 because
>  I got some ClassNotFoundException with neo-b6 and
>  index-utils-0.3-SNAPSHOT (I think).
>
>
>
>  Philip
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Oh, good (no windows) :)
>  >
>  >  It really should work with the latest 1.0-b6 version now, try getting it 
> from:
>  >
>  >
>  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >
>  >
>  >
>  > Yep there's a b0rked dependency on lucene in index-utils, that is on a
>  >  todo-list somewhere.
>  >
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  > No Windows for me, thanks. I'm running Ubuntu and the jars that maven
>  >  >  has collected for me are:
>  >  >
>  >  >  neo-1.0-rc1-SNAPSHOT.jar
>  >  >
>  >  > jta-1.0.1.jar
>  >  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  >  index-util-0.4-20080430.070359-1.jar
>  >  >
>  >  >  and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't 
> want it.
>  >  >
>  >  >  Philip
>  >  >
>  >  >
>  >  >
>  >  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Oh, you're using Windows right? I guess that fix came in after shell
>  >  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >  >
>  >  >  >  I figure I could patch the b6 version with that fix as well...
>  >  >  >
>  >  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >
>  >  >  > > Thanks, I can now connect to my neo running in a tomcat webapp. One
>  >  >  >  >  annoyance is that "man" says that the only available command is
>  >  >  >  >  "quit", which is obviously untrue.
>  >  >  >  >
>  >  >  >  >  Philip
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  > Oh btw, sorry I meant that that it's the neo jar file 
> which isn't
>  >  >  >  >  >  the latest.
>  >  >  >  >  >
>  >  >  >  >  >  You can download it here:
>  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >  >
>  >  >  >  >  >  You could probably download the latest shell as well :) :
>  >  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >  >
>  >  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >  >
>  >  >  >  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  For starters, the "Not in transaction" bug was only 
> found in the
>  >  >  >  >  >  >  >  1.0-b6 release. It's fixed though, only the shell 
> download link
>  >  >  >  >  >  >  >  doesn't refer to the latest jar file! Could someone 
> please fix that!
>  >  >  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). 
> There's also no
>  >  >  >  >  >  >  >  assumption of an empty (or non-empty) database so you 
> don't have to do
>  >  >  >  >  >  >  >  that reference node thingies.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  As for the shell being started without a neo instance 
> already started
>  >  >  >  >  >  >  >  (just passing in the path to the neo store), that 
> functionality got
>  >  >  >  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  / Mattias
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt 
> <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if 
> there are some
>  >  >  >  >  >  >  >  >  >  assumptions made that there will acutally be 
> something there, it is
>  >  >  >  >  >  >  >  >  >  not so.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  Quick comment: Mattias (the brain behind the Neo 
> shell) is super busy
>  >  >  >  >  >  >  >  >  right now and will then be on a plane for about 16 
> hours. But he'll
>  >  >  >  >  >  >  >  >  look into this as soon as he's back. There's for 
> certain nothing in
>  >  >  >  >  >  >  >  >  Neo shell that assumes a non-empty node space 
> though, so that's not
>  >  >  >  >  >  >  >  >  it.
>  >  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  >  Cheers,

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
So... which versions should I use together? Currently I have


  org.neo4j
  neo
  1.0-rc1-SNAPSHOT



  org.neo4j
  index-util
  0.4-SNAPSHOT


Shouldn't rc1 include everything that b6 does? I moved to rc1 because
I got some ClassNotFoundException with neo-b6 and
index-utils-0.3-SNAPSHOT (I think).

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Oh, good (no windows) :)
>
>  It really should work with the latest 1.0-b6 version now, try getting it 
> from:
>
>
>  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>
>
>
> Yep there's a b0rked dependency on lucene in index-utils, that is on a
>  todo-list somewhere.
>
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  > No Windows for me, thanks. I'm running Ubuntu and the jars that maven
>  >  has collected for me are:
>  >
>  >  neo-1.0-rc1-SNAPSHOT.jar
>  >
>  > jta-1.0.1.jar
>  >  shell-1.0-rc1-20080319.221229-7.jar
>  >  index-util-0.4-20080430.070359-1.jar
>  >
>  >  and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't want 
> it.
>  >
>  >  Philip
>  >
>  >
>  >
>  >  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Oh, you're using Windows right? I guess that fix came in after shell
>  >  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >  >
>  >  >  I figure I could patch the b6 version with that fix as well...
>  >  >
>  >  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >
>  >  > > Thanks, I can now connect to my neo running in a tomcat webapp. One
>  >  >  >  annoyance is that "man" says that the only available command is
>  >  >  >  "quit", which is obviously untrue.
>  >  >  >
>  >  >  >  Philip
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  > Oh btw, sorry I meant that that it's the neo jar file which 
> isn't
>  >  >  >  >  the latest.
>  >  >  >  >
>  >  >  >  >  You can download it here:
>  >  >  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >  >
>  >  >  >  >  You could probably download the latest shell as well :) :
>  >  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >  >
>  >  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >  >
>  >  >  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >  >  >  >
>  >  >  >  >  >  >  For starters, the "Not in transaction" bug was only found 
> in the
>  >  >  >  >  >  >  1.0-b6 release. It's fixed though, only the shell download 
> link
>  >  >  >  >  >  >  doesn't refer to the latest jar file! Could someone please 
> fix that!
>  >  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). There's 
> also no
>  >  >  >  >  >  >  assumption of an empty (or non-empty) database so you 
> don't have to do
>  >  >  >  >  >  >  that reference node thingies.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  As for the shell being started without a neo instance 
> already started
>  >  >  >  >  >  >  (just passing in the path to the neo store), that 
> functionality got
>  >  >  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  / Mattias
>  >  >  >  >  >  >
>  >  >  >  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >  >  >  >
>  >  >  >  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt 
> <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if 
> there are some
>  >  >  >  >  >  >  >  >  assumptions made that there will acutally be 
> something there, it is
>  >  >  >  >  >  >  >  >  not so.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  Quick comment: Mattias (the brain behind the Neo shell) 
> is super busy
>  >  >  >  >  >  >  >  right now and will then be on a plane for about 16 
> hours. But he'll
>  >  >  >  >  >  >  >  look into this as soon as he's back. There's for 
> certain nothing in
>  >  >  >  >  >  >  >  Neo shell that assumes a non-empty node space though, 
> so that's not
>  >  >  >  >  >  >  >  it.
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  Cheers,
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >  --
>  >  >  >  >  >  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  >  >  >  >  >  Neo Technology, www.neotechnology.com
>  >  >  >  >  >  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >  > > ___
>  >  >  >  >  >  >  >  Neo mailing list
>  >  >  >  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Oh, good (no windows) :)

It really should work with the latest 1.0-b6 version now, try getting it from:

http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar


Yep there's a b0rked dependency on lucene in index-utils, that is on a
todo-list somewhere.

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> No Windows for me, thanks. I'm running Ubuntu and the jars that maven
>  has collected for me are:
>
>  neo-1.0-rc1-SNAPSHOT.jar
>
> jta-1.0.1.jar
>  shell-1.0-rc1-20080319.221229-7.jar
>  index-util-0.4-20080430.070359-1.jar
>
>  and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't want it.
>
>  Philip
>
>
>
>  On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Oh, you're using Windows right? I guess that fix came in after shell
>  >  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>  >
>  >  I figure I could patch the b6 version with that fix as well...
>  >
>  >  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >
>  > > Thanks, I can now connect to my neo running in a tomcat webapp. One
>  >  >  annoyance is that "man" says that the only available command is
>  >  >  "quit", which is obviously untrue.
>  >  >
>  >  >  Philip
>  >  >
>  >  >
>  >  >
>  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Oh btw, sorry I meant that that it's the neo jar file which isn't
>  >  >  >  the latest.
>  >  >  >
>  >  >  >  You can download it here:
>  >  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >  >
>  >  >  >  You could probably download the latest shell as well :) :
>  >  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >  >
>  >  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >  >
>  >  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >  >  >
>  >  >  >  >  >  For starters, the "Not in transaction" bug was only found in 
> the
>  >  >  >  >  >  1.0-b6 release. It's fixed though, only the shell download 
> link
>  >  >  >  >  >  doesn't refer to the latest jar file! Could someone please 
> fix that!
>  >  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). There's 
> also no
>  >  >  >  >  >  assumption of an empty (or non-empty) database so you don't 
> have to do
>  >  >  >  >  >  that reference node thingies.
>  >  >  >  >  >
>  >  >  >  >  >  As for the shell being started without a neo instance already 
> started
>  >  >  >  >  >  (just passing in the path to the neo store), that 
> functionality got
>  >  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >  >
>  >  >  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >  >  >
>  >  >  >  >  >  / Mattias
>  >  >  >  >  >
>  >  >  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >  >  >
>  >  >  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL 
> PROTECTED]> wrote:
>  >  >  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if there 
> are some
>  >  >  >  >  >  >  >  assumptions made that there will acutally be something 
> there, it is
>  >  >  >  >  >  >  >  not so.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  Quick comment: Mattias (the brain behind the Neo shell) is 
> super busy
>  >  >  >  >  >  >  right now and will then be on a plane for about 16 hours. 
> But he'll
>  >  >  >  >  >  >  look into this as soon as he's back. There's for certain 
> nothing in
>  >  >  >  >  >  >  Neo shell that assumes a non-empty node space though, so 
> that's not
>  >  >  >  >  >  >  it.
>  >  >  >  >  >  >
>  >  >  >  >  >  >  Cheers,
>  >  >  >  >  >  >
>  >  >  >  >  >  >  --
>  >  >  >  >  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  >  >  >  >  Neo Technology, www.neotechnology.com
>  >  >  >  >  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  > > ___
>  >  >  >  >  >  >  Neo mailing list
>  >  >  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >  >  >
>  >  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  > ___
>  >  >  >  >  >  Neo mailing list
>  >  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >
>  >  >  >  > ___
>  >  >  >  >  Neo mailing list
>  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >  > ___
>  >  >  >  Neo mailing list
>  >  >  >  User@lists.neo4j.org
>  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >
>  >  >  >
>  >  >
>  >  > __

Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
No Windows for me, thanks. I'm running Ubuntu and the jars that maven
has collected for me are:

neo-1.0-rc1-SNAPSHOT.jar
jta-1.0.1.jar
shell-1.0-rc1-20080319.221229-7.jar
index-util-0.4-20080430.070359-1.jar

and lucene-core-2.3.1.jar, I suppose I should exclude it if I don't want it.

Philip

On 5/5/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Oh, you're using Windows right? I guess that fix came in after shell
>  1.0-b6. Should work just fine in neo/shell 1.0-rc1.
>
>  I figure I could patch the b6 version with that fix as well...
>
>  2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
>
> > Thanks, I can now connect to my neo running in a tomcat webapp. One
>  >  annoyance is that "man" says that the only available command is
>  >  "quit", which is obviously untrue.
>  >
>  >  Philip
>  >
>  >
>  >
>  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Oh btw, sorry I meant that that it's the neo jar file which isn't
>  >  >  the latest.
>  >  >
>  >  >  You can download it here:
>  >  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >  >
>  >  >  You could probably download the latest shell as well :) :
>  >  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >  >
>  >  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >  >
>  >  > > Looks like the mailing list doesn't like attachments.
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >  >
>  >  >  >  >  For starters, the "Not in transaction" bug was only found in the
>  >  >  >  >  1.0-b6 release. It's fixed though, only the shell download link
>  >  >  >  >  doesn't refer to the latest jar file! Could someone please fix 
> that!
>  >  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). There's also no
>  >  >  >  >  assumption of an empty (or non-empty) database so you don't have 
> to do
>  >  >  >  >  that reference node thingies.
>  >  >  >  >
>  >  >  >  >  As for the shell being started without a neo instance already 
> started
>  >  >  >  >  (just passing in the path to the neo store), that functionality 
> got
>  >  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >  >
>  >  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >  >
>  >  >  >  >  / Mattias
>  >  >  >  >
>  >  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >  >
>  >  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL 
> PROTECTED]> wrote:
>  >  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if there are 
> some
>  >  >  >  >  >  >  assumptions made that there will acutally be something 
> there, it is
>  >  >  >  >  >  >  not so.
>  >  >  >  >  >
>  >  >  >  >  >  Quick comment: Mattias (the brain behind the Neo shell) is 
> super busy
>  >  >  >  >  >  right now and will then be on a plane for about 16 hours. But 
> he'll
>  >  >  >  >  >  look into this as soon as he's back. There's for certain 
> nothing in
>  >  >  >  >  >  Neo shell that assumes a non-empty node space though, so 
> that's not
>  >  >  >  >  >  it.
>  >  >  >  >  >
>  >  >  >  >  >  Cheers,
>  >  >  >  >  >
>  >  >  >  >  >  --
>  >  >  >  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  >  >  >  Neo Technology, www.neotechnology.com
>  >  >  >  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >  >  >  >
>  >  >  >  >
>  >  >  >  > > ___
>  >  >  >  >  >  Neo mailing list
>  >  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >
>  >  >  >  > ___
>  >  >  >  >  Neo mailing list
>  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >  > ___
>  >  >  >  Neo mailing list
>  >  >  >  User@lists.neo4j.org
>  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >
>  >  >  >
>  >  >
>  >  > ___
>  >  >  Neo mailing list
>  >  >  User@lists.neo4j.org
>  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >
>  >  >
>  >
>  > ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  >
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Mattias Persson
Oh, you're using Windows right? I guess that fix came in after shell
1.0-b6. Should work just fine in neo/shell 1.0-rc1.

I figure I could patch the b6 version with that fix as well...

2008/5/5 Philip Jägenstedt <[EMAIL PROTECTED]>:
> Thanks, I can now connect to my neo running in a tomcat webapp. One
>  annoyance is that "man" says that the only available command is
>  "quit", which is obviously untrue.
>
>  Philip
>
>
>
>  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Oh btw, sorry I meant that that it's the neo jar file which isn't
>  >  the latest.
>  >
>  >  You can download it here:
>  >  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>  >
>  >  You could probably download the latest shell as well :) :
>  >  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>  >
>  >  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>  >
>  > > Looks like the mailing list doesn't like attachments.
>  >  >
>  >  >
>  >  >
>  >  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >  >
>  >  >  >  For starters, the "Not in transaction" bug was only found in the
>  >  >  >  1.0-b6 release. It's fixed though, only the shell download link
>  >  >  >  doesn't refer to the latest jar file! Could someone please fix that!
>  >  >  >  (I'll attach the right shell-1.0-b6.jar as well). There's also no
>  >  >  >  assumption of an empty (or non-empty) database so you don't have to 
> do
>  >  >  >  that reference node thingies.
>  >  >  >
>  >  >  >  As for the shell being started without a neo instance already 
> started
>  >  >  >  (just passing in the path to the neo store), that functionality got
>  >  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >  >
>  >  >  >  Hopefully this new jar will fix the problems.
>  >  >  >
>  >  >  >  / Mattias
>  >  >  >
>  >  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >  >
>  >  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL 
> PROTECTED]> wrote:
>  >  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if there are 
> some
>  >  >  >  >  >  assumptions made that there will acutally be something there, 
> it is
>  >  >  >  >  >  not so.
>  >  >  >  >
>  >  >  >  >  Quick comment: Mattias (the brain behind the Neo shell) is super 
> busy
>  >  >  >  >  right now and will then be on a plane for about 16 hours. But 
> he'll
>  >  >  >  >  look into this as soon as he's back. There's for certain nothing 
> in
>  >  >  >  >  Neo shell that assumes a non-empty node space though, so that's 
> not
>  >  >  >  >  it.
>  >  >  >  >
>  >  >  >  >  Cheers,
>  >  >  >  >
>  >  >  >  >  --
>  >  >  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  >  >  Neo Technology, www.neotechnology.com
>  >  >  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >  >  >
>  >  >  >
>  >  >  > > ___
>  >  >  >  >  Neo mailing list
>  >  >  >  >  User@lists.neo4j.org
>  >  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >  > ___
>  >  >  >  Neo mailing list
>  >  >  >  User@lists.neo4j.org
>  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >
>  >  >  >
>  >  >
>  >  > ___
>  >  >  Neo mailing list
>  >  >  User@lists.neo4j.org
>  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >
>  >  >
>  >
>  > ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  >
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-05-05 Thread Philip Jägenstedt
Thanks, I can now connect to my neo running in a tomcat webapp. One
annoyance is that "man" says that the only available command is
"quit", which is obviously untrue.

Philip

On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Oh btw, sorry I meant that that it's the neo jar file which isn't
>  the latest.
>
>  You can download it here:
>  http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar
>
>  You could probably download the latest shell as well :) :
>  http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar
>
>  2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
>
> > Looks like the mailing list doesn't like attachments.
>  >
>  >
>  >
>  >  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  >  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >  >
>  >  >  For starters, the "Not in transaction" bug was only found in the
>  >  >  1.0-b6 release. It's fixed though, only the shell download link
>  >  >  doesn't refer to the latest jar file! Could someone please fix that!
>  >  >  (I'll attach the right shell-1.0-b6.jar as well). There's also no
>  >  >  assumption of an empty (or non-empty) database so you don't have to do
>  >  >  that reference node thingies.
>  >  >
>  >  >  As for the shell being started without a neo instance already started
>  >  >  (just passing in the path to the neo store), that functionality got
>  >  >  there in the neo/shell -1.0-rc1 version.
>  >  >
>  >  >  Hopefully this new jar will fix the problems.
>  >  >
>  >  >  / Mattias
>  >  >
>  >  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >  >
>  >  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL 
> PROTECTED]> wrote:
>  >  >  >  >  I don't know why. Again, my nodespace is ∅ so if there are some
>  >  >  >  >  assumptions made that there will acutally be something there, it 
> is
>  >  >  >  >  not so.
>  >  >  >
>  >  >  >  Quick comment: Mattias (the brain behind the Neo shell) is super 
> busy
>  >  >  >  right now and will then be on a plane for about 16 hours. But he'll
>  >  >  >  look into this as soon as he's back. There's for certain nothing in
>  >  >  >  Neo shell that assumes a non-empty node space though, so that's not
>  >  >  >  it.
>  >  >  >
>  >  >  >  Cheers,
>  >  >  >
>  >  >  >  --
>  >  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  >  Neo Technology, www.neotechnology.com
>  >  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >  >
>  >  >
>  >  > > ___
>  >  >  >  Neo mailing list
>  >  >  >  User@lists.neo4j.org
>  >  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >  >
>  >  >  >
>  >  >
>  >  > ___
>  >  >  Neo mailing list
>  >  >  User@lists.neo4j.org
>  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >
>  >  >
>  >
>  > ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  >
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-04-30 Thread Mattias Persson
Oh btw, sorry I meant that that it's the neo jar file which isn't
the latest.

You can download it here:
http://m2.neo4j.org/org/neo4j/neo/1.0-b6/neo-1.0-b6.jar

You could probably download the latest shell as well :) :
http://m2.neo4j.org/org/neo4j/shell/1.0-b6/shell-1.0-b6.jar

2008/4/30 Philip Jägenstedt <[EMAIL PROTECTED]>:
> Looks like the mailing list doesn't like attachments.
>
>
>
>  On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
>  > Hi, now I'm back (the brain behind the neo shell :) ).
>  >
>  >  For starters, the "Not in transaction" bug was only found in the
>  >  1.0-b6 release. It's fixed though, only the shell download link
>  >  doesn't refer to the latest jar file! Could someone please fix that!
>  >  (I'll attach the right shell-1.0-b6.jar as well). There's also no
>  >  assumption of an empty (or non-empty) database so you don't have to do
>  >  that reference node thingies.
>  >
>  >  As for the shell being started without a neo instance already started
>  >  (just passing in the path to the neo store), that functionality got
>  >  there in the neo/shell -1.0-rc1 version.
>  >
>  >  Hopefully this new jar will fix the problems.
>  >
>  >  / Mattias
>  >
>  >  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>  >
>  > > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  I don't know why. Again, my nodespace is ∅ so if there are some
>  >  >  >  assumptions made that there will acutally be something there, it is
>  >  >  >  not so.
>  >  >
>  >  >  Quick comment: Mattias (the brain behind the Neo shell) is super busy
>  >  >  right now and will then be on a plane for about 16 hours. But he'll
>  >  >  look into this as soon as he's back. There's for certain nothing in
>  >  >  Neo shell that assumes a non-empty node space though, so that's not
>  >  >  it.
>  >  >
>  >  >  Cheers,
>  >  >
>  >  >  --
>  >  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  >  Neo Technology, www.neotechnology.com
>  >  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >  >
>  >
>  > > ___
>  >  >  Neo mailing list
>  >  >  User@lists.neo4j.org
>  >  >  https://lists.neo4j.org/mailman/listinfo/user
>  >  >
>  >  >
>  >
>  > ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  >
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-04-30 Thread Philip Jägenstedt
Looks like the mailing list doesn't like attachments.

On 4/30/08, Mattias Persson <[EMAIL PROTECTED]> wrote:
> Hi, now I'm back (the brain behind the neo shell :) ).
>
>  For starters, the "Not in transaction" bug was only found in the
>  1.0-b6 release. It's fixed though, only the shell download link
>  doesn't refer to the latest jar file! Could someone please fix that!
>  (I'll attach the right shell-1.0-b6.jar as well). There's also no
>  assumption of an empty (or non-empty) database so you don't have to do
>  that reference node thingies.
>
>  As for the shell being started without a neo instance already started
>  (just passing in the path to the neo store), that functionality got
>  there in the neo/shell -1.0-rc1 version.
>
>  Hopefully this new jar will fix the problems.
>
>  / Mattias
>
>  2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
>
> > On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL PROTECTED]> 
> > wrote:
>  >  >  I don't know why. Again, my nodespace is ∅ so if there are some
>  >  >  assumptions made that there will acutally be something there, it is
>  >  >  not so.
>  >
>  >  Quick comment: Mattias (the brain behind the Neo shell) is super busy
>  >  right now and will then be on a plane for about 16 hours. But he'll
>  >  look into this as soon as he's back. There's for certain nothing in
>  >  Neo shell that assumes a non-empty node space though, so that's not
>  >  it.
>  >
>  >  Cheers,
>  >
>  >  --
>  >  Emil Eifrém, CEO [EMAIL PROTECTED]
>  >  Neo Technology, www.neotechnology.com
>  >  Cell: +46 733 462 271 | US: 206 403 8808
>  >
>
> > ___
>  >  Neo mailing list
>  >  User@lists.neo4j.org
>  >  https://lists.neo4j.org/mailman/listinfo/user
>  >
>  >
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-04-30 Thread Mattias Persson
Hi, now I'm back (the brain behind the neo shell :) ).

For starters, the "Not in transaction" bug was only found in the
1.0-b6 release. It's fixed though, only the shell download link
doesn't refer to the latest jar file! Could someone please fix that!
(I'll attach the right shell-1.0-b6.jar as well). There's also no
assumption of an empty (or non-empty) database so you don't have to do
that reference node thingies.

As for the shell being started without a neo instance already started
(just passing in the path to the neo store), that functionality got
there in the neo/shell -1.0-rc1 version.

Hopefully this new jar will fix the problems.

/ Mattias

2008/4/28 Emil Eifrem <[EMAIL PROTECTED]>:
> On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  >  I don't know why. Again, my nodespace is ∅ so if there are some
>  >  assumptions made that there will acutally be something there, it is
>  >  not so.
>
>  Quick comment: Mattias (the brain behind the Neo shell) is super busy
>  right now and will then be on a plane for about 16 hours. But he'll
>  look into this as soon as he's back. There's for certain nothing in
>  Neo shell that assumes a non-empty node space though, so that's not
>  it.
>
>  Cheers,
>
>  --
>  Emil Eifrém, CEO [EMAIL PROTECTED]
>  Neo Technology, www.neotechnology.com
>  Cell: +46 733 462 271 | US: 206 403 8808
>
> ___
>  Neo mailing list
>  User@lists.neo4j.org
>  https://lists.neo4j.org/mailman/listinfo/user
>
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-04-27 Thread Emil Eifrem
On Sun, Apr 27, 2008 at 11:54 PM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  I don't know why. Again, my nodespace is ∅ so if there are some
>  assumptions made that there will acutally be something there, it is
>  not so.

Quick comment: Mattias (the brain behind the Neo shell) is super busy
right now and will then be on a plane for about 16 hours. But he'll
look into this as soon as he's back. There's for certain nothing in
Neo shell that assumes a non-empty node space though, so that's not
it.

Cheers,

-- 
Emil Eifrém, CEO [EMAIL PROTECTED]
Neo Technology, www.neotechnology.com
Cell: +46 733 462 271 | US: 206 403 8808
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] Re: Neo shell problems...

2008-04-27 Thread Philip Jägenstedt
I'm using shell-1.0-b6.jar, so perhaps I do need a cvs version...

About my NeoTest code, if I either comment out all 7 lines of
transaction code or just the line with getReferenceNode I get this
error forever in the shell:

java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException:
org.neo4j.impl.core.NotFoundException (no security manager: RMI class
loader disabled)

... and this forever in the terminal running NeoTest:

Apr 27, 2008 11:54:01 PM org.neo4j.impl.core.NodeManager getNodeById
SEVERE: Persistence error while trying to get node #0 by id.
org.neo4j.impl.persistence.PersistenceException:
org.neo4j.impl.transaction.NotInTransactionException: No transaction
found for current thread

I don't know why. Again, my nodespace is ∅ so if there are some
assumptions made that there will acutally be something there, it is
not so.

Philip

On 4/27/08, Peter Neubauer <[EMAIL PROTECTED]> wrote:
> Hi Philip,
>  what version of the Neo Shell are you using? I tried running with the
>  b6 version and ran into the same problem as you did. However,
>  everything seems to run fine using the trunk code, even the latest
>  RC1-SNAPSHOTS work fine (e.g.
>  
> http://m2.neo4j.org/org/neo4j/shell/1.0-rc1-SNAPSHOT/shell-1.0-rc1-20080319.221229-7.jar),
>  running against neo4j-1.0-b6. So, i think the docu should just be
>  updated with pointing out that b6 of the shell is not working as
>  expected.
>
>  As for the starting code for the NeoServer, I can't see a Transaction
>  being committed before the LocalNeoServer can accept NeoShell remote
>  requests ... at least not in the NeoShell code (see e.g.
>  StartRemoteClient,java, starting a LocalNeoShellServer.java which does
>  roughly what you have in the NeoTest code). Not sure why this has to
>  be there, what was the error you got without doing that?
>
>  WDYT?
>
>
>  /peter
>
>
>  On Sun, Apr 27, 2008 at 9:24 PM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  > With some hand-holding from Tobias I've come up with this minimal code
>  >  to get the thing working:
>  >
>  >  public class NeoTest {
>  >
>  > public enum MyRelationshipTypes implements RelationshipType {
>  > KNOWS
>  >
>  > }
>  >
>  > public static void main(String[] args) {
>  > final NeoService neo = new EmbeddedNeo("neobase");
>  >
>  > Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
>  > public void run() {
>  > System.out.println("Shutting down...");
>  > neo.shutdown();
>  > }
>  > }));
>  >
>  > neo.enableRemoteShell();
>  >
>  > // It appears that some transaction must be done for the shell
>  > // to work, so we get the reference node.
>  > Transaction tx = Transaction.begin();
>  > try {
>  > Node referenceNode = neo.getReferenceNode();
>  > tx.success();
>  > } finally {
>  > tx.finish();
>  > }
>  >
>  > while(true) {
>  > try{
>  > Thread.sleep(100);
>  > } catch (InterruptedException e) {
>  > // ignore
>  > }
>  > }
>  > }
>  >  }
>  >
>  >  Perhaps the wiki should be updated with a complete example such as
>  >  this, since the instructions for "Running the shell client without an
>  >  externally running neo service" are also broken.
>  >
>  >
>  >
>  >  Philip
>  >
>  >  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  >  > OK,
>  >  >
>  >  >  Frustration was running hight just now, so before anyone answers:
>  >  >
>  >  >  I'm not sure in what way, but I messed up my classpath. I've updated
>  >  >  http://wiki.neo4j.org/content/Neo_Shell_Guide to use the jar names
>  >  >  that are included in the current versions so that might help some.
>  >  >
>  >  >  However, I'm still getting
>  >  >
>  >  >  $ java -cp neo-1.0-b6.jar:jta-spec1_0_1.jar:shell-1.0-b6.jar
>  >  >
>  >  > org.neo4j.util.shell.StartRemoteClient neobase/
>  >  >  Can't start client shell: java.lang.NumberFormatException: For input
>  >  >  string: "neobase/"
>  >  >
>  >  >
>  >  > It seems that the first argument is being interpreted as an integer --
>  >  >  port number maybe?
>  >  >
>  >  >  Also, adding lines to the code that actuall "do" something
>  >  >  (neo.getReferenceNode()) seems to have made things less strange, the
>  >  >  program is now returning. Most people are probably wondering, like me,
>  >  >  how to get keep Java running and how to make it shut down nicely
>  >  >  (something about a timeout loop and a shutdown signal?) so adding that
>  >  >  to the example code would be helpful.
>  >  >
>  >  >
>  >  >  Philip
>  >  >
>  >  >
>  >  >  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  >  >  > Greetings.
>  >  >  >
>  >  >  >  Concerning http://wiki.neo4j.org/content/Neo_Shell_Guide
>  >  >  >
>  >  >

Re: [Neo] Re: Neo shell problems...

2008-04-27 Thread Peter Neubauer
Hi Philip,
what version of the Neo Shell are you using? I tried running with the
b6 version and ran into the same problem as you did. However,
everything seems to run fine using the trunk code, even the latest
RC1-SNAPSHOTS work fine (e.g.
http://m2.neo4j.org/org/neo4j/shell/1.0-rc1-SNAPSHOT/shell-1.0-rc1-20080319.221229-7.jar),
running against neo4j-1.0-b6. So, i think the docu should just be
updated with pointing out that b6 of the shell is not working as
expected.

As for the starting code for the NeoServer, I can't see a Transaction
being committed before the LocalNeoServer can accept NeoShell remote
requests ... at least not in the NeoShell code (see e.g.
StartRemoteClient,java, starting a LocalNeoShellServer.java which does
roughly what you have in the NeoTest code). Not sure why this has to
be there, what was the error you got without doing that?

WDYT?

/peter

On Sun, Apr 27, 2008 at 9:24 PM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
> With some hand-holding from Tobias I've come up with this minimal code
>  to get the thing working:
>
>  public class NeoTest {
>
> public enum MyRelationshipTypes implements RelationshipType {
> KNOWS
>
> }
>
> public static void main(String[] args) {
> final NeoService neo = new EmbeddedNeo("neobase");
>
> Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
> public void run() {
> System.out.println("Shutting down...");
> neo.shutdown();
> }
> }));
>
> neo.enableRemoteShell();
>
> // It appears that some transaction must be done for the shell
> // to work, so we get the reference node.
> Transaction tx = Transaction.begin();
> try {
> Node referenceNode = neo.getReferenceNode();
> tx.success();
> } finally {
> tx.finish();
> }
>
> while(true) {
> try{
> Thread.sleep(100);
> } catch (InterruptedException e) {
> // ignore
> }
> }
> }
>  }
>
>  Perhaps the wiki should be updated with a complete example such as
>  this, since the instructions for "Running the shell client without an
>  externally running neo service" are also broken.
>
>
>
>  Philip
>
>  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  > OK,
>  >
>  >  Frustration was running hight just now, so before anyone answers:
>  >
>  >  I'm not sure in what way, but I messed up my classpath. I've updated
>  >  http://wiki.neo4j.org/content/Neo_Shell_Guide to use the jar names
>  >  that are included in the current versions so that might help some.
>  >
>  >  However, I'm still getting
>  >
>  >  $ java -cp neo-1.0-b6.jar:jta-spec1_0_1.jar:shell-1.0-b6.jar
>  >
>  > org.neo4j.util.shell.StartRemoteClient neobase/
>  >  Can't start client shell: java.lang.NumberFormatException: For input
>  >  string: "neobase/"
>  >
>  >
>  > It seems that the first argument is being interpreted as an integer --
>  >  port number maybe?
>  >
>  >  Also, adding lines to the code that actuall "do" something
>  >  (neo.getReferenceNode()) seems to have made things less strange, the
>  >  program is now returning. Most people are probably wondering, like me,
>  >  how to get keep Java running and how to make it shut down nicely
>  >  (something about a timeout loop and a shutdown signal?) so adding that
>  >  to the example code would be helpful.
>  >
>  >
>  >  Philip
>  >
>  >
>  >  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  >  > Greetings.
>  >  >
>  >  >  Concerning http://wiki.neo4j.org/content/Neo_Shell_Guide
>  >  >
>  >  >  This document is very difficult to understand for me as someone who
>  >  >  has just studied a Java course on university level and written a few
>  >  >  smaller things. I just can't get it working.
>  >  >
>  >  >  The two lines of code I get are
>  >  >
>  >  >  NeoService neo = new EmbeddedNeo( "neo" );
>  >  >  neo.enableRemoteShell();
>  >  >
>  >  >  My first guess for a main-function (class called NeoShell)
>  >  >
>  >  > public static void main(String[] args) {
>  >  > NeoService neo = new EmbeddedNeo("neobase");
>  >  > neo.enableRemoteShell();
>  >  > }
>  >  >
>  >  >  $ java -classpath .:shell-1.0-b6.jar NeoShell
>  >  >
>  >  >  INFO: Shell library not available. Neo shell not started. Please add
>  >  >  the Neo4j shell jar to the classpath
>  >  >
>  >  >  OK, why can't I use the classpath flag? I copy the jar to
>  >  >  /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/ext/ and move along.
>  >  >  Starting the second time the program doesn't return. Seems good.
>  >  >
>  >  >  $ java -jar shell-1.0-b6.jar (only after also putting the jar in 
> ext...)
>  >  >
>  >  >  NOTE: No port or RMI name specified, using default port 1337 and name 
> 'shell'.
>  >  >  Welcome to NeoShell
>  >  >  Available commands: quit
>  >  >  Use man 

Re: [Neo] Re: Neo shell problems...

2008-04-27 Thread Peter Neubauer
Ok,
will try to update the examples according to your post, just
registered myself and have maybe some hour left tonight :)

/peter

On Sun, Apr 27, 2008 at 9:24 PM, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
> With some hand-holding from Tobias I've come up with this minimal code
>  to get the thing working:
>
>  public class NeoTest {
>
> public enum MyRelationshipTypes implements RelationshipType {
> KNOWS
>
> }
>
> public static void main(String[] args) {
> final NeoService neo = new EmbeddedNeo("neobase");
>
> Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
> public void run() {
> System.out.println("Shutting down...");
> neo.shutdown();
> }
> }));
>
> neo.enableRemoteShell();
>
> // It appears that some transaction must be done for the shell
> // to work, so we get the reference node.
> Transaction tx = Transaction.begin();
> try {
> Node referenceNode = neo.getReferenceNode();
> tx.success();
> } finally {
> tx.finish();
> }
>
> while(true) {
> try{
> Thread.sleep(100);
> } catch (InterruptedException e) {
> // ignore
> }
> }
> }
>  }
>
>  Perhaps the wiki should be updated with a complete example such as
>  this, since the instructions for "Running the shell client without an
>  externally running neo service" are also broken.
>
>
>
>  Philip
>
>  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  > OK,
>  >
>  >  Frustration was running hight just now, so before anyone answers:
>  >
>  >  I'm not sure in what way, but I messed up my classpath. I've updated
>  >  http://wiki.neo4j.org/content/Neo_Shell_Guide to use the jar names
>  >  that are included in the current versions so that might help some.
>  >
>  >  However, I'm still getting
>  >
>  >  $ java -cp neo-1.0-b6.jar:jta-spec1_0_1.jar:shell-1.0-b6.jar
>  >
>  > org.neo4j.util.shell.StartRemoteClient neobase/
>  >  Can't start client shell: java.lang.NumberFormatException: For input
>  >  string: "neobase/"
>  >
>  >
>  > It seems that the first argument is being interpreted as an integer --
>  >  port number maybe?
>  >
>  >  Also, adding lines to the code that actuall "do" something
>  >  (neo.getReferenceNode()) seems to have made things less strange, the
>  >  program is now returning. Most people are probably wondering, like me,
>  >  how to get keep Java running and how to make it shut down nicely
>  >  (something about a timeout loop and a shutdown signal?) so adding that
>  >  to the example code would be helpful.
>  >
>  >
>  >  Philip
>  >
>  >
>  >  On 4/27/08, Philip Jägenstedt <[EMAIL PROTECTED]> wrote:
>  >  > Greetings.
>  >  >
>  >  >  Concerning http://wiki.neo4j.org/content/Neo_Shell_Guide
>  >  >
>  >  >  This document is very difficult to understand for me as someone who
>  >  >  has just studied a Java course on university level and written a few
>  >  >  smaller things. I just can't get it working.
>  >  >
>  >  >  The two lines of code I get are
>  >  >
>  >  >  NeoService neo = new EmbeddedNeo( "neo" );
>  >  >  neo.enableRemoteShell();
>  >  >
>  >  >  My first guess for a main-function (class called NeoShell)
>  >  >
>  >  > public static void main(String[] args) {
>  >  > NeoService neo = new EmbeddedNeo("neobase");
>  >  > neo.enableRemoteShell();
>  >  > }
>  >  >
>  >  >  $ java -classpath .:shell-1.0-b6.jar NeoShell
>  >  >
>  >  >  INFO: Shell library not available. Neo shell not started. Please add
>  >  >  the Neo4j shell jar to the classpath
>  >  >
>  >  >  OK, why can't I use the classpath flag? I copy the jar to
>  >  >  /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/ext/ and move along.
>  >  >  Starting the second time the program doesn't return. Seems good.
>  >  >
>  >  >  $ java -jar shell-1.0-b6.jar (only after also putting the jar in 
> ext...)
>  >  >
>  >  >  NOTE: No port or RMI name specified, using default port 1337 and name 
> 'shell'.
>  >  >  Welcome to NeoShell
>  >  >  Available commands: quit
>  >  >  Use man  for info about each command.
>  >  >  org.neo4j.impl.persistence.PersistenceException:
>  >  >  org.neo4j.impl.transaction.NotInTransactionException: No transaction
>  >  >  found for current thread
>  >  >
>  >  >  The last message prints forever...
>  >  >
>  >  >  In the other terminal (where I started NeoShell) I get this:
>  >  >
>  >  >  Apr 27, 2008 7:37:56 PM org.neo4j.impl.core.NodeManager getNodeById
>  >  >  SEVERE: Persistence error while trying to get node #0 by id.
>  >  >  org.neo4j.impl.persistence.PersistenceException:
>  >  >  org.neo4j.impl.transaction.NotInTransactionException: No transaction
>  >  >  found for current thread
>  >  >
>  >  >  Until I kill the shell or NeoShell.
>  >  >
>  >  >  Last hope:
>  >  >
>  >