CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   FoamX error (http://www.cfd-online.com/Forums/openfoam-pre-processing/62137-foamx-error.html)

derath April 25, 2007 04:46

Hi to all, I'm new user of Ope
 
Hi to all, I'm new user of OpenFoam, but when I run FoamX I've this message of error:
HostBrowser running.....
Setting LANG to en_EN
Using jar /home/giuseppe/OpenFOAM/OpenFOAM-1.4/applications/utilities/preProcessing/FoamX/ lib/FoamX.jar
Using jar /home/giuseppe/OpenFOAM/OpenFOAM-1.4/applications/utilities/preProcessing/FoamX/ lib/jlfgr-1_0.jar
Apr 25, 2007 10:41:25 AM com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.0.2; port: 900"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(ORBUtilSyste mException.java:2172)
at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(ORBUtilSyste mException.java:2193)
at com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(SocketOrCha nnelConnectionImpl.java:205)
at com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(SocketOrCha nnelConnectionImpl.java:218)
at com.sun.corba.se.impl.transport.SocketOrChannelCon tactInfoImpl.createConnection( SocketOrChannelContactInfoImpl.java:101)
at com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Cor baClientRequestDispatcherImpl.java:152)
at com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.request(CorbaClientDelega teImpl.java:118)
at com.sun.corba.se.impl.resolver.BootstrapResolverIm pl.invoke(BootstrapResolverImp l.java:74)
at com.sun.corba.se.impl.resolver.BootstrapResolverIm pl.resolve(BootstrapResolverIm pl.java:107)
at com.sun.corba.se.impl.resolver.CompositeResolverIm pl.resolve(CompositeResolverIm pl.java:22)
at com.sun.corba.se.impl.resolver.CompositeResolverIm pl.resolve(CompositeResolverIm pl.java:22)
at com.sun.corba.se.impl.resolver.CompositeResolverIm pl.resolve(CompositeResolverIm pl.java:22)
at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_ references(ORBImpl.java:1157)
at FoamX.App.initialiseHostBrowser(App.java:431)
at FoamX.App.initialise(App.java:343)
at FoamX.App.main(App.java:186)
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannel Impl.java:464)
at java.nio.channels.SocketChannel.open(SocketChannel .java:146)
at com.sun.corba.se.impl.transport.DefaultSocketFacto ryImpl.createSocket(DefaultSoc ketFactoryImpl.java:60)
at com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(SocketOrCha nnelConnectionImpl.java:188)
... 13 more
Someone can help me?
thanks

7islands April 25, 2007 05:33

Hi, I guess you're using Open
 
Hi,
I guess you're using OpenFOAM 1.4 with a relatively newer version of Java VM (1.5 or later). Try modifying the line 221 of the OpenFOAM-1.4/bin/FoamX script

<pre>orbArgs="-ORBDefaultInitRef corbaloc:iiop:1.0:$HOSTNAME:$HOSTPORT"</pre>

to

<pre>orbArgs="-ORBDefaultInitRef corbaloc:iiop:1.0:$HOSTNAME:$HOSTPORT -ORBInitialPort $HOSTPORT -ORBInitialHost $HOSTNAME"</pre>

Takuya

derath April 25, 2007 05:51

Thanks Takuya, it works... :-
 
Thanks Takuya,
it works... :-D


All times are GMT -4. The time now is 22:11.