Skip to main content

  I am getting the below error for my client.

initializing orb: org.omg.CORBA.INITIALIZE:
Unable to open the ORB configuration file "\\default-domain.cfg". Ensure that you
have sourced your <domain_name>_env script, generated by the configuration tool
("itconfigure" command).

I have properly configured

-ORBdomain_name <domain_name>' and the '-ORBconfig_domains_dir

I renamed my <domain>.cfg to default-domain.cfg and it started working.

But dont understand why I need default-domain.cfg., why it is not ping directly <domain>.cfg


#CORBA
#Orbix

  I am getting the below error for my client.

initializing orb: org.omg.CORBA.INITIALIZE:
Unable to open the ORB configuration file "\\default-domain.cfg". Ensure that you
have sourced your <domain_name>_env script, generated by the configuration tool
("itconfigure" command).

I have properly configured

-ORBdomain_name <domain_name>' and the '-ORBconfig_domains_dir

I renamed my <domain>.cfg to default-domain.cfg and it started working.

But dont understand why I need default-domain.cfg., why it is not ping directly <domain>.cfg


#CORBA
#Orbix

I assume this is a Java application. Can you confirm if you have an iona.properties file in your classpath? This should be in $IT_PRODUCT_DIR/etc/domains/$IT_DOMAIN_NAME/iona.properties. Once this is in your classpath it can be used to configure how the domain is loaded.

I would have expected if you set your arguments to your application as -ORB... correctly that it should have worked though. Perhaps you are not passing these to the ORB init call.