How to change the location of neo4j messages.log file - neo4j

Is there a way to configure the location of messages.log file for the embedded webserver in neo4j 1.9.7

I don't think you can configure it, it will be in the same directory as the DB. However, you can specify remote logging via Logback, see http://docs.neo4j.org/chunked/1.9.7/kernel-configuration.html

Related

SFTP adapter on receive location not picking up files without extensions

I have on my receive location an SFTP adapter that should pick up files that contain no visible extension. As such I have set my file mask to *.*
I've previously been able to pick up the same kind of files using a FILE adapter. The receive location is enabled and the host instance is running.
This is how a file is displayed on the SFTP:
I receive no warnings or errors in my event log. What could be the cause for this?

JNDI: How to monitor Directory server for updates

I want to get notify whenever there is a CRUD operation on directory server. Can some body suggest me, is there any API, to monitor a directory for updates. My directory server is located in some other machine.
Directory Servers record the changes in their Change Log if it is enabled. For example in Oracle Internet Directory cn=changelog is located directly under Root DSE. You can use JNDI APIs to read changes recorded in change log.

Is there a way make a Grails app aware of changes in properties file without server restart?

I've externalized the properties file for my production Grails app running on Tomcat.
I'm wondering if there is a way the Grails app will read the configs from the config file in real time instead of having the changes take affect only after server restart.
For example, I'm using the LDAP plugin which has the following config:
grails.plugin.springsecurity.ldap.context.managerDn = 'somethinghere'
If I change the above setting in the external config file the server needs to be restarted for it to take effect.
I googled "grails external reload" and the first result was http://grails.org/plugin/external-config-reload

spring data neo4j, how to access database by broswer when database is loaded by tomcat

I use <neo4j:config storeDirectory="/neo4j/target/data/db"> to config my neo4j database path,
and when tomcat started, the database files are locked by tomcat, and I can't start it using Neo4j official start tool, so how can I access my database in broswer like localhost:7474, or can spring connect a lunched neo4j server like mysql? and then I can access it through broswer.
You can work with one graph instance from one place only. If you are using it via tomcat in your code you wont be able to start it from the community tool. You would need to stop your tomcat and then run the tool to view it in the browser.

Neo4J webadmin with password protection

Is it possible to have password protection on localhost:7474/webadmin? It is better if we put a htaccess and htpasswd files in the folder but I cannot find the folder webadmin lies. I believe if I find the path, I can protect it with password. Anyone who knows the folder path? The documentation does not say about it.
additional information: I'm using Ubuntu 12.04 and neo4j version is 1.8.
You can either use an apache proxy in front of Neo4j, see the manual
or look into something like the authentication-extension which supplies basic-auth.

Resources