I have found a workaround but it still doesn't give me the locking semantics that I would like. I have added a version number to my entity bean and added the @Version annotation.
This means that the MDBs can read dirty data but can't write after using it; this stops the symptoms but doesn't fix the cause. Does anyone know how I can completely lock an Entity within a transaction?
Regards
Doug
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959606#3959606
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959606
I apologize if this is a basic question, but I cannot find a clear answer in any of the documentation. I have JGroups configured to use TCP. I notice that when a new member joins the cluster, there seems to be traffic generated from port 1098, as well as the expected JGroups traffic on 11800. Is there an RMI call made when a new member joins the cluster? I'm suspecting this is how the new member registers itself with the existing member's HA partition?
Any info would be much appreciated, thank you in advance.
regards,
Anne
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959602#3959602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959602
Im not using JSF,
I implemented the code you described asn it worked , but I tried to do the "same" to the set method and it failed(something i did wrong
my code was:
| TaskController taskController = taskInstance.getTask().getTaskController();
| if (taskController!=null) {
| taskControler.submitParameters((TaskInstance) taskParameters);
| }
|
| is this kind of code/API described with examples?
|
| thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959601#3959601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959601
"rob.stryker(a)jboss.com" wrote : You've said you're using jboss3.2.7 but you've named it 4.x TRUNK. Which jboss version are you actually trying to use? =P
The 4.x TRUNK refers to the version of the product that I work on being deployed, not the version of JBoss. If you look back a couple of messages you will see I posted the following:
11:47:57,734 INFO [Server] JBoss (MX MicroKernel) [3.2.7 (build: CVSTag=JBoss_3_2_7 date=200501280217)] Started in 56s:922ms
Hope that answers your question :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959600#3959600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959600
Hey,
Btw, going a seocnd for the original subject of this post ;)
Is there any example of using multiple selection tags such as:
'selectManyListbox' ?
I'd like to see a collection set automatically and not a specific entity,
As I understand, the SelectItems annotation and the entityconverter together supports multiple selections and set selected items directly into the list?
Is there any example for this?
I tried the following code:
| <h:selectManyListbox id="xx" size="10" value="#{x.yList}" converter="org.jboss.seam.EntityConverter" required="true">
| <f:selectItems value="#{yList}"/>
| </h:selectManyListbox>
|
But I always get 'Validation Error: Value is not valid', also I can assure that EntityConverter does not even try to convert the values to objects...
Thanks a lot,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959599#3959599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959599
You have a variable packages (a datamodel) which you outject (using @DataModel) from PackageAction. You have a view which contains a datatable with a value #{packages}. Placing a Factory for "packages" on the on load() method will cause it to be run if the context variable packages is null (which I assume it is?). As the packages Factory method is part of the package seam component running it will cause the package component to be instantiated.
I'm assuming you don't have seam naming conflicts going on.
Try it and see ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959595#3959595
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959595