...
Once the java option correctly set, you will need to restart the concerned component: Restart Datafari components /wiki/spaces/DATAFARI/pages/2852716547
After that you will be able to perform remote debug with your favorite IDE. For instance, using Eclipse as IDE, if we want to debug a servlet in the Datafari webapp, after having modified the setenv.sh file to enable remote debug on port 8696, we simply need to configure a debug configuration on the datafari-webapp module as follow:
...
Depending on your environment when working on the customer's Datafari, there are several ways to remote debug you can try:
Note |
---|
You must be connected to the customer’s VPN network. If you can’t launch debugging, check the connection to the server port: nc -zvw3 datafari_server_IP port, for example nc -zvw3 10.42.9.7 8696. If the connection fails, ask for the port to be opened for external use. |
First method
Considering the method explained above for local debug, there are 2 parameters to modify:
...