Hi,
I have noticed that, at least older versions (5.1) of weblogic seems to have
a lower limit of max-beans-in-cache - I think it's 8.
Try set it to 10 - I think when you make number 11, the first will be
passivated.

kind regards
Hardy


On Thursday 08 August 2002 10:09 am, Hemant Arora wrote:
> Which App Server are you using
>
> I'm surprised all in the list are busy as no one has replied to this
> question :-(
>
>
>
>                     prasad.lanka@orbi
>                     tech.co.in              To:
> [EMAIL PROTECTED], [EMAIL PROTECTED] cc:
> [EMAIL PROTECTED] 08/08/02 01:23 PM       Subject:     RE:
> Max-beans-in-cahce
>
>
>
>
>
>
> Thanks hemant,
>
> But I put the statements in ejbActivate and ejbPassivate methods.  The same
> are
> not printing?
> I accessed the server at different intervals and from different machines.
> Its
> always creating a new object, but never passivating and activating?
>
> Though it does not work, but I put the max-beans-in-pool also to 1?
>
> The Stateful bean is using non serializable classes.  Can it be because of
> this.  But it has to throw "NonSerializableException", which it is not
> throwing..
>
> --prasad
>
> -----Original Message-----
> From: Hemant.Arora [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 08, 2002 1:13 PM
> To: Prasad Lanka
> Cc: Hemant.Arora; EJB-INTEREST
> Subject: Re: Max-beans-in-cahce
>
>
> Hi Prasad
>
> Max bean in cache will determine how many active beans can exist in the
> container
>
> for example as you have set it to 1 then if any more request come for new
> instance the
> container will passivate the already existing instance if it is not being
> used or not referenced for a long time.
> But teh instance is referenced and a new request comes then that will wait
> until the instance is passivated as
> you have set the max bean in cache to 1.
>
> See your server logs it must be showing the Activate and Passivate cycles
> if you had put system.outs in your activate and passivate
> methods
>
> Regards
> Hemant
>
>
>
>
>                     Prasad Lanka
>
>
>                     <prasad.lanka@ORBIT       To:
> [EMAIL PROTECTED]
>
>                     ECH.CO.IN>                cc:
>
>
>                     Sent by: A mailing        Subject:
> Max-beans-in-cahce
>
>                     list for Enterprise
>
>
>                     JavaBeans
>
>
>                     development
>
>
>                     <EJB-INTEREST@JAVA.
>
>
>                     SUN.COM>
>
>
>
>
>
>
>                     08/08/02 12:23 PM
>
>
>                     Please respond to
>
>
>                     prasad.lanka
>
>
>
>
>
>
>
>
>
>
> Hi,
>
> I am trying to passivate a StatefulSession bean?.
>
> In the weblogic-ejb-jar, I put 1 for max-beans-in-cahce.
>
> Even after putting this value, I am able to create two beans.  What does
> the
> term "max-beans-in-cache" mean.  The ejb doc says that max-beans-in-pool
> attribute does not relate to stateful session beans.  How many beans can I
> create, if the "max-beans-in-cache" does not work.
>
> Thanks,
> Prasad.
>
>
> -----Original Message-----
> From: suresh.kumar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 08, 2002 10:59 AM
> To: EJB-INTEREST
> Cc: suresh.kumar
> Subject: JDBC Thin Client character conversion problem
>
> Hi,
>     I am using JDBC thin driver to retrieve Arabic data (VARCHAR column) to
> display it in a web page from a Oracle8i databse with Character set
> AR8MSWIN1256. The problem is the driver returns some junk data (inverted
> question marks) instead of the expected data. The CLASSPATH contains both
> classes12.zip and nls_charset12.zip (i am using jdk 1.3). The documentation
> says that these two zip files will take care of the nesessary character set
> conversions.
>     Am i missing anything here? Do i have to do anything else apart from
> this?
> Please help to solve this problem.
>
> Thanks,
> Suresh
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>  << File: JDBC Thin Client character conversion problem.TXT >>
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
>
>
>
> -----------------------Disclaimer------------------------
>
> The views of the author may not necessarily reflect those
> of the Company. All liability is excluded to the extent
> permitted by law for any claims arising as a result of the
> use of this medium to transmit information by or to
> IT Solutions (India) Pvt. Ltd.
>
> We have taken precautions to minimize the risk of
> transmitting software viruses, but we advise you to
> carry out your own virus checks on any attachment to
> this message.  We cannot accept liability for any loss or
> damage caused by software viruses.
>
> ------------------------Disclaimer------------------------
>
>
>
>
>
>
> -----------------------Disclaimer------------------------
>
> The views of the author may not necessarily reflect those
> of the Company. All liability is excluded to the extent
> permitted by law for any claims arising as a result of the
> use of this medium to transmit information by or to
> IT Solutions (India) Pvt. Ltd.
>
> We have taken precautions to minimize the risk of
> transmitting software viruses, but we advise you to
> carry out your own virus checks on any attachment to
> this message.  We cannot accept liability for any loss or
> damage caused by software viruses.
>
> ------------------------Disclaimer------------------------
>
>
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

--
Hardy Henneberg
Konsulentfirmaet HHenneberg
Gr�nnevej 44
2830 Virum
Danmark
tel: (45) 26124565
http://www.hhenne.dk

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to