CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

FoamX problemcasebrowser

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2006, 06:48
Default Hi! All I have 2 PCs (Here
  #1
tadashi
Guest
 
Posts: n/a
Hi! All

I have 2 PCs (Here I call these as A and B), and I could run OpenFOAM on both PCs as standalone.
But when I tryed to open the case of A from B by using FoamX, FoamX told me that it couldn't open the case.

I can access A to B by using ssh and "foamInstalationTest" also tell nothing wrong with setup.

Does someone help me?

I will show the log of console.

[tadashi@tmori oodles]$ Starting NameServer with inet:127.0.0.1:1234 ...
Starting FoamX Host Browser with inet:127.0.0.1:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Jul 26 2006
Time : 19:38:51
Host : tmori
PID : 28999
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar
Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar
Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
Doing (with timeout 0) : "ssh panoutsosvisitor -l tadashi FoamXCaseBrowser -ORBNamingAddr inet:127.0.0.1:1234 &"
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXCaseBrowser
Date : Jul 26 2006
Time : 11:39:22
Host : panoutsosvisitor
PID : 2226
Root :
Case :
Nprocs : 1
Finishing FoamXCaseBrowser::main(int argc, char **argv)
Caught FoamXError exception in FoamXCaseBrowser::main(int argc, char **argv) :
FoamXError "Unexpected error"
In function "FoamX::NameServer::connect(CORBA:RB_ptr pOrb)"
in file "NameServer.C" at line 220
FoamX.Exceptions.FoamXException: No caseBrowser started on panoutsosvisitor
at FoamX.CaseManagement.CaseBrowserModel.getCaseBrows erReference(CaseBrowserModel.j ava:415)
at FoamX.CaseManagement.CaseBrowserModel.startCaseBro wser(CaseBrowserModel.java:458 )
at FoamX.CaseManagement.CaseBrowserPanel$StartCaseBro wserAction.actionPerformed(Cas eBrowserPanel.java:1607)
at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen(CaseBrowserPanel.java:1383 )
at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(CaseBrowserPanel.java:1246)
at FoamX.CaseManagement.CaseBrowserPanel.access$200(C aseBrowserPanel.java:69)
at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(CaseBrowserPanel.java:1149)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211)
at java.awt.Component.processMouseEvent(Component.jav a:5103)
at java.awt.Component.processEvent(Component.java:489 7)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3207) at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128)
at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:2 01)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151 )
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)
/home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 28999 abort FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 28995).
/home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 66: 28995 abort nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null
  Reply With Quote

Old   July 27, 2006, 04:35
Default The problem could be the 127.0
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
The problem could be the 127.0.0.1 instead of the hostname. Do not use 'localhost' and/or change your /etc/hosts.
mattijs is offline   Reply With Quote

Old   July 27, 2006, 05:54
Default Hi! Mattijs Thank you for y
  #3
tadashi
Guest
 
Posts: n/a
Hi! Mattijs

Thank you for your suggestion, but I still have same problem as below. Do you have any other idea?

Tadashi

[tadashi@tmori oodles]$ Starting NameServer with inet:tmori:1234 ...
Starting FoamX Host Browser with inet:tmori:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Jul 27 2006
Time : 19:54:55
Host : tmori
PID : 11935
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar
Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar
Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
Doing (with timeout 0) : "ssh panoutsosvisitor -l tadashi FoamXCaseBrowser -ORBNamingAddr inet:tmori:1234 &"
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXCaseBrowser
Date : Jul 27 2006
Time : 11:55:19
Host : panoutsosvisitor
PID : 7967
Root :
Case :
Nprocs : 1
Caught FoamXError exception in FoamXCaseBrowser::main(int argc, char **argv) :
FoamXError "Unexpected error"
In function "FoamX::NameServer::connect(CORBA:RB_ptr pOrb)"
in file "NameServer.CFinishing FoamXCaseBrowser::main(int argc, char **argv)
" at line 220
FoamX.Exceptions.FoamXException: No caseBrowser started on panoutsosvisitor
at FoamX.CaseManagement.CaseBrowserModel.getCaseBrows erReference(CaseBrowserModel.j ava:415)
at FoamX.CaseManagement.CaseBrowserModel.startCaseBro wser(CaseBrowserModel.java:458 )
at FoamX.CaseManagement.CaseBrowserPanel$StartCaseBro wserAction.actionPerformed(Cas eBrowserPanel.java:1607)
at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen(CaseBrowserPanel.java:1383 )
at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(CaseBrowserPanel.java:1246)
at FoamX.CaseManagement.CaseBrowserPanel.access$200(C aseBrowserPanel.java:69)
at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(CaseBrowserPanel.java:1149)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.Component.processMouseEvent(Component.jav a:5103)
at java.awt.Component.processEvent(Component.java:489 7)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3207)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128)
at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:2 01)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151 )
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)
/home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 11935 aborted FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 11933).
/home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 66: 11933 aborted nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null
  Reply With Quote

Old   July 28, 2006, 12:15
Default Works for me. Running hostb
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Works for me.

Running hostbrowser on a macine 'hunt', starting casebrowser on 'dm':

Doing (with timeout 0) : "ssh dm -l mattijs FoamXCaseBrowser -ORBNamingAddr inet:hunt:1234 &"
CaseBrowser running.....

Guess your panoutsosvisitor machine does not 'know' tmori (from the nameserver address inet:tmori:1234) or the port 1234 is already taken.
mattijs is offline   Reply With Quote

Old   July 31, 2006, 10:16
Default Dear Mattijs Thanks for you
  #5
tadashi
Guest
 
Posts: n/a
Dear Mattijs

Thanks for your reply.
I changed port from 1234 to another by changing the file ~/OpenFOAM/.OpenFOAM-1.3/apps/FoamX/FoamXClient.cfg and also checked host name by pinging.
But still I have same problem, only one thing that I found is that "echo $HOST" reply nothing.
Does it make problem and what can I do for, if it makes problem?
  Reply With Quote

Old   August 1, 2006, 12:28
Default You will need a valid hostname
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You will need a valid hostname and a single entry in /etc/hosts for it.

E.g. if I grep for my machine:

grep hunt /etc/hosts

I get:

10.0.0.159 hunt hunt.opencfd.co.uk
mattijs is offline   Reply With Quote

Old   August 1, 2006, 13:19
Default Dear Mattijs Yep, When I c
  #7
tadashi
Guest
 
Posts: n/a
Dear Mattijs

Yep,
When I checked as you said, it showed as below.

grep tmori /etc/hosts

I got

***.198.69.210 tmori
(I just hide first 3 digit )

?
  Reply With Quote

Old   August 2, 2006, 01:56
Default Check the ns.ref that gets wri
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Check the ns.ref that gets written by nsd (inside the runFoamXHB script). Check that both computers can read it. Check the contents with iordump or iordecode (I forget which). Check the machine name in there (has to be exactly the same as the machine in /etc/hosts, including domain name).
mattijs is offline   Reply With Quote

Old   August 2, 2006, 04:28
Default Dear Mattijs I checked the
  #9
tadashi
Guest
 
Posts: n/a
Dear Mattijs

I checked the contents of ns.ref by using iordump.
Does something wrong with it, please refer as below?

-----------------------------------------------------------
Repo Id: IDL:omg.org/CosNaming/NamingContextExt:1.0

IIOP Profile
Version: 1.0
Address: inet:***.198.69.210:1234
Location: corbaloc::***.198.69.210:1234/NameService
Key: 4e 61 6d 65 53 65 72 76 69 63 65 NameService

Multiple Components Profile
Components: Native Codesets:
normal: ISO 8859-1:1987; Latin Alphabet No. 1
wide: ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form
Key: (empty)
  Reply With Quote

Old   August 18, 2006, 06:44
Default Dear Mattijs At last, I cou
  #10
tadashi
Guest
 
Posts: n/a
Dear Mattijs

At last, I could solve the problem.
The problem was just the FIREWALL setting.
Thanks a lot of your advices.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About FoamX ivanyao OpenFOAM Installation 2 September 21, 2008 21:24
FoamX error derath OpenFOAM Pre-Processing 2 April 25, 2007 05:51
FoamX ianz8802 OpenFOAM Installation 2 March 8, 2007 23:45
FoamX Issues tger003 OpenFOAM Pre-Processing 0 January 18, 2007 14:50
Run FoamX ghazi OpenFOAM Pre-Processing 7 July 9, 2006 14:48


All times are GMT -4. The time now is 09:08.