[JBoss JIRA] (WFCORE-61) Support alternate JVM in domain scripts
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFCORE-61?page=com.atlassian.jira.plugin.... ]
James Perkins resolved WFCORE-61.
---------------------------------
Resolution: Won't Do
[~mkopecky] I'll just close it. The main domain entry points do allow for different JVM's to be used, but it's never come up so there's no point in complicating the scripts more than they already are IMO.
> Support alternate JVM in domain scripts
> ---------------------------------------
>
> Key: WFCORE-61
> URL: https://issues.jboss.org/browse/WFCORE-61
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Scripts
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Major
>
> The domain scripts don't support adding a separate JVM for the {{\-jvm}} and {{--default-jvm}} options. The scripts should support these, e.g. check the {{$JAVA_FROM_JVM}} value before assigning it.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months
[JBoss JIRA] (WFLY-2495) ContainerXFilter not invoked when registered via DynamicFeature in JAX-RS
by Marek Kopecký (Jira)
[ https://issues.jboss.org/browse/WFLY-2495?page=com.atlassian.jira.plugin.... ]
Marek Kopecký commented on WFLY-2495:
-------------------------------------
[~ron_sigal]: I'm not able to reproduce this issue on WF16, both FeatureContext.register(Class...) and FeatureContext.register(Object...) works correctly. Can you close this issue as out-of-date? If [~aslak] or [~kf777] still see this issue, they can reopen this with a reproducer.
> ContainerXFilter not invoked when registered via DynamicFeature in JAX-RS
> -------------------------------------------------------------------------
>
> Key: WFLY-2495
> URL: https://issues.jboss.org/browse/WFLY-2495
> Project: WildFly
> Issue Type: Bug
> Components: REST
> Affects Versions: 8.0.0.Beta1, 8.1.0.Final
> Reporter: Aslak Knutsen
> Assignee: Ron Sigal
> Priority: Major
>
> {code}
> @Provider
> public class DynamicServerLogggingFilterFeature implements DynamicFeature {
> @Override
> public void configure(ResourceInfo ri, FeatureContext fc) {
> if (MyResource.class.isAssignableFrom(ri.getResourceClass())
> && ri.getResourceMethod().isAnnotationPresent(GET.class)) {
> fc.register(new ServerLoggingFilter());
> }
> }
> }
> @Provider
> @ServerLogged
> public class ServerLoggingFilter implements ContainerRequestFilter, ContainerResponseFilter {
> ...
> }
> {code}
> DynamicServerLogggingFilterFeature is called the the ServerLoggingFilter is registered in the FeatureContext, but the filter(ContainerXContext crc) is never called on the ServerLoggingFilter.
> Sample: https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/dynamicfi...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months
[JBoss JIRA] (WFLY-2495) ContainerXFilter not invoked when registered via DynamicFeature in JAX-RS
by Marek Kopecký (Jira)
[ https://issues.jboss.org/browse/WFLY-2495?page=com.atlassian.jira.plugin.... ]
Marek Kopecký reassigned WFLY-2495:
-----------------------------------
Assignee: Ron Sigal (was: Bill Burke)
> ContainerXFilter not invoked when registered via DynamicFeature in JAX-RS
> -------------------------------------------------------------------------
>
> Key: WFLY-2495
> URL: https://issues.jboss.org/browse/WFLY-2495
> Project: WildFly
> Issue Type: Bug
> Components: REST
> Affects Versions: 8.0.0.Beta1, 8.1.0.Final
> Reporter: Aslak Knutsen
> Assignee: Ron Sigal
> Priority: Major
>
> {code}
> @Provider
> public class DynamicServerLogggingFilterFeature implements DynamicFeature {
> @Override
> public void configure(ResourceInfo ri, FeatureContext fc) {
> if (MyResource.class.isAssignableFrom(ri.getResourceClass())
> && ri.getResourceMethod().isAnnotationPresent(GET.class)) {
> fc.register(new ServerLoggingFilter());
> }
> }
> }
> @Provider
> @ServerLogged
> public class ServerLoggingFilter implements ContainerRequestFilter, ContainerResponseFilter {
> ...
> }
> {code}
> DynamicServerLogggingFilterFeature is called the the ServerLoggingFilter is registered in the FeatureContext, but the filter(ContainerXContext crc) is never called on the ServerLoggingFilter.
> Sample: https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/dynamicfi...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months
[JBoss JIRA] (WFCORE-61) Support alternate JVM in domain scripts
by Marek Kopecký (Jira)
[ https://issues.jboss.org/browse/WFCORE-61?page=com.atlassian.jira.plugin.... ]
Marek Kopecký commented on WFCORE-61:
-------------------------------------
[~jamezp]: This looks like "feature request" more than bug. What is your plan with this? There is no action here for ~4.5 years. Close this?
> Support alternate JVM in domain scripts
> ---------------------------------------
>
> Key: WFCORE-61
> URL: https://issues.jboss.org/browse/WFCORE-61
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Scripts
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Major
>
> The domain scripts don't support adding a separate JVM for the {{\-jvm}} and {{--default-jvm}} options. The scripts should support these, e.g. check the {{$JAVA_FROM_JVM}} value before assigning it.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months