[JBoss JIRA] Created: (AS7-1984) DataSource pool config: Modification fails
by Heiko Braun (JIRA)
DataSource pool config: Modification fails
------------------------------------------
Key: AS7-1984
URL: https://issues.jboss.org/browse/AS7-1984
Project: Application Server 7
Issue Type: Bug
Components: Console
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: 7.1.0.Beta1
[Host Controller] 15:02:28,221 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 5) Operation ("write-attribute") failed - address: ([
[Host Controller] ("profile" => "default"),
[Host Controller] ("subsystem" => "datasources"),
[Host Controller] ("xa-data-source" => "myXA")
[Host Controller] ]) - failure description: "Invalid parameter name: value"
--
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-1973) CLI - modify-data-source does not work
by Dominik Pospisil (JIRA)
CLI - modify-data-source does not work
--------------------------------------
Key: AS7-1973
URL: https://issues.jboss.org/browse/AS7-1973
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Dominik Pospisil
Assignee: Brian Stansberry
This operation used to work in Alpha1 but does not work anymore:
[standalone@localhost:9999 /] add-data-source --jndi-name=java:jboss/datasources/TestDS --driver-name=h2 --pool-name=TestDS --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
[standalone@localhost:9999 /] modify-data-source --jndi-name=java:jboss/datasources/TestDS --idle-timeout-minutes=5
The result is:
{"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "Invalid parameter name: value"}}
Error logged:
12:46:07,903 ERROR [org.jboss.as.controller] (pool-3-thread-3) Operation ("write-attribute") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "java:jboss/datasources/TestDS")
]) - failure description: "Invalid parameter name: value"
--
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-2995) Field "class" not recognized in some constructs
by Wolfgang Laun (JIRA)
Field "class" not recognized in some constructs
-----------------------------------------------
Key: JBRULES-2995
URL: https://issues.jboss.org/browse/JBRULES-2995
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.2.0.CR1
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Given this simple type:
declare Foo
clazz : Class
end
and this rule:
rule yyy
when
$f: Foo( $cl: clazz == ( java.lang.String.class ) )
### $f: Foo( $cl: clazz, eval( $f.getClazz().equals( java.lang.String.class ) ) )
### $f: Foo( $cl: clazz == java.lang.String.class )
then
System.out.println( "--- got a " + $cl );
end
Only the first vyariant is accepted by the DRL parser. Other forms are
rebuked with, e.g.:
Unable to Analyse Expression $f.getClazz().equals( java.lang.String.class ) :
[Error: Failed to compile: 2 compilation error(s):
- (1,24) unable to resolve method using strict-mode: ex10.Foo.java()
- (1,24) unqualified type in strict mode for: java]
[Near : {... $f.getClazz().equals( java.lang.String.class ) ....}]
^
[Line: 1, Column: 24] : [Rule name='yyy']
Note the incorrect line number!
--
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-3123) .rf file raises a null pointer exception when it is loaded
by Quentin Caillard (JIRA)
.rf file raises a null pointer exception when it is loaded
----------------------------------------------------------
Key: JBRULES-3123
URL: https://issues.jboss.org/browse/JBRULES-3123
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.Final
Reporter: Quentin Caillard
Assignee: Mark Proctor
I have just switched from version 5.1.1 to 5.2.0.Final
I have a ruleflow (.rf) file which can be loaded. I have the following stack trace :
java.lang.NullPointerException
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:556)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
at com.ariadnext.NewDroolsTest$RulesUtils.loadRules(NewDroolsTest.java:106)
I made a simple junit test which reproduces the bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months