Hello folks.

It is my first time here. I tried to find a topic regarding this issue, but 
I just found very old 2 topics, that's why I decide to create a new one.

I am trying o access my data base, but I am getting this error :

Sorry, remote connections ('webAllowOthers') are disabled on this server.

I declared this option in my properties file that is called 
monitoring.properties and created a script to start H2.

Here is how I declared this option :

spring.h2.console.settings.web-allow-others=true

First I thought my properties file somehow was not being read, but when I 
did a reasearch in my log file, I found this :

2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[commandLineArgs]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletConfigInitParams]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletContextInitParams]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemProperties]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemEnvironment]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in [random]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties]
2017-05-16 11:01:45 DEBUG[main] PropertySourcesPropertyResolver:90 - Found 
key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties] with type [String] and value 'true'
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[commandLineArgs]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletConfigInitParams]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletContextInitParams]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemProperties]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemEnvironment]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in [random]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties]
2017-05-16 11:01:46 DEBUG[main] PropertySourcesPropertyResolver:90 - Found 
key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties] with type [String] and value 'true'
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[commandLineArgs]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletConfigInitParams]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletContextInitParams]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemProperties]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemEnvironment]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in [random]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties]
2017-05-16 11:01:47 DEBUG[main] PropertySourcesPropertyResolver:90 - Found 
key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties] with type [String] and value 'true'
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[commandLineArgs]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletConfigInitParams]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[servletContextInitParams]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemProperties]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[systemEnvironment]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in [random]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:81 - 
Searching for key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties]
2017-05-16 11:01:48 DEBUG[main] PropertySourcesPropertyResolver:90 - Found 
key 'spring.h2.console.settings.web-allow-others' in 
[applicationConfigurationProperties] with type [String] and value 'true'

Based on this file, it seems the option in my properties file is being 
read, I still getting no access to the console though.

Anyone had a similar issue or might bring me any light on this issue. Any 
clue will be truly appreciated.

As a newbie, if this topic is repeated or not clear enough, just let me 
know and I will take the appropriated action suggested.

Thanks a lot !!!

FabioC

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to