[JBoss JIRA] (JGRP-1849) Misconfigured SASL protocol can fail with NPE
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JGRP-1849?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JGRP-1849:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug 1107615|https://bugzilla.redhat.com/show_bug.cgi?id=1107615] from MODIFIED to ON_QA
> Misconfigured SASL protocol can fail with NPE
> ---------------------------------------------
>
> Key: JGRP-1849
> URL: https://issues.jboss.org/browse/JGRP-1849
> Project: JGroups
> Issue Type: Bug
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Priority: Optional
> Fix For: 3.4.5, 3.5
>
>
> Misconfigured JGroups SASL protocol (e.g. mech is not specified) can result into NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.jgroups.auth.sasl.SaslUtils.getSaslServerFactory(SaslUtils.java:118) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.protocols.SASL.init(SASL.java:178) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.init(JChannel.java:849) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:159) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:129) [jgroups.jar:3.5.0.Beta7]
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:373) [infinispan-core.jar:7.0.0-SNAPSHOT]
> ... 124 more
> {noformat}
> It should fail more gracefully, e.g. throw some custom exception with details what's wrong with configuration.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (JGRP-1849) Misconfigured SASL protocol can fail with NPE
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JGRP-1849?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JGRP-1849:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug 1107615|https://bugzilla.redhat.com/show_bug.cgi?id=1107615] from NEW to MODIFIED
> Misconfigured SASL protocol can fail with NPE
> ---------------------------------------------
>
> Key: JGRP-1849
> URL: https://issues.jboss.org/browse/JGRP-1849
> Project: JGroups
> Issue Type: Bug
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Priority: Optional
> Fix For: 3.4.5, 3.5
>
>
> Misconfigured JGroups SASL protocol (e.g. mech is not specified) can result into NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.jgroups.auth.sasl.SaslUtils.getSaslServerFactory(SaslUtils.java:118) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.protocols.SASL.init(SASL.java:178) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.init(JChannel.java:849) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:159) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:129) [jgroups.jar:3.5.0.Beta7]
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:373) [infinispan-core.jar:7.0.0-SNAPSHOT]
> ... 124 more
> {noformat}
> It should fail more gracefully, e.g. throw some custom exception with details what's wrong with configuration.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (JGRP-1848) SASL GSSAPI requires client_password to be set
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JGRP-1848?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JGRP-1848:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug 1107614|https://bugzilla.redhat.com/show_bug.cgi?id=1107614] from NEW to ON_QA
> SASL GSSAPI requires client_password to be set
> ----------------------------------------------
>
> Key: JGRP-1848
> URL: https://issues.jboss.org/browse/JGRP-1848
> Project: JGroups
> Issue Type: Bug
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Fix For: 3.4.5, 3.5
>
>
> SASL GSSAPI requires client_password to be set otherwise faisl with NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.jgroups.protocols.SASL.init(SASL.java:179)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861)
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)
> at org.jgroups.JChannel.init(JChannel.java:849)
> at org.jgroups.JChannel.<init>(JChannel.java:159)
> at org.jgroups.JChannel.<init>(JChannel.java:129)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:373)
> ... 124 more
> {noformat}
> GSSAPI shouldn't require neither login nor passowrd and should use those provided in referred login module (if it's set).
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFLY-3718) UT005023: Exception handling request to /frontend/images/favicon.ico: java.lang.NullPointerException
by Bertrand Donnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-3718?page=com.atlassian.jira.plugin.... ]
Bertrand Donnet commented on WFLY-3718:
---------------------------------------
Hello,
I have the exact same problem with WildFly 8.2.0.Final (Modcluster + JGroups on UDP)
It is not systematic but happens some times.
Do you have any clue about this error ?
Thanks
14:05:28,084 ERROR [io.undertow.request] (default task-12) UT005023: Exception handling request to /AofWeb/faces/main.xhtml: java.lang.NullPointerException
at org.wildfly.clustering.web.infinispan.session.coarse.CoarseImmutableSessionAttributes.getAttributeNames(CoarseImmutableSessionAttributes.java:51)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findListeners(InfinispanSessionManager.java:319)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.triggerPostActivationEvents(InfinispanSessionManager.java:308)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findSession(InfinispanSessionManager.java:163)
at org.wildfly.clustering.web.undertow.session.DistributableSessionManager.getSession(DistributableSessionManager.java:115)
at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:688) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.spec.HttpServletRequestImpl.getSession(HttpServletRequestImpl.java:364) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.weld.servlet.SessionHolder.requestInitialized(SessionHolder.java:47) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at org.jboss.weld.servlet.HttpContextLifecycle.requestInitialized(HttpContextLifecycle.java:212) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at org.jboss.weld.servlet.WeldInitialListener.requestInitialized(WeldInitialListener.java:160) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at io.undertow.servlet.core.ApplicationListeners.requestInitialized(ApplicationListeners.java:216) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:260) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
14:05:28,129 ERROR [io.undertow.servlet.request] (default task-12) UT015005: Error invoking method requestDestroyed on listener class org.jboss.weld.servlet.WeldInitialListener: java.lang.NullPointerException
at org.jboss.weld.context.AbstractBoundContext.deactivate(AbstractBoundContext.java:71) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at org.jboss.weld.context.http.HttpRequestContextImpl.deactivate(HttpRequestContextImpl.java:72) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at org.jboss.weld.servlet.HttpContextLifecycle.requestDestroyed(HttpContextLifecycle.java:282) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at org.jboss.weld.servlet.WeldInitialListener.requestDestroyed(WeldInitialListener.java:143) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
at io.undertow.servlet.core.ApplicationListeners.requestDestroyed(ApplicationListeners.java:225) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:304) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
> UT005023: Exception handling request to /frontend/images/favicon.ico: java.lang.NullPointerException
> ----------------------------------------------------------------------------------------------------
>
> Key: WFLY-3718
> URL: https://issues.jboss.org/browse/WFLY-3718
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Web (Undertow)
> Affects Versions: 8.1.0.Final
> Environment: WildFly 8.1.0.Final
> Reporter: Gabor Auth
> Assignee: Paul Ferraro
> Fix For: 8.2.0.Final
>
>
> 2014-07-30 02:12:30,088 ERROR [io.undertow.request] (default task-15) UT005023: Exception handling request to /frontend/images/favicon.ico: java.lang.NullPointerException
> at org.wildfly.clustering.web.infinispan.session.coarse.CoarseImmutableSessionAttributes.getAttributeNames(CoarseImmutableSessionAttributes.java:51)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findListeners(InfinispanSessionManager.java:320)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.triggerPostActivationEvents(InfinispanSessionManager.java:309)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findSession(InfinispanSessionManager.java:164)
> at org.wildfly.clustering.web.undertow.session.DistributableSessionManager.getSession(DistributableSessionManager.java:115)
> at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:677) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:707) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:62) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727) [undertow-core-1.0.15.Final.jar:1.0.15.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]
> 2014-07-30 02:12:30,786 ERROR [io.undertow.request] (default task-15) Blocking request failed HttpServerExchange{ GET /frontend/images/favicon.ico}: java.lang.NullPointerException
> at org.wildfly.clustering.web.infinispan.session.coarse.CoarseImmutableSessionAttributes.getAttributeNames(CoarseImmutableSessionAttributes.java:51)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findListeners(InfinispanSessionManager.java:320)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.triggerPostActivationEvents(InfinispanSessionManager.java:309)
> at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findSession(InfinispanSessionManager.java:164)
> at org.wildfly.clustering.web.undertow.session.DistributableSessionManager.getSession(DistributableSessionManager.java:115)
> at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:677)
> at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:707)
> at io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:711)
> at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:522)
> at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:137)
> at io.undertow.servlet.spec.HttpServletResponseImpl.sendError(HttpServletResponseImpl.java:142)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:273)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-287) Provide an operation to execute domain wide queries on the server side
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFCORE-287?page=com.atlassian.jira.plugin... ]
Heiko Braun updated WFCORE-287:
-------------------------------
Description:
i.e. retrieve all 'enabled' datasources that use the 'h2' driver:
{code:java}
ModelNode address = new ModelNode();
address.add("profile", "*")
.add("subsystem", "datasources")
.add("data-source", "*");
ModelNode filter = new ModelNode();
filter.add("driver-name", "h2")
.add("enabled", true);
ModelNode op = new ModelNode();
op.get(OP).set(QUERY);
op.get(ADDRESS).set(address);
op.get(WHERE).set(filter);
{code}
Another example using the CLI:
{code}
[standalone@localhost:9990 /] /path=*:query(select=[path], where={name="jboss.home.dir"})
{
"outcome" => "success",
"result" => [{
"address" => [("path" => "jboss.home.dir")],
"outcome" => "success",
"result" => {"path" => "/Users/hbraun/dev/prj/wildfly-core/core-build/target/wildfly-core-1.0.0.Alpha14-SNAPSHOT"}
}]
}
{code}
was:
See https://github.com/hpehl/map-reduce
{code:java}
ModelNode address = new ModelNode();
address.add("profile", "*")
.add("subsystem", "datasources")
.add("data-source", "*");
ModelNode filter = new ModelNode();
filter.add("driver-name", "h2")
.add("enabled", true);
ModelNode op = new ModelNode();
op.get(OP).set(MAP_REDUCE);
op.get(ADDRESS_TEMPLATE).set(address);
op.get(FILTER).set(filter);
// To return datasources where (driver-name == h2 || enabled == true) use
// op.get(FILTER_CONJUNCT).set(false);
{code}
> Provide an operation to execute domain wide queries on the server side
> ----------------------------------------------------------------------
>
> Key: WFCORE-287
> URL: https://issues.jboss.org/browse/WFCORE-287
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Heiko Braun
> Assignee: Heiko Braun
> Fix For: 1.0.0.Beta1
>
>
> i.e. retrieve all 'enabled' datasources that use the 'h2' driver:
> {code:java}
> ModelNode address = new ModelNode();
> address.add("profile", "*")
> .add("subsystem", "datasources")
> .add("data-source", "*");
> ModelNode filter = new ModelNode();
> filter.add("driver-name", "h2")
> .add("enabled", true);
> ModelNode op = new ModelNode();
> op.get(OP).set(QUERY);
> op.get(ADDRESS).set(address);
> op.get(WHERE).set(filter);
> {code}
> Another example using the CLI:
> {code}
> [standalone@localhost:9990 /] /path=*:query(select=[path], where={name="jboss.home.dir"})
> {
> "outcome" => "success",
> "result" => [{
> "address" => [("path" => "jboss.home.dir")],
> "outcome" => "success",
> "result" => {"path" => "/Users/hbraun/dev/prj/wildfly-core/core-build/target/wildfly-core-1.0.0.Alpha14-SNAPSHOT"}
> }]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-287) Provide an operation to execute domain wide queries on the server side
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFCORE-287?page=com.atlassian.jira.plugin... ]
Heiko Braun updated WFCORE-287:
-------------------------------
Summary: Provide an operation to execute domain wide queries on the server side (was: Provide a 'map-reduce' operation to execute domain wide queries on the server side)
> Provide an operation to execute domain wide queries on the server side
> ----------------------------------------------------------------------
>
> Key: WFCORE-287
> URL: https://issues.jboss.org/browse/WFCORE-287
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Heiko Braun
> Assignee: Heiko Braun
> Fix For: 1.0.0.Beta1
>
>
> See https://github.com/hpehl/map-reduce
> {code:java}
> ModelNode address = new ModelNode();
> address.add("profile", "*")
> .add("subsystem", "datasources")
> .add("data-source", "*");
> ModelNode filter = new ModelNode();
> filter.add("driver-name", "h2")
> .add("enabled", true);
> ModelNode op = new ModelNode();
> op.get(OP).set(MAP_REDUCE);
> op.get(ADDRESS_TEMPLATE).set(address);
> op.get(FILTER).set(filter);
> // To return datasources where (driver-name == h2 || enabled == true) use
> // op.get(FILTER_CONJUNCT).set(false);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month