You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2017/03/13 16:41:41 UTC
[jira] [Comment Edited] (GEODE-2544) gfsh incorrectly reports that
tools.jar is required if
JAVA_ARGS=-Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true
[ https://issues.apache.org/jira/browse/GEODE-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907788#comment-15907788 ]
Swapnil Bawaskar edited comment on GEODE-2544 at 3/13/17 4:41 PM:
------------------------------------------------------------------
Since the attach API is disabled by default, this is no longer needed.
was (Author: swapnil.bawaskar):
Sicne the attach API is disabled by default, this is no longer needed.
> gfsh incorrectly reports that tools.jar is required if JAVA_ARGS=-Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-2544
> URL: https://issues.apache.org/jira/browse/GEODE-2544
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Reporter: Kirk Lund
> Assignee: Kirk Lund
>
> This behavior is incorrect. The ProcessControllerFactory should use FileProcessUtils instead of AttachProcessUtils without any error or warning.
> {noformat}
> <kl...@latvia>/home/klund/latvia/dev/geode [1042]$ export JAVA_ARGS=-Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true
> <kl...@latvia>/home/klund/latvia/dev/geode [1044]$ ./geode-assembly/build/install/apache-geode/bin/gfsh
> gfsh>start locator --name=loc1
> Starting a Geode Locator in /export/latvia1/users/klund/dev/geode/loc1...
> An error occurred while attempting to start a Locator in /export/latvia1/users/klund/dev/geode/loc1 on latvia.gemstone.com[10334]: The Attach API classes could not be found on the classpath. Please include JDK tools.jar on the classpath or add the JDK tools.jar to the jre/lib/ext directory.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)