[JBoss JIRA] Created: (AS7-787) Create a dummy InitialDirContext to allow for testing.
by Darran Lofthouse (JIRA)
Create a dummy InitialDirContext to allow for testing.
------------------------------------------------------
Key: AS7-787
URL: https://issues.jboss.org/browse/AS7-787
Project: Application Server 7
Issue Type: Task
Components: Domain Management, Security
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 7.0.0.CR1
The testing of any LDAP configuration brings in the dependency on an LDAP server, this is fine for major QA testing but not so fine for the testsuite run in multiple environments.
This task is to either find an existing implementation we can use or to implement a dummy InitialDirContext that can simulate the connection to LDAP allowing testing of the LDAP code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (AS7-1421) Modcluster subsystem has broken :read-resource-description
by Heiko Rupp (JIRA)
Modcluster subsystem has broken :read-resource-description
----------------------------------------------------------
Key: AS7-1421
URL: https://issues.jboss.org/browse/AS7-1421
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.0.0.Final
Reporter: Heiko Rupp
Assignee: Brian Stansberry
[domain@localhost:9999 subsystem=modcluster] :read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the modcluster subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:modcluster:1.0",
"attributes" => {"mod-cluster-config" => {
"type" => OBJECT,
"description" => "The common modcluster configuration.",
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}}
}
}
is not usable at all to use for management operations.
Also attributes of mod-cluster-config should directly live in 'attributes'. There is no point in adding one more level here.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (JBRULES-3131) timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument
by Wolfgang Laun (JIRA)
timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument
---------------------------------------------------------------------------------
Key: JBRULES-3131
URL: https://issues.jboss.org/browse/JBRULES-3131
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.2.0.Final
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.1.Final
rule xxx
timer( cron: 0/30 * * * * * )
when
then
end
Exception in thread "main" java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at java.util.ArrayList.toArray(ArrayList.java:306)
at org.drools.compiler.PackageBuilder.getErrors(PackageBuilder.java:1274)
at org.drools.builder.impl.KnowledgeBuilderImpl.getErrors(KnowledgeBuilderImpl.java:70)
It would be a Good Thing if timer( cron: ) were documented. It deviates from UNIX crontab in at least two aspects.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (JBRULES-3132) Simple syntax error timer(int 10) causes RuntimeDroolsException in RuleBuilder
by Wolfgang Laun (JIRA)
Simple syntax error timer(int 10) causes RuntimeDroolsException in RuleBuilder
-------------------------------------------------------------------------------
Key: JBRULES-3132
URL: https://issues.jboss.org/browse/JBRULES-3132
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.Final
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.1.Final
rule xxx
timer(int 10 ) # not the missing colon
when
then
System.out.println( "CRONTAB" );
end
causes:
Exception in thread "main" org.drools.RuntimeDroolsException: Error parsing time string: [ int ]
at org.drools.time.TimeUtils.parseTimeString(TimeUtils.java:127)
at org.drools.rule.builder.RuleBuilder.buildTimer(RuleBuilder.java:320)
at org.drools.rule.builder.RuleBuilder.buildAttributes(RuleBuilder.java:139)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:92)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1889)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:755)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:365)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:543)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months