11-17-2016 04:41 AM
02-25-2017 01:13 PM
Please provide more details as I dont understand your question.
using remote debug on Alfresco Activiti Enterprise takes no more than updating the start-activiti.sh as shown below:
#!/bin/sh
JAVA_OPTS="-Xms512m -Xmx1024m -XXermSize=512m"
export JAVA_OPTS
JAVA_HOME="/Applications/activiti/java"
export JAVA_HOME
JPDA_ADDRESS=5555
export JPDA_ADDRESS
JPDA_TRANSPORT=dt_socket
export JPDA_TRANSPORT
JPDA_SUSPEND=y
export JPDA_SUSPENDtrap 'actstop' SIGINT SIGTERM EXIT
actstop() {
trap '' SIGINT SIGTERM EXIT # ignore INT and TERM while shutting down
echo "**** Shutting down H2... ****" # added double quotes
sh /Applications/activiti/h2/stop-h2.sh
echo "**** Shutting down Tomcat... ****" # added double quotes
sh /Applications/activiti/tomcat/bin/catalina.sh stop
echo "**** DONE."
}sh /Applications/activiti/h2/start-h2.sh &
sh /Applications/activiti/tomcat/bin/catalina.sh jpda start &
wait
You will now be able to attach a debugger on port 5555.
Cheers,
Greg