[JBoss JIRA] Created: (JBCACHE-1303) Invalidation is not transactional
by Brian Stansberry (JIRA)
Invalidation is not transactional
---------------------------------
Key: JBCACHE-1303
URL: http://jira.jboss.com/jira/browse/JBCACHE-1303
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.0.CR4
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Invalidation is not transactional, particularly with optimistic locking.
1) With OL, the invalidation messages are sent in the afterCompletion() phase. So, if there is a problem with the invalidation it is too late to roll back the tx.
2) With PL, there is no handling of tx rollback (i.e. undo the invalidation). This is less of an issue, as it can be argued that not rolling back an invalidation doesn't leave a PL cache in an inconsistent state.
Will discuss in more detail on forum thread.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBRULES-1490) org.drools.util.AbstractHashTable$SingleIndex is not serializable
by Pedro Costa (JIRA)
org.drools.util.AbstractHashTable$SingleIndex is not serializable
-----------------------------------------------------------------
Key: JBRULES-1490
URL: http://jira.jboss.com/jira/browse/JBRULES-1490
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.4
Environment: windows xp, jdk 1.5.0.7
Reporter: Pedro Costa
Assigned To: Mark Proctor
Priority: Blocker
When serializing a working memory I get the following error:
Caused by: java.io.NotSerializableException: org.drools.util.AbstractHashTable$SingleIndex
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
............
I checked the docs and org.drools.util.AbstractHashTable$SingleIndex is not serializable ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBPORTAL-1939) JSF Validator cannot be cast to javax.faces.validator.Validator
by Alex Kachanov (JIRA)
JSF Validator cannot be cast to javax.faces.validator.Validator
----------------------------------------------------------------
Key: JBPORTAL-1939
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1939
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: Identity-1.0
Environment: JBoss Portal - Identity portlet
Reporter: Alex Kachanov
JBoss portal is using idenityt portlet to regster new users and edit profiles for existing users
I added new my own JSF validator to the identty portlet which when opened throws the following exception:
java.lang.ClassCastException: com.kachanov.test004.validators.MyValidator cannot be cast to javax.faces.validator.Validator
at org.apache.myfaces.application.ApplicationImpl.createValidator(ApplicationImpl.java:613)
The code of my validator is:
==========================================================
package com.kachanov.test004.validators;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;
public class MyValidator implements Validator {
public void validate(FacesContext arg0, UIComponent arg1, Object arg2) throws ValidatorException {
System.out.println("testing this validator");
}
}
==========================================================
So please thell me how can it bee that a class that implements Validator cannot be cast to javax.faces.validator.Validator??????
Is in't it against basic design of Java languages?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month