[JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster
by ratrask
If I delete the table it will recreate it without an error, but the next time that it starts up it will throw the same exception again. The point of a persistant queue is tjhat the state is stored in it. :)
So I guess the question now is more a matter of what is the state of the system has it recovered from this error?
- nested throwable: (javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.
| arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted]
| Can't commit because the transaction is in aborted state)
When it talks about a transaction here, is it MSSQL transaction, or the XA monitor that JBoss is maintaining, or are they the same thing?
Rather than write a test.jsp I have some code that I can exercise the datasource with. Is there anything in particular that I should be testing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109463#4109463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109463
17 years, 1 month
[JBoss Seam] - Custom Validator? How?
by dparanhos
I could not make my custom validator work. It has an attribute and the attribute is always being null when the validate method is being called. Am I missing something?
My faces-config.xml
| <validator>
| <validator-id>LevelValidator</validator-id>
| <validator-class>br.gov.exercito.silog.validator.LevelValidator</validator-class>
| <property>
| <property-name>minimum</property-name>
| <property-class>java.math.BigDecimal</property-class>
| </property>
| </validator>
My facelet-taglib is:
| <tag>
| <tag-name>levelValidator</tag-name>
| <validator>
| <validator-id>LevelValidator</validator-id>
| </validator>
| </tag>
My xhtml code is:
| <h:inputText id="nbMaxLevel"
| value="#{levelHome.instance.nbMaxLevel}"
| size="20" maxlength="13">
| <fpf:levelValidator limit="5"/>
| </h:inputText>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109454#4109454
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109454
17 years, 1 month