Forum Discussion

papowell's avatar
papowell
Occasional Contributor
13 years ago

java.net.UnkownHostException: OlePC

I just downloaded and installed SOAPUI 3.6.1 and updated to Java 1.6 (latest version).

When I was going through the tutorial, I tried the Mock Service example. When I clicked on the Green Arrow to send the login / Request 1, I got a java.net.UnkownHostException: OlePC error.

Anybody have suggestions on the cause and how to fix this?

3 Replies

  • papowell's avatar
    papowell
    Occasional Contributor
    Grrrr... I just redid the test and discovered the following little gem on the Request1 Page:
    http://Ole-PC:8088/mockSampeServiceSoapBinding

    So the default 'hostname' is Ole-PC.

    I (hopefully) solved this problem by putting 127.0.0.1 Ole-PC into the /etc/hosts file. This seems to have
    done the job. Is this a bug or something that was missed as part of the tutorial setup. I am surprised that
    they did not use 'localhost' instead of 'Ole-PC'
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Sorry about that. It will be fixed in soapUI 4.0 final, which will be out today.

    /Henrik
    eviware.com