[JBoss JIRA] (WFLY-9798) Undertow filter rewrite configuration error
by 구용 이 (JIRA)
구용 이 created WFLY-9798:
--------------------------
Summary: Undertow filter rewrite configuration error
Key: WFLY-9798
URL: https://issues.jboss.org/browse/WFLY-9798
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Environment: h2. Test environment
1. CentOS Linux release 7.4.1708 (Core)
2. wildfly-11.0.0.Final
3. wildfly-12.0.0.Alpha1-SNAPSHOT
Reporter: 구용 이
Assignee: Stuart Douglas
hi~
A URL in the form of "http://localhost/test1" should be rewritten to "http://localhost/abc/test1"
h2. Configuration
Undertow Subsystem
<host ...
<filter-ref name="rewrite-test" predicate="regex('^/test(.*)$')"/>
...
<filters>
<rewrite name="rewrite-test" target="/abc/test${1}.jsp" redirect="false"/>
h2. Problems:
server.log
failure description: "WFLYCTL0211: Cannot resolve expression '/abc/test${1}.jsp'"
Thank you
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFBUILD-36) Support resolution of ${project.groupId} in the server-provisioning.xml file
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFBUILD-36?page=com.atlassian.jira.plugin... ]
Stuart Douglas resolved WFBUILD-36.
-----------------------------------
Resolution: Done
I believe the TODO was to try and find some way to auto-magically add all the properties that maven supports out of the box, however there does not appear to be any automatic way to do this.
> Support resolution of ${project.groupId} in the server-provisioning.xml file
> ----------------------------------------------------------------------------
>
> Key: WFBUILD-36
> URL: https://issues.jboss.org/browse/WFBUILD-36
> Project: WildFly Build Tools
> Issue Type: Enhancement
> Reporter: Brian Stansberry
> Assignee: Stuart Douglas
> Priority: Minor
> Fix For: 1.2.9.Final
>
>
> The provisioning plugin allows parameterization of a feature pack's version via ```${project.version}``` but parameterizing the groupId via ```${project.groupId}``` isn't supported. My guess is something like this for groupId would do the trick:
> https://github.com/wildfly/wildfly-build-tools/blob/master/provisioning-m...
> This would make it easier to use the same provisioning configs in different branches that have different maven groupIds.
> I see the TODO about the project.version thing I linked above, and I understand I'm asking to expand a concept that the TODO indicates is suspect. So I won't be offended if this is rejected.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3595) SuspendOnSoftKillTestCase can fail intermittently
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3595?page=com.atlassian.jira.plugi... ]
Stuart Douglas updated WFCORE-3595:
-----------------------------------
Description:
The issue is that TestUndertowService is designed for testing suspend/resume rather than an actual graceful shutdown. Because it attempts to perform a dispatch() and queue a task rather than just immediately setting a 503 response it is possible that this request will fail with a 500 response if the XNIO executor is in the process of shutting down.
It would be better if this test checked for a 503 before the skip-graceful request is made.
> SuspendOnSoftKillTestCase can fail intermittently
> -------------------------------------------------
>
> Key: WFCORE-3595
> URL: https://issues.jboss.org/browse/WFCORE-3595
> Project: WildFly Core
> Issue Type: Bug
> Reporter: Stuart Douglas
> Assignee: Stuart Douglas
>
> The issue is that TestUndertowService is designed for testing suspend/resume rather than an actual graceful shutdown. Because it attempts to perform a dispatch() and queue a task rather than just immediately setting a 503 response it is possible that this request will fail with a 500 response if the XNIO executor is in the process of shutting down.
> It would be better if this test checked for a 503 before the skip-graceful request is made.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (DROOLS-2210) Drools 7.3.0 serialization null pointer exceptions with sliding windows
by Manjunath S Paramesan (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2210?page=com.atlassian.jira.plugi... ]
Manjunath S Paramesan commented on DROOLS-2210:
-----------------------------------------------
[~tirelli] - I can confirm this issue occurs with 7.5.0.Final as well
> Drools 7.3.0 serialization null pointer exceptions with sliding windows
> -----------------------------------------------------------------------
>
> Key: DROOLS-2210
> URL: https://issues.jboss.org/browse/DROOLS-2210
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.3.0.Final
> Reporter: Manjunath S Paramesan
> Assignee: Mario Fusco
> Priority: Critical
>
> We have a fairly large rule-base with temporal reasoning and sliding windows.
> While serializing the drools session we observe random null pointer exceptions as see below:
> Exception in thread "pool-92-thread-98" java.lang.NullPointerException
> at org.drools.core.rule.SlidingTimeWindow$BehaviorJobContextTimerOutputMarshaller.serialize(SlidingTimeWindow.java:323)
> at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeTimers(ProtobufOutputMarshaller.java:880)
> at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.serializeSession(ProtobufOutputMarshaller.java:210)
> at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeSession(ProtobufOutputMarshaller.java:118)
> at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:162)
> at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:146)
> at com.mlnms.common.fmwk.drools.impl.DroolsClientImpl.backupKieSession(DroolsClientImpl.java:743)
> at com.mlnms.common.fmwk.drools.impl.DroolsClientImpl.lambda$processStatefulEvents$0(DroolsClientImpl.java:506)
> at java.lang.Thread.run(Thread.java:745)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months