Thanks Torsten for your response.
Below are files of Plugin, Resources, run.sh and output of executable file in console. I have also tried to append .so to plugin such as FWOSPlugin into FWOSPlugin.so as suggested on the Ocaf documentation. But I got the same result.
Could you send me your code and script for environment settings to umarsaid at yahoo.com ?
=================================================
res/Plugin
=================================================
! Description of available plugins
! ********************************
!
a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin
!
! standard attribute drivers plugin
!
ad696000-5b34-11d1-b5ba-00a0c9064368.Location: StdPlugin
ad696001-5b34-11d1-b5ba-00a0c9064368.Location: StdPlugin
ad696002-5b34-11d1-b5ba-00a0c9064368.Location: StdPlugin
!
! standard attribute drivers plugin
!
bd696000-5b34-11d1-b5ba-00a0c9064368.Location: StdLPlugin
bd696001-5b34-11d1-b5ba-00a0c9064368.Location: StdLPlugin
bd696002-5b34-11d1-b5ba-00a0c9064368.Location: StdLPlugin
!
! XmlOcaf Document Plugin
!
03a56820-8269-11d5-aab2-0050044b1af1.Location: XmlPlugin
03a56822-8269-11d5-aab2-0050044b1af1.Location: XmlPlugin
03a56824-8269-11d5-aab2-0050044b1af1.Location: XmlPlugin
!
! BinOcaf Document Plugin
!
03a56835-8269-11d5-aab2-0050044b1af1.Location: BinPlugin
03a56836-8269-11d5-aab2-0050044b1af1.Location: BinPlugin
=================================================
res/Resources
=================================================
formatlist:Ocaf-Sample|XmlOcaf|BinOcaf
!
! standard attributes
!
Ocaf-Sample.Description: OCAF sample Document Version 1.0
Ocaf-Sample.FileExtension: sta
Ocaf-Sample.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
Ocaf-Sample.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
Ocaf-SampleSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
!
! standard attributes
!
MDTV-Standard.Description: Standard Document Version 1.0
MDTV-Standard.FileExtension: std
MDTV-Standard.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
MDTV-Standard.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
MDTV-StandardSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
!
! XmlOcaf format
!
XmlOcaf.Description: Xml Document Version 1.0
XmlOcaf.FileExtension: xml
XmlOcaf.StoragePlugin: 03a56820-8269-11d5-aab2-0050044b1af1
XmlOcaf.RetrievalPlugin: 03a56822-8269-11d5-aab2-0050044b1af1
!
! BinOcaf format
!
BinOcaf.Description: Bin Ocaf Document Version 1.0
BinOcaf.FileExtension: cbf
BinOcaf.StoragePlugin: 03a56835-8269-11d5-aab2-0050044b1af1
BinOcaf.RetrievalPlugin: 03a56836-8269-11d5-aab2-0050044b1af1
=================================================
run.sh
=================================================
#!/bin/bash
export QTDIR=/usr/local/stow/qt-3.3.7/
export CASROOT=/opt/OpenCASCADE6.2.0/ros/
export LD_LIBRARY_PATH=/opt/OpenCASCADE6.2.0/ros/lin/lib/
export CSF_PluginDefaults=res
export CSF_NewFormatDefaults=res
export ResourceDebug=1
export CSF_PluginDefaults=res
export CSF_PluginUserDefaults=res
export CSF_ResourceVerbose=1
export CSF_ResourcesDefaults=res
export CSF_SHMessage=res
export CSF_STEPDefaults=res
export CSF_XSMessage=res
export DEBUGMODE=1
export MMGT_VERBOSE=1
./Linux/bin/mycad
=================================================
console output
=================================================
$ ./run.sh
'ey = 'a148e300-5740-11d1-a904-080036aaa103.Location' Value = 'FWOSPlugin
'ey = 'ad696000-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'ad696001-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'ad696002-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'bd696000-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = 'bd696001-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = 'bd696002-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = '03a56820-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56822-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56824-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56835-8269-11d5-aab2-0050044b1af1.Location' Value = 'BinPlugin
'ey = '03a56836-8269-11d5-aab2-0050044b1af1.Location' Value = 'BinPlugin
Resource Manager: Reference file "res/Plugin" loaded
'ey = 'a148e300-5740-11d1-a904-080036aaa103.Location' Value = 'FWOSPlugin
'ey = 'ad696000-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'ad696001-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'ad696002-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdPlugin
'ey = 'bd696000-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = 'bd696001-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = 'bd696002-5b34-11d1-b5ba-00a0c9064368.Location' Value = 'StdLPlugin
'ey = '03a56820-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56822-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56824-8269-11d5-aab2-0050044b1af1.Location' Value = 'XmlPlugin
'ey = '03a56835-8269-11d5-aab2-0050044b1af1.Location' Value = 'BinPlugin
'ey = '03a56836-8269-11d5-aab2-0050044b1af1.Location' Value = 'BinPlugin
Resource Manager: User file "res/Plugin" loaded
.so: cannot open shared object file: No such file or directory
'ey = 'formatlist' Value = 'Ocaf-Sample|XmlOcaf|BinOcaf
'ey = 'Ocaf-Sample.Description' Value = 'OCAF sample Document Version 1.0
'ey = 'Ocaf-Sample.FileExtension' Value = 'sta
Key = 'Ocaf-Sample.StoragePlugin' Value = 'ad696000-5b34-11d1-b5ba-00a0c9'64368
Key = 'Ocaf-Sample.RetrievalPlugin' Value = 'ad696001-5b34-11d1-b5ba-00a0c9'64368
'ey = 'Ocaf-SampleSchema' Value = 'ad696002-5b34-11d1-b5ba-00a0c9064368
'ey = 'MDTV-Standard.Description' Value = 'Standard Document Version 1.0
'ey = 'MDTV-Standard.FileExtension' Value = 'std
Key = 'MDTV-Standard.StoragePlugin' Value = 'ad696000-5b34-11d1-b5ba-00a0c9'64368
Key = 'MDTV-Standard.RetrievalPlugin' Value = 'ad696001-5b34-11d1-b5ba-00a0c9'64368
'ey = 'MDTV-StandardSchema' Value = 'ad696002-5b34-11d1-b5ba-00a0c9064368
'ey = 'XmlOcaf.Description' Value = 'Xml Document Version 1.0
'ey = 'XmlOcaf.FileExtension' Value = 'xml
'ey = 'XmlOcaf.StoragePlugin' Value = '03a56820-8269-11d5-aab2-0050044b1af1
'ey = 'XmlOcaf.RetrievalPlugin' Value = '03a56822-8269-11d5-aab2-0050044b1af1
'ey = 'BinOcaf.Description' Value = 'Bin Ocaf Document Version 1.0
'ey = 'BinOcaf.FileExtension' Value = 'cbf
'ey = 'BinOcaf.StoragePlugin' Value = '03a56835-8269-11d5-aab2-0050044b1af1
'ey = 'BinOcaf.RetrievalPlugin' Value = '03a56836-8269-11d5-aab2-0050044b1af1
Resource Manager: Reference file "res/Resources" loaded
Resource Manager Warning: Environment variable "CSF_ResourcesUserDefaults" not set.
Resource Manager Warning: Environment variable "CSF_CharSetDefaults" not set.
Resource Manager Warning: Environment variable "CSF_CharSetUserDefaults" not set.
./run.sh: line 19: 17064 Aborted ./Linux/bin/mycad