[Red Hat JIRA] (WFLY-14126) 3 servlet test failures in servlet/spec/errorpage
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14126?page=com.atlassian.jira.plugi... ]
Brian Stansberry resolved WFLY-14126.
-------------------------------------
Resolution: Done
[~ropalka] I believe this is now fixed. :)
> 3 servlet test failures in servlet/spec/errorpage
> -------------------------------------------------
>
> Key: WFLY-14126
> URL: https://issues.redhat.com/browse/WFLY-14126
> Project: WildFly
> Issue Type: Sub-task
> Components: Web (Undertow)
> Reporter: Scott Marlow
> Assignee: Richard Opalka
> Priority: Major
> Labels: EE9
> Fix For: 22.0.0.Beta1
>
>
> Failing tests:
> com/sun/ts/tests/servlet/spec/errorpage/URLClient.java\#heirarchyErrorMatchTest
> {quote}
> ************************************************************
> 11-19-2020 20:43:36: [BaseUrlClient] Test setup OK
> REQUEST LINE: GET /servlet_spec_errorpage_web/TestServlet?testname=heirarchyErrorMatchTest HTTP/1.1
> 11-19-2020 20:43:36: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/TestServlet?testname=heirarchyErrorMatchTest HTTP/1.1' to target server at 'localhost:8080'
> Nov 19, 2020 8:43:36 PM org.apache.commons.httpclient.HttpConnection releaseConnection
> WARN: HttpConnectionManager is null. Connection cannot be released.
> 11-19-2020 20:43:36: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: java.lang.IllegalThreadStateException' at index: 111
> [WebValidatorBase] Server's response:
> -------------------------------------------
> First ErrorPage
> Servlet Name: TestServlet
> Request URI: /servlet_spec_errorpage_web/TestServlet
> Status Code: 500
> Exception Type: jakarta.servlet.ServletException
> Exception: jakarta.servlet.ServletException: java.lang.IllegalThreadStateException: error page invoked
> Message: error page invoked
> -------------------------------------------
> 11-19-2020 20:43:36: ERROR: Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.
> 11-19-2020 20:43:36: ERROR: Exception at:
> 11-19-2020 20:43:36: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
> at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
> at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.heirarchyErrorMatchTest(URLClient.java:125)
> 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 com.sun.ts.lib.harness.EETest.run(EETest.java:596)
> at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
> at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)
> 11-19-2020 20:43:36: [BaseUrlClient] Test cleanup OK
> STATUS:Failed.Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.
> result: Failed. Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.
> {quote}
> com/sun/ts/tests/servlet/spec/errorpage/URLClient.java\#servletToDifferentErrorPagesTest
> {quote}
> 11-19-2020 20:43:38: [BaseUrlClient] Test setup OK
> REQUEST LINE: GET /servlet_spec_errorpage_web/TestServlet?testname=servletErrorPageTest HTTP/1.1
> 11-19-2020 20:43:38: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/TestServlet?testname=servletErrorPageTest HTTP/1.1' to target server at 'localhost:8080'
> Nov 19, 2020 8:43:38 PM org.apache.commons.httpclient.HttpConnection releaseConnection
> WARN: HttpConnectionManager is null. Connection cannot be released.
> 11-19-2020 20:43:38: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: java.lang.IllegalStateException' at index: 111
> [WebValidatorBase] Server's response:
> -------------------------------------------
> First ErrorPage
> Servlet Name: TestServlet
> Request URI: /servlet_spec_errorpage_web/TestServlet
> Status Code: 500
> Exception Type: jakarta.servlet.ServletException
> Exception: jakarta.servlet.ServletException: java.lang.IllegalStateException: error page invoked
> Message: error page invoked
> -------------------------------------------
> 11-19-2020 20:43:38: ERROR: Test case throws exception: [BaseUrlClient] servletErrorPageTest failed! Check output for cause of failure.
> 11-19-2020 20:43:38: ERROR: Exception at:
> 11-19-2020 20:43:38: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
> at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
> at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.servletToDifferentErrorPagesTest(URLClient.java:77)
> 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 com.sun.ts.lib.harness.EETest.run(EETest.java:596)
> at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
> at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)
> {quote}
> com/sun/ts/tests/servlet/spec/errorpage/URLClient.java\#wrappedExceptionTest
> {quote}
> 11-19-2020 20:43:42: [BaseUrlClient] Test setup OK
> 11-19-2020 20:43:42: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/WrappedException HTTP/1.1' to target server at 'localhost:8080'
> Nov 19, 2020 8:43:42 PM org.apache.commons.httpclient.HttpConnection releaseConnection
> WARN: HttpConnectionManager is null. Connection cannot be released.
> 11-19-2020 20:43:42: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: com.sun.ts.tests.servlet.spec.errorpage.TestException' at index: 122
> [WebValidatorBase] Server's response:
> -------------------------------------------
> Second ErrorPage
> Servlet Name: WrappedException
> Request URI: /servlet_spec_errorpage_web/WrappedException
> Status Code: 500
> Exception Type: jakarta.servlet.ServletException
> Exception: jakarta.servlet.ServletException: com.sun.ts.tests.servlet.spec.errorpage.TestException: error page invoked
> Message: error page invoked
> -------------------------------------------
> 11-19-2020 20:43:42: ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
> 11-19-2020 20:43:42: ERROR: Exception at:
> 11-19-2020 20:43:42: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
> at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
> at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.wrappedExceptionTest(URLClient.java:154)
> 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 com.sun.ts.lib.harness.EETest.run(EETest.java:596)
> at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
> at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
> at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)
> 11-19-2020 20:43:42: [BaseUrlClient] Test cleanup OK
> STATUS:Failed.Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
> result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[Red Hat JIRA] (WFLY-14169) Remove the wildfly-ee feature pack dependency on wildfly-servlet
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14169?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-14169:
------------------------------------
Fix Version/s: 22.0.0.Final
(was: 22.0.0.Beta1)
> Remove the wildfly-ee feature pack dependency on wildfly-servlet
> ----------------------------------------------------------------
>
> Key: WFLY-14169
> URL: https://issues.redhat.com/browse/WFLY-14169
> Project: WildFly
> Issue Type: Task
> Components: Build System
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Major
> Fix For: 22.0.0.Final
>
>
> Have the wildfly-ee feature pack share source with the wildfly-servlet feature pack instead of having a feature pack dependency.
> As the relevant source is in the same git repo as the wildfly-ee fp's maven module this source sharing would be via maven resource plugin copying during the build, not via GAL-319.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[Red Hat JIRA] (WFLY-11943) Statistics of REST endpoints
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-11943?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-11943:
------------------------------------
Fix Version/s: 23.0.0.Beta1
(was: 22.0.0.Beta1)
> Statistics of REST endpoints
> ----------------------------
>
> Key: WFLY-11943
> URL: https://issues.redhat.com/browse/WFLY-11943
> Project: WildFly
> Issue Type: Feature Request
> Components: REST
> Affects Versions: 17.0.0.Final
> Reporter: r searls
> Assignee: r searls
> Priority: Major
> Labels: affects-model
> Fix For: 23.0.0.Beta1
>
>
> Provide statistics on REST endpoints in the jaxrs subsystem.
> CLI support "read-resource" operation for jax-rs subsystem in deployment:
> /deployment=jaxrs-eap.war/subsystem=jaxrs:read-resource
> Statistics should be added to results of this operation in this RFE.
> There needs to be option to enable or disable collecting of these statistics, because collecting of statistics does probably some performance drop.
> The change of statistic settings should not require server reload or restart.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[Red Hat JIRA] (WFLY-8136) Allow JAX-RS annotations in CDI @Stereotype
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-8136?page=com.atlassian.jira.plugin... ]
Brian Stansberry updated WFLY-8136:
-----------------------------------
Fix Version/s: 23.0.0.Beta1
(was: 22.0.0.Beta1)
> Allow JAX-RS annotations in CDI @Stereotype
> -------------------------------------------
>
> Key: WFLY-8136
> URL: https://issues.redhat.com/browse/WFLY-8136
> Project: WildFly
> Issue Type: Feature Request
> Components: CDI / Weld, REST
> Affects Versions: 9.0.1.Final, 15.0.0.Final
> Environment: Windows 7, JDK 1.8.0_60
> Reporter: Andreas Klemp
> Assignee: Martin Stefanko
> Priority: Major
> Fix For: 23.0.0.Beta1
>
>
> A simple JAX-RS REST service can be annotated with @Produces to define the resulting mime-type. However, it is not working anymore, when the annotation is moved to a stereotype. The default application/octet-stream is used.
> {code}
> @Stereotype
> @Produces(MediaType.APPLICATION_JSON)
> @Target(ElementType.TYPE)
> @Retention(RetentionPolicy.RUNTIME)
> public @interface RestService {
> }
> @Path("/some")
> @RestService
> public class SomeRestService {
> @GET
> @Path("/")
> public Response getSome() {
> return Response.ok().entity("{\"x\" : 42, \"y\" : \"foo\"}").build();
> }
> }
> {code}
> Using the following dependencies in Gradle project.
> {noformat}
> providedCompile(
> [group: 'javax.enterprise', name: 'cdi-api', version: '1.2'],
> [group: 'org.jboss.spec.javax.ws.rs', name: 'jboss-jaxrs-api_2.0_spec', version: '1.0.0.Final'],
> [group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.4']
> )
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[Red Hat JIRA] (WFLY-6892) Access logging for EJBs
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-6892?page=com.atlassian.jira.plugin... ]
Brian Stansberry updated WFLY-6892:
-----------------------------------
Fix Version/s: 23.0.0.Beta1
(was: 22.0.0.Beta1)
> Access logging for EJBs
> -----------------------
>
> Key: WFLY-6892
> URL: https://issues.redhat.com/browse/WFLY-6892
> Project: WildFly
> Issue Type: Feature Request
> Components: EJB
> Affects Versions: 10.0.0.Final
> Reporter: Brad Maxwell
> Assignee: Cheng Fang
> Priority: Major
> Labels: affects-model, affects_elytron
> Fix For: 23.0.0.Beta1
>
>
> Access logging for EJB requests similar to Web access logging would be very useful.
> Possibly something like:
> {code}
> [date-time] [host/IP of caller] [EJB Name] [EJB Method] [invocation id] Request Received ...
> [date-time] [host/IP of caller] [EJB Name] [EJB Method] invocation id] Starting Invocation ...
> [date-time] [host/IP of caller] [EJB Name] [EJB Method] invocation id] Finished Invocation ...
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months