[JBoss JIRA] (DROOLS-1117) After 2 times loading the same Rule 3rd time its loading, Even No error occured
by Vivek Singh (JIRA)
Vivek Singh created DROOLS-1117:
-----------------------------------
Summary: After 2 times loading the same Rule 3rd time its loading, Even No error occured
Key: DROOLS-1117
URL: https://issues.jboss.org/browse/DROOLS-1117
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 6.4.0.CR2
Reporter: Vivek Singh
Assignee: Edson Tirelli
While Loading the Rules in Server, After that i removed the Rule from KieBase then again
added the Rule By creating the newJar with different ReleaseId but same Drl filename.
Then i again removed the rule from KieBase using same command
kieBase.removeRule(kiePackage.getName(), ruleName);
But after that when i again added the same Rule it will not adding into the KieBase Knowledge packages. Even i am not getting any error.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (DROOLS-1116) After adding new Rule by different drl filename getting error while calling fireRules
by Vivek Singh (JIRA)
Vivek Singh created DROOLS-1116:
-----------------------------------
Summary: After adding new Rule by different drl filename getting error while calling fireRules
Key: DROOLS-1116
URL: https://issues.jboss.org/browse/DROOLS-1116
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 6.4.0.CR2
Reporter: Vivek Singh
Assignee: Edson Tirelli
Issue is similar to https://issues.jboss.org/browse/DROOLS-978
But its showing its fixed in 6.4.0.Beta1 but i am still lfacing in 6.4.0.CR2
While Adding the new or Updated Rules by createKieJar.
Even renaming the Drool file.
After that while calling the fireRules i am getting the below error:-
Exception in thread "main" java.lang.NullPointerException
at org.drools.core.reteoo.NodeTypeEnums.isBetaNode(NodeTypeEnums.java:88)
at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:254)
at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:166)
at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:123)
at org.drools.core.phreak.RuleExecutor.evaluateNetwork(RuleExecutor.java:65)
at org.drools.core.common.DefaultAgenda.evaluateEagerList(DefaultAgenda.java:1004)
at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:961)
at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1292)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1294)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1281)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1260
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-6444) Apache http classes not found
by Chen Maoqian (JIRA)
[ https://issues.jboss.org/browse/WFLY-6444?page=com.atlassian.jira.plugin.... ]
Chen Maoqian reassigned WFLY-6444:
----------------------------------
Assignee: Jason Greene (was: Chen Maoqian)
> Apache http classes not found
> -----------------------------
>
> Key: WFLY-6444
> URL: https://issues.jboss.org/browse/WFLY-6444
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.0.0.Final, 10.1.0.Final
> Reporter: Andrei Ivanov
> Assignee: Jason Greene
> Attachments: wildfly-httpclient-test.zip
>
>
> Hi,
> I've created a trivial JAX-RS application with a CDI producer for a RestEasy JAX-RS client proxy.
> I also need to customize the HTTP engine a bit.
> The app deploys fine on JBoss 7.1.1.
> Trying to upgrade to WildFly 10.0, I got a weird error:
> {noformat}
> DEBUG [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) Catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error while loading class siteaccess.web.backend.service.RestEasyClientProducer
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:186)
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:194)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.loadAnnotatedType(FastAnnotatedTypeLoader.java:113)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.createContext(FastAnnotatedTypeLoader.java:102)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.loadAnnotatedType(FastAnnotatedTypeLoader.java:91)
> at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:97)
> at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:65)
> at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)
> at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
> at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/socket/LayeredConnectionSocketFactory
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
> at java.lang.Class.getDeclaredConstructors(Class.java:2020)
> at org.jboss.weld.annotated.slim.backed.SecurityActions.getDeclaredConstructors(SecurityActions.java:57)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:163)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:160)
> at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.<init>(BackedAnnotatedType.java:156)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:160)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:160)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.<init>(BackedAnnotatedType.java:61)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:44)
> at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:83)
> at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:80)
> at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
> at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
> at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
> at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
> at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
> at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
> at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:175)
> ... 14 more
> Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.socket.LayeredConnectionSocketFactory from [Module "deployment.wildfly-httpclient-test.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> ... 38 more
> {noformat}
> I've upgraded Weld to 2.3.3 and the http client jars to the latest versions (using details from https://developer.jboss.org/thread/242798).
> Now I get the exception for a different class:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: org.apache.http.protocol.HttpContext from [Module "deployment.wildfly-httpclient-test.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> ... 38 more
> {noformat}
> I'm getting this exception also when testing with an unmodified WildFly 10.1 snapshot ( Build #2244 (Mar 24, 2016 1:10:44 PM) from https://ci.jboss.org/hudson/job/WildFly-latest-master/lastBuild/)
> I've first asked for help on the [forum|https://developer.jboss.org/thread/268871], but got no answers :(
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-6444) Apache http classes not found
by Chen Maoqian (JIRA)
[ https://issues.jboss.org/browse/WFLY-6444?page=com.atlassian.jira.plugin.... ]
Chen Maoqian reassigned WFLY-6444:
----------------------------------
Assignee: Chen Maoqian (was: Jason Greene)
> Apache http classes not found
> -----------------------------
>
> Key: WFLY-6444
> URL: https://issues.jboss.org/browse/WFLY-6444
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.0.0.Final, 10.1.0.Final
> Reporter: Andrei Ivanov
> Assignee: Chen Maoqian
> Attachments: wildfly-httpclient-test.zip
>
>
> Hi,
> I've created a trivial JAX-RS application with a CDI producer for a RestEasy JAX-RS client proxy.
> I also need to customize the HTTP engine a bit.
> The app deploys fine on JBoss 7.1.1.
> Trying to upgrade to WildFly 10.0, I got a weird error:
> {noformat}
> DEBUG [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) Catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error while loading class siteaccess.web.backend.service.RestEasyClientProducer
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:186)
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:194)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.loadAnnotatedType(FastAnnotatedTypeLoader.java:113)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.createContext(FastAnnotatedTypeLoader.java:102)
> at org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.loadAnnotatedType(FastAnnotatedTypeLoader.java:91)
> at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:97)
> at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:65)
> at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)
> at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
> at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/socket/LayeredConnectionSocketFactory
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
> at java.lang.Class.getDeclaredConstructors(Class.java:2020)
> at org.jboss.weld.annotated.slim.backed.SecurityActions.getDeclaredConstructors(SecurityActions.java:57)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:163)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:160)
> at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.<init>(BackedAnnotatedType.java:156)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:160)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:160)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.<init>(BackedAnnotatedType.java:61)
> at org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:44)
> at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:83)
> at org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:80)
> at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
> at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
> at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
> at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
> at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
> at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
> at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
> at org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:175)
> ... 14 more
> Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.socket.LayeredConnectionSocketFactory from [Module "deployment.wildfly-httpclient-test.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> ... 38 more
> {noformat}
> I've upgraded Weld to 2.3.3 and the http client jars to the latest versions (using details from https://developer.jboss.org/thread/242798).
> Now I get the exception for a different class:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: org.apache.http.protocol.HttpContext from [Module "deployment.wildfly-httpclient-test.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> ... 38 more
> {noformat}
> I'm getting this exception also when testing with an unmodified WildFly 10.1 snapshot ( Build #2244 (Mar 24, 2016 1:10:44 PM) from https://ci.jboss.org/hudson/job/WildFly-latest-master/lastBuild/)
> I've first asked for help on the [forum|https://developer.jboss.org/thread/268871], but got no answers :(
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-6413) Range headers do not seem to be handled correctly and prevents video delivery in Chrome and Safari
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-6413?page=com.atlassian.jira.plugin.... ]
Jason Greene resolved WFLY-6413.
--------------------------------
Fix Version/s: 10.1.0.Final
Resolution: Done
> Range headers do not seem to be handled correctly and prevents video delivery in Chrome and Safari
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-6413
> URL: https://issues.jboss.org/browse/WFLY-6413
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 10.0.0.Final
> Environment: WildFly 10.0.0.Final
> Windows 7 or Mac 10.11.3
> Java 8
> Chrome, Firefox, Safari
> Reporter: Jason Holmberg
> Assignee: Stuart Douglas
> Priority: Blocker
> Fix For: 10.1.0.Final
>
>
> Safari on iOS requires range headers to be able to play video content via HTML5. So enabling range headers in WildFly should make this happen. It does not. Enabling the range headers actually prevent Chrome from playing the video content, which previously worked when the range headers were NOT enabled.
> After enabling range headers as described here:
> https://developer.jboss.org/message/953058#953058
> I made some range requests via `curl` to see what is being returned:
> This is the result of a request to *WildFly* with the Range headers enabled:
> {noformat}
> $ curl -I --range 0- http://localhost:8880/vidtest/vidtest.mp4
> HTTP/1.1 200 OK
> Connection: keep-alive
> Last-Modified: Thu, 17 Mar 2016 19:15:42 GMT
> X-Powered-By: Undertow/1
> Server: WildFly/10
> Content-Type: video/mp4
> Content-Length: 8200890
> Date: Fri, 18 Mar 2016 16:59:55 GMT
> {noformat}
> This is the result of a request to the same content being served from Tomcat 8, no special config required. *All the browsers can play the content when served from Tomcat 8*:
> {noformat}
> $ curl -I --range 0- http://localhost:8080/vidtest/vidtest.mp4
> HTTP/1.1 206 Partial Content
> Server: Apache-Coyote/1.1
> Accept-Ranges: bytes
> ETag: W/"8200890-1458232627000"
> Last-Modified: Thu, 17 Mar 2016 16:37:07 GMT
> Content-Range: bytes 0-8200889/8200890
> Content-Type: video/mp4
> Content-Length: 8200890
> Date: Fri, 18 Mar 2016 17:00:08 GMT
> {noformat}
> I have created a small project that I have been using to trouble shoot this issue: https://github.com/slowtrailrunner/html5-vidtest
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ELY-468) HTTP Scope destruction notifications.
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-468?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor updated ELY-468:
---------------------------
Description: The main use case for this is related with the Session scope and how to register listeners for events such as when a session is invalidated.
> HTTP Scope destruction notifications.
> -------------------------------------
>
> Key: ELY-468
> URL: https://issues.jboss.org/browse/ELY-468
> Project: WildFly Elytron
> Issue Type: Feature Request
> Components: HTTP
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 1.1.0.Beta6
>
>
> The main use case for this is related with the Session scope and how to register listeners for events such as when a session is invalidated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ELY-469) A HTTP mechanism needs the ability to write the response.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/ELY-469?page=com.atlassian.jira.plugin.sy... ]
Darran Lofthouse resolved ELY-469.
----------------------------------
Resolution: Out of Date
Previous changes already make the response OutputStream available.
> A HTTP mechanism needs the ability to write the response.
> ---------------------------------------------------------
>
> Key: ELY-469
> URL: https://issues.jboss.org/browse/ELY-469
> Project: WildFly Elytron
> Issue Type: Feature Request
> Components: HTTP
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 1.1.0.Beta6
>
>
> A mechanism either needs to be able to write the content of the response directly, or we need to be able to provide an OutputStream the mechanism can write to so we can cache it's output and subsequently use it.
> I think direct access should be sufficient but would need to be first wins - by the time the mechanisms are sending their challenge we already know the response is being sent back to the client.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years