[JBoss JIRA] Created: (AS7-757) Provide an operation to distinguish domain & standalone
by Heiko Braun (JIRA)
Provide an operation to distinguish domain & standalone
-------------------------------------------------------
Key: AS7-757
URL: https://issues.jboss.org/browse/AS7-757
Project: Application Server 7
Issue Type: Enhancement
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
The console bootstraps form the domain model. It automatically decides to either launch the standalone or domain view. Currently we are checking for a top level "subsystem" element which only exists in standalone mode:
{
[INFO] "operation" => "read-children-names",
[INFO] "child-type" => "subsystem",
[INFO] "address" => []
[INFO] }
However this operation logs an error on the server side when running the domain mode:
[Host Controller] 15:40:15,052 WARN [org.jboss.as.controller] (HttpManagementService-threads - 9) operation ("read-children-names") failed - address: ([]): org.jboss.as.controller.OperationFailedException
[Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$ReadChildrenNamesOperationHandler.execute(GlobalOperationHandlers.java:304)
[Host Controller] at org.jboss.as.domain.controller.operations.ReadChildrenNamesHandler.execute(ReadChildrenNamesHandler.java:65)
In order to cleanup this bootstrap procedure and to remove the server side error, a custom operation to distinguish the two execution modes would be helpful.
i.e.
:get-meta-data()
{
"mode" => "standalone",
"api-version" => "1.0",
"some" => "other value"
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBMESSAGING-1849) Byte messages redelivered incorrectly if DefaultRedeliveryDelay=0 used
by Doug Grove (JIRA)
Byte messages redelivered incorrectly if DefaultRedeliveryDelay=0 used
----------------------------------------------------------------------
Key: JBMESSAGING-1849
URL: https://issues.jboss.org/browse/JBMESSAGING-1849
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.7.GA
Reporter: Doug Grove
Priority: Minor
Attachments: test-queue-service.xml
If DefaultRedeliveryDelay is set to 0 in messaging-service.xml (which is the default value) and the first delivery attempt fails, then all subsequent redeliveries (up to DefaultMaxDeliveryAttempts) are wrong. The result in redelivery is that the byte array returned from BytesMessage.readBytes(byte[]) contains only zeros (the length of the array is correct). Setting DefaultRedeliveryDelay to a value of 1 produces the expected behavior.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBRULES-1908) updated Drools docs content from SOA 4.2.CP03 Rules Guide
by Darrin Mison (JIRA)
updated Drools docs content from SOA 4.2.CP03 Rules Guide
---------------------------------------------------------
Key: JBRULES-1908
URL: https://jira.jboss.org/jira/browse/JBRULES-1908
Project: JBoss Drools
Issue Type: Task
Security Level: Public (Everyone can see)
Components: drools-docs-expert
Reporter: Darrin Mison
Assignee: Mark Proctor
I revised the language of the "Insertion" section while fixing a couple of reported grammatical errors for the 4.2.CP03 SOA Rules Guide.
The original language is the same in: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/soa_tags/4.3.0.FP01_B... , so these changes would also apply to the most recent docs.
Updated content below, the section ids are different but you get the idea ;-)
<section id="sect-JBoss_Rules_Reference_Manual-WorkingMemory_and_StatefulStateless_Sessions-Insertion">
<title>Insertion</title>
<para>
<firstterm>Insertion</firstterm> is the act of telling the WorkingMemory about the facts.
</para>
<important>
<para>
In many Expert Systems the term used for this concept is
<firstterm>assert</firstterm> or <firstterm>assertion</firstterm>.
However as the keyword <methodname>assert</methodname> is already used
in many languages, Drools uses the keyword & term <methodname>insert</methodname>.
You will often encounter these terms used interchangably in discussion of
Rules Engines.
</para>
</important>
<para>
When inserted, the rule is examined for matches against the rules. The work
of determining what rules to fire is done during insertion, but no rules are
executed at this time. The rules are executed when
<methodname>fireAllRules()</methodname> is called, and it should only be called
after you have inserted all your facts.
</para>
<para>
It is a common misconception that rule matching occurs when
<methodname>fireAllRules()</methodname> is called.
</para>
<para>
When an Object is inserted it returns a FactHandle. This FactHandle is the
token used to represent your inserted Object inside the WorkingMemory, it is
also how you will interact with the Working Memory when you wish to retract
or modify an object.
</para>
<programlisting language="java">Cheese stilton = new Cheese("stilton");
FactHandle stiltonHandle = session.insert( stilton );</programlisting>
<para>
As mentioned in
<xref linkend="sect-JBoss_Rules_Reference_Manual-The_Drools_Rule_Engine-RuleBase" />
a Working Memory can operate in two assertions modes: <firstterm>equality</firstterm>
and <firstterm>identity</firstterm>. Identity is the default mode. The assertion
mode determines how the Working Memory stores the facts and how it compares the
newly inserted fact to previously inserted ones. If the Working Memory
determines the fact to "be the same" as an already inserted one it will ignore
the new fact and return the FactHandle for the previously inserted one.
</para>
<variablelist>
<varlistentry>
<term>Identity</term>
<listitem>
<para>
Identity Mode uses an <classname>IdentityHashMap</classname>to store all
asserted Objects. New facts being inserted are compared to existing facts
"by reference". A new FactHandle will be returned if the object being
inserted is not a reference to an object that has been inserted previously.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Equality</term>
<listitem>
<para>
Equality Mode uses a <classname>HashMap</classname> to store all asserted
Objects. New facts being inserted are compared to existing facts "by value".
A new FactHandle will be returned if the content of the object is not
identical to that of a previously inserted object.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBRULES-3025) Regression: parser rebuts multiple bindings in constraint conjunction and disjunction
by Wolfgang Laun (JIRA)
Regression: parser rebuts multiple bindings in constraint conjunction and disjunction
-------------------------------------------------------------------------------------
Key: JBRULES-3025
URL: https://issues.jboss.org/browse/JBRULES-3025
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.2.0.M2
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Priority: Blocker
Fix For: 5.2.0.CR1
The DRL given below compiled in 5.1.1 and executed as expected, i.e., both rules fired, producing
or R=1x2
and R=1x2
Now, a syntax error is flagged at the position of the 2nd binding ($w:). Moreover, the DRL parser is thrown off-track and crashes with sn EmptyStackException as soon as more rules follow.
package binding;
declare Rect
length : int
width : int
end
rule insert
salience 100
when
then
Rect r = new Rect();
r.setLength( 1 );
r.setWidth( 2 );
insert( r );
end
rule "binding and"
when
$r: Rect( $l: length == 1 && $w: width == 2 )
then
System.out.println( "and R=" + $l + "x" + $w );
end
rule "binding or"
when
$r: Rect( $l: length == 1 || $w: width == 1 )
then
System.out.println( "or R=" + $l + "x" + $w );
end
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-841) Break WebVirtualHostService into a service w/o ModelNodes, make public
by Bob McWhirter (JIRA)
Break WebVirtualHostService into a service w/o ModelNodes, make public
----------------------------------------------------------------------
Key: AS7-841
URL: https://issues.jboss.org/browse/AS7-841
Project: Application Server 7
Issue Type: Enhancement
Affects Versions: 7.0.0.Beta3
Reporter: Bob McWhirter
Assignee: Jason Greene
WebVirtualHostService is currently pkg-protected and references ModelNodes and other pkg-protected Constants.
TorqueBox has copied this file with modifications into our source-tree, as we allow people to define vhosts outside of the management interface for our use-cases. We do recommend they do it "The Right Way", but to support our users, we also allow in-app definition of vhosts.
This works, but copy/paste is never awesome.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-902) Fix webservice integration tests
by Thomas Diesler (JIRA)
Fix webservice integration tests
--------------------------------
Key: AS7-902
URL: https://issues.jboss.org/browse/AS7-902
Project: Application Server 7
Issue Type: Bug
Reporter: Thomas Diesler
Assignee: Alessio Soldano
Fix For: 7.0.0.CR1
In master I currently see
{code}
Tests in error:
testSingleton(org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase)
testSimpleStatelessWebserviceEndpoint(org.jboss.as.testsuite.integration.wsejb.SimpleStatelessWebserviceEndpointTestCase)
testSimpleStatelessWebserviceEndpoint(org.jboss.as.testsuite.integration.ws.SimpleWebserviceEndpointTestCase)
Tests run: 122, Failures: 0, Errors: 3, Skipped: 2
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-875) Rename connector subsystem
by Jesper Pedersen (JIRA)
Rename connector subsystem
--------------------------
Key: AS7-875
URL: https://issues.jboss.org/browse/AS7-875
Project: Application Server 7
Issue Type: Task
Components: JCA
Affects Versions: 7.0.0.Beta3
Reporter: Jesper Pedersen
Assignee: Stefano Maestri
Priority: Critical
Fix For: 7.0.0.CR1
Rename the "connector" subsystem to "ironjacamar" such that it is clear what the subsystem is.
The internal names can stay the same - that can be changed later.
Sources stay under connector/.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month