Hi all,

  I have Axis running as a webapp of Tomcat, and am wondering whether I
can share a static variable of a class between a  Tomcat Valve and
a Axis Handler?

  The following conceptually replicated what I tired:

  //In the Constructor of a Tomcat Valve
  ArmControl armControl = new ArmControl(...);
  armControl.armQueue = new ArmQueue(...);

  //armQueue is a STATIC member of class ArmControl

  //Then in an Axis Valve
  ArmQueue q = ArmControl.getArmQueue(...)//which returns the armQueue of
class ArmControl

  And then the whole thing hung....

  Any idea of what's going wrong? A ClassLoader problem again? Or i'm not
supposed to share Static variables between Tomcat and its webapp at all?

  Many thanks.

Best regards,

Rui


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to