tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: jvm cowardly refuses to print a thread dump
Date Wed, 03 Dec 2008 14:37:16 GMT

if its a bean make sure you 
declare your attributes as having either private or protected access
in the case of attribute called size contained in class FuBar
class FuBar
{
  public FuBar() { ; } //default no-arg constructor
  private int Size;
//declare accessor getSize
  public getSize()
 {
   return Size;
  }
//declare mutator setSize
  public setSize(int Size)
  {
   this.Size = Size;
  }
} //end class definition

HTH
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 




> From: Chuck.Caldarale@unisys.com
> To: users@tomcat.apache.org
> Date: Tue, 2 Dec 2008 08:47:05 -0600
> Subject: RE: jvm cowardly refuses to print a thread dump
> 
> > From: news [mailto:news@ger.gmane.org] On Behalf Of Oliver Schoett
> > Subject: Re: jvm cowardly refuses to print a thread dump
> >
> > Very likely you have unsynchronized accesses to the ArrayList
> 
> That's irrelevant for the size() method, where the entire code consists of this:
> 
>     public int size() {
>         return size;
>     }
> 
> Not much chance for a loop there...
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
You live life online. So we put Windows on the web. 
http://clk.atdmt.com/MRT/go/127032869/direct/01/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message