CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Java.net Exceptions (https://www.cfd-online.com/Forums/star-ccm/125225-java-net-exceptions.html)

Olothreutes October 22, 2013 00:14

Java.net Exceptions
 
Edit: I have resolved this issue. The cause was my /etc/hosts file not including the name of the machine. After adding the machine name to the hosts file all is well.

I am attempting to run StarCCM+ 8.04.010 on scientific linux 6.4. I can check out a copy from the power on demand server. It seems that once the server tries to start a host on my machine it fails.

The final command I see in the output window is: Server::start -host Orion:47827 Orion being the name of my local machine.

After several minutes of waiting I get a java error, java.net.UnknownHostException: Orion

There are several lines of traceback in this error message, copied in full below. I don't know how to resolve this issue. I've tried reinstalling several times, both double and single precision, and nothing seems to work. I feel like the error is with the JDK and not with StarCCM+ directly, but the java install is packed with the .bin.

That said, StarCCM+ seems to think it is using java 1.6 and my console tells me I have java 1.7 installed.

Error Message:
java.net.UnknownHostException: Orion: Orion
at java.net.InetAddress.getLocalHost(InetAddress.java :1374)
at org.netbeans.CLIHandler$1.run(CLIHandler.java:568)
at org.openide.util.RequestProcessor$Task.run(Request Processor.java:1418)
at org.openide.util.RequestProcessor$Processor.run(Re questProcessor.java:1957)
Exception with Details [star.base.neo.NeoErrorManager]: error: java.net.UnknownHostException: Orion

error: java.net.UnknownHostException: Orion
at star.base.neo.NeoClient.connect(NeoClient.java:92)
at star.base.neo.ServerConnection.<init>(ServerConnec tion.java:182)
at star.base.neo.ServerConnection.<init>(ServerConnec tion.java:160)
at star.coremodule.SimulationProcessObject.<init>(Sim ulationProcessObject.java:232)
at star.coremodule.SimulationProcessObject.<init>(Sim ulationProcessObject.java:212)
at star.coremodule.ui.OpenOptionsDialog$2.run(OpenOpt ionsDialog.java:112)
at org.openide.util.RequestProcessor$Task.run(Request Processor.java:1418)
at org.openide.util.RequestProcessor$Processor.run(Re questProcessor.java:1957)
Caused by: java.net.UnknownHostException: Orion
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at star.base.neo.NeoClient.connect(NeoClient.java:81)
... 7 more
java.net.UnknownHostException: Orion


All times are GMT -4. The time now is 05:48.