title: Tomcat 5.5 Axis2 application scope problem - Unable to create single instance
body: <p>I have deployed an axis2 web service on Tomcat 5.5.  The web service functions as expected.  But I noticed I was getting duplicated log entries.  After researching it became clear that multiple instances of the class were being created - ie the first time it ran, one log entry; second time, two entries and so on.</p>
  
  <p>I added the scope="application" parameter, but that has not solved the problem.  I added it both in the service tag and as a separate parameter tag to no avail.</p>
  
  <p>This class has many key global variables, logging being one of them.  Frustrated as I am, I still haven't gotten to the point of deconstructing the globals (major overhaul, breaks code conventions in my department). Are global variables the culprit?  Or is there some other Tomcat/Axis2 config I am missing?</p>
  
  <p>Will post services.xml or other code upon request.</p>
  
  <p>Thanks in advance - Bill</p>