[JBossCache] - Re: JBossCache integration into WebLogic
by manik.surtani@jboss.com
anonymous wrote :
|
| <Aug 18, 2006 3:21:29 PM EDT> <BEA-050002> <Cannot replicate object that is bound in the JNDI under the name java:jbosscache.>
|
|
This is not an error. This is fine, you don't want BEA to replicate your cache instance. This is why you bind it to the java: JNDI namespace.
anonymous wrote :
|
| ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' org.jboss.cache.GenericTransactionManagerLookup - Failed to perform a lookup for [java:/TransactionManager (JBoss, JRun4)]
|
|
This is fine as well, the GenericTMLookup will cycle through a number of "known" locations where app servers bind their TMs. So there will be a few misses, but it will (should) find WL's TM when it searches for it. (You should see another log message to this effect)
Your second server will not be able to see java:jbosscache. This is expected. You need to deploy it on your second server as well, as per the instructions on the wiki. It is the *contents* of the cache that get transparently clustered, not the cache object itself.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966608#3966608
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966608
19 years, 8 months
[EJB 3.0] - Re: EntityManager.lock() issues
by mteira
Thanks for the answer and excuses for the delay into replaying again.
So, when is the transaction supposed to be commited? On exiting the MDB onMessage() embedding the entity creation?
What I want to get using the EntityManager.lock() method is to avoid other MDBs handling the INCR messages to modify concurrently the entities. Also, I want the modifications made by any of the MDB to be seen by the other ones. Something similar to the behaviour we got using 'SELECT FOR UPDATE' SQL clauses. Isn't that what EntityManager.lock() is used for?
Any other suggestion to get this pattern working on EJB3? I want a pool of MDBs handling requests for activity. These requests, when targetting the same entity, must get exclusive access to that entity.
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966607#3966607
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966607
19 years, 8 months
[JBoss Seam] - Seam support for JACC permissions
by tpnaidu79
Hi all,
I am new to Seam but I have meddled a bit with JACC support in JBossAS 4.0.4. I was wondering if Seam has any type of support in terms of APIs or hooks to control the rendering of JSF components based on Ejb method permission given through JACC. I know Seam has support for web-tier level permissions for JSF component rendering. I want to link JSF component rendering to ejb method permissions. For example; A certain button when clicked upon calls an ejb method, now if the user who logs in doesnt have the permission/role to run that method, I want him to not see the button which invokes the method on the front-end i.e; i want to not render the component. Is this kind of behaviour possible using Seam?
Thank you,
-P
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966605#3966605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966605
19 years, 8 months