[ 
https://issues.apache.org/jira/browse/GEODE-8091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102389#comment-17102389
 ] 

ASF GitHub Bot commented on GEODE-8091:
---------------------------------------

jujoramos commented on a change in pull request #5071:
URL: https://github.com/apache/geode/pull/5071#discussion_r422031225



##########
File path: 
geode-core/src/main/java/org/apache/geode/distributed/ConfigurationProperties.java
##########
@@ -1144,7 +1144,10 @@
    * <U>Allowed values</U>: true or false
    * </p>
    * <U>Since</U>: GemFire 8.0
+   *
+   * @deprecated Since Geode 1.6 use "import cluster-configuration" command 
instead
    */
+  @Deprecated

Review comment:
       Regular users will likely never notice this property is deprecated as 
they rarely check the source code. 
   The documentation is [already updated 
](https://github.com/apache/geode/blob/develop/geode-docs/tools_modules/gfsh/command-pages/start.html.md.erb#L393),
 though, but maybe it's a good idea to log a warning as part of the `start 
locator` command when the property is actually used?.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> AuthenticationRequiredException: Failed to find the authenticated user" at 
> startup when trying to start locator
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8091
>                 URL: https://issues.apache.org/jira/browse/GEODE-8091
>             Project: Geode
>          Issue Type: Bug
>          Components: configuration
>    Affects Versions: 1.12.0
>            Reporter: Jinmei Liao
>            Priority: Major
>
> when starting up a locator using --dir (the dir would have a cluster_config 
> directory that would have some jars deployed) and 
> --load-cluster-configuration-from-dir=true, and the locator has a security 
> manager, you get the following exception:
> gfsh>start locator --name=locator --dir=locator 
> --load-cluster-configuration-from-dir=true 
> --properties-file=locator.properties
> Starting a Geode Locator in /Users/jiliao/my_geode/tmp/locator.1.10...
> The Locator process terminated unexpectedly with exit status 1. Please refer 
> to the log file in /Users/jiliao/my_geode/tmp/locator.1.10 for full details.
> Exception in thread "main" 
> org.apache.geode.security.AuthenticationRequiredException: Failed to find the 
> authenticated user.
>     at 
> org.apache.geode.internal.security.IntegratedSecurityService.getSubject(IntegratedSecurityService.java:122)
>     at 
> org.apache.geode.distributed.internal.InternalConfigurationPersistenceService.getDeployedBy(InternalConfigurationPersistenceService.java:853)
>     at 
> org.apache.geode.distributed.internal.InternalConfigurationPersistenceService.readConfiguration(InternalConfigurationPersistenceService.java:845)
>     at 
> org.apache.geode.distributed.internal.InternalConfigurationPersistenceService.loadSharedConfigurationFromDir(InternalConfigurationPersistenceService.java:721)
>     at 
> org.apache.geode.distributed.internal.InternalConfigurationPersistenceService.initSharedConfiguration(InternalConfigurationPersistenceService.java:483)
>     at 
> org.apache.geode.distributed.internal.InternalLocator.startConfigurationPersistenceService(InternalLocator.java:1380)
>     at 
> org.apache.geode.distributed.internal.InternalLocator.startClusterManagementService(InternalLocator.java:779)
>     at 
> org.apache.geode.distributed.internal.InternalLocator.startCache(InternalLocator.java:774)
>     at 
> org.apache.geode.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:755)
>     at 
> org.apache.geode.distributed.internal.InternalLocator.startLocator(InternalLocator.java:386)
>     at 
> org.apache.geode.distributed.LocatorLauncher.start(LocatorLauncher.java:714)
>     at 
> org.apache.geode.distributed.LocatorLauncher.run(LocatorLauncher.java:621)
>     at 
> org.apache.geode.distributed.LocatorLauncher.main(LocatorLauncher.java:215)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to