[
https://issues.jboss.org/browse/AS7-2268?page=com.atlassian.jira.plugin.s...
]
Andreas Tauber edited comment on AS7-2268 at 1/5/12 11:42 AM:
--------------------------------------------------------------
Hi Tomaz,
i tested the domain setup with the new AS 7.1.CR1b and now I have a different problem. The
Host Controller on my Windows XP is not able to connect to the domain controller on the
SuSE Linux machine. I have the following stack trace on the XP console when I start the
domain.bat:
[Host Controller] 17:15:10,453 ERROR [org.xnio.listener] (XNIO NIO Read 2) A cha
nnel event listener threw an exception: java.lang.NullPointerException
[Host Controller] at org.jboss.remoting3.remote.ClientConnectionOpenListen
er$Capabilities.handleEvent(ClientConnectionOpenListener.java:291)
[Host Controller] at org.jboss.remoting3.remote.ClientConnectionOpenListen
er$Capabilities.handleEvent(ClientConnectionOpenListener.java:182)
[Host Controller] at org.xnio.ChannelListeners.invokeChannelListener(Chann
elListeners.java:71)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel.handl
eReadable(TranslatingSuspendableChannel.java:173)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel$2.han
dleEvent(TranslatingSuspendableChannel.java:94)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel$2.han
dleEvent(TranslatingSuspendableChannel.java:92)
[Host Controller] at org.xnio.ChannelListeners.invokeChannelListener(Chann
elListeners.java:71)
[Host Controller] at org.xnio.nio.NioHandle.invoke(NioHandle.java:77)
[Host Controller] at org.xnio.nio.AbstractNioChannelThread$1.run(AbstractN
ioChannelThread.java:142)
[Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
[Host Controller]
[Host Controller] 17:15:15,437 WARN [org.jboss.as.domain.controller] (Controlle
r Boot Thread) Could not connect to remote domain controller 192.168.2.100:9999
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) Exception
in thread "Controller Boot Thread" java.lang.IllegalStateException:
java.net.Co
nnectException: Could not connect to remote server at 5000 within 5000ms
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnec
tionService.java:238)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.register(RemoteDomainConne
ctionService.java:159)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerS
ervice.java:291)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.controller.AbstractControllerService$1.run(AbstractControllerService.jav
a:83)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at java.
lang.Thread.run(Thread.java:662)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) Caused by
: java.net.ConnectException: Could not connect to remote server at 5000 within 5
000ms
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:144)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnec
tionService.java:221)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) ... 4 mo
re
[Host Controller]
I think my configuration for both machines is correct.
On domain controller (linux) I have:
<interface name="management">
<inet-address value="192.168.2.100"/>
</interface>
On host controller (win xp) I have:
<remote host="192.168.2.100" port="9999"/>
At least I should be able to connect? And I am not sure what the error message in the
stacktrace means:
Could not connect to remote server at 5000 within 5000ms.
At 5000?
Looking forward to your help.
was (Author: AndiTaube):
Hi Tomaz,
i tested the domain setup with the new AS 7.1.CR1b and now I have a different problem. The
Host Controller on my Windows XP is not able to connect to the domain controller on the
SuSE Linux machine. I have the following stack trace on the XP console:
[Host Controller] 17:15:10,453 ERROR [org.xnio.listener] (XNIO NIO Read 2) A cha
nnel event listener threw an exception: java.lang.NullPointerException
[Host Controller] at org.jboss.remoting3.remote.ClientConnectionOpenListen
er$Capabilities.handleEvent(ClientConnectionOpenListener.java:291)
[Host Controller] at org.jboss.remoting3.remote.ClientConnectionOpenListen
er$Capabilities.handleEvent(ClientConnectionOpenListener.java:182)
[Host Controller] at org.xnio.ChannelListeners.invokeChannelListener(Chann
elListeners.java:71)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel.handl
eReadable(TranslatingSuspendableChannel.java:173)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel$2.han
dleEvent(TranslatingSuspendableChannel.java:94)
[Host Controller] at org.xnio.channels.TranslatingSuspendableChannel$2.han
dleEvent(TranslatingSuspendableChannel.java:92)
[Host Controller] at org.xnio.ChannelListeners.invokeChannelListener(Chann
elListeners.java:71)
[Host Controller] at org.xnio.nio.NioHandle.invoke(NioHandle.java:77)
[Host Controller] at org.xnio.nio.AbstractNioChannelThread$1.run(AbstractN
ioChannelThread.java:142)
[Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
[Host Controller]
[Host Controller] 17:15:15,437 WARN [org.jboss.as.domain.controller] (Controlle
r Boot Thread) Could not connect to remote domain controller 192.168.2.100:9999
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) Exception
in thread "Controller Boot Thread" java.lang.IllegalStateException:
java.net.Co
nnectException: Could not connect to remote server at 5000 within 5000ms
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnec
tionService.java:238)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.register(RemoteDomainConne
ctionService.java:159)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerS
ervice.java:291)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.controller.AbstractControllerService$1.run(AbstractControllerService.jav
a:83)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at java.
lang.Thread.run(Thread.java:662)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) Caused by
: java.net.ConnectException: Could not connect to remote server at 5000 within 5
000ms
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:144)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) at org.j
boss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnec
tionService.java:221)
[Host Controller]
[Host Controller] 17:15:15,546 ERROR [stderr] (Controller Boot Thread) ... 4 mo
re
[Host Controller]
I think my configuration for both machines is correct.
On domain controller (linux) I have:
<interface name="management">
<inet-address value="192.168.2.100"/>
</interface>
On host controller (win xp) I have:
<remote host="192.168.2.100" port="9999"/>
At least I should be able to connect? And I am not sure what the error message in the
stacktrace means:
Could not connect to remote server at 5000 within 5000ms.
At 5000?
Looking forward to your help.
Domain member does startup instances
------------------------------------
Key: AS7-2268
URL:
https://issues.jboss.org/browse/AS7-2268
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.0.2.Final
Environment: SuSE Linux Domain Admin; Windows XP Domain Member; JBoss Web 7.0.2
on both sides
Reporter: Andreas Tauber
Assignee: Tomaz Cerar
Fix For: 7.1.0.Final
After creating domain setup, resolved with ticket AS7-1431 individual instances defined
with attribute autostart in host.xml of the domain member to not startup automatically
when starting the domain.sh of this cluster member.
Ok, at the moment the Admin Console is able to see my Windows XP Domain Member with three
defined instances (they dont honor autostart). So I try to use Console to start those
instances. Nothing really happens. AdminConsole shows green light, pressing another button
goes back to red. ok, green, then red, the instances on xp domain member are not started.
Starting server-four(xp) from my AdminConsole on domain controller(linux) brings one
message on console:
[Host Controller] 21:56:04,984 WARN [org.jboss.as.host.controller] (pool-4-thread-4)
Existing server [Server:server-four] with state: STARTING
But simply nothing happens.
Looking forward to do full cluster deployment on "my" JBoss AS7.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira