Hi Philippe,

the transactional attributes of the order bean (CMP) is Required

<assembly-descriptor>
    <container-transaction>
      <method>
        <ejb-name>JPasoOrder</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
  </assembly-descriptor>

The order bean is called from a jsp page in this simple mode

        OrderPK pk = new OrderPK(orderId);
        order = orderHome.findByPrimaryKey(pk);
        
The jps client don't start any transaction.

The difficult is that the problem appears randomly

Hope this help a little more

Thanks

                
                                Paolo
                                

>Date: Fri, 13 Oct 2000 14:15:10 +0200
>From: Philippe Durieux <[EMAIL PROTECTED]>
>Subject: Re: Possible bug in Activation process in JOnAS2.1/2.1.1
>To: Paolo Sommaruga <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>MIME-version: 1.0
>Content-transfer-encoding: 7bit
>X-Accept-Language: fr, en
>
>Paolo Sommaruga wrote:
>> 
>> Hi,
>> 
>> We have migrate our e-commerce demo from JOnAS 2.0 to 2.1/2.1.1
>> After several loading of entity beans, there is an apparently
>> random error like the following joint in the botton.
>> 
>> The application has intensively worked in the summer with JOnAS 2.0
>> whithout any problem (the URL is http://www.jpaso.com/jpaso/)
>> 
>       Hi,
>your problem seems interesting. I'll try to figure out what can
>lead to this situation but I need a little more information.
>Could you give me the transactional attributes used by your entity
>bean, and if you start transaction on your own or not ?
>If the entity bean order is called from another bean, can you give
>me its transactional attributes too ? (see .xml file)
>Thanks.
>-- 
>Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Bull - 1 rue de Provence - 38432 Echirolles Cedex France
>[EMAIL PROTECTED]
>-> Download our EJBServer at http://www.evidian.com/ejb <-

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to