I read in developer guide, as to configure Tomcat.See below
——————————————————————————————————————————-
Follow these steps to set this up:
1. Set the JPDA_TRANSPORT environment variable to dt_socket.
2. Set the JPDA_ADDRESS environment variable to 8000.
3. In Tomcat's startup script, change the line that invokes Catalina to include
jpda. On Linux, this looks like:
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"
4. Start Tomcat. You should see a message like "Listening for transport
dt_socket at address: 8000".
Getting Started with Alfresco
[ 54 ]
5. In Eclipse, go to the Debug Configuration dialog and create a new Remote
Java Application. Browse to the project you want to debug. Take the defaults
for everything else:
6. Click Debug.
——————————————————————————————————————————-
Now on the command "JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%"
for "developer guide" the parameters "set JPDA_ADDRESS=8000",
while on the command on the post
"set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n" is "JPDA_ADDRESS=4000".
the value is 4000.
which is right one?
thank you kindly