[JBoss JIRA] Created: (JBAS-8366) Failure to deploy a war file with JBoss 5.0
by Sasha Matison (JIRA)
Failure to deploy a war file with JBoss 5.0
-------------------------------------------
Key: JBAS-8366
URL: https://jira.jboss.org/browse/JBAS-8366
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ClassLoading
Affects Versions: JBossAS-5.0.0.GA
Environment: Windows 2003 R2 SP2, JBoss AS 5.0, JDK 1.6_16
Reporter: Sasha Matison
Assignee: Scott M Stark
Priority: Blocker
While deploying our war file with JBoss AS 5.0 we are getting the following error:
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
We are shipping the product with a version of Xerces-j 2.9.1. Removing this version from the product is not an option. Note that the war file used to work with JBoss 4.x.
This issue is blocking JBoss 5.0 testing. Please advise on the solution.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (JBRULES-3363) Add support to inline constraints on multi-function accumulate
by Edson Tirelli (JIRA)
Edson Tirelli created JBRULES-3363:
--------------------------------------
Summary: Add support to inline constraints on multi-function accumulate
Key: JBRULES-3363
URL: https://issues.jboss.org/browse/JBRULES-3363
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.4.0.Beta1
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.4.0.Beta2
FROM MARK:
===========
Edson,
While I don't want to change to acc/for keyword quite yet, until we are sure what drastic changes we want to make to syntax. I think we can evolve accumulate()
1) make the first ", " optionall [,;]. Where the documented new separate is ";"
2) functions are still "," separated
3) allow an optional second ";" after this boolean expression, an eval without the eval wrapper.
3. can be done now with a separate eval(....) after the accumulate. But I think good to encapsulate the intent of the guard within the accumulate itself, it's also another opportunity to remove the "eval" keyword for a common use case. For now we'll just rewrite the accumulate to place an eval() CE after the acc. It's a small win, which I think will make the DRL look nicer, especially for CEP use cases.
============
FROM EDSON:
============
Mark,
(1) and (2) are ok. Regarding (3), we can embed the expression in the accumulate node itself. No need for a separate node. And if we use ; as the separator, we don't need the eval() keyword.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (JBRULES-3466) sum with no matching values results in NPE on reverse
by Chris Dolan (JIRA)
Chris Dolan created JBRULES-3466:
------------------------------------
Summary: sum with no matching values results in NPE on reverse
Key: JBRULES-3466
URL: https://issues.jboss.org/browse/JBRULES-3466
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-planner
Affects Versions: 5.4.0.CR1
Environment: drools-planner 5.4.0-SNAPSHOT, snapshot downloaded on Apr 9, 2012
Reporter: Chris Dolan
Assignee: Geoffrey De Smet
I have a rule with this element in the when clause:
{noformat}
$beforePrediction : Number() from accumulate(
JobSlot(job != NULL_JOB, $j : job, $service == service, $ordinal > ordinal) and $p : Prediction(job == $j, service == $service),
sum($p.getMillisMid())
)
{noformat}
When I execute this I have cases where there are no matching Prediction instances, so the sum is zero. Later on retract, I get this:
{noformat}
Caused by: java.lang.NullPointerException: null
at org.drools.base.accumulators.SumAccumulateFunction.reverse(SumAccumulateFunction.java:83)
at org.drools.base.accumulators.JavaAccumulatorFunctionExecutor.reverse(JavaAccumulatorFunctionExecutor.java:130)
at org.drools.rule.Accumulate.reverse(Accumulate.java:208)
{noformat}
The relevant code is this:
{noformat}
public void accumulate(Serializable context,
Object value) {
SumData data = (SumData) context;
data.total += ((Number) value).doubleValue();
}
{noformat}
and this:
{noformat}
public void reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) throws Exception {
final Object value = ((JavaAccumulatorFunctionContext) context).reverseSupport.remove( Integer.valueOf( handle.getId() ) );
this.function.reverse( ((JavaAccumulatorFunctionContext) context).context,
value );
}
{noformat}
A breakpoint reveals that handle is a Prediction instance. Somehow that handle was not added to reverseSupport, apparently.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (AS7-3863) jgroups protocol order not retained
by Heiko Braun (JIRA)
Heiko Braun created AS7-3863:
--------------------------------
Summary: jgroups protocol order not retained
Key: AS7-3863
URL: https://issues.jboss.org/browse/AS7-3863
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
Fix For: 7.1.1.Final
the xml config:
{noformat}
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/>
<protocol type="MPING" socket-binding="jgroups-mping"/>
<protocol type="MERGE2"/>
<protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
<protocol type="FD"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="BARRIER"/>
<protocol type="pbcast.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
</stack>
{noformat}
the DMR response:
{noformat}
"protocol" => {
"FD_SOCK" => undefined,
"FD" => undefined,
"VERIFY_SUSPECT" => undefined,
"BARRIER" => undefined,
"FRAG2" => undefined,
"MERGE2" => undefined,
"pbcast.GMS" => undefined,
"UNICAST2" => undefined,
"UFC" => undefined,
"MFC" => undefined,
"pbcast.NAKACK" => undefined,
"pbcast.STABLE" => undefined,
"MPING" => undefined
},
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months