Thanks for your response. Yes. I checked that page earlier. I use a different 
IDE and don't have problem to setup Tomcat JVM in debug mode.  It's been 
working for me until now when I try to debug the handlers deployed as modules 
in the AXIS2 webapp.  I can still debug into the code deployed in the aar.  It 
only doesn't work for classes in the mar file. I don't have any clue about 
where the problem could be. Hope someone done debugging the modules may share 
some idea.  
   
  We use a house-grown logging mechanism. The logging issue isn't so important 
since I can figure that out easily if the debug issue can be resolved.
   
  Shaoguang
  

Martin Gainty <[EMAIL PROTECTED]> wrote:
          Did you see these instructions for setting up DEBUG option in the JVM?
http://wso2.org/library/225
   
  To config commons-logging via logging.properties please reference this site
  
http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html

  Log4J is considerably more detailed and flexible as one can instantiate 
differing categories of Loggers,
  differing output destinations or appenders and differing layouts such as "%r 
[%t] %-5p %c - %m%n"
  http://logging.apache.org/log4j/docs/manual.html
   
  hope this helps,
  
Martin--
  This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

    ----- Original Message ----- 
  From: Shaoguang Cong 
  To: [email protected] 
  Sent: Friday, April 20, 2007 11:31 AM
  Subject: [AXIS2] Remote debug not working for modules
  

  I've been using remote debug for Axis and tomcat. With Axis 2, I can still 
debug into the service impl classes. But it seems my handler classes packaged 
in module aren't attached to the debugger.  I verified that the handler classes 
are invoked.  
   
  Anyone knows what could be wrong?  
   
  I also have a problem with logging of module.  The logging in the handler 
classes isn't written to the log file.  The Log is created with a 
ServletContextListenter when Tomcat starts. 
   
  Thx,
  Shaoguang
    
---------------------------------
  Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos. 

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to