In this post i will discuss the environment variables to be set for the orbix to work fine at any time.
We will also discuss the step to create the IONA.property file.
As a first step download the latest version from IONA. The version i used is 6.3. After downloading the file click the asp.exe file and follow the onscreen options to complete the installation. Once you have installed we need to ensure that the following environment variables are set, so right click 'My Computer' and select 'properties' and then go to 'advanced' tab and select 'environment variables'. Add the following values if not found.
IT_LICENSE_FILE C:\Program Files\IONA\etc\licenses.txt
IT_PRODUCT_DIR C:\Program Files\IONA
IT_CONFIG_DIR C:\Program Files\IONA\etc
JAVA_HOME C:\Program Files\Java\jre1.6.0_07
(OR)
JAVA_HOME C:\Program Files\Java\jdk1.6.0_07\jre
PATH C:\Program Files\IONA\asp\6.3\bin;C:\Program Files\IONA\bin;C:\Program Files\Java\jdk1.6.0_07\jre\bin\server;C:\Program Files\Java\jdk1.6.0_07\bin
CLASSPATH C:\Program Files\IONA\lib\art\omg\1.3\omg.jar;C:\Program Files\IONA\lib\art\art\1.3\art.jar;C:\Program Files\IONA\etc\domains\sample\iona.properties
As a next step now create a iona.properties file in the location JDKHome/jre/lib with the following code
org.omg.CORBA.ORBClass=
com.iona.corba.art.artimpl.ORBImpl
org.omg.CORBA.ORBSingletonClass=
com.iona.corba.art.artimpl.ORBSingleton
Wednesday, February 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment