[JBoss JIRA] Created: (AS7-789) JPA subsystem: empty default DS
by Heiko Rupp (JIRA)
JPA subsystem: empty default DS
-------------------------------
Key: AS7-789
URL: https://issues.jboss.org/browse/AS7-789
Project: Application Server 7
Issue Type: Bug
Reporter: Heiko Rupp
Assignee: Jason Greene
Resource description for the JPA subsystem says
default-datasource is required
[domain@localhost:9999 subsystem=jpa] :read-resource-description(include-runtime=true,recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the JPA subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:jpa:1.0",
"attributes" => {"default-datasource" => {
"description" => "The name of the default global datasource.",
"type" => STRING,
"required" => true,
"min-length" => 0,
"access-type" => "read-write",
"storage" => "configuration"
}},
"operations" => undefined,
"children" => undefined
},
"compensating-operation" => undefined
}
But reading the resource shows an empty value
This looks wrong, as an empty value is for sure no valid data source name.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (AS7-716) "server-config/jvm<name>:remove()" creates inconsistent state
by Heiko Braun (JIRA)
"server-config/jvm<name>:remove()" creates inconsistent state
-------------------------------------------------------------
Key: AS7-716
URL: https://issues.jboss.org/browse/AS7-716
Project: Application Server 7
Issue Type: Bug
Components: Console
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: 7.0.0.CR1
After removing the jvm resource I get this:
[domain@localhost:9999 /] /host=local/server-config=server-one:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"path" => undefined,
"system-property" => undefined,
"interface" => undefined,
"jvm" => {},
"socket-binding-group" => undefined,
"socket-binding-port-offset" => undefined,
"name" => "server-one",
"group" => "main-server-group",
"auto-start" => true
},
"compensating-operation" => undefined
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (JBRULES-2976) DefaultMarshaller does not use supplied ObjectMarshallingStrategies
by Laird Nelson (JIRA)
DefaultMarshaller does not use supplied ObjectMarshallingStrategies
-------------------------------------------------------------------
Key: JBRULES-2976
URL: https://issues.jboss.org/browse/JBRULES-2976
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.2.0.M1, 5.2.0.M2, 5.2.0.CR1
Reporter: Laird Nelson
Assignee: Mark Proctor
DefaultMarshaller.java does not use the supplied ObjectMarshallingStrategy as far as I can tell.
When you create a Marshaller like this:
{code}
final Marshaller marshaller = MarshallerFactory.newMarshaller(knowledgeBase, new ObjectMarshallingStrategy[] { myStrategy });
assert marshaller != null;
{code}
And then use it like this (or similar):
{code}
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final ObjectOutputStream oos = new ObjectOutputStream(baos);
final DroolsObjectOutputStream doos = new DroolsObjectOutputStream(oos);
marshaller.marshall(doos, this.droolsSession);
{code}
...the supplied strategy's read() and write() methods are never called.
This is because DefaultMarshaller.java line 132 does not use the DefaultMarshaller's strategy, but the strategy of the incoming StatefulKnowledgeSession instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (JBRULES-2796) NullPointerException in FromNode.destroyCreatedHandles
by Tommy Odom (JIRA)
NullPointerException in FromNode.destroyCreatedHandles
------------------------------------------------------
Key: JBRULES-2796
URL: https://jira.jboss.org/browse/JBRULES-2796
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Reporter: Tommy Odom
Assignee: Mark Proctor
I received this NullPointerException after upgrading to drools 5.1.1. The NullPointerException is being thrown when the rule executes "update($build);" where $build is set in the LHS from a Build in working memory. I'm not sure if the bug is that matches may be null and a null check needs to be added or if something else is going on causing the tuple to not be found.
Caused by: java.lang.NullPointerException
at org.drools.reteoo.FromNode.destroyCreatedHandles(FromNode.java:336)
at org.drools.reteoo.FromNode.retractLeftTuple(FromNode.java:326)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:238)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateRetractRightTuple(CompositeLeftTupleSinkAdapter.java:155)
at org.drools.reteoo.JoinNode.retractRightTuple(JoinNode.java:151)
at org.drools.reteoo.ModifyPreviousTuples.retractTuples(ModifyPreviousTuples.java:126)
at org.drools.reteoo.EntryPointNode.modifyObject(EntryPointNode.java:176)
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1442)
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1349)
at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:183)
at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:196)
at buildSchedulerV2.Rule_Combine_Builds_0.defaultConsequence(Rule_Combine_Builds_0.java:36)
at buildSchedulerV2.Rule_Combine_Builds_0DefaultConsequenceInvoker.evaluate(Rule_Combine_Builds_0DefaultConsequenceInvoker.java:49)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:917)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months