You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Kirk Lund <kl...@apache.org> on 2017/03/10 03:02:50 UTC
Apache Geode no longer uses tools.jar or Attach API by default
I just committed the changes for GEODE-2594. With this change in place,
Apache Geode no longer uses or requires the tools.jar or Attach API by
default, and the gfsh scripts no longer add the tools.jar to the classpath.
This means anyone who is maintaining Docker images or anything similar can
update the image to use a JRE instead of the JDK.
First release with this change will be Apache Geode 1.2.0.
The following is the only visible change to users:
The --pid option for status locator, status server, stop locator, stop
server commands are deprecated in gfsh help and will not work by default.
If any user wants to use the --pid options, then you would need to add the
tools.jar to your CLASSPATH before using gfsh. No other changes should be
required.
commit 492d01add96f878d09e2193201c6354680900b3f
Author: Kirk Lund <kl...@apache.org>
Date: Wed Mar 8 14:13:14 2017 -0800
GEODE-2594: do not use Attach API or tools.jar by default
* remove tools.jar from classpath in gfsh and gfsh.bat
* remove use of Attach API from start commands
* deprecate --pid option in help of status and stop commands
If a user still wants to use the --pid option in status or
stop commands then they can manually add the tools.jar to
their classpath before launching gfsh.
Re: Apache Geode no longer uses tools.jar or Attach API by default
Posted by Udo Kohlmeyer <uk...@pivotal.io>.
+1 Awesome!
On 3/9/17 19:02, Kirk Lund wrote:
> I just committed the changes for GEODE-2594. With this change in place,
> Apache Geode no longer uses or requires the tools.jar or Attach API by
> default, and the gfsh scripts no longer add the tools.jar to the classpath.
>
> This means anyone who is maintaining Docker images or anything similar can
> update the image to use a JRE instead of the JDK.
>
> First release with this change will be Apache Geode 1.2.0.
>
> The following is the only visible change to users:
>
> The --pid option for status locator, status server, stop locator, stop
> server commands are deprecated in gfsh help and will not work by default.
> If any user wants to use the --pid options, then you would need to add the
> tools.jar to your CLASSPATH before using gfsh. No other changes should be
> required.
>
> commit 492d01add96f878d09e2193201c6354680900b3f
> Author: Kirk Lund <kl...@apache.org>
> Date: Wed Mar 8 14:13:14 2017 -0800
>
> GEODE-2594: do not use Attach API or tools.jar by default
>
> * remove tools.jar from classpath in gfsh and gfsh.bat
> * remove use of Attach API from start commands
> * deprecate --pid option in help of status and stop commands
>
> If a user still wants to use the --pid option in status or
> stop commands then they can manually add the tools.jar to
> their classpath before launching gfsh.
>
Re: Apache Geode no longer uses tools.jar or Attach API by default
Posted by William Markito Oliveira <wi...@gmail.com>.
That's awesome Kirk, thanks!
Sent from my iPhone
> On Mar 9, 2017, at 9:02 PM, Kirk Lund <kl...@apache.org> wrote:
>
> I just committed the changes for GEODE-2594. With this change in place,
> Apache Geode no longer uses or requires the tools.jar or Attach API by
> default, and the gfsh scripts no longer add the tools.jar to the classpath.
>
> This means anyone who is maintaining Docker images or anything similar can
> update the image to use a JRE instead of the JDK.
>
> First release with this change will be Apache Geode 1.2.0.
>
> The following is the only visible change to users:
>
> The --pid option for status locator, status server, stop locator, stop
> server commands are deprecated in gfsh help and will not work by default.
> If any user wants to use the --pid options, then you would need to add the
> tools.jar to your CLASSPATH before using gfsh. No other changes should be
> required.
>
> commit 492d01add96f878d09e2193201c6354680900b3f
> Author: Kirk Lund <kl...@apache.org>
> Date: Wed Mar 8 14:13:14 2017 -0800
>
> GEODE-2594: do not use Attach API or tools.jar by default
>
> * remove tools.jar from classpath in gfsh and gfsh.bat
> * remove use of Attach API from start commands
> * deprecate --pid option in help of status and stop commands
>
> If a user still wants to use the --pid option in status or
> stop commands then they can manually add the tools.jar to
> their classpath before launching gfsh.