[JBoss JIRA] (DROOLS-2498) NoClassDefFoundError: org/kie/internal/builder/conf/ParallelRulesBuildThresholdOption
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created DROOLS-2498:
----------------------------------------
Summary: NoClassDefFoundError: org/kie/internal/builder/conf/ParallelRulesBuildThresholdOption
Key: DROOLS-2498
URL: https://issues.jboss.org/browse/DROOLS-2498
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
Master snapshot version on wildfly 10.1:
{code}
java.lang.NoClassDefFoundError: org/kie/internal/builder/conf/ParallelRulesBuildThresholdOption
at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.<init>(KnowledgeBuilderConfigurationImpl.java:112)
at org.drools.compiler.kie.builder.impl.AbstractKieProject.getBuilderConfiguration(AbstractKieProject.java:284)
at org.drools.compiler.kie.builder.impl.AbstractKieProject.createKnowledgeBuilder(AbstractKieProject.java:270)
at org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:208)
at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:74)
at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:353)
at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:265)
at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:209)
at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildDroolsScoreDirectorFactory(ScoreDirectorFactoryConfig.java:503)
at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildScoreDirectorFactory(ScoreDirectorFactoryConfig.java:331)
at org.optaplanner.core.config.solver.SolverConfig.buildSolver(SolverConfig.java:220)
at org.optaplanner.core.impl.solver.AbstractSolverFactory.buildSolver(AbstractSolverFactory.java:61)
at org.optaplanner.openshift.employeerostering.server.solver.WannabeSolverManager.lambda$solve$2(WannabeSolverManager.java:81)
at org.jboss.as.ee.concurrent.ControlPointUtils$ControlledRunnable.run(ControlPointUtils.java:105)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: java.lang.ClassNotFoundException: org.kie.internal.builder.conf.ParallelRulesBuildThresholdOption from [Module "deployment.ROOT.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
... 21 more
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma commented on ELY-1568:
-----------------------------------
I have removed key-pair-type and certificate-type as they seem they are deliberately awaiting all elements.
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type, authentication-configuration-type, key-pair-type and certificate-type
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (ELY-1568) elytron-client-1.1.xsd xsd:all minOccurs="0"
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1568?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1568:
------------------------------
Description:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
was:
I am getting error in my IDE during xml validation
* {noformat}
cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<providers>
<use-service-loader/>
</providers>
{code}
* {noformat}
cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
{noformat}
While having this snippet in my wildfly-config.xml
{code:xml|title=wildfly-config.xml}
<configuration name="default">
<sasl-mechanism-selector selector="EXTERNAL"/>
<credentials>
<key-store-reference key-store-name="keystore">
<key-store-clear-password password="${password}"/>
</key-store-reference>
</credentials>
<providers>
<use-service-loader/>
</providers>
</configuration>
{code}
Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
I see this problem in providers-type and authentication-configuration-type-, key-pair-type and certificate-type-
[1] https://www.w3schools.com/xml/el_all.asp
> elytron-client-1.1.xsd xsd:all minOccurs="0"
> --------------------------------------------
>
> Key: ELY-1568
> URL: https://issues.jboss.org/browse/ELY-1568
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Client, XML
> Affects Versions: 1.3.0.Final
> Reporter: Martin Choma
>
> I am getting error in my IDE during xml validation
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'providers' is not complete. One of '{"urn:elytron:client:1.1":global}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <providers>
> <use-service-loader/>
> </providers>
> {code}
> * {noformat}
> cvc-complex-type.2.4.b: The content of element 'configuration' is not complete. One of '{"urn:elytron:client:
> 1.1":set-host, "urn:elytron:client:1.1":set-port, "urn:elytron:client:1.1":set-protocol, "urn:elytron:client:
> 1.1":abstract-user-spec, "urn:elytron:client:1.1":set-mechanism-realm, "urn:elytron:client:1.1":rewrite-user-
> name-regex, "urn:elytron:client:1.1":set-mechanism-properties, "urn:elytron:client:1.1":set-authorization-
> name, "urn:elytron:client:1.1":abstract-sasl-factories}' is expected.
> {noformat}
> While having this snippet in my wildfly-config.xml
> {code:xml|title=wildfly-config.xml}
> <configuration name="default">
> <sasl-mechanism-selector selector="EXTERNAL"/>
> <credentials>
> <key-store-reference key-store-name="keystore">
> <key-store-clear-password password="${password}"/>
> </key-store-reference>
> </credentials>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> {code}
> Based on [1] I think elements in xsd:all should contain minOccurs="0" explicitly. E.g. <xsd:element ref="abstract-user-spec" minOccurs="0"/>.
> I see this problem in providers-type and authentication-configuration-type -, key-pair-type and certificate-type-
> [1] https://www.w3schools.com/xml/el_all.asp
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months