[JBoss JIRA] (JBJCA-1257) SemaphoreConcurrentLinkedQueueManagedConnectionPool
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1257?page=com.atlassian.jira.plugin... ]
Radim Vansa updated JBJCA-1257:
-------------------------------
Description:
With SemaphoreConcurrentLinkedQueueManagedConnectionPool, if creating a new connection fails with exception, logging this
{code}
log.throwableWhileTryingMatchManagedConnectionThenDestroyingConnection(clw.getConnectionListener(), t);
{code}
https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or...
causes NPE since clw == null. This way, the NPE is eventually swallowed on https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or... and only generic ResourceException (without much info) is thrown.
was:
With SemaphoreConcurrentLinkedQueueManagedConnectionPool, if creating a new connection fails with exception, logging this
{code}
log.throwableWhileTryingMatchManagedConnectionThenDestroyingConnection(clw.getConnectionListener(), t);
{code}
https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or...
causes NPE since clw == null.
> SemaphoreConcurrentLinkedQueueManagedConnectionPool
> ---------------------------------------------------
>
> Key: JBJCA-1257
> URL: https://issues.jboss.org/browse/JBJCA-1257
> Project: IronJacamar
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 1.0.31.Final
> Reporter: Radim Vansa
> Assignee: Jesper Pedersen
> Priority: Minor
>
> With SemaphoreConcurrentLinkedQueueManagedConnectionPool, if creating a new connection fails with exception, logging this
> {code}
> log.throwableWhileTryingMatchManagedConnectionThenDestroyingConnection(clw.getConnectionListener(), t);
> {code}
> https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or...
> causes NPE since clw == null. This way, the NPE is eventually swallowed on https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or... and only generic ResourceException (without much info) is thrown.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (WFCORE-612) Fix composite response structures
by Heiko Braun (JIRA)
Heiko Braun created WFCORE-612:
----------------------------------
Summary: Fix composite response structures
Key: WFCORE-612
URL: https://issues.jboss.org/browse/WFCORE-612
Project: WildFly Core
Issue Type: Sub-task
Reporter: Heiko Braun
'address' and 'outcome' are not set
{noformat}
[domain@localhost:9990 /] /host=master/server-config=*:query(select=[name], where={status=STARTED})
{
"outcome" => "success",
"result" => [
{
"address" => undefined,
"outcome" => undefined,
"result" => {"name" => "server-one"}
},
{
"address" => undefined,
"outcome" => undefined,
"result" => {"name" => "server-two"}
},
{
"address" => undefined,
"outcome" => undefined,
"result" => undefined
}
],
"server-groups" => undefined
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (WFCORE-282) Wildcard operations that span multiple processes
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFCORE-282?page=com.atlassian.jira.plugin... ]
Heiko Braun commented on WFCORE-282:
------------------------------------
An example (related to WFCORE-287), what I would like to see provided:
{noformat}
[domain@localhost:9990 /] /host=*/server-config=*:query(select=[name], where={status=STARTED})
Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
("host" => "*"),
("server-config" => "*")
]"
{noformat}
> Wildcard operations that span multiple processes
> ------------------------------------------------
>
> Key: WFCORE-282
> URL: https://issues.jboss.org/browse/WFCORE-282
> Project: WildFly Core
> Issue Type: Task
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Labels: as7-ignored
> Fix For: 1.0.0.Beta1
>
>
> Handle host=* and host=y,server=* type operations.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[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 commented on WFCORE-287:
------------------------------------
Another domain example:
{noformat}
[domain@localhost:9990 /] /host=master/server-config=*:query(where={status=STARTED})
{
"outcome" => "success",
"result" => [
{
"address" => undefined,
"outcome" => undefined,
"result" => {
"auto-start" => true,
"cpu-affinity" => undefined,
"group" => "main-server-group",
"name" => "server-one",
"priority" => undefined,
"socket-binding-default-interface" => undefined,
"socket-binding-group" => undefined,
"socket-binding-port-offset" => 0,
"status" => "STARTED",
"update-auto-start-with-server-status" => false,
"interface" => undefined,
"jvm" => undefined,
"path" => undefined,
"system-property" => undefined
}
},
{
"address" => undefined,
"outcome" => undefined,
"result" => {
"auto-start" => true,
"cpu-affinity" => undefined,
"group" => "main-server-group",
"name" => "server-two",
"priority" => undefined,
"socket-binding-default-interface" => undefined,
"socket-binding-group" => undefined,
"socket-binding-port-offset" => 150,
"status" => "STARTED",
"update-auto-start-with-server-status" => false,
"interface" => undefined,
"jvm" => undefined,
"path" => undefined,
"system-property" => undefined
}
},
{
"address" => undefined,
"outcome" => undefined,
"result" => undefined
}
],
"server-groups" => undefined
}
{noformat}
> 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.11#6341)
11 years, 2 months