[EJB/JBoss] - Unable to passivate due to ctx lock in JBoss-4.0.4GA
by syedtaj
Hi,
We are having loads of these errors in the logs in production after porting to JBoss4.0.4GA from JBoss3.2.3 :-
anonymous wrote : 2007-07-17 21:40:56,580 61910688 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] (Thread-37:) Unable to passivate due to ctx lock, id=192.168.128.105:1099:f48gb6cb-umb
| 2007-07-17 21:40:56,580 61910688 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] (Thread-37:) Unable to passivate due to ctx lock, id=192.168.128.105:1099:f48fdejr-ukx
| 2007-07-17 21:40:56,580 61910688 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] (Thread-37:) Unable to passivate due to ctx lock, id=192.168.128.105:1099:f48fdenp-ukz
|
Loads of them.
These are coming mostly after the afterCompletion() of the SFSB is called.
Is it related to the following JBAS-979:-
http://jira.jboss.com/jira/browse/JBAS-979
But the above had been fixed in Jboss4.0.4GA and I am using the same.
And once these start coming, the system becomes quite slow.
Can anyone provide me any pointers or direct me to anything specific.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065096#4065096
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065096
18Â years, 11Â months
[JBoss jBPM] - Re: LinkageError
by ricardomarques
Here's my definition:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="" name="condition">
| <swimlane name="default">
| <assignment expression="user(grover)"></assignment>
| </swimlane>
| <end-state name="fim"></end-state>
| <task-node name="which path">
| <task name="which path to follow" swimlane="default">
| <controller>
| <variable name="path" access="read,write,required"></variable>
| </controller>
| </task>
| <transition name="" to="decision"></transition>
| </task-node>
| <start-state name="start">
| <transition name="" to="which path"></transition>
| </start-state>
| <decision name="decision">
| <transition name="to right" to="right">
| <condition expression="#{ path == 'right' }" />
| </transition>
| <transition name="to left" to="left">
| <condition expression="#{ path == 'left' }" />
| </transition>
| </decision>
| <node name="left">
| <event type="node-enter">
| <action name="action1" class="actions.NotifyLeft"></action>
| </event>
| <transition name="from left" to="end"></transition>
| </node>
| <node name="right">
| <event type="node-enter">
| <action name="action1" class="actions.NotifyRight"></action>
| </event>
| <transition name="from right" to="end"></transition>
| </node>
| </process-definition>
|
When I come to task node and enter a value like "right" or "left", I run a TaskInstanceEndCommand to end the task and continue, when I do that the considtino is evaluated and the correct node is called (which prints a line on the console), then the Linkage Error pops up.
Debugging the application the error is raised on node.leave()
I'm trying to get a bit more detail where the error is raised, so clues and hints are welcome meantime :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065094#4065094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065094
18Â years, 11Â months
[JBoss Seam] - s:message with details but without id
by SunFire
I was wondering if there is a way in s:message to avoid rendering the component id.
For example if I am using a decorator like this
<div class="entry">
| <s:label styleClass="label #{invalid?'errors':''}">
| <ui:insert name="label"/>
| <s:span styleClass="required" rendered="#{required}">*</s:span>
| </s:label>
| <span class="input #{invalid?'errors':''}">
| <s:validateAll>
| <ui:insert/>
| </s:validateAll>
| </span>
| <div>
| <s:message styleClass="error errors"/>
| </div>
| <div class="description"><ui:insert name="description" /></div>
| </div>
when a field does fail a validation you get a "_id63": Value is required.from the <s:message styleClass="error errors"/> component. The message is fine but I don't want to see the id. Since the error message is close to the field that actually failed the validation it is not needed and only confuses the user.
I tried to turn off the details and turn on the summary and this avoids the ID but then the message will always just be "Validation error." or something nondescriptive like that.
Is there an easy way to do this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065092#4065092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065092
18Â years, 11Â months