1 Reply Latest reply on Mar 11, 2015 6:35 AM by valsaraj viswanathan

    UnknownHostException with WildFly-8.2.0 in Linux

    valsaraj viswanathan Master

      Hi,

       

      I am getting following error in Linux machine. It was working fine in Windows and then I copied to Linux and noticed the following error:

      2015-03-10 02:40:24,650 ERROR [stderr] (MSC service thread 1-4) java.net.UnknownHostException: usr

      2015-03-10 02:40:24,650 ERROR [stderr] (MSC service thread 1-4) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)

      2015-03-10 02:40:24,651 ERROR [stderr] (MSC service thread 1-4) at java.net.Socket.connect(Socket.java:579)

      2015-03-10 02:40:24,651 ERROR [stderr] (MSC service thread 1-4) at java.net.Socket.connect(Socket.java:528)

      2015-03-10 02:40:24,678 ERROR [stderr] (MSC service thread 1-4) at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:958)

      2015-03-10 02:40:24,678 ERROR [stderr] (MSC service thread 1-4) at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:918)

      2015-03-10 02:40:24,678 ERROR [stderr] (MSC service thread 1-4) at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1013)

      2015-03-10 02:40:24,679 ERROR [stderr] (MSC service thread 1-4) at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:999)

      2015-03-10 02:40:24,679 ERROR [stderr] (MSC service thread 1-4) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)

      2015-03-10 02:40:24,679 ERROR [stderr] (MSC service thread 1-4) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)

      2015-03-10 02:40:24,680 ERROR [stderr] (MSC service thread 1-4) at java.net.URL.openStream(URL.java:1037)

      2015-03-10 02:40:24,680 ERROR [stderr] (MSC service thread 1-4) at org.tolven.security.auth.PasswordStoreEntry.toCharArray(PasswordStoreEntry.java:87)

      2015-03-10 02:40:24,680 ERROR [stderr] (MSC service thread 1-4) at org.tolven.security.auth.DBPasswordStoreLoginModule.login(DBPasswordStoreLoginModule.java:68)

      2015-03-10 02:40:24,685 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      2015-03-10 02:40:24,685 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      2015-03-10 02:40:24,685 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      2015-03-10 02:40:24,686 ERROR [stderr] (MSC service thread 1-4) at java.lang.reflect.Method.invoke(Method.java:606)

      2015-03-10 02:40:24,686 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)

      2015-03-10 02:40:24,686 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)

      2015-03-10 02:40:24,687 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)

      2015-03-10 02:40:24,687 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)

      2015-03-10 02:40:24,687 ERROR [stderr] (MSC service thread 1-4) at java.security.AccessController.doPrivileged(Native Method)

      2015-03-10 02:40:24,688 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)

      2015-03-10 02:40:24,688 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.login(LoginContext.java:594)

      2015-03-10 02:40:24,688 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:411)

      2015-03-10 02:40:24,689 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:350)

      2015-03-10 02:40:24,689 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:328)

      2015-03-10 02:40:24,691 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:148)

      2015-03-10 02:40:24,691 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.plugins.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:83)

      2015-03-10 02:40:24,692 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1184)

      2015-03-10 02:40:24,692 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1179)

      2015-03-10 02:40:24,692 ERROR [stderr] (MSC service thread 1-4) at java.security.AccessController.doPrivileged(Native Method)

      2015-03-10 02:40:24,694 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.createSubject(AbstractDsDeployer.java:1178)

      2015-03-10 02:40:24,694 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.deployDataSource(AbstractDsDeployer.java:637)

      2015-03-10 02:40:24,695 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:283)

      2015-03-10 02:40:24,695 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.deploy(AbstractDataSourceService.java:310)

      2015-03-10 02:40:24,696 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:124)

      2015-03-10 02:40:24,696 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

      2015-03-10 02:40:24,699 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

      2015-03-10 02:40:24,699 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      2015-03-10 02:40:24,700 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      2015-03-10 02:40:24,700 ERROR [stderr] (MSC service thread 1-4) at java.lang.Thread.run(Thread.java:744)

      2015-03-10 02:40:24,700 ERROR [stderr] (MSC service thread 1-4) java.lang.RuntimeException: Error occurred setting up SSL: usr

      2015-03-10 02:40:24,701 ERROR [stderr] (MSC service thread 1-4) at org.tolven.security.auth.PasswordStoreEntry.toCharArray(PasswordStoreEntry.java:116)

      2015-03-10 02:40:24,701 ERROR [stderr] (MSC service thread 1-4) at org.tolven.security.auth.DBPasswordStoreLoginModule.login(DBPasswordStoreLoginModule.java:68)

      2015-03-10 02:40:24,701 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      2015-03-10 02:40:24,703 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      2015-03-10 02:40:24,703 ERROR [stderr] (MSC service thread 1-4) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      2015-03-10 02:40:24,704 ERROR [stderr] (MSC service thread 1-4) at java.lang.reflect.Method.invoke(Method.java:606)

      2015-03-10 02:40:24,704 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)

      2015-03-10 02:40:24,709 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)

      2015-03-10 02:40:24,709 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)

      2015-03-10 02:40:24,709 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)

      2015-03-10 02:40:24,709 ERROR [stderr] (MSC service thread 1-4) at java.security.AccessController.doPrivileged(Native Method)

      2015-03-10 02:40:24,710 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)

      2015-03-10 02:40:24,710 ERROR [stderr] (MSC service thread 1-4) at javax.security.auth.login.LoginContext.login(LoginContext.java:594)

      2015-03-10 02:40:24,719 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:411)

      2015-03-10 02:40:24,720 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:350)

      2015-03-10 02:40:24,720 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:328)

      2015-03-10 02:40:24,720 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:148)

      2015-03-10 02:40:24,721 ERROR [stderr] (MSC service thread 1-4) at org.jboss.security.plugins.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:83)

      2015-03-10 02:40:24,721 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1184)

      2015-03-10 02:40:24,721 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer$1.run(AbstractDsDeployer.java:1179)

      2015-03-10 02:40:24,724 ERROR [stderr] (MSC service thread 1-4) at java.security.AccessController.doPrivileged(Native Method)

      2015-03-10 02:40:24,724 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.createSubject(AbstractDsDeployer.java:1178)

      2015-03-10 02:40:24,725 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.deployDataSource(AbstractDsDeployer.java:637)

      2015-03-10 02:40:24,725 ERROR [stderr] (MSC service thread 1-4) at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:283)

      2015-03-10 02:40:24,725 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.deploy(AbstractDataSourceService.java:310)

      2015-03-10 02:40:24,726 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:124)

      2015-03-10 02:40:24,726 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

      2015-03-10 02:40:24,726 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

      2015-03-10 02:40:24,729 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      2015-03-10 02:40:24,730 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      2015-03-10 02:40:24,730 ERROR [stderr] (MSC service thread 1-4) at java.lang.Thread.run(Thread.java:744)