[JBoss JIRA] (DROOLS-2816) [DMN Designer] [IE11] Undo throws an Error
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2816?page=com.atlassian.jira.plugi... ]
Jozef Marko resolved DROOLS-2816.
---------------------------------
Fix Version/s: 7.12.0.Final
Resolution: Done
Checked with DROOLS-2820 and can confirm it is fixed. Thanks!
> [DMN Designer] [IE11] Undo throws an Error
> ------------------------------------------
>
> Key: DROOLS-2816
> URL: https://issues.jboss.org/browse/DROOLS-2816
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
> Fix For: 7.12.0.Final
>
>
> Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> h2. Manual Acceptance test
> With DROOLS-2820 test steps to reproduce.
> - IE (/)
> - Chrome (/)
> - Firefox (/)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2816) [DMN Designer] [IE11] Undo throws an Error
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2816?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2816:
--------------------------------
Description:
Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
h2. Manual Acceptance test
With DROOLS-2820 test steps to reproduce.
- IE (/)
- Chrome (/)
- Firefox (/)
was:
Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
h2. Manual Acceptance test
With DROOLS-2820 test steps to reproduce.
- IE
- Chrome
- Firefox
> [DMN Designer] [IE11] Undo throws an Error
> ------------------------------------------
>
> Key: DROOLS-2816
> URL: https://issues.jboss.org/browse/DROOLS-2816
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
>
> Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> h2. Manual Acceptance test
> With DROOLS-2820 test steps to reproduce.
> - IE (/)
> - Chrome (/)
> - Firefox (/)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2816) [DMN Designer] [IE11] Undo throws an Error
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2816?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2816:
--------------------------------
Description:
Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
h2. Manual Acceptance test
With DROOLS-2820 test steps to reproduce.
- IE
- Chrome
- Firefox
was:
Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
h2. Manual Acceptance test
With DROOLS-2820 test undo action on
- IE
- Chrome
- Firefox
> [DMN Designer] [IE11] Undo throws an Error
> ------------------------------------------
>
> Key: DROOLS-2816
> URL: https://issues.jboss.org/browse/DROOLS-2816
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
>
> Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> h2. Manual Acceptance test
> With DROOLS-2820 test steps to reproduce.
> - IE
> - Chrome
> - Firefox
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2816) [DMN Designer] [IE11] Undo throws an Error
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2816?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2816:
--------------------------------
Description:
Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
h2. Manual Acceptance test
With DROOLS-2820 test undo action on
- IE
- Chrome
- Firefox
was:Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> [DMN Designer] [IE11] Undo throws an Error
> ------------------------------------------
>
> Key: DROOLS-2816
> URL: https://issues.jboss.org/browse/DROOLS-2816
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
>
> Undo of action throws and error dialog with title: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> h2. Manual Acceptance test
> With DROOLS-2820 test undo action on
> - IE
> - Chrome
> - Firefox
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2821) [DMN Designer] [IE11] Missing Edit Expression type icon
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2821?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2821:
--------------------------------
Description:
Icon for edit expression type is missing.
h2. Manual acceptance test
Check icon present and works on
- IE (/)
- Firefox (/)
- Chrome (/)
was:
Icon for edit expression type is missing.
h2. Manual acceptance test
Check icon present and works on
- IE
- Firefox
- Chrome
> [DMN Designer] [IE11] Missing Edit Expression type icon
> -------------------------------------------------------
>
> Key: DROOLS-2821
> URL: https://issues.jboss.org/browse/DROOLS-2821
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
> Attachments: Screenshot from 2018-08-01 13-34-32.png
>
>
> Icon for edit expression type is missing.
> h2. Manual acceptance test
> Check icon present and works on
> - IE (/)
> - Firefox (/)
> - Chrome (/)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10417) Security API - Soteria - Jaspic - Error getting ServerAuthContext
by Alessandro Moscatelli (JIRA)
[ https://issues.jboss.org/browse/WFLY-10417?page=com.atlassian.jira.plugin... ]
Alessandro Moscatelli reopened WFLY-10417:
------------------------------------------
The issue is still present in Wildfly 14 Final
You can test and reproduce in the same exact way I described and using the ear/wars I provided
….
> Security API - Soteria - Jaspic - Error getting ServerAuthContext
> -----------------------------------------------------------------
>
> Key: WFLY-10417
> URL: https://issues.jboss.org/browse/WFLY-10417
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 13.0.0.Beta1, 14.0.0.Final
> Environment: Wildfly 13.0.0.Beta1 and an EAR Application using JavaEE 8 Security API
> Reporter: Alessandro Moscatelli
> Assignee: Ilia Vassilev
> Priority: Critical
> Attachments: image-2018-05-24-13-41-05-322.png, soteria.zip
>
>
> I am testing the new Wildfly release and the new Java EE8 Security API.
> I noticed this serious (I truly believe) bug, and it also accours almost randomly.
>
> The deployed application is an EAR.
>
> If I deploy the EAR with a started Wildfly 13.0.0.Beta1 everything is fine.
> Then if I stop and start / restart the application server, I can see the startup and the EAR is redeployed but sometimes (like 50% of time) the bug/error accours.
> Usually after a couple of times (stop/start/restart) I can reproduce the issue.
> Before the bug accours every call to pages and APIs works correctly. After the bug accours every call triggers the AuthException.
> After the bug accours, if I redeploy the SAME EAR everything is fine again 100% of times.
> This seems like Wildfly does something different when redeploying an application on startup and when being already startup up and then processing an application deploy.
>
> I can provide my EAR if you want, but I would prefer not to if this is not necessary.
> The security domain as defined as suggested :
> {code:xml}
> <security-domain name="auth" cache-type="default">
> <authentication-jaspi>
> <login-module-stack name="dummy">
> <login-module code="Dummy" flag="optional"/>
> </login-module-stack>
> <auth-module code="Dummy"/>
> </authentication-jaspi>
> </security-domain>
> {code}
>
> META-INF/jboss-app.xml inside the EAR :
>
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-app>
> <security-domain>auth</security-domain>
> </jboss-app>
> {code}
>
> META-INF/jboss-web.xml inside the WAR inside the EAR :
>
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
> <security-domain>auth</security-domain>
> </jboss-web>
> {code}
>
> Log :
> {code}
> 17:04:18,556 ERROR [org.jboss.security] (default task-1) PBOX00374: Error getting ServerAuthContext for authContextId default-host /optoplus-services-web and security domain auth: javax.security.auth.message.AuthException
> at org.jboss.security.auth.message.config.JBossServerAuthConfig.getAuthContext(JBossServerAuthConfig.java:187)
> at org.jboss.security.plugins.auth.JASPIServerAuthenticationManager.isValid(JASPIServerAuthenticationManager.java:99)
> at org.wildfly.extension.undertow.security.jaspi.JASPICAuthenticationMechanism.authenticate(JASPICAuthenticationMechanism.java:123)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231)
> at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125)
> at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99)
> at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)
> at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jaspi.JASPICSecureResponseHandler.handleRequest(JASPICSecureResponseHandler.java:48)
> at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> UPDATE !!
> Now I finally got WHY it was random !!
> The problem is related to EAR containing multiple WAR registering different contexts :
> {code}
> 13:29:37,661 INFO [org.glassfish.soteria.servlet.SamRegistrationInstaller] (ServerService Thread Pool -- 80) Initializing Soteria 1.0 for context '/soteria-web2'
> 13:29:37,661 INFO [org.glassfish.soteria.servlet.SamRegistrationInstaller] (ServerService Thread Pool -- 76) Initializing Soteria 1.0 for context '/soteria-web'
> 13:29:37,738 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/soteria-web2' for server 'default-server'
> 13:29:37,745 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 76) WFLYUT0021: Registered web context: '/soteria-web' for server 'default-server'
> 13:29:37,781 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "soteria-ear-1.0.0.ear" (runtime-name : "soteria-ear-1.0.0.ear")
> 13:29:37,908 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://0.0.0.0:9990/management
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://0.0.0.0:9990
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 13.0.0.Beta1 (WildFly Core 5.0.0.Beta3) started in 10500ms - Started 707 of 931 services (430 services are lazy, passive or on-demand)
> 13:30:09,195 ERROR [org.jboss.security] (default task-1) PBOX00374: Error getting ServerAuthContext for authContextId default-host /soteria-web and security domain auth: javax.security.auth.message.AuthException
> {code}
> *+In case of a reboot (or stop and start) of Wildfly, only ONE of the TWO contexts manages to get the ServerAuthContext !+*
> I attached an example project you can use to reproduce and detailed steps !
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10417) Security API - Soteria - Jaspic - Error getting ServerAuthContext
by Alessandro Moscatelli (JIRA)
[ https://issues.jboss.org/browse/WFLY-10417?page=com.atlassian.jira.plugin... ]
Alessandro Moscatelli updated WFLY-10417:
-----------------------------------------
Fix Version/s: (was: 14.0.0.Beta2)
Affects Version/s: 14.0.0.Final
> Security API - Soteria - Jaspic - Error getting ServerAuthContext
> -----------------------------------------------------------------
>
> Key: WFLY-10417
> URL: https://issues.jboss.org/browse/WFLY-10417
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 13.0.0.Beta1, 14.0.0.Final
> Environment: Wildfly 13.0.0.Beta1 and an EAR Application using JavaEE 8 Security API
> Reporter: Alessandro Moscatelli
> Assignee: Ilia Vassilev
> Priority: Critical
> Attachments: image-2018-05-24-13-41-05-322.png, soteria.zip
>
>
> I am testing the new Wildfly release and the new Java EE8 Security API.
> I noticed this serious (I truly believe) bug, and it also accours almost randomly.
>
> The deployed application is an EAR.
>
> If I deploy the EAR with a started Wildfly 13.0.0.Beta1 everything is fine.
> Then if I stop and start / restart the application server, I can see the startup and the EAR is redeployed but sometimes (like 50% of time) the bug/error accours.
> Usually after a couple of times (stop/start/restart) I can reproduce the issue.
> Before the bug accours every call to pages and APIs works correctly. After the bug accours every call triggers the AuthException.
> After the bug accours, if I redeploy the SAME EAR everything is fine again 100% of times.
> This seems like Wildfly does something different when redeploying an application on startup and when being already startup up and then processing an application deploy.
>
> I can provide my EAR if you want, but I would prefer not to if this is not necessary.
> The security domain as defined as suggested :
> {code:xml}
> <security-domain name="auth" cache-type="default">
> <authentication-jaspi>
> <login-module-stack name="dummy">
> <login-module code="Dummy" flag="optional"/>
> </login-module-stack>
> <auth-module code="Dummy"/>
> </authentication-jaspi>
> </security-domain>
> {code}
>
> META-INF/jboss-app.xml inside the EAR :
>
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-app>
> <security-domain>auth</security-domain>
> </jboss-app>
> {code}
>
> META-INF/jboss-web.xml inside the WAR inside the EAR :
>
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
> <security-domain>auth</security-domain>
> </jboss-web>
> {code}
>
> Log :
> {code}
> 17:04:18,556 ERROR [org.jboss.security] (default task-1) PBOX00374: Error getting ServerAuthContext for authContextId default-host /optoplus-services-web and security domain auth: javax.security.auth.message.AuthException
> at org.jboss.security.auth.message.config.JBossServerAuthConfig.getAuthContext(JBossServerAuthConfig.java:187)
> at org.jboss.security.plugins.auth.JASPIServerAuthenticationManager.isValid(JASPIServerAuthenticationManager.java:99)
> at org.wildfly.extension.undertow.security.jaspi.JASPICAuthenticationMechanism.authenticate(JASPICAuthenticationMechanism.java:123)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231)
> at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125)
> at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99)
> at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)
> at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jaspi.JASPICSecureResponseHandler.handleRequest(JASPICSecureResponseHandler.java:48)
> at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> UPDATE !!
> Now I finally got WHY it was random !!
> The problem is related to EAR containing multiple WAR registering different contexts :
> {code}
> 13:29:37,661 INFO [org.glassfish.soteria.servlet.SamRegistrationInstaller] (ServerService Thread Pool -- 80) Initializing Soteria 1.0 for context '/soteria-web2'
> 13:29:37,661 INFO [org.glassfish.soteria.servlet.SamRegistrationInstaller] (ServerService Thread Pool -- 76) Initializing Soteria 1.0 for context '/soteria-web'
> 13:29:37,738 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/soteria-web2' for server 'default-server'
> 13:29:37,745 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 76) WFLYUT0021: Registered web context: '/soteria-web' for server 'default-server'
> 13:29:37,781 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "soteria-ear-1.0.0.ear" (runtime-name : "soteria-ear-1.0.0.ear")
> 13:29:37,908 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://0.0.0.0:9990/management
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://0.0.0.0:9990
> 13:29:37,910 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 13.0.0.Beta1 (WildFly Core 5.0.0.Beta3) started in 10500ms - Started 707 of 931 services (430 services are lazy, passive or on-demand)
> 13:30:09,195 ERROR [org.jboss.security] (default task-1) PBOX00374: Error getting ServerAuthContext for authContextId default-host /soteria-web and security domain auth: javax.security.auth.message.AuthException
> {code}
> *+In case of a reboot (or stop and start) of Wildfly, only ONE of the TWO contexts manages to get the ServerAuthContext !+*
> I attached an example project you can use to reproduce and detailed steps !
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2992) Can't compile the kie module which has guided scorecard
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2992?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-2992:
--------------------------------------
Assignee: Lance Leverich (was: Michael Anstis)
> Can't compile the kie module which has guided scorecard
> -------------------------------------------------------
>
> Key: DROOLS-2992
> URL: https://issues.jboss.org/browse/DROOLS-2992
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor
> Affects Versions: 7.11.0.Final
> Environment: All in one jbpm server 7.11 Final
> Mac Oracle jdk 1.8
> Maven 3.5.3
> Reporter: yi gong
> Assignee: Lance Leverich
> Priority: Blocker
> Attachments: sandbox1.zip
>
>
> Can't compile the kie module which has guided scorecard by maven plugin
> There are a lot of error
> [ERROR] Message [id=1, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score redeclared field value :
> [ERROR] existing : java.lang.Double vs declared : double]
> [ERROR] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score does not include field scoreCard]
> [ERROR] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score can't declare a different set of fields
> [ERROR] existing : [scoreCard, value]
> [ERROR] declared : [displayValue, tgtValue, value, weight]
> [ERROR] diff : [--scoreCard, ++displayValue, ++tgtValue, ++weight]]
> [ERROR] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=92, column=0
> [ERROR] text=Unable to process type DataField]
> [ERROR] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1020, column=0
> [ERROR] text=Unable to process type ScardOutput]
> [ERROR] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=104, column=0
> [ERROR] text=Unable to process type OutputField]
> [ERROR] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=132, column=0
> [ERROR] text=Unable to process type Scorecard__calculatedScore]
> [ERROR] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=196, column=0
> [ERROR] text=Unable to process type Age]
> [ERROR] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=89, column=0
> [ERROR] text=Unable to process type PMML4AbstractField]
> [ERROR] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=Unable to process type Score]
> [ERROR] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=814, column=0
> [ERROR] text=Unable to process type Scard]
> [ERROR] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=580, column=0
> [ERROR] text=Unable to Analyse Expression context == ctx:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.scorecard.Score.context()]
> [ERROR] [Near : {... context == ctx ....}]
> [ERROR] ^
> [ERROR] [Line: 580, Column: 4]]
> [ERROR] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=677, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=288, column=0
> [ERROR] text=Unable to resolve ObjectType 'DataField']
> [ERROR] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=864, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=865, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=-1, column=0
> [ERROR] text=Unable to Analyse Expression boundInput == $x:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.ModelMarker.$x()]
> [ERROR] [Near : {... boundInput == $x ....}]
> [ERROR] ^]
> [ERROR] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1052, column=0
> [ERROR] text=Unable to resolve ObjectType 'ScardOutput']
> [ERROR] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=832, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=694, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=695, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=521, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=849, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=742, column=0
> [ERROR] text=Unable to resolve ObjectType 'Age']
> [ERROR] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=743, column=0
> [ERROR] text=Unable to Analyse Expression (mAge == true && mAge != $m) || vAge != $v:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.ScardScoreCardData.$m()]
> [ERROR] [Near : {... (mAge == true && mAge != $m) || vAge != $v ....}]
> [ERROR] ^
> [ERROR] [Line: 743, Column: 4]]
> [ERROR] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] The method setScore(Double) is undefined for the type Object]
> [ERROR] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Rule Compilation error $val cannot be resolved to a variable
> [ERROR] $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable
> [ERROR] The method setName(String) is undefined for the type Score
> [ERROR] $ctx cannot be resolved to a variable
> [ERROR] $wgt cannot be resolved to a variable]
> [ERROR] Message [id=28, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Rule Compilation error ScardOutput cannot be resolved to a type]
> [ERROR] Message [id=29, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Rule Compilation error $obj cannot be resolved to a variable]
> [ERROR] Message [id=30, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=31, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=32, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Rule Compilation error _age cannot be resolved to a variable]
> [ERROR] Message [id=33, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Rule Compilation error Scorecard__calculatedScore cannot be resolved to a type
> [ERROR] Scorecard__calculatedScore cannot be resolved to a type]
> [ERROR] Message [id=34, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=284, column=0
> [ERROR] text=Rule Compilation error $data cannot be resolved to a variable]
> [ERROR] Message [id=35, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Rule Compilation error $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable]
> [ERROR] Message [id=36, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] $val cannot be resolved to a variable]
> [ERROR] ---
> [ERROR] Warning Messages:
> [ERROR] Message [id=37, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scorecard Scard output - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=38, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=772, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=39, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Add PMMLResult with Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=40, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=790, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scoring Complete. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=41, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=980, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Params Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=42, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=225, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Age-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=43, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=626, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule RemoveMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=44, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=610, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule InitAsMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=45, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=161, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=46, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=954, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_14. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=47, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Predicted Fields scorecard__calculatedScore . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=48, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=927, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_13. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=49, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=900, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_12. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=50, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Output Fields score . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=51, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Bean Input. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=52, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMMLResult containing Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=53, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Create Scard Output Bean. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=54, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule simpleOutput_Scorecard__calculatedScore_to_Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=55, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=596, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule miningPmml4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=56, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=538, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMML4Result with aliased output Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=57, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=719, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=58, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Own Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=59, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=360, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Sort Scorecard Reason Codes. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=60, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=474, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule update_Score_Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=61, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=377, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Integrate Scorecard ReasonCode Map. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=62, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=63, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=346, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Detect Scorecard ReasonCode Change. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=64, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=304, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Score Card Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=65, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=324, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Cumulate Code Scores. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBEE-197) ModuleNotFoundException: org.jboss.resteasy.resteasy-jaxrs-api:main
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBEE-197?page=com.atlassian.jira.plugin.s... ]
Alessio Soldano resolved JBEE-197.
----------------------------------
Resolution: Done
> ModuleNotFoundException: org.jboss.resteasy.resteasy-jaxrs-api:main
> -------------------------------------------------------------------
>
> Key: JBEE-197
> URL: https://issues.jboss.org/browse/JBEE-197
> Project: JBoss JavaEE Spec APIs
> Issue Type: Bug
> Components: jboss-jaxrs-api
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
>
> {noformat}
> java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
> at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:146)
> at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:89)
> at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:49)
> at org.jboss.arquillian.junit.AdaptorManager.initializeAdaptor(AdaptorManager.java:21)
> at org.jboss.arquillian.junit.AdaptorManagerWithNotifier.initializeAdaptor(AdaptorManagerWithNotifier.java:19)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:109)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:144)
> ... 17 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)
> at com.github.dockerjava.jaxrs.JerseyDockerCmdExecFactory.init(JerseyDockerCmdExecFactory.java:229)
> at com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:161)
> at com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:47)
> at org.arquillian.cube.docker.impl.util.DefaultDocker.getDefaultDockerClient(DefaultDocker.java:13)
> at org.arquillian.cube.docker.impl.client.CubeDockerConfigurationResolver.resolveSystemDefaultSetup(CubeDockerConfigurationResolver.java:217)
> at org.arquillian.cube.docker.impl.client.CubeDockerConfigurationResolver.resolve(CubeDockerConfigurationResolver.java:70)
> at org.arquillian.cube.docker.impl.client.CubeDockerConfigurator.configure(CubeDockerConfigurator.java:82)
> at org.arquillian.cube.docker.impl.client.CubeDockerConfigurator.configure(CubeDockerConfigurator.java:63)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
> at org.jboss.arquillian.core.impl.ManagerImpl.bindAndFire(ManagerImpl.java:232)
> at org.jboss.arquillian.core.impl.InstanceImpl.set(InstanceImpl.java:67)
> at org.arquillian.cube.impl.client.CubeConfigurator.configure(CubeConfigurator.java:23)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
> at org.jboss.arquillian.core.impl.ManagerImpl.bindAndFire(ManagerImpl.java:232)
> at org.jboss.arquillian.core.impl.InstanceImpl.set(InstanceImpl.java:67)
> at org.jboss.arquillian.config.impl.extension.ConfigurationRegistrar.loadConfiguration(ConfigurationRegistrar.java:72)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
> at org.jboss.arquillian.core.impl.ManagerImpl.start(ManagerImpl.java:253)
> at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:61)
> ... 22 more
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at javax.ws.rs.client.FactoryFinder.getModuleClassLoader(FactoryFinder.java:258)
> at javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:203)
> at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:87)
> ... 65 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at javax.ws.rs.client.FactoryFinder.getModuleClassLoader(FactoryFinder.java:250)
> ... 67 more
> Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.resteasy.resteasy-jaxrs-api:main
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240)
> ... 72 more
> {noformat}
> The fix for JBEE-169 didn't consider the scenario in which JBoss Modules is actually available in the classpath, but the module is not there.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months