[JBoss-user] [EJB/JBoss] - A way to log locking of entities

2006-05-05 Thread ereze
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: How to prevent ApplicationDeadlockException with READ-ON

2006-05-05 Thread ereze
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: oracle and jdbc2 persistence manager

2006-01-02 Thread ereze
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 :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - No optimistic locking in JBoss

2006-01-01 Thread ereze
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

[JBoss-user] [EJB/JBoss] - Optimistic locking

2005-12-28 Thread ereze
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Does CMP2.x jdbc2 pm supports optimistic version fields?

2005-12-28 Thread ereze
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 :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP2.x jdbc2 pm configuration and version fields

2005-12-28 Thread ereze
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

[JBoss-user] [Security JAAS/JBoss] - Re: Subject not removed on session invalidation 3.2.7

2005-12-03 Thread ereze
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

[JBoss-user] [Security JAAS/JBoss] - Subject not removed on session invalidation 3.2.7

2005-12-02 Thread ereze
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

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - SessionDestroyed not called

2005-08-18 Thread ereze
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

[JBoss-user] [Persistence CMP/JBoss] - Re: read ahead ,collection and stateful session bean

2005-04-11 Thread ereze
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 :

[JBoss-user] [Persistence CMP/JBoss] - read ahead ,collection and stateful session bean

2005-04-10 Thread ereze
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

[JBoss-user] [Persistence CMP/JBoss] - Re: Why does JBoss load each column separately?

2005-04-07 Thread ereze
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

[JBoss-user] [Persistence CMP/JBoss] - bitwise AND

2005-04-04 Thread ereze
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 :

[JBoss-user] [Persistence CMP/JBoss] - CMR-field getXXX and deadlocks

2005-03-29 Thread ereze
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

[JBoss-user] [EJB/JBoss] - Locking Traces

2005-03-23 Thread ereze
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

[JBoss-user] [HTTPD, Servlets JSP] - General question

2005-02-18 Thread ereze
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

[JBoss-user] [Persistence CMP/JBoss] - DVC with xdoclet

2004-12-27 Thread ereze
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

[JBoss-user] [Security JAAS/JBoss] - Re: When flush JAAS cache

2004-12-22 Thread ereze
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 :

[JBoss-user] [Security JAAS/JBoss] - Re: When flush JAAS cache

2004-12-22 Thread ereze
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 :

[JBoss-user] [Management, JMX/JBoss] - from where to get JMX?

2004-12-22 Thread ereze
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 :

[JBoss-user] [Security JAAS/JBoss] - how to implement a change of user password?

2004-10-27 Thread ereze
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

[JBoss-user] [EJB/JBoss] - Re: connecting MySQL unicode problem

2004-08-04 Thread ereze
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

[JBoss-user] [EJB/JBoss] - SFSB problem

2004-08-04 Thread ereze
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

[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean

2004-08-04 Thread ereze
[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 :

[JBoss-user] [Security JAAS/JBoss] - principalsQuery and rolesQuery

2004-04-07 Thread ereze
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=

[JBoss-user] [Beginners Corner] - ClassLoading problems

2004-03-26 Thread ereze
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

[JBoss-user] [HTTPD, Servlets JSP] - class loading error

2004-03-07 Thread ereze
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

[JBoss-user] [Persistence CMP/JBoss] - Re: java.sql.Timestamp instead of java.util.Date

2004-02-29 Thread ereze
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 ---

[JBoss-user] [Installation Configuration] - Re: Need help with error page

2004-02-07 Thread ereze
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