-
1. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
wdfink Aug 22, 2012 1:47 PM (in response to jboss_g4)If you use the exact password from the example
Password :
123123
The correct secret is
<secret value=
"MTIzMTIz="
/>
If I look into your host.xml I miss the = at the end
The secret is the base64 encoded password.
If you use newer version of AS as the CR1 you might see a question whether you use the added user for server communication, if you answer Y the base64 encoded passwd is shown.
-
2. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
jboss_g4 Aug 22, 2012 11:36 PM (in response to wdfink)I used both "MTIzMTIz" and "MTIzMTIz=".But that does not help. The base64 for 123123 is "MTIzMTIz".I am not sure why the example says "MTIzMTIz="
-
3. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
nickarls Aug 23, 2012 1:51 AM (in response to jboss_g4)I think the = and == are padding characters for Base64 but in any case, I recall having two instances communication with each other using that tutorial. Well, at least they found each other, there were other issues probably due to network settings.
-
4. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
jboss_g4 Aug 23, 2012 2:17 AM (in response to nickarls)It looks like the "slave" is not able to connect to the server.Here are the logs from the server.
-
mylog.txt.zip 10.9 KB
-
-
5. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
wdfink Aug 23, 2012 2:40 AM (in response to jboss_g4)Yes, there are "Connection timeout" messages.
I suppose a network issue.
Are you able to ping 172.16.136.195?
How do you start the domain and slave instance?
-
6. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
jboss_g4 Aug 23, 2012 2:50 AM (in response to wdfink)The ping is working fine.
I start the master and slave from domain.bat.
Pinging 172.16.136.195 with 32 bytes of data:
Reply from 172.16.136.195: bytes=32 time=2ms TTL=128
Reply from 172.16.136.195: bytes=32 time<1ms TTL=128 -
7. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
wdfink Aug 23, 2012 5:07 AM (in response to jboss_g4)What options do you set for domain.bat?
Are the Win7 firewall active? If yes deactivate it.
-
8. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
jboss_g4 Aug 23, 2012 6:09 AM (in response to wdfink)After disabling the firewall I get this error.
[Host Controller] 15:26:26,020 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.host.controller: org.jboss.msc.service.StartException in service jboss.host.controller: Failed to start service
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_31]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_31]
[Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_31]
[Host Controller] Caused by: java.lang.IllegalStateException: JBAS014921: Cannot obtain SHA-1 MessageDigest
[Host Controller] at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.<init>(ContentRepositoryImpl.java:85) [jboss-as-deployment-repository-7.1.0.CR1b.jar:7.1.0.CR1b]
[Host Controller] at org.jboss.as.domain.controller.DomainContentRepository.<init>(DomainContentRepository.java:40) [jboss-as-host-controller-7.1.0.CR1b.jar:7.1.0.CR1b]
[Host Controller] at org.jboss.as.host.controller.DomainModelControllerService.addService(DomainModelControllerService.java:154) [jboss-as-host-controller-7.1.0.CR1b.jar:7.1.0.CR1b]
[Host Controller] at org.jboss.as.host.controller.HostControllerService.start(HostControllerService.java:149) [jboss-as-host-controller-7.1.0.CR1b.jar:7.1.0.CR1b]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Host Controller] ... 3 more
[Host Controller] Caused by: java.security.NoSuchAlgorithmException: SHA-1 MessageDigest not available
[Host Controller] at sun.security.jca.GetInstance.getInstance(GetInstance.java:142) [:1.6.0_31]
[Host Controller] at java.security.Security.getImpl(Security.java:659) [:1.6.0_31]
[Host Controller] at java.security.MessageDigest.getInstance(MessageDigest.java:129) [:1.6.0_31]
[Host Controller] at org.jboss.as.server.deployment.repository.impl.ContentRepositoryImpl.<init>(ContentRepositoryImpl.java:83) [jboss-as-deployment-repository-7.1.0.CR1b.jar:7.1.0.CR1b]
[Host Controller] ... 8 more
-
9. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
ctomc Aug 23, 2012 8:08 AM (in response to jboss_g4)hi,
i would upgrade to 7.1.1.Final and problem should go away.
--
tomaz
-
10. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
jboss_g4 Aug 23, 2012 11:50 AM (in response to ctomc)Nope the problem was with the jre for SHA-1 exception.That is solved thanks.
-
11. Re: JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
wdfink Aug 23, 2012 1:30 PM (in response to jboss_g4)Good to hear that you get it working
For other who are looking for a solution you might post your JVM versions.