Quantcast
Channel: VMware Communities : All Content - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 990

gfsh start server for remote debug

$
0
0

Hi

I am trying to start a server so i can do remote debug of function, here is my command

 

gfsh start server --name=myserver --dir=mydir --locators=localhost[41111] --server-port=41122 --properties-file=gemfire.properties --cache-xml-file=ServerCache.xml

--J=-agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=y

When i run this script i get

ERROR: JDWP Non-server transport dt_socket must have a connection address specified through the 'address=' option

ERROR: JDWP invalid option: -agentlib:jdwp=transport=dt_socket

 

what am i missing, is it possible to do so

 

I used to do

 

cacheserver start locators=localhost[41111] -server-port=41122 -J-DgemfirePropertyFile=../gemfire.properties -dir=server1

-J-Xdebug -J-runjdwp:transport=dt_socket,address=8000,server=y,suspend=n 

 

And this used to work fine,


Viewing all articles
Browse latest Browse all 990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>