Forum Discussion

jnickgo's avatar
jnickgo
Occasional Contributor
8 years ago

IO Error: Unknown host specified in TestRunner Execution

Hello,   We have some Test Steps that make use of JDBC connections in SoapUI.     For our Oracle database we use a tnsnames.ora file to manage the hosts and connections.  I did have some initial ...
  • fredsvar's avatar
    fredsvar
    8 years ago

    The .vmoptions file is only read by the exe file when running readyapi. There might be an easier way I don't know of but I think what you will have to do is to open the testrunner.bat (or testrunner.sh) file and edit it manually. This is what I would do.

     

    Where you see: 

    fi
    
    export JAVA_OPTS
    
    # For Cygwin, switch paths to Windows format before running java
    

    Modify it to read: 

     

     

    fi
    
    JAVA_OPTS="$JAVA_OPTS -Doracle.net.tns_admin=H:\Oracle8"
    export JAVA_OPTS # For Cygwin, switch paths to Windows format before running java

    Please let me know if it worked.