[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Jean-Francois Denise (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Jean-Francois Denise reassigned WFLY-11484:
-------------------------------------------
Assignee: Jeff Mesnil (was: Jean-Francois Denise)
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Jean-Francois Denise (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Jean-Francois Denise commented on WFLY-11484:
---------------------------------------------
I don't think CLI is involved there. It displays what it gets from the server.
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: CLI
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jean-Francois Denise
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Jean-Francois Denise (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Jean-Francois Denise updated WFLY-11484:
----------------------------------------
Component/s: Management
Web (Undertow)
(was: CLI)
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jean-Francois Denise
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3402) Encoding set in constructor not taking effect
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3402?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-3402:
--------------------------------
Sprint: 2018 Week 48-50
> Encoding set in constructor not taking effect
> ---------------------------------------------
>
> Key: DROOLS-3402
> URL: https://issues.jboss.org/browse/DROOLS-3402
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.13.0.Final
> Reporter: Barnabás Kurucz
> Assignee: Mario Fusco
> Priority: Major
>
> In my drl file, I'm using German characters such as Umlauts or ß. Thus, I am setting the encoding to UTF-8 with the overloaded constructor when creating the Resource for the Kie File System. However, after firing the rules on the inserted Fact Drools does not seem to apply the specified encoding. I insert the fact, and if the condition is true to that fact it should modify the Action1 (String) attribute of the fact to "Rückfrage" and return the modified fact. However, when I look at the retrieved bean's Action1 attribute I am seeing "Rückfrage" instead of "Rückfrage". I tried both UTF-8 and ISO-8859-1 encoding. Any ideas what's wrong?
> Drools 7.13
> *KieSessionGenerator*:
> public KieSessionGenerator() {
> KieServices kieServices = KieServices.Factory.get();
> KieFileSystem kieFileSystem = kieServices.newKieFileSystem();
> kieFileSystem.write(ResourceFactory.newClassPathResource(drlFile, "UTF-8"));
> KieBuilder kieBuilder = kieServices.newKieBuilder(kieFileSystem);
> kieBuilder.buildAll();
> KieModule kieModule = kieBuilder.getKieModule();
> KieContainer kieContainer = kieServices.newKieContainer(kieModule.getReleaseId());
> kieSession = kieContainer.newKieSession();
> }
> *Snippet from DRL:*
> rule "813"
> when
> $bean : Bean(longDesc == "Infektion")
> then
> $bean.setAction1("Rückfrage");
> end
> *Inserting the fact:*
> public Bean lookupBean(Bean bean) {
> kieSessionGenerator.getKieSession().insert(bean);
> kieSessionGenerator.getKieSession().fireAllRules();
> return bean;
> }
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by R Searls (Jira)
R Searls created WFLY-11484:
-------------------------------
Summary: Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
Key: WFLY-11484
URL: https://issues.jboss.org/browse/WFLY-11484
Project: WildFly
Issue Type: Bug
Components: CLI
Affects Versions: 15.0.0.Final, 15.0.0.Beta1
Reporter: R Searls
Assignee: Jean-Francois Denise
The CLI no longer list 3 important undertow fields, "context-root",
"server", or "virtual-host". This has broken arquillian's ability to
configure and run tests. Arquillian is no longer able to find
ArquillianServletRunner because context-root is missing. This causes
the following exception to be thrown for tests.
{code:java}
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
not determine ContextRoot from ProtocolMetadata, please contact
DeployableContainer developer.
{code}
In org.jboss.as.arquillian.container.ManagementClient.readResource this
cli cmd is created.
{code:java}
{
"operation" => "read-resource",
"recursive" => "true",
"address" => [("deployment" => "AnotherPublisherResponseTest.war")]
}
{code}
Method ManagementClient.executeForResult executes this cmd
and returns the results. The results are different between wildfly-14.0.0.Final
and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
values for "context-root", "server", or "virtual-host".
The wildfly-14.0.0.Final output is
{code:java}
{
....
"enabled" => true,
"enabled-time" => 1544113709482L,
"enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
"name" => "AnotherPublisherResponseTest.war",
"owner" => undefined,
"persistent" => true,
"runtime-name" => "AnotherPublisherResponseTest.war",
"subdeployment" => undefined,
"subsystem" => {
"jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
"undertow" => {
"context-root" => "/AnotherPublisherResponseTest",
"server" => "default-server",
"virtual-host" => "default-host",
"servlet" => {
"ArquillianServletRunner" => {
"servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
"servlet-name" => "ArquillianServletRunner"
},
"org.jboss.resteasy.utils.TestApplication" => {
"servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
"servlet-name" => "org.jboss.resteasy.utils.TestApplication"
}
},
"websocket" => undefined
},
"logging" => {"configuration" => undefined}
}
}
{code}
The wildfly-15.0.0.Beta1+ output is.
{code:java}
{
......
"enabled" => true,
"name" => "AnotherPublisherResponseTest.war",
"owner" => undefined,
"persistent" => true,
"runtime-name" => "AnotherPublisherResponseTest.war",
"subdeployment" => undefined,
"subsystem" => {
"jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
"undertow" => {
"servlet" => {
"ArquillianServletRunner" => {},
"org.jboss.resteasy.utils.TestApplication" => {}
},
"websocket" => undefined
},
"logging" => {"configuration" => undefined}
}
}
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3414) [DMN Designer] (Stunner) Export throws exception
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3414?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3414:
----------------------------------------
Tested with "Business Central" built locally and could not replicate.
> [DMN Designer] (Stunner) Export throws exception
> ------------------------------------------------
>
> Key: DROOLS-3414
> URL: https://issues.jboss.org/browse/DROOLS-3414
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
>
> The "Export" drop-down button on the toolbar added by Stunner's {{AbstractProjectEditorMenuSessionItems}} (i.e. not the single "Download" button added by {{KieEditor}}) throws an exception whenever any option is selected. I could only replicate with the full "Business Central" WAR (i.e. not {{drools-wb-webapp}}).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3414) [DMN Designer] (Stunner) Export throws exception
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3414?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-3414:
-----------------------------------
Story Points: 2
Sprint: 2018 Week 48-50
> [DMN Designer] (Stunner) Export throws exception
> ------------------------------------------------
>
> Key: DROOLS-3414
> URL: https://issues.jboss.org/browse/DROOLS-3414
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
>
> The "Export" drop-down button on the toolbar added by Stunner's {{AbstractProjectEditorMenuSessionItems}} (i.e. not the single "Download" button added by {{KieEditor}}) throws an exception whenever any option is selected. I could only replicate with the full "Business Central" WAR (i.e. not {{drools-wb-webapp}}).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3414) [DMN Designer] (Stunner) Export throws exception
by Michael Anstis (Jira)
Michael Anstis created DROOLS-3414:
--------------------------------------
Summary: [DMN Designer] (Stunner) Export throws exception
Key: DROOLS-3414
URL: https://issues.jboss.org/browse/DROOLS-3414
Project: Drools
Issue Type: Bug
Components: DMN Editor
Reporter: Michael Anstis
Assignee: Michael Anstis
The "Export" drop-down button on the toolbar added by Stunner's {{AbstractProjectEditorMenuSessionItems}} (i.e. not the single "Download" button added by {{KieEditor}}) throws an exception whenever any option is selected. I could only replicate with the full "Business Central" WAR (i.e. not {{drools-wb-webapp}}).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months