Is there a way to log or trace the locking of entities while they are being
accessed ?
I am trying to solve deadlocks situations that are probably the result of load
access contention. In order to solve this I have tried to mark get* and is*
methods as read-only but that seems not to be
I have the same problem: methods marked with read-only but still lots of
deadlocks which obviously make our customer mad.
Any question I had regarding this issue was left unanswered by JBoss which I
guess does not have a clue too.
Maybe I need to come down from the JBoss and go with something
I am interested too in the new configuration of jdbc2 pm using the version
column for the optimistic lock state.
Have you found a solution?
Erez
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915212#3915212
Reply to the post :
Yes there is a configuration, and yes it deals with checking if the entity
status had changed from the last read before updating. BUT you have to make
real jumps and wish big time in order to deal with what happens when the update
fails. According to what I've seen.
A. No real answer from
To improve concurrency and to avoid deadlock I want to use Optimistic Locking
using object version field.
My system currently uses cache option A.
Is it true that in order to use Optimistic Locking I need to use cache option B
or C but NOT A? Do I have to use Instance Per Transaction container
Does the Configuration CMP 2.x jdbc2 pm in 3.2.6 supports the optimistic
locking version fields? Does it update them correctly?
Thanks,
Erez
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914593#3914593
Reply to the post :
I would like to use the new Cmp2.x jdbc2 pm.
I set the entity to use optimistic locking with version fields.
The application starts up and throws complains that the entity is missing the
version field. This did not happen in other container configuration like the
Standard CMP2.x Entity. Is this
In fact,
I dumped the XDoclet and written the jboss-web manually and inserted the
flushOnSessionInvalidation flag. It works fine.
The initial reason I moved to the 3.2.7 was that I read somewhere that maybe
3.2.7 solved a problem scheduling services not finding the scheduled class
after a
I am moving to 3.2.7 from 3.2.6. Problem is that when my application is calling
session.invalidate() for some reason the application seem to think that the
user is still logged in. Has that anything to do with the subject being saved?
or that new flag flushOnSessionInvalidation?
Since I am
I have a SessionListener class that Implements the HttpSessionListener
interface.
Everything works fine: On every new session tomcat does call the
sessionCreated().
BUT.. for some reason on some of the sessions that alreay timed-out the
sessionDestoryed() is not called.
(I am using JBoss
It would be nice if accessing an object in the collection caused (on-load)
other forward objects in the collection to be retrieved (selected). I guess I
would have to come up with some of my own code based solution.
Erez
View the original post :
I have a stateful session bean that keeps a collection of objects selected by
running a finder marked with on-load read ahead strategy.
Thing is, I think that the next call from my web app to the stateful session
bean, trying to run through some objects in the collection the preload cache or
I am seeing this behaviour too in one of my entities where no matter what the
CMP engine generates fires a seperate SQL SELECT query for each cmp field
accessed.
I am too, using 3.2.6, why is it happening when the default load-group is set
to '*'?
Thanks in advance,
Erez
View the original
It's a pitty but I can't seem to find a way to issue a bitwise AND:
?1 ^ ?2 = ?3 SQL command. Isn't there a way?
If only we could extend or add more function mappings to the
standardjboss-cmp.xml that would have solved it.
Any help would be appreciated here,
Erez
View the original post :
I am using JBoss 3.2.6 and I have a deadlock problems even after setting
read-only flag on methods that match the pattern: get* and is*.
I read the following about Resin:
anonymous wrote : By default, Resin knows that findXXX, ejbSelectXXX, and
cmp-field and cmr-field getXXX methods are read
Could someone show me how to turn on log traces of the EJB locking mechanism. I
wish to see those printed in the log but I can't find anything that causes them
to come up.
Thanks,
Erez
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3871237#3871237
Reply to
Is it wise or worthwhile to have Apache2 in front of JBoss/Tomcat using JK1.2
or is it ok in terms of performance to run solely on JBoss/Tomcat in the front
without Apache?
Thanks,
Erez
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3867041#3867041
Reply
I am trying to generate the dependent-value-class element using xdoclet
@jboss.dvc-property but I can't seem to get it to generate the element at all.
All I saw up to now was the tag @jboss.dvc-property which was a bit confusing
in his documentation. I don't really get it where to put the tag
Can someone please help?
I want to let users modify their username.
How can I flush the cache entry of this specific user and not
of the whole application?
Thanks in advance (hoping for some replies)
Erez
View the original post :
Can someone please help?
I want to let users modify their username.
How can I flush the cache entry of this specific user and not
of the whole application?
Thanks in advance (hoping for some replies)
Erez
View the original post :
I am a real newbie in this subject of JMX.
I am using MyEclipse/Eclipse JBoss 3.2.5 and I would like
to use JMX.
Do I need to download something to be able to
import javax.management.XXX?
If so, from where?
Thanks in advance,
newbie
View the original post :
Hi,
(I am running with JBoss 3.2.5.)
In my application the user can change his password. The change should
take effect immediately. But unfortunately the JBoss keep the user older credentials
in the cache for the amount of time specified where the default is 1800 seconds (30
min.).
First I
By the way, what version of MySQL ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844154#3844154
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844154
---
This SF.Net
Hi,
I have a statefull session bean that performs searching for the user and keeps the
searching results for paging though the results.
I have a page with a link to activate the search search. If I click it once the
search is fired and everything works nicely. If I click it twice faster I get
[EMAIL PROTECTED] wrote : Change the stateful session interceptor to synchronize
calls instead of throwing an exception or add a client interceptor that does the
synchronization on the client side.
How do you do that?
--Erez
View the original post :
Hi,
This kind of a newbie question. I have two entities Employee and User both have
'username' field. The username is unique in the namespace of two combined.
Currently I have the following in my login-config.xml (using
DatabaseServerLoginModule)
| module-option name=
Hi all,
In my efforts to work work with velocity to generate tempalted emails,
I got stuck with the classLoading problems, which I don't seem to pass.
I get the followig error:
Unable to find resource 'resources.UserLoginInfo.vm'
I tried a more general test to just load a simple properties
I am working with JBoss 3.2.3 with Tomcat 4.1.29, and Eclipse as the IDE.
I keep getting the following warning
org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader when I redeploy my application. what
does it mean? how can I solve it?
I don't know if it has something to do with it, but I work with
Anybody knows if this issue is fixed in 3.2.3?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3823475#3823475
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823475
---
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820614#3820614
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820614
I am having the same problems, and I use JAAS, is it a problem? I am using 3.2.1 with
Tomcat ,
Thanks
30 matches
Mail list logo