[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
14 years, 11 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
14 years, 11 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
14 years, 11 months