[JBoss JIRA] Created: (JBAS-4228) Preferred server HASingletonElectionPolicy
by Brian Stansberry (JIRA)
Preferred server HASingletonElectionPolicy
------------------------------------------
Key: JBAS-4228
URL: http://jira.jboss.com/jira/browse/JBAS-4228
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
An HASingletonElectionPolicy impl that allows configurable specification of a "preferred server". If the preferred server is running, it's the master, otherwise the master is deterministically selected based on the standard policy.
1) Determine if you are the preferred server by comparing you node name to the configured "preferred server" value.
2) When you get a view change, check if preferred server is in the view. If yes, and you're the preferred server, become master, otherwise don't. If preferred server is not in view, fall back on the base policy.
Have to make sure the mechanism of identifying and matching the "preferred server" is bullet proof (machine names vs. configuration-specified names vs. IP addresses, plus ports.)
--
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
18 years, 7 months
[JBoss JIRA] Created: (JBRULES-1110) Rules with 'From' condition with another not using From causes problem
by Arjun Dhar (JIRA)
Rules with 'From' condition with another not using From causes problem
----------------------------------------------------------------------
Key: JBRULES-1110
URL: http://jira.jboss.com/jira/browse/JBRULES-1110
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Decision tables, Reteoo
Affects Versions: 4.0.0.GA
Environment: Any
Reporter: Arjun Dhar
Assigned To: Mark Proctor
Test case:
Write a Rule that uses a From clause and on another object does not use a from clause:
example:
#From row number: 28
rule "Rules_28"
when
cntct: Contact(initialized==true)
config: BooleanConfiguration(value==true) from meta.getConfiguration(cntct.getClient(), "Param1")
pref: Relation(contact==cntct, type=="old") or (eval(false==true) and not Relation(contact==cntct, type=="old"))
then
System.out.println("Fired 28");
end
If All 3 are true:
1. Delete Condition 2 --> Rule fires
2. Delete COnditon 3 (But keep 2) --> Rule fires
3. Keep 2 & 3 (with 1) --> Rule does not fire
Whats strage is that conditon 1 does not use from and it works with condition 2 without any problem, but when 2 & 3 are there together the rule does not work.
Please see if it is a bug
--
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
18 years, 7 months
[JBoss JIRA] Created: (JBAS-4642) Fix org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase
by Dimitris Andreadis (JIRA)
Fix org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase
------------------------------------------------------
Key: JBAS-4642
URL: http://jira.jboss.com/jira/browse/JBAS-4642
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Test Suite
Reporter: Dimitris Andreadis
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.Beta3
The error message doesn't look very helpful:
testJavaBeanSchemaInitializerInterceptor Failure description expected:<...eanSchemaInitializer[ ]> but was:<...eanSchemaInitializer[]>
junit.framework.ComparisonFailure: description expected:<...eanSchemaInitializer[
]> but was:<...eanSchemaInitializer[]>
at org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase.testJavaBeanSchemaInitializerInterceptor(XMBean2UnitTestCase.java:129)
log snipet
...
2007-08-28 20:02:49,906 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true
2007-08-28 20:02:49,906 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] Using parser: org.apache.xerces.jaxp.SAXParserImpl@c79809, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2007-08-28 20:02:49,921 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@1ce784b, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2007-08-28 20:02:49,921 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] http://xml.org/sax/features/validation set to: true
2007-08-28 20:02:49,921 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] http://xml.org/sax/features/namespaces set to: true
2007-08-28 20:02:49,921 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true
2007-08-28 20:02:49,921 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] Using parser: org.apache.xerces.jaxp.SAXParserImpl@1ce784b, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.DescriptorSupportContainer] addChild, {urn:jboss-test:xmbean:2.0}interceptors,org.jboss.mx.metadata.xb.InterceptorsHolder@9934d4
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanConstructorInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,JNDIBindingService
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanConstructorInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The default no-arg constructor
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, access,read-write
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The root JNDI name of the context the bindings
are to be added under
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,RootName
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}type,java.lang.String
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, access,read-write
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The JNDI bindings to add under the RootName
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,Bindings
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanAttributeInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}type,org.jboss.naming.JNDIBindings
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, impact,ACTION_INFO
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The start lifecycle operation
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,start
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}return-type,void
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, impact,ACTION_INFO
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The stop lifecycle operation
2007-08-28 20:02:49,968 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,stop
2007-08-28 20:02:49,984 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanOperationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}return-type,void
2007-08-28 20:02:49,984 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanNotificationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}description,The bind event notification
2007-08-28 20:02:49,984 DEBUG [org.jboss.mx.metadata.xb.ModelMBeanNotificationInfoContainer] addChild, {urn:jboss-test:xmbean:2.0}name,bindEvent
2007-08-28 20:02:50,203 DEBUG [org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase] testJavaBeanSchemaInitializerInterceptor took 750ms
2007-08-28 20:02:50,203 DEBUG [org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase] ==== Stopping testJavaBeanSchemaInitializerInterceptor ====
2007-08-28 20:02:50,203 DEBUG [org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase] ==== tornDown org.jboss.test.xml.mbeanserver.XMBean2UnitTestCase ====
...
--
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
18 years, 7 months