[JBoss JIRA] Created: (LOGTOOL-21) Add mechanism to pass parameters to exception constructors
by David Lloyd (JIRA)
Add mechanism to pass parameters to exception constructors
----------------------------------------------------------
Key: LOGTOOL-21
URL: https://issues.jboss.org/browse/LOGTOOL-21
Project: Log Tool
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: David Lloyd
Assignee: James Perkins
Fix For: 1.0.0.Beta8
We need a parameter annotation which allows log methods to pass additional parameters to the constructor of exceptions. Something like {{@Param}}. It would exclude that parameter from the list and instead apply those values to non-cause, non-message parameters of the constructor.
For the purposes of resolution, assume the message parameter is the left-most String and the cause parameter is the left-most Throwable or subtype thereof.
Parameters should be order-matched first, then type-matched to resolve ambiguity, throwing an exception if there is no unambiguous solution. The {{@Param}} annotation should allow an optional class name to be specified which would have to match the exact type of the parameter in question, to enable unambiguous resolution in this case.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (AS7-815) Fix or remove ignored tests in WSTestCase
by Thomas Diesler (JIRA)
Fix or remove ignored tests in WSTestCase
-----------------------------------------
Key: AS7-815
URL: https://issues.jboss.org/browse/AS7-815
Project: Application Server 7
Issue Type: Sub-task
Reporter: Thomas Diesler
Assignee: Alessio Soldano
We are in the process of a major test infrastructure update. For this I migrated all smoke tests the the managed container. The arquillian subsystem has been replaced by a on-demand deployment. Your test might be @Ignored because I could not fix it easily or it has already been ignored for some time. Please have a look if you can fix it, otherwise I'd like to know why it should be ignored.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBRULES-3211) Rules fires on incorrect condition
by Tommy Odom (JIRA)
Rules fires on incorrect condition
----------------------------------
Key: JBRULES-3211
URL: https://issues.jboss.org/browse/JBRULES-3211
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.2.0.Final
Reporter: Tommy Odom
Assignee: Mark Proctor
We are running into some issues after upgrading to Drools 5.2.0 from Drools 5.1.1. Our rules are no longer executing correctly. The wrong rule fires due to the constraints of a previous rule. I wrote a standalone test that replicates the problem and I've tested with 5.3.0-SNAPSHOT and the tests fail there as well.
Forgive me if what I state is incorrect but I figured I'd try to relay some of what I observed in debugging. It appears that the difference between 5.1.1 and 5.2.0 comes from the handling of the constraints. In 5.1.1, the constraints were created as PredicateConstraints but in 5.2.0 they are being created as LiteralConstraints. As such, in 5.1.1 in the CompositeObjectSinkAdapter adds the new sinks as otherSinks but in 5.2.0 they are registered as FieldIndexes. However, the index value on all of the MVELClassFieldReader instances is 0 so both "engine.engineType.id" and "engine.id" are mapped to the same FieldIndex.
I haven't had time yet to dig into the code to understand the difference between a PredicateConstraint and a LiteralConstraint so I'm not sure if there's something I could be doing differently to avoid this problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (AS7-1774) NPE in JndiView
by Heiko Braun (JIRA)
NPE in JndiView
---------------
Key: AS7-1774
URL: https://issues.jboss.org/browse/AS7-1774
Project: Application Server 7
Issue Type: Bug
Components: Console
Reporter: Heiko Braun
Assignee: David Bosschaert
Fix For: 7.1.0.CR1
On the admin's console, when going on the naming view.
It's a null point exception that I get on org.jboss.as.ee.subsystem.EEJndiViewExtension.handleModule(JndiViewExtensionContext, DeploymentUnit, ModelNode, ServiceRegistry)
I avoid this, I added:
if (moduleDescription == null) return;
After this, the view is working and I can navigate in the JNDI view.
I have no idea why moduleDescription was null, perhaps it's something wrong with my deployment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (AS7-1080) XA Datasource w/o xa-properties swllows an exception
by Heiko Braun (JIRA)
XA Datasource w/o xa-properties swllows an exception
----------------------------------------------------
Key: AS7-1080
URL: https://issues.jboss.org/browse/AS7-1080
Project: Application Server 7
Issue Type: Bug
Reporter: Heiko Braun
Fix For: 7.1.0.Alpha1
ry to add an XA Datasource but don't add any XA properties. You will get the error below on the server.
The problem is that the user doesn't see any error message at all. I assume that this is a known class of problem, but I mention here for bookkeeping purposes.
12:45:43,109 WARN [org.jboss.as.controller] (HttpManagementService-threads - 4) Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("xa-data-source" => "foo")
]): org.jboss.as.controller.OperationFailedException: org.jboss.jca.common.api.validator.ValidateException: IJ010069: Missing required element xa-datasource-property in o
rg.jboss.jca.common.metadata.ds.XADataSourceImpl [ "Failed to create XaDataSource instance for [{
\"operation\" => \"add\",
\"address\" => [
(\"subsystem\" => \"datasources\"),
(\"xa-data-source\" => \"foo\")
],
\"name\" => \"foo\",
\"jndi-name\" => \"bar\",
\"enabled\" => true,
\"driver-name\" => \"h2\",
\"driver-class-name\" => \"org.h2.Driver\",
\"driver-major-version\" => 1,
\"driver-minor-version\" => 2,
\"pool-name\" => \"foo_Pool\",
\"user-name\" => \"asdf\",
\"password\" => \"asdf\",
\"xa-data-source-properties\" => {}
}]
reason:IJ010069: Missing required element xa-datasource-property in org.jboss.jca.common.metadata.ds.XADataSourceImpl" ]
at org.jboss.as.connector.subsystems.datasources.XaDataSourceAdd.startConfigAndAddDependency(XaDataSourceAdd.java:64)
at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceAdd.performRuntime(AbstractDataSourceAdd.java:93)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (AS7-1889) Failed to update messaging attribute "message-counter-enabled"
by Heiko Braun (JIRA)
Failed to update messaging attribute "message-counter-enabled"
--------------------------------------------------------------
Key: AS7-1889
URL: https://issues.jboss.org/browse/AS7-1889
Project: Application Server 7
Issue Type: Bug
Components: JMS
Reporter: Heiko Braun
Assignee: Clebert Suconic
Fix For: 7.1.0.Alpha1
{noformat}
{
"outcome" => "failed",
"result" => {"step-1" => {
"outcome" => "failed",
"failure-description" => "Operation handler failed: java.lang.IllegalStateException: Get service registry only supported in runtime operations",
"rolled-back" => true
}},
"failure-description" => {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "Operation handler failed: java.lang.IllegalStateException: Get service registry only supported in runtime operations"}},
"rolled-back" => true,
"response-headers" => {"process-state" => "reload-required"}
}
14:46:26,762 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 38) Operation ("write-attribute") failed - address: ([
("subsystem" => "messaging"),
("hornetq-server" => "default")
]): java.lang.IllegalStateException: Get service registry only supported in runtime operations
at org.jboss.as.controller.OperationContextImpl.getServiceRegistry(OperationContextImpl.java:562) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months