[infinispan-issues] [JBoss JIRA] (ISPN-10411) Domain controller console shows blank page

Juan Antonio Farré Basurte (Jira) issues at jboss.org
Wed Jul 17 10:18:00 EDT 2019


    [ https://issues.jboss.org/browse/ISPN-10411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760166#comment-13760166 ] 

Juan Antonio Farré Basurte commented on ISPN-10411:
---------------------------------------------------

I think I found the problem.
When I specify jboss.node.name, in some calls, its value is used both for the host and for the server names.
For example, suppose I have:
<host ... name="myHost">
    <server name="myServer">
          <property name="jboss.node.name" value="myNode"/>

The failing request specifies host: myNode and server: myNode.
If I remove the property jboss.node.name, then the request is host: myHost and server: myServer and it works just fine.

This seems to me a bug using jboss.node.name where it shouldn't. This happens in Infinispan 9.4.15, but not, for example in Keycloak 6.0.1.

Anyway, it would be nice to get the console rendered with a suitable error, so I won't close this, just lower the priority.

> Domain controller console shows blank page
> ------------------------------------------
>
>                 Key: ISPN-10411
>                 URL: https://issues.jboss.org/browse/ISPN-10411
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Console
>    Affects Versions: 9.4.15.Final
>         Environment: CentOs 7.6.1810 (Core) X86_64
> OpenJDK 1.8.0.212.b04
>            Reporter: Juan Antonio Farré Basurte
>            Priority: Major
>              Labels: console, infinispan, web-console, wildfly
>         Attachments: infinispan.PNG, infinispan.PNG
>
>
> I have a regular installation of Infinispan in domain mode, with a master node and a slave node in a separate machine.
> When I connect through my browser to WildFly console at http://myHost:9990/console I am asked to log in.
> After succesful login, I get redirected to:
> http://localhost:9990/console/index.html#/containers
> and nothing is rendered at all. The page is totally blank.
> With the browser developer tools, I can see many POSTs succeeding, but later some of them fail with error 500 and the following failure description in the payload:
> {code:json}
> {
>     "outcome" : "failed",
>     "failure-description" : "WFLYCTL0030: No resource definition is registered for address [\n    (\"host\" => \"infinispan-HS2-1\"),\n    (\"server\" => \"infinispan-HS2-1\"),\n    (\"subsystem\" => \"datagrid-infinispan\"),\n    (\"cache-container\" => \"clustered\")\n]",
>     "rolled-back" : true
> }
> {code}
> This is with Firefox 68.0, Chrome 75.0 and IE 11, so it does not seem to be browser related.
>  
> More information:
> I don't see any error message in the logs.
> Appart of this, the infinispan server is working correctly.
> I also have a very similar installation of Keycloak 6.0.1 and WildFly console works perfectly.
> Keycloak packages WildFly 16 and Infinispan, WildFly 14.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the infinispan-issues mailing list