Hello all,
I already found these ways of debugging:
1.) Setting web server debug settings at command prompt level:
set JAVA_OPTS=-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
In Eclipse then the setup of a Debug Configuration -> Remote Java Application
with localhost and port 8000.
Here my difficulty is that I do not manage to stop in any of the modules
(Rampart, Rahas or Addressing) although Im setting break points in the
associated source code. Is it necessary to recompile these module sources with
the break points included or is there any other way of debugging?
I saw that there is a way to use Tomcat with these parameters:
CATALINA_OPTS = -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Does this also work as well with the axis2 server (SimpleAxisServer)? Which
parameters are necessary?
When debugging, I furthermore do often run into timeouts.
org.apache.axis2.AxisFault: Time out while waiting for the server to send
the response.An error was reported by the web service: Time out while
waiting for the server to send the response.
at
org.apache.axis2.description.OutInAxisOperationClient$
SyncCallBack.waitForCompletion(OutInAxisOperation.java:497)
Where can I adapt the timeout interval to give me enough time for debugging?
2.) Making these log/trace settings:
At command prompt level:
SET JAVA_OPTS
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.showdatetime=true
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug
In the Java code:
System.setProperty("javax.net.debug", "all");
System.setProperty("java.security.debug", "all");
Are there any more log/trace/debug settings that can be done?
Which log4j settings are useful?
Thanks,
Thomas Poetter
Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr
Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional
60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star
Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in
der Arcor-Videothek. Infos unter www.arcor.de/tv
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]