[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-26 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875277#3875277

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875277


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-26 Thread cbradbury
Does anyone at JBoss want to comment on this bug?
I can supply a test case that replicates it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875260#3875260

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875260


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-21 Thread cbradbury
OK,
I've have managed to write a generic test case that can be used to prove that a 
CMP entity's attributes are rendered empty by the Commit Option D refresh 
thread even if you do not call the a find() method a second time.

Using a simple servlet (for want of a better way to talk to the EJBs) I first 
connected my servlet directly to a CMP entity bean. The entity bean transaction 
demarcation was set to RequiresNew.
In-between setting the attributes of the entity I suspended the current thread. 
This allowed the thread that controls the Commit Option D that controls the 
cache to perform a flush(). I then tested the values of the attributes that I 
had just set... and they were fine. Not a problem.

Next I introduced a session bean to act as a processor/proxy for the entity 
bean. The transaction demarcations were set to Required for the Entity bean, 
and RequiresNew for the session bean. The processor had a createEntity() method 
that would create a new entity instance and then start setting the values of 
the new entity's attributes. After setting a couple of attributes I again 
suspended the current thread to allow the flushing of the cache to take place. 
When I inspected the values of the attributes I had just set, they were empty!
The session bean had not performed anymore lookups or called anymore finder 
methods, and yet the entity it was working with had been completely reset.

This doesn't appear to be a particularly robust feature of JBoss, but it may be 
that I am choosing the wrong settings somewhere and would appreciate a little 
investigation into this matter.

I have an EAR file available that can be deployed to show this bug in action, 
but who do I submit it to?

Cheers,
Carl.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874893#3874893

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874893


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-19 Thread cbradbury
I've reviewed our code and the problem is occuring because we are defining the 
properties of an Entity as a one-to-many relationship between the Entity CMP 
bean and EntityProperty CMP beans:


  | relationships 
  |   ejb-relation 
  |  ejb-relation-nameOrder-OrderProperty/ejb-relation-name
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameproperty-associated-with-order/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | cascade-delete/
  | relationship-role-source 
  |ejb-nameOrderPropertyEntity/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-nameorderEntity/cmr-field-name
  | /cmr-field
  |  /ejb-relationship-role
  | 
  |  ejb-relationship-role 
  | 
ejb-relationship-role-nameorder-has-properties/ejb-relationship-role-name
  | multiplicityOne/multiplicity
  | relationship-role-source 
  |ejb-nameOrderEntity/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-nameorderProperties/cmr-field-name
  |cmr-field-typejava.util.Set/cmr-field-type
  | /cmr-field
  |  /ejb-relationship-role
  |   /ejb-relation
  |/relationships
  | 

Within our transaction we hold the reference to the OrderEntity bean, but not 
the OrderPropertyEntity beans, and it seems as if the latter are being flushed 
when the option-D refresh thread is triggered. That leaves the OrderEntity bean 
with references to empty OrderPropertyEntity beans.

(The JBoss documentation says that option D does not satisfy the EJB spec - is 
this why?)

Any ideas as to how we can work around this? 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874436#3874436

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874436


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-19 Thread cbradbury
Actually I managed to reproduce the problem even after removing the 
relationship (i.e. only setting fields that were not part of the relationship), 
so this is not the reason at all. Please ignore my last post.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874441#3874441

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874441


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-15 Thread cbradbury
Brilliant, thankyou!

I will go and examine our code and find out if  where the finder is being 
called again within the transaction that is persisting to the database.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874057#3874057

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874057


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-14 Thread cbradbury
Does anyone from JBoss actually read these forums?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3873901#3873901

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873901


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-14 Thread [EMAIL PROTECTED]
Yes.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3873936#3873936

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873936


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-14 Thread [EMAIL PROTECTED]
I guess, your problem is this
http://jira.jboss.com/jira/browse/JBAS-979

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3873942#3873942

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873942


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-08-13 Thread artism101
I too am having this problem. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845071#3845071

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845071


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-07-24 Thread loubyansky
I don't see it in a simple testcase. Any more info/instructions?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843148#3843148

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843148


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-07-23 Thread atait
Numerous posts about this.  Even a bug report regarding memory leaks, fixed in 3.2.4.  
I have upgrade from 3.2.2 to 3.2.5  Using the same config as davidmboon.  CMP1.1 EJBs 
with commit option C.  Jboss continues to report Unable to passivate due to ctx 
lock.  I have found little help in the documentation.  

Could really use some direction with this.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843133#3843133

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843133


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-07-15 Thread davidmboon
We only get these warnings when we extend a container, if we leave the container 
configuration blank the jboss.xml, which means we're using 'Standard CMP EntityBean' 
container, we don't get these warnings.

However when I extend the 'Standard CMP EntityBean' container, I also get these 
wranings


  | container-configuration extends=Standard CMP EntityBean
  |   container-nameDave CMP EntityBean/container-name
  |   
persistence-managerorg.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager/persistence-manager
  |   commit-optionC/commit-option
  | /container-configuration
  | 
  | 
so it seems that I get these warnings anytime I extend a container...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842313#3842313

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842313


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-03-14 Thread mmoinikunta

Hi.. 

Same problem CTX lock is occuring when working with jboss3.2.1..
Did anybody find any solution to this ..

any solution .. for this please let me know..

thanks..
Madhu

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825627#3825627;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825627Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user