Re: How can I debug SimpleHttpServer in Eclipse

2010-12-06 Thread Michael Sailer
Hello Andreas, thank you for the script. Now it works. In my own script I had a typing error, which I saw as I made a diff on my debug options and yours. Kind regards Michael Sailer On 05.12.2010 22:07, Andreas Veithen wrote: On the trunk, the scripts accept an -xdebug option to put the serv

Re: How can I debug SimpleHttpServer in Eclipse

2010-12-05 Thread Andreas Veithen
On the trunk, the scripts accept an -xdebug option to put the server in debug mode (see AXIS2-4261). I've merged that to the 1.5 branch, and it should be available in the 1.5.4-SNAPSHOT build #107: https://hudson.apache.org/hudson/job/axis2-1.5/lastBuild/org.apache.axis2$distribution/ Once the bu

How can I debug SimpleHttpServer in Eclipse

2010-12-05 Thread Michael Sailer
Hello, how can I debug service code in Eclipse using the SimpleHttpServer. I modified the script axis2server.sh: JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8500" java "$JAVA_OPTS" -classpath "$AXIS2_CLASSPATH" org.apache.axis2.transport.SimpleAxis2Server \