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

2006-03-30 Thread supernova
I have a similar problem, but base on TimdBeans. I also get Rollbacks and even 
worse the TimedBean will no longer execute correctly!
I guess it mayb could be the same problem. My question is: How canI see if my 
transaction will be passivated (I'v got an export service and may send 0 to 
1500 files via FTP depending on the working queue)?
The sending is done in a session bean that will be called by the timed bean 
(stteless). May that be the same problem?
I also get the "Unable to passivate due to ctx lock" message in my log - and a 
Rollback cause by a CMP update (I save the date of the last export run in a 
database, so it seems to fail the next iteration).

Thanks,
Dennis

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933628#3933628

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933628


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-10-13 Thread shortcut
Urgent:
I get follow exceptions when deploy the application i JBOSS:

2005-10-13 14:24:34,804 WARN  [org.jboss.ejb.plugins.AbstractInstanceCache] 
Unable to passivate due to ctx lock, id=X-LOCAL-DIRECTOR-INSTANCE-TPK-X
2005-10-13 14:27:38,351 WARN  [org.jboss.ejb.plugins.AbstractInstanceCache] 
Unable to passivate due to ctx lock, id=eeqn34w5-s

My Jboss's version: 3.2.5

Please give me some help,
Thank in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900804#3900804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900804


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-07-28 Thread blackandwhite
Thanks Stefan for your reply. I will upgrade my jboss version.

I'd glad to discuss jboss problem with you, my email is [EMAIL PROTECTED]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887072#3887072

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887072


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-07-27 Thread smeier
Hi blackandwhite,

I'm quite sure I've read somewhere that this is a known bug in 3.2.1, but I 
don't know where. You should perhaps upgrade to the latest version.

Regards,
Stefan

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886788#3886788

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886788


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-07-24 Thread blackandwhite
Any ideas?

who can help me? 

thx!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886288#3886288

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886288


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-01-28 Thread natebowler
My bean has 4 Maps that are String->String[]  mappings, and has 4 other 
primitives.

It has 1 Class instance variable that is transient.

Is this the only possible cause for this error?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864015#3864015

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864015


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-01-16 Thread monowai
You are proably caching a shared resource as an instance variable.  Try making 
your instance variables transient

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862329#3862329

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862329


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: unable to passivate due to ctx lock

2004-04-14 Thread erikdhansen
It's inevitable -- once I post, I find something...

Bug: 780746 mentions a lock being created in Handle.getEJBObject that is never 
released.  As it turns out, I need to navigate at least one page in order to see this 
problem -- which involves retrieving the EJB Handle from the HTTP session and 
performing a getEJBObject.

https://sourceforge.net/tracker/?func=detail&atid=376685&aid=780746&group_id=22866

I hope someone else finds this useful.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830600#3830600

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830600


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-30 Thread jkraus
The TransactionRolledbackException above is caused by the following situtation we have:
At the client there are lookup to two stateful session beans... bean1 and bean2. When 
the client exits it calls ejbRemove for bean1 and bean2.
By the way... bean1 and bean2 are passivated in this situation.
bean1 can be removed without any problem, but when removing bean2 it looks like bean2 
has already been removed by the server or the application server tries to activate 
bean2 but bean2 has already been removed. This perhaps could be a bug: why should the 
server try to activate the session if it no longer exists.

I solved this special problem by removing bean2 before bean1 but I don't know why.

I have not solved the problem for "Unable to passivate due to ctx lock". It would be 
nice to get information about active transactions that are not closed.

JÃrgen

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828286#3828286

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828286


---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-26 Thread twgerber
Yes - it would be helpful to know the source of your problem as I might be having the 
same issue.  Also how did you track it down?

Thx


http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827680#3827680";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827680>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-24 Thread jkraus
"hswac" wrote : 
  | The problem left was of some other kind.
  | ...
  | 
  | Helmut, please could you give a hint, what was wrong in your configuration.
  | We also have installed 3.2.3 and now always get the warning "Unable to passivate 
due to ctx lock".
  | After a while the following exception occurs...
  | Do you know why?
  | 
  | Thanks.Juergen
  | 
  | ...
  | 15:16:34,698 INFO  [STDOUT] MischKalkulationContrEJB.setSessionContext
  | 15:16:34,557 ERROR [LogInterceptor] TransactionRolledbackException in method: 
public abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject() throws 
java.rmi.RemoteException, causedBy:
  | java.rmi.NoSuchObjectException: Could not activate; failed to restore state; 
CausedByException is:
  | 
C:\jboss-3.2.3\server\default\tmp\sessions\GraphVorplanungsContrEJB-ds7hplkq-9\ds7hpy80-b.ser
 (Das System kann die angegebene Datei nicht finden)
  | at 
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:116)
  | at 
org.jboss.ejb.StatefulSessionContainer.getEJBObject(StatefulSessionContainer.java:620)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | ...
  | 

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827231#3827231";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827231>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-17 Thread hswac
Adrian, you're right,  the 'unable to passivate bug' is fixed in 3.2.3. 
The problem left was of some other kind.

Thanks and regards
Helmut

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826237#3826237";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826237>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-16 Thread pilhuhn
I have seen similar things and it turned out to be a combination of not "cleaning up" 
and nulpointer exceptions further down in the excecution chain which triggered the 
TxRollback Exception.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825966#3825966";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825966>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-16 Thread [EMAIL PROTECTED]
The bug fix is in 3.2.3 and there are tests for this exact behaviour in the testsuite.
You have some other problem.
Try enabling TRACE logging for org.jboss.ejb.plugins so I can see what it is going on.

Regards,
Adrian

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825953#3825953";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825953>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-16 Thread hswac
Hi Adrian,

thanks for the answer. I tried 3.2.3. But the bug was not  fixed completely:

16:06:14,399 WARN  [AbstractInstanceCache] Unable to passivate due to ctx 
lock,id=drw40msp-40
16:06:19,506 ERROR [LogInterceptor] TransactionRolledbackException in method: public 
abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject() throws 
java.rmi.RemoteException, causedBy:
java.rmi.NoSuchObjectException: Could not activate; failed to restore state; 
CausedByException is:
C:\Programme\jboss-3.2.3\server\default\tmp\sessions\MyBean-drw3ajqv-2r
\drw40mvr-43.ser (Das System kann die angegebene Datei nicht finden)

I think, this corrensponds to bug 780746 reported in the bugs database.

Regards
Helmut

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825952#3825952";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825952>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-03-16 Thread [EMAIL PROTECTED]
It was fixed in 3.2.3

Regards,
Adrian

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825754#3825754";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825754>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user