java.net.UnknownHostException: web3.cardboard-box.com: web3.cardboard-box.com

Atlassian JIRA | Vincent Choy [Atlassian] | 5 years ago
  1. 0

    From Scott McCulley, I ran in to some difficulties during the install of Crowd. I thought I might bring them up to as something to address in your next release. 1) During the configuration of the default admin, the application attempts to resolve the hostname of the server. If it fails, it reports error. But before it does, it adds the user and group to the DB so it is impossible to re-use that admin user or create a new one, since the group already exists. Question: {noformat} Is it really necessary to attempt to resolve the hostname of the server? What if (and I am) using a different name to access Crowd, and it isn't the name of the server?? {noformat} Suggestion: {noformat} 1) Ask for the name of the server (actually, I think you do.) Then use that server name instead of attempting to use the hostname. 2) Don't create the user if you intend to fail. Or if you fail, drop the user from the DB, so it can be re-used later. 3) Same goes for the admin group as well... {noformat} Error log: {noformat} 2011-09-18 19:34:20,050 http-8095-1 INFO [console.action.setup.SelectSetupStep] Current setup step is /console/setup/directoryinternalsetup.action 2011-09-18 19:34:24,651 http-8095-1 INFO [console.action.setup.SelectSetupStep] Current setup step is /console/setup/defaultadministrator.action 2011-09-18 19:34:46,700 http-8095-1 ERROR [console.action.setup.DefaultAdministrator] web3.cardboard-box.com: web3.cardboard-box.com java.net.UnknownHostException: web3.cardboard-box.com: web3.cardboard-box.com at java.net.InetAddress.getLocalHost(InetAddress.java:1360) at com.atlassian.crowd.console.action.setup.DefaultAdministrator.addCrowdApplication(DefaultAdministrator.java:213) at com.atlassian.crowd.console.action.setup.DefaultAdministrator.doUpdate(DefaultAdministrator.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat}

    Atlassian JIRA | 5 years ago | Vincent Choy [Atlassian]
    java.net.UnknownHostException: web3.cardboard-box.com: web3.cardboard-box.com
  2. 0

    From Scott McCulley, I ran in to some difficulties during the install of Crowd. I thought I might bring them up to as something to address in your next release. 1) During the configuration of the default admin, the application attempts to resolve the hostname of the server. If it fails, it reports error. But before it does, it adds the user and group to the DB so it is impossible to re-use that admin user or create a new one, since the group already exists. Question: {noformat} Is it really necessary to attempt to resolve the hostname of the server? What if (and I am) using a different name to access Crowd, and it isn't the name of the server?? {noformat} Suggestion: {noformat} 1) Ask for the name of the server (actually, I think you do.) Then use that server name instead of attempting to use the hostname. 2) Don't create the user if you intend to fail. Or if you fail, drop the user from the DB, so it can be re-used later. 3) Same goes for the admin group as well... {noformat} Error log: {noformat} 2011-09-18 19:34:20,050 http-8095-1 INFO [console.action.setup.SelectSetupStep] Current setup step is /console/setup/directoryinternalsetup.action 2011-09-18 19:34:24,651 http-8095-1 INFO [console.action.setup.SelectSetupStep] Current setup step is /console/setup/defaultadministrator.action 2011-09-18 19:34:46,700 http-8095-1 ERROR [console.action.setup.DefaultAdministrator] web3.cardboard-box.com: web3.cardboard-box.com java.net.UnknownHostException: web3.cardboard-box.com: web3.cardboard-box.com at java.net.InetAddress.getLocalHost(InetAddress.java:1360) at com.atlassian.crowd.console.action.setup.DefaultAdministrator.addCrowdApplication(DefaultAdministrator.java:213) at com.atlassian.crowd.console.action.setup.DefaultAdministrator.doUpdate(DefaultAdministrator.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat}

    Atlassian JIRA | 5 years ago | Vincent Choy [Atlassian]
    java.net.UnknownHostException: web3.cardboard-box.com: web3.cardboard-box.com
  3. 0

    UnknownHostException resolving local host name kills Proxy

    GitHub | 4 years ago | mahileeb
    java.net.UnknownHostException: ip-10-10-1-151: ip-10-10-1-151
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HIVE VIEW ERROR

    Stack Overflow | 4 years ago | Yogesh Selvaraj
    java.net.UnknownHostException: server-1358839685-az-1-region-a-geo-1.localdomain: server-1358839685-az-1-region-a-geo-1.localdomain
  6. 0

    ehcache failed in production environment

    Stack Overflow | 4 years ago | Shahid Pathan
    java.net.UnknownHostException: static-182-18-145-83.ctrls.in: static-182-18-145-83.ctrls.in

  1. nasimk 1 times, last 3 weeks ago
  2. mortalman7 1 times, last 4 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    web3.cardboard-box.com: web3.cardboard-box.com

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1360)
    1 frame
  3. com.atlassian.crowd
    DefaultAdministrator.doUpdate
    1. com.atlassian.crowd.console.action.setup.DefaultAdministrator.addCrowdApplication(DefaultAdministrator.java:213)
    2. com.atlassian.crowd.console.action.setup.DefaultAdministrator.doUpdate(DefaultAdministrator.java:112)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames