<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledge Base: J-Integra</title><description>Knowledge Base: J-Integra RSS 2.0 Feed</description><link>http://j-integra.intrinsyc.com/support/kb/</link><webMaster>j-integra_support@intrinsyc.com</webMaster><lastBuildDate>Tue, 14 Apr 2026 07:46:16 GMT</lastBuildDate><ttl>20</ttl><generator>Knowledge Base: J-Integra</generator><item><title>Supported JDKs and Platforms</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Supported JDKs and Platforms&lt;/H1&gt;&lt;P&gt;All J-Integra products are supported on the following JDKs and Platforms. Customers are also using our J-Integra products on additional JDK/Platform combinations not listed below, including non-Windows platforms such as Linux. If you experience technical issues with any JDK/Platform not listed below, please &lt;A href="http://j-integra.intrinsyc.com/support/"&gt;contact support&lt;/A&gt; and we will take all commercially reasonable steps to support it.&lt;/P&gt;&lt;HR&gt;&lt;H2&gt;Supported JDKs&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Sun Microsystems JDK 1.2&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 1.3&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 1.4&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 5&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 6&lt;/LI&gt;&lt;LI&gt;Oracle JDK 7-14&lt;/LI&gt;&lt;LI&gt;IBM JDK 1.3*&lt;/LI&gt;&lt;LI&gt;IBM JDK 1.4&lt;/LI&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size=1&gt;* Embedding ActiveX controls will not work with IBM's JDK 1.3.x because it does not support Sun's AWT Native Interface (jawt.dll). However, this is the only limitation with this version of the IBM JDK (all other J-Integra functionality is supported). &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/UL&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;OL&gt;&lt;br /&gt;&lt;LI&gt;EJB 3.0 (specifically "annotations") is not supported.&lt;/LI&gt;&lt;/OL&gt;&lt;HR&gt;&lt;H2&gt;Supported Microsoft Windows Platforms&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Windows NT 4.0 (including SP6)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 2000 (including SP4)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows XP (including SP3)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2003 (including R2 and SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2008 (including R2 and SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2012 (including R2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Vista (including SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 7&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 8 and 8.1&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 10 (see note below)&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Both 32-bit and 64-bit Windows platforms are supported.&lt;/LI&gt;&lt;LI&gt;Windows 10 1809+ requires a workaround to support certain DCOM configurations.  &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183260"&gt;See this KB artic</description><pubDate>Wed, 12 Aug 2020 08:08:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>J-Integra COM for Excel 2016 and Windows 10</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183259</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"&gt;&lt;html&gt;  &lt;head&gt;  &lt;meta http-equiv="content-type" content="text/html; charset=windows-1252"&gt;  &lt;!-- marked for deletion --&gt;  &lt;link rel="stylesheet" href="default_ns.css"&gt;    &lt;!-- Latest compiled and minified CSS --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"           integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"            crossorigin="anonymous"&gt;  &lt;!-- Optional theme --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"            integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"            crossorigin="anonymous"&gt;    &lt;script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"&gt;&lt;/script&gt;    &lt;!-- Latest compiled and minified JavaScript --&gt;  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"               integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"               crossorigin="anonymous"&gt;  &lt;/script&gt;  &lt;script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"&gt;    function reDo()    {      if (innerWidth != origWidth || innerHeight != origHeight)        location.reload();    }    if ((parseInt(navigator.appVersion) == 4) &amp;&amp; (navigator.appName == "Netscape"))    {      origWidth = innerWidth;      origHeight = innerHeight;      onresize = reDo;    }    onerror = null;   &lt;/script&gt;&lt;/head&gt;&lt;body&gt;  &lt;script type="text/javascript" language="javascript1.2"&gt;    if (window.gbWhTopic){      if (window.addTocInfo){        addTocInfo("Examples&lt;br&gt;Java Accessing COM&lt;br&gt;Java to Excel");         addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");      }      if (window.writeBtnStyle){        writeBtnStyle();      }      if (windo</description><pubDate>Thu, 19 Jan 2017 14:42:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>How do I Install CDO (Collaboration Data Objects)?</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113792</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;How do I Install CDO (Collaboration Data Objects)?&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;There are a few ways to install CDO. The method to use depends on what version of Microsoft Outlook you currently have installed (if any). Since different copies of CDO cannot co-exist on the same machine, please only follow the instructions that apply to your system configuration.&lt;/P&gt;&lt;H2&gt;1. Microsoft Outlook is not installed&lt;/H2&gt;&lt;P&gt;Download and install the stand-alone Messaging API (MAPI) client version available &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9-bff2-0a110307611e&amp;DisplayLang=en" target=blank&gt;here&lt;/A&gt;. &lt;H2&gt;2. Microsoft Outlook 2007&lt;/H2&gt;&lt;P&gt;Beginning in Outlook 2007, Microsoft no longer provides CDO as part of the product installation. However, since Outlook is a MAPI client itself, the stand-alone version that does not come pre-packaged with the MAPI client must be used. This version of CDO can be downloaded &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=2714320D-C997-4DE1-986F-24F081725D36&amp;displaylang=en" target=blank&gt;here&lt;/A&gt;.Note: This version of CDO may only be used with Outlook 2007.  Microsoft does not support CDO with Office 2010 or later. &lt;H2&gt;3. Microsoft Outlook 2003 and earlier&lt;/H2&gt;&lt;P&gt;In Outlook 2003 and earlier, CDO is bundled as a component in MS Outlook; however, it is not installed by default when you install MS Outlook. The following steps demonstrate how to install CDO as a component of Outlook using a Windows XP machine. Similar steps apply for other operating systems. &lt;OL&gt;&lt;P&gt;&lt;LI&gt;Open Add or Remove Programs under Settings &gt; Control Panel. &lt;P&gt;&lt;/P&gt;&lt;LI&gt;Click on Change or Remove Programs on the left side bar and select Microsoft Off</description><pubDate>Tue, 18 Mar 2014 05:12:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Windows - User Account Control (UAC)</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183235</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Windows - User Account Control (UAC)&lt;/H1&gt;&lt;P&gt;Windows (starting with Vista) introduced a new security component known as User Account Control (UAC) that is designed to help prevent malicious programs from silently installing and computer-wide infections from occurring.  With UAC enabled, an account with administrative privileges runs applications as a standard user unless the application has been approved to run at an "elevated" level. &lt;/P&gt;&lt;P&gt;If you are experiencing problems running J-Integra on Windows (Vista or later), please try disabling UAC by doing the following: &lt;/P&gt;&lt;P&gt;In (Windows 7) Control Panel -&gt; User Accounts -&gt; User Accounts, click on "Change User Account Control settings".  In the next screen, drag the slider to the bottom and click OK.  You may be prompted to reboot your machine in order for the change to come into effect. &lt;/P&gt;&lt;P&gt;For more information about Windows UAC, please refer to the &lt;A href="http://technet.microsoft.com/en-us/library/cc709691%28v=ws.10%29.aspx"&gt;User Account Control Step-by-Step Guide&lt;/A&gt;. &lt;/P&gt;</description><pubDate>Thu, 03 Jan 2013 03:40:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Configuring CDO on a 64-bit System</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183258</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Configuring CDO on a 64-bit System&lt;/H1&gt;&lt;P&gt;The following outlines how CDO can be configured on a 64-bit Windows system.  Before continuing with this article, please familiarize yourself with the following documents (as they will be required later on): &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113792"&gt;How do I Install CDO (Collaboration Data Objects)&lt;/A&gt; and &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/customConfig.htm"&gt;Custom CDO Configuration&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It is assumed that J-Integra Exchange is installed (either by &lt;A href="http://j-integra.intrinsyc.com/download/archive.asp"&gt;ZIP or EXE&lt;/A&gt;) and that the PATH environment variable contains a valid reference to J-Integra's 'bin' folder.&lt;/P&gt;&lt;P&gt;&lt;OL&gt;&lt;LI&gt;Disable the Windows Firewall (and the UAC, if applicable).&lt;LI&gt;Install the CDO component (&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113792"&gt;How do I Install CDO&lt;/A&gt;).&lt;LI&gt;Register CDO.DLL using the 'regsvr32.exe' utility located in the 'WINDOWS\SysWOW64' directory.&lt;LI&gt;Configure CDO according to the &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/customConfig.htm"&gt;Custom CDO Configuration&lt;/A&gt; (NOTE: Start at Step 5, since CDO.DLL was registered in the step above).&lt;LI&gt;Restart the system.&lt;/OL&gt;&lt;/P&gt;</description><pubDate>Fri, 16 Mar 2012 04:32:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Common J-Integra for Exchange Problems</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Common J-Integra for Exchange Problems&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#Class not registered"&gt;Class not registered&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#Illegal Argument Exception"&gt;Illegal Argument Exception&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#MAPI_E_LOGON_FAILED or Interface not registered"&gt;MAPI_E_LOGON_FAILED or Interface not registered&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#AutomationException: 0x80010106"&gt;AutomationException: 0x80010106 - Cannot change thread mode after it is set&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#AutomationException: 0x5"&gt;AutomationException: 0x5 - Access is denied. in 'Invoke'&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#AutomationException: 0x800706ba"&gt;AutomationException: 0x800706ba - The RPC server is unavailable&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#IOException"&gt;java.io.IOException: Unable to establish RPC Connection to DCOM SCM on &lt;hostname/ip&gt; (Bind returned Bind_NAK)&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;A name="Class not registered"&gt;&lt;/A&gt;1. Class not registered&lt;/H2&gt;&lt;P&gt;You will get this error when CDO is not installed on the CDO machine and/or CDO is installed but no surrogate process exists for CDO. To install CDO, refer to KB article 113792. &lt;P&gt;To create a surrogate process for CDO, refer to the &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/cdoconfigvb.htm" target=blank&gt;Getting Started Guide&lt;/A&gt; in the </description><pubDate>Tue, 25 Jan 2011 06:54:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Precompiled Java Proxy JAR Files</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Precompiled Java Proxy JAR Files&lt;/H1&gt;&lt;P&gt;We have provided the following proxy JAR files for your convenience. These JAR files contain Java proxy files for specific COM applications (already generated by com2java, compiled, and JAR'd). Using these JAR files allows you to avoid having to generate and compile the proxy files manually. &lt;P&gt;Feel free to download any JAR file below you wish to use. To use a proxy JAR file, simply unzip the corresponding zip file and place it in your Java application's CLASSPATH.&lt;/P&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/activeds-GUID27c236f9be1e407285633d45db9f5b25.jar"&gt;activeds.jar&lt;/A&gt; - Microsoft Active Directory Library &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/access2003-GUID2916dc95dce0483fa1c03e8434211429.jar"&gt;access2003.jar&lt;/A&gt; - Microsoft Access 2003 (11.x) &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/access2007-GUIDbd7370c3d56e4e36b91a60372599d390.jar"&gt;access2007.jar&lt;/A&gt; - Microsoft Access 2007 (12.x) &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/cdo-GUID13725ff445f64011a1fd7bf6b69aa143.jar"&gt;cdo.jar&lt;/A&gt; - Microsoft Collaboration Data Objects, CDO 1.2.1 v6.5.7233 &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/cdo2007-GUIDead41e2d28b44d27940c1cbf91671679.jar"&gt;cdo2007.jar&lt;/A&gt; - Microsoft Collaboration Data Objects, CDO 1.2.1 v6.5.7888 &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/excel2000-GUID1107e7c133404b688311fd60b7c7e81f.jar"&gt;excel2000.jar &lt;/A&gt;- Microsoft Excel 2000 (9.x) &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/excelXP-GUIDeb2c03345f4f4aff9d63ab43525edfac.jar"&gt;excelXP.jar&lt;/A&gt; - Microsoft Excel XP (2002 10.x) &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/excel2003-GUID3e6af6ed06b14485825efb52fcac9cda.jar"&gt;excel2003.jar&lt;/A&gt; - Microsoft Excel 2003 (11.x) &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/excel</description><pubDate>Mon, 22 Nov 2010 02:00:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Resolving Compilation Errors for ACTIVEDS.DLL</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=107101</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Resolving Compilation Errors for ACTIVEDS.DLL&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When generating proxies for activeds.dll, the IADsADSystemInfo interface's 'get_IsNativeMode' conflicts with J-Integra's Dispatch object's 'isNativeMode' method, leading to the following compilation error:&lt;BR&gt;&lt;BR&gt;&lt;CENTER&gt;&lt;TABLE cellSpacing=0 cellPadding=0 width="80%" bgColor=#dedede&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;IADsADSystemInfoProxy.java:231: isNativeMode() in Adsi.IADsADSystemInfoProxy cannot override isNativeMode() in com.linar.jintegra.Dispatch; overridden method is static public boolean isNativeMode () throws java.io.IOException, com.linar.jintegra.AutomationException &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/CENTER&gt;&lt;BR&gt;Because J-Integra has no mechanism for resolving this naming conflict, the proxies associated with the IADsADSystemInfo interface must be manually modified to change the method 'isNativeMode' to 'isNativeMode2' (or another name). This can be done by modifying the proxies in the following manner: &lt;UL&gt;&lt;LI&gt;AdSystemInfo.java: &lt;BR&gt;On Line 302, change 'isNativeMode' to 'isNativeMode2' On line 304, change call to 'isNativeMode' to 'isNativeMode2' &lt;LI&gt;IADsADSystemInfo.java:&lt;BR&gt;On line 103, change 'isNativeMode' to 'isNativeMode2' &lt;LI&gt;IADsADSystemInfoProxy.java:&lt;BR&gt;On line 231, change 'isNativeMode' to 'isNativeMode2'&lt;/LI&gt;&lt;/UL&gt;These changes have already been made to pre-compiled versions of these proxies, available via the &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869" target=_blank&gt;Precompiled Java Proxy JAR Files&lt;/A&gt; knowledge base article. </description><pubDate>Tue, 24 Aug 2010 05:16:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra to Access Real-Time Data from Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183197</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;body&gt;&lt;H1&gt;Using J-Integra to Get Real-Time Data from Bloomberg&amp;reg;&lt;/H1&gt;&lt;P&gt;The following example demonstrates how to access Bloomberg&amp;reg; real-time data from your Java application via J-Integra. Before running this example, make sure you have completed the configuration steps outlined in our documentation: &lt;/P&gt;&lt;P&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283" target=blank&gt;Accessing Bloomberg® from Java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Copy and paste the code below (and reference the Java proxies for Bloomberg&amp;reg;) to get started with the example&lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura&amp;reg;'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import blpdatax.BlpData;import blpdatax._BlpDataEventsAdapter;public class RealTimeDataExample {    // fire event types    final static int ByField = 0;    final static int ByRequest = 1;    final static int BySecurity = 2;    // list of securities we wish to monitor    static Object[] security = {"MSFT US Equity", "IBM US Equity", "EUR Curncy", "CAD Curncy"};    // security fields we wish to monitor    static Object[] fields = {"Last_Price", "Bid", "Ask", "Volume", "High", "Low"};    public static void main(String[] args) {        try{            //Uncomment this line if running J-Integra in native mode            //i.e. Java and Bloomberg are running in the same machine            //System.setProperty("JINTEGRA_NATIVE_MODE", "");            // Uncomment this line if running J-Integra in DCOM mode            // i.e. Java and Bloomberg are in different machines            // DCOM authentication: Make sure NT Domain, NT User, NT Password are valid credentials.            //com.linar.jintegra.AuthInfo.setDefault("NT D</description><pubDate>Tue, 04 May 2010 09:30:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Getting Asynchronous Data Requests From Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=37457</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Getting Asynchronous Data Requests From Bloomberg®&lt;/H1&gt;&lt;H3&gt;Thanks to David McKenzie for the workaround suggested in this article.&lt;/H3&gt;&lt;P&gt;Be aware that if you start using the BLP Data Control, there is a problem that will keep asynchronous data requests from functioning correctly unless you use a work-around with J-Integra. The problem is that for the &lt;I&gt;Subscribe&lt;/I&gt; and &lt;I&gt;GetHistoricalData&lt;/I&gt; methods, the &lt;I&gt;Results&lt;/I&gt; parameter is declared as &lt;B&gt;[OUT, OPTIONAL]&lt;/B&gt; in the Bloomberg® DLL type library. You can only tell the Data Control that you want an asynchronous data return by omitting the &lt;I&gt;Results&lt;/I&gt; parameter from the method call.&lt;/P&gt;&lt;P&gt;The VB compiler is smart enough to know that when the &lt;B&gt;[OPTIONAL]&lt;/B&gt; attribute is designated, and the optional parameter has been omitted, it automaticaly passes a &lt;B&gt;VT_ERROR&lt;/B&gt; variant with the value &lt;B&gt;DISP_E_PARAMNOTFOUND&lt;/B&gt; (from C++, you just pass the &lt;B&gt;VT_ERROR&lt;/B&gt; variant directly). Apparently VB does not care whether the parameter is an &lt;B&gt;[IN]&lt;/B&gt; parameter or an &lt;B&gt;[OUT]&lt;/B&gt; parameter.&lt;/P&gt;&lt;P&gt;Using the wrapper method generated by J-Integra, omitting the parameter is not an option because Java does not allow optional parameters - so you must pass &lt;I&gt;null&lt;/I&gt;. However, J-Integra does not handle optional parameters correctly if they are declared as &lt;B&gt;[OUT, OPTIONAL]&lt;/B&gt;. When J-Integra sees the &lt;B&gt;[OUT]&lt;/B&gt; designation, it doesn't do any conversion of the parameter. It is only when the parameter is designated as &lt;B&gt;[IN, OPTIONAL]&lt;/B&gt; that a &lt;I&gt;null&lt;/I&gt; value gets converted into a &lt;B&gt;VT_ERROR&lt;/B&gt; variant.&lt;/P&gt;&lt;P&gt;To get around the problem, you can use &lt;I&gt;invokeMethodByName()&lt;/I&gt; to bypass J-Integra's parameter type checking. When &lt;I&gt;invokeMethodByName()&lt;/I&gt; is used instead of calling the COM method directly, the &lt;B&gt;[IN]&lt;/B&gt; / &lt;B&gt;[OUT]&lt;/B&gt; attribute is not checked when sending parameters down the wire. Any paramater that is &lt;I&gt;null&lt;/I&gt; will be converted into a &lt;B&gt;VT_ERROR&lt;/B&gt; variant.&lt;/P&gt;&lt;P&gt;The f</description><pubDate>Tue, 04 May 2010 09:27:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra to Access Historical Time-Series Data from Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183198</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Using J-Integra to Access Historical Time-Series Data from Bloomberg®&lt;/H1&gt;&lt;P&gt;The following example demonstrates how to access Bloomberg® time-series data from your Java application via J-Integra. Before running this example, make sure you have completed the configuration steps outlined in our documentation: &lt;/P&gt;&lt;P&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283" target=blank&gt;Accessing Bloomberg® from Java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Copy and paste the code below (and reference the Java proxies for Bloomberg®) to get started with the example. &lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura®'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import blpdatax.BlpData;import blpdatax._BlpDataEventsAdapter;public class HistoricalDataExample {    //Bloomberg PERIODICITY constants    final static int bbDaily = 1;    final static int bbWeekly = 6;    final static int bbMonthly = 7;    final static int bbQuarterly = 8;    final static int bbSemiAnnually = 5;    final static int bbYearly = 9;    final static int bbActualDaily = 1342177281;    final static int bbActualWeekly = 1342177286;    final static int bbActualMonthly = 1342177287;    final static int bbActualQuarterly = 1342177288;    final static int bbActualSemiAnnually = 1342177285;    final static int bbActualAnnually = 1342177289;    final static int bbCalendarDaily = 1610612737;    final static int bbCalendarWeekly = 1610612742;    final static int bbCalendarMonthly = 1610612743;    final static int bbCalendarQuarterly = 1610612744;    final static int bbCalendarSemiAnnually = 1610612741;    final static int bbCalendarAnnually = 1610612745;    final static int bbFiscalQuarterly = 1879048200;    fin</description><pubDate>Tue, 04 May 2010 09:26:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Improving J-Integra's Performance When Accessing Bloomberg® Software</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=39557</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Improving J-Integra's Performance When Accessing Bloomberg® Software&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;A number of customers have commented that their system performance takes quite a hit when using J-Integra to access Bloomberg® software. From the feedback we have received, we have gathered together some recommendations which may help improve overall performance.&lt;/P&gt;&lt;P&gt;1. The first thing you should do is upgrade to the latest version of J-Integra. Each new release contains many bug fixes and performance enhancements. You can download this version from our &lt;A href="http://j-integra.intrinsyc.com/downloads/" target=blank&gt;website&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;2. If you are currently running in DCOM mode, we suggest that you run in Native mode, as this will improve the performance significantly. To run in Native mode, you need to include a command line property when you run your Java client...&lt;/P&gt;&lt;TT&gt;  java -DJINTEGRA_NATIVE_MODE MyClient &lt;/TT&gt;&lt;P&gt;3. Because the Bloomberg® software can pass back huge amounts of data in one transaction, an upgrade of the machine running J-Integra may be necessary. However, even though an upgrade may provide enough extra memory to keep the application from crashing, there will still be a significant performance hit.&lt;/P&gt;&lt;P&gt;4. Besides the fact that the Bloomberg® software can pass large amounts of data back to Java in a single transaction, the other reason it causes such a performance hit is because the data that is passed back is often carried in a two-dimensional array of Variants. This is fine when you are accessing this data from a Visual Basic client, as Variants are inherent to VB. But there is no such thing as a Variant in Java, so J-Integra must convert every one of these COM Varian</description><pubDate>Tue, 04 May 2010 09:26:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Accessing Bloomberg® from Java</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Accessing Bloomberg® from Java&lt;/H1&gt;&lt;P&gt;The following example shows how to access the Bloomberg® BLP Data Control from Java using J-Integra. This example will run on any OS, run on any platform, and requires no native code (no DLLs). You can also download this example by clicking on the attachment below.&lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura®'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;/* This example shows a pure Java client using the J-Integra pure Java-COM &lt;BR&gt; * bridge to talk to the Bloomberg® BLP Data Control. You can run this &lt;BR&gt; * program on any machine that supports a standard JVM. &lt;BR&gt; *&lt;BR&gt; * Create a file called BloombergExample.java containing this Java code. &lt;BR&gt; * Create a subdirectory called "blpdatax" under the directory containing &lt;BR&gt; * this Java program.&lt;BR&gt; *&lt;BR&gt; * Generate the pure Java proxy files used by this program to access the&lt;BR&gt; * Bloomberg® BLP Data Control by running the 'com2java' tool from the J-Integra &lt;BR&gt; * 'bin' directory. Specify "blpdatax.dll" as the type library, "blpdatax" &lt;BR&gt; * as the package name, and the blpdatax subdirectory you created above as the &lt;BR&gt; * output directory. &lt;BR&gt; *&lt;BR&gt; * You will also need to create a surrogate for "blpdatax.dll" using the &lt;BR&gt; * setdllhost tool. Open a command prompt and 'cd' to the directory containing&lt;BR&gt; * the blpdatax.dll file. Enter the following command:&lt;BR&gt; * &amp;gt; setdllhost blpdatax.dll "Blpdatax"&lt;BR&gt; *&lt;BR&gt; * You may have to run DCOMCNFG and check that the DCOM settings for the new &lt;BR&gt; * surrogate are configured properly. For more information on DCOM configuration,&lt;BR&gt; * please see &lt;A href="http://j-i</description><pubDate>Tue, 04 May 2010 09:25:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Retrieving the Global Address List (GAL) from an Exchange Server</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=82038</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Retrieving the Global Address List (GAL) from an Exchange Server&lt;/H1&gt;&lt;P&gt;The following example demonstrates how to retrieve the Global Address List (GAL) from an Exchange server using CDO. Before you try this example, make sure that you have installed J-Integra and &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/GettingStarted.htm" target=blank&gt;configured the Exchange server&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For more information about the programming API of CDO, please refer to &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/78bd7f77-47e7-43ef-91fd-54abc7ca6a00.asp" target=blank&gt;Microsoft CDO Object Model&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The related article to the right explains how to retrieving additional fields from a contact record.&lt;/P&gt;&lt;/FONT&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;public class GALExample {&lt;BR&gt;    public static void main(String[] args) {&lt;BR&gt;        //TODO: Change the following parameters based on your setup and configuration&lt;BR&gt;        // the logon parameters of the service account you used to configure CDO&lt;BR&gt;        String domain           = "mydomain";&lt;BR&gt;        String username         = "jsmith";&lt;BR&gt;        String password         = "password";&lt;BR&gt;        // the DNS name or IP address of the machine where you installed CDO&lt;BR&gt;        String CDOmachine       = "0.0.0.0";&lt;BR&gt;        // the DNS name or IP address of the Exchange Server&lt;BR&gt;        String exc</description><pubDate>Tue, 04 May 2010 08:55:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Embedding Internet Explorer in a Java Frame</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=52227</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Embedding Internet Explorer in a Java Frame&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This example embeds Internet Explorer inside a JFrame, navigates to an HTML document, and reads/displays the tags in the document to the command prompt. To run this example you will need the Java proxies generated from the mshtml type library, as well as the main Internet Explorer typelibrary (shdocvw.dll). &lt;P&gt;We assume that you are familiar with Java -- no COM knowledge should be required. You may wish to run through some of the more detailed step-by-step examples in the J-Integra documentation (such as the Excel example) prior to trying this example. We assume you have already &lt;A href="http://j-integra.intrinsyc.com/downloads/" target=blank&gt;downloaded and installed the J-Integra SDK&lt;/A&gt;. &lt;P&gt;&lt;TT&gt;Steps:&lt;BR&gt;1. Configure your Environment&lt;BR&gt;2. Download the Java proxies &lt;BR&gt;3. Run the Example&lt;BR&gt;&lt;/TT&gt;&lt;H2&gt;Step 1: Configure your Environment&lt;/H2&gt;&lt;P&gt;Create a new folder to where the &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/HTMLDocumentParser-GUIDbebdbed5811f429fac70b8b17fbf4126.java"&gt;HTMLDocumentParser.java &lt;/A&gt;source file will be downloaded. We assume that you have already configured your DCOM settings and environment variables such as Path and Classpath. &lt;H2&gt;Step 2: Download the Java proxies&lt;/H2&gt;&lt;P&gt;We have already generated the Java proxies needed for this example (they can be downloaded below). The two files you need to download are &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/mshtml-GUIDbcb45de69b3e4baa8ea6a71e2da44b40.zip"&gt;mshtml.zip&lt;/A&gt; and &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/shdocvw-GUIDdc24bd97dec246fe9385c74d799705da.zip"&gt;shdocvw.zip&lt;/A&gt;. Please unzip these fil</description><pubDate>Fri, 11 Dec 2009 04:00:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>J-Integra and ADO Disconnected Recordsets</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30947</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;J-Integra and ADO Disconnected Recordsets&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H3&gt;Contents&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=30947#SYMPTOMS"&gt;SYMPTOMS&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=30947#CAUSE"&gt;CAUSE&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=30947#RESOLUTION"&gt;RESOLUTION&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;A name=SYMPTOMS&gt;&lt;/A&gt;SYMPTOMS&lt;/H2&gt;&lt;P&gt;Using disconnected Recordsets in DCOM mode is not supported by J-Integra's DCOM mode. For example, you may one of these error messages below.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Courier New"&gt;java.lang.NullPointerException&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face="Courier New"&gt;AutomationException: 0x800a0e78 - Operation is not allowed when the object is closed. in 'ADODB.Recordset'&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For instance, if you have a Java client accessing VB program, the VB function&lt;FONT face="Courier New"&gt;GetConnectedRecordset()&lt;/FONT&gt; can be successfully invoked from Java but the VB function &lt;FONT face="Courier New"&gt;GetDisconnectedRecordset()&lt;/FONT&gt; will fail.&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function GetConnectedRecordset() As ADODB.Recordset&lt;BR&gt;  Dim c As ADODB.Connection&lt;BR&gt;  Set c = New Connection&lt;BR&gt;  c.Open "driver=Microsoft Access Driver (*.mdb);dbq=C:\\pure\\products.mdb", , , -1&lt;BR&gt;  Set GetRecordset = c.Execute("SELECT * FROM Products", , -1)&lt;BR&gt;End Function&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function GetDisconnectedRecordset() As ADODB.Recordset&lt;BR&gt;  Dim rs As New ADODB.Recordset&lt;BR&gt;  rs.Open&lt;BR&gt;  Set GetRecordset = rs&lt;BR&gt;End Function&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;&lt;A name=CAUSE&gt;&lt;/A&gt;CAUSE&lt;/H2&gt;&lt;P&gt;J-Integra does not supp</description><pubDate>Tue, 08 Sep 2009 05:32:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using an Admin Account to Access Multiple Mailboxes</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=173004</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Using an Admin Account to Access Multiple Mailboxes&lt;/H1&gt;&lt;P&gt;Other Java-Exchange connectors use MAPI and impersonation to access the Exchange Server. The motivation behind using impersonation is to be able to access multiple mailboxes without the need for special admin privileges. Although this is a feasible solution, it has been known to cause some problems. As Microsoft points out:&lt;/P&gt;&lt;P&gt;"We've seen a number of crashes in code that uses impersonation and then uses MAPI. Many of these relate to heap allocations occurring with one user context and then the deallocations happening with another context. Both the Exchange and Outlook development teams are aware of these issues. However, especially due to the problem with CreateThread, we've not been able to fix all of them."&lt;BR&gt;Source: &lt;A href="http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx" target=blank&gt;http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft's suggested solution for accessing multiple mailboxes is to use an admin account instead of impersonation:&lt;/P&gt;&lt;P&gt;"If you're using impersonation in order to access multiple mailboxes, you may be doing too much work. […]code running under an administrator account with the right permissions […] can access any mailbox without doing any impersonation."&lt;BR&gt;Source: &lt;A href="http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx" target=blank&gt;http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The technology used by J-Integra for Exchange to access multiple mailboxes is akin to what Microsoft recommends. As pointed out in this &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=147062" target=blank&gt;knowledge base article&lt;/A&gt;, we require the use of an admin account when accessing multiple mailboxes.&lt;/P&gt;</description><pubDate>Mon, 17 Aug 2009 08:22:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra with a Firewall or Load Balancer</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Using J-Integra with a Firewall or Load Balancer&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2&gt;Contents&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#introducation"&gt;Introduction&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#non-nat"&gt;Non-NAT Based Firewalls&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#nat"&gt;NAT Firewalls&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#dcombalancers"&gt;Load Balancers with J-Integra's DCOM Mode&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#nativebalancers"&gt;Load Balancers with J-Integra's Native Mode&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30323#vb"&gt;A VB Program to Test DCOM Connection&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/FONT&gt;&lt;P&gt;&lt;H2&gt;&lt;A name=introducation&gt;&lt;/A&gt;1. Introducation&lt;/H2&gt;&lt;P&gt;You may still get one of these errors after &lt;A href="http://j-integra.intrinsyc.com/support/com/doc/#remoteaccess.html" target=_blank&gt;configuring DCOM&lt;/A&gt; if you use J-Integra in DCOM mode with firewalls or load balansers:&lt;/P&gt;&lt;P&gt;&lt;I&gt;AutomationException: 0x80070005 - General access denied error&lt;BR&gt;AutomationException: 0x5 - Access is denied&lt;/I&gt;&lt;/P&gt;&lt;P&gt;There are some limiations in DCOM itself involving firewalls or load balancers. This is not caused by J-Integra and happens in all DCOM applications including VB and VC++ programs.&lt;/P&gt;&lt;P&gt;&lt;H2&gt;&lt;A name=non-nat&gt;&lt;/A&gt;2. Non-NAT Based Firewalls&lt;/H2&gt;&lt;P&gt;J-Integra uses DCOM, layered over TCP/IP to talk from a Java client to a COM component. A DCOM application needs to open a socket to port 135 on the NT box to send a DCOM "remote activation" request to the DCOM SCM (a k</description><pubDate>Mon, 10 Aug 2009 03:16:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Will J-Integra Support any COM Component that has a Type Library</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30977</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Will J-Integra Support any COM Component that has a Type Library?&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Unfortunately, unless you are very familiar with MIDL (the common language that Microsoft uses to expose COM to other programming languages), the best way to find out is to try your component with J-Integra. We can, however, provide a more technical answer to this question.&lt;/P&gt;&lt;P&gt;The answer has to do with marshalling - or the packaging/unpackaging of parameters/method calls across the wire to the actual object. There are three types of marshalling that COM uses - type library marshalling, standard marshalling and custom marshalling.  &lt;/P&gt;&lt;H2&gt;Type Library Marshalling&lt;/H2&gt;Type library marshalling means that a COM component exposes it's functionality through a type library file, which is basically a file that describes what parameters every exposed method accepts and what its return value is using MIDL. Type libraries are either included (embedded) in the DLL/OCX/EXE, or come as a separate '.TLB' file. The requirement for type library marshalling, also known as automation marshalling, is that interfaces must derive from IDispatch, and all parameters must be automation compatible. This is the type of COM component that J-Integra works with. The com2java tool will create Java "proxies" by reading in this type library, so that the Java developer can make calls in to the component via Java. &lt;P&gt;&lt;/P&gt;&lt;H2&gt;Standard Marshalling&lt;/H2&gt;Standard marshalling also requires a type library, but the interfaces and their parameter types are allowed more freedom - they do not necessarily have to be automation compatible (and interfaces do not have to derive from IDispatch). The cost of this however, is that proxy/stub DLL's need to be regi</description><pubDate>Fri, 17 Jul 2009 03:00:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.NullPointerException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183253</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.NullPointerException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#NullPointerException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Thu, 11 Jun 2009 03:47:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.io.IOException: Unable to establish RPC Connection to DCOM SCM on &amp;lt;hostname/ip&amp;gt; (Bind returned Bind_NAK)</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183257</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.io.IOException: Unable to establish RPC Connection to DCOM SCM on &amp;lt;hostname/ip&amp;gt; (Bind returned Bind_NAK)&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If using J-Integra for COM, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IOException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;&lt;P&gt;If using J-Integra for Exchange, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#IOException"&gt;Common J-Integra for Exchange Problems&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x5 - Access is denied</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183256</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x5 - Access is denied&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If using J-Integra for COM, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;&lt;P&gt;If using J-Integra for Exchange, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#AutomationException:%200x5"&gt;Common J-Integra for Exchange Problems&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:17:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x800706f8</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183255</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x800706f8&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x800706f8"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:12:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0xc00e0007 - An invalid handle was passed to a function</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183254</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0xc00e0007 - An invalid handle was passed to a function&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0xc00e0007"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:09:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.ClassNotFoundException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183252</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.ClassNotFoundException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassNotFoundException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:05:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80020003 - Member not found in ''IDispatch::invoke''</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183251</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80020003 - Member not found in 'IDispatch::invoke'&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80020003"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:02:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183250</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IDispatch"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:59:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80010001 - Call was rejected by callee. in ''Invoke''</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183249</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80010001 - Call was rejected by callee. in 'Invoke'&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80010001"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:56:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80080005 - Server execution failed</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183248</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80080005 - Server execution failed&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80080005"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:52:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.ClassCastException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183247</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.ClassCastException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassCastException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:48:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>How to Check Free/Busy Information From an Exchange Server</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=98399</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Check Free/Busy Information From an Exchange Server&lt;/H1&gt;&lt;P&gt;The following code demonstrates how to check someone else's schedule for Free/Busy information using J-Integra and Exchange Server's Collaboration Data Objects (CDO 1.2). It is adapted from &lt;A href="http://support.microsoft.com/?id=186753" target=blank&gt;Microsoft Knowledge Base Article - 186753&lt;/A&gt;. Before you run this code, you should first &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm" target=blank&gt;configure your Exchange Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;/*This example is adapted from Microsoft Knowledge Base Article - 186753HOWTO: Check Someone Else's Schedule for Free/Busy Informationhttp://support.microsoft.com/?id=186753*/import com.intrinsyc.cdo.*;import com.linar.jintegra.Cleaner;public class GetFreeBusy{    // Modify the following variables based on your specific Exchange setup    static final String domain   = "DOMAIN";    //make sure it's all capitalized    static final String user     = "username";  //username of Exchange super user    static final String password = "password";  //password of Exchange super user    static final String mailbox  = "mailbox";   //mailbox name of Exchange super user    static final String CDOmachine = "000.000.000.000"; //IP address of the CDO machine    static final String server   = "000.000.000.000"; // IP address of Exchange server    static final String recipient1 = "joedoe"; // alias/login name of recipient    public static void main (String[] arg ){        try{            // authenticate to Windows            com.linar.jintegra.AuthInfo.setDefault(domain, user, password);            // create a Session in the CDOmachine            Session session = new Session(CDOmachine);            // logon to the Exchange Server            sessi</description><pubDate>Mon, 30 Mar 2009 03:07:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using Events with Microsoft Exchange</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30910</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Using Events with Microsoft Exchange&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Exchange is very different in the way it exposes events - you do not use a regular type library (CDO.DLL) and run com2java on it, etc. If you noticed, the type library contained in CDO.DLL does not have any declarations for exposed events. Events in the Exchange Server are actually run as a separate service known as the Microsoft Exchange Event Service (EVENTS.EXE). Two things of note: &lt;P&gt;1. The Event Service can only monitor folders stored on an Exchange server. It will not monitor folders stored on the local machines of users. For that, you'll need the Outlook type library instead (which contains events you can hook into) and not CDO.DLL. &lt;P&gt;2. The Event Service fires events asynchronously rather than synchronously in the context of the Exchange Information Store, so the Information Store won't block your event script, other processes, or people from working on items in the folder if the script hasn't run yet. &lt;H3&gt;The general idea&lt;/H3&gt;&lt;P&gt;The Event Service monitors changes to a folder and triggers an event if such change occurs. A change could either be one of the following: &lt;UL&gt;&lt;LI&gt;A new item is added to a folder (e.g. an new mail arrives in your inbox) &lt;LI&gt;An existing item is modified (e.g. the business phone number of a contact item is changed) &lt;LI&gt;An item is deleted &lt;LI&gt;Scheduled events (e.g. events that are triggered every Saturday at 1:00 am) &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Once the Event Service realizes that a change has occurred, it fires an event. It then looks for a corresponding event handler in the folder. The Exchange Event Service ships with one pre-built event handler, named the Exchange Event Scripting Agent that you can bind t</description><pubDate>Mon, 23 Mar 2009 03:11:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>How to Send a Task Item</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=125224</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;How to Send a Task Item&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The following Java code shows how to create and send a task item using CDO and J-Integra for Exchange. For more information on CDO Type property fields, refer to&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms526914.aspx" target=_blank&gt;CDO Object Model&lt;/A&gt;.&lt;BR&gt;&lt;P&gt;&lt;TABLE cellSpacing=10 cellPadding=0 bgColor=#dddddd border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import com.linar.jintegra.*;import com.intrinsyc.cdo.*;import java.util.Date;public class SendTaskRequest {    // Modify the following variables based on your specific setup    // domain where the CDO host machine belongs, make sure it's all capitalized    static String domain = "DOMAIN";    // Java-Exchange username    static String user = "username";    // password of Java-Exchange user    static String password = "password";    // mailbox of Java-Exchange user    static String mailbox    = "mailbox";    // IP address or name of the CDO host machine    static String CDOmachine = "000.000.000.000";    // IP address or name of the Exchange Server    static String exchangeServer = "000.000.000.000";    // e-mail address of the person assigned for this task    static String assignTo      = "someone@somewhere.com";    // MAPI Constants to determine property set and individual properties    // specific to task items    static String CDOPROPSETID2 = "0320060000000000C000000000000046";    static String CDOTASK_STARTDATE = "0x8104";    static String CDOTASK_DUEDATE = "0x8105";    static String CDOTASK_PERCENTCOMPLETE = "0x8102";    public static void main(String[] args) {        try {            // Authenticate to NT domain via NTLM            Au</description><pubDate>Wed, 25 Feb 2009 04:59:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Error "code too large"</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=88972</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Error "code too large"&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;You may get this error if a generated Java proxy file exceeds the maximum length of byte code that a Java compiler can handle. For example, SUN's JDK 1.4.2_01 has a constraint that the length (in bytes) of a Java code cannot exceed 65535 bytes.&lt;/P&gt;&lt;P&gt;For example, consider TaskProxy.java generated from Microsoft Project 2003 &lt;FONT face="Courier New"&gt;C:\Program Files\Microsoft Office\OFFICE11\MSPRJ.OLB&lt;/FONT&gt;. To increase the memory for your Java compiler, you will need to use the -J-mx128m and -J-ms128m options.&lt;/P&gt;However, compilation causes a "code too large" error at compile time: &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/9480f27f-1c09-49be-ae40-6062.gif" border=0&gt;&lt;/P&gt;&lt;P&gt;The solution is to remove the methods you don't need from the Java class. You can download a slimmed down version of TaskProxy.java &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/TaskProxy-GUID673820bb7fc048e6bff1b83401e75b00.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;</description><pubDate>Fri, 20 Feb 2009 07:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Working With Recurring Calendar Items</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183246</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Working With Recurring Calendar Items&lt;/H1&gt;&lt;P&gt;This article demonstrates how to work with recurring Calendar items, such as Appointments and Meetings.  The code snippets that follow use a basic Appointment for illustration, however, they can easily be adapted to Meeting Requests (see &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#examples/calendar.htm#meeting_request" target=blank&gt;here for more details&lt;/A&gt;).  For more information on the RecurrencePattern object, please refer to the &lt;A href="http://msdn.microsoft.com/en-us/library/ms526361%28EXCHG.10%29.aspx" target=blank&gt;Microsoft CDO reference&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Creating a recurring Appointment:&lt;/H2&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;import java.util.Date;import java.text.SimpleDateFormat;public class RecurrenceTesting {    public static void main(String[] args) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        String domain           = "";        String username         = "";        String password         = "";        String CDOmachine       = "";        String exchangeServer   = "";        String mailbox          = "";        try {            // Authenticate to Windows            com.linar.jintegra.AuthInfo.setDefault(domain, username, password);            // Create Session and Logon            Session session = new Session(CDOmachine);            session.logon(                null,                null,                Boolean.valueOf(false),                Boolean.valueOf(true),                Boolean.valueOf(false),                Boolean.valueOf(false),                exchangeServer + "&lt;br&gt;" + mailbox            );            // Retrieve Messages collection from Calendar and add new AppointmentItem            Integer defaultCalendar = Integer.valueOf(CdoDefaultFolderTypes.CdoDefaultFolderCalendar);            Folder calendar = new FolderProxy(</description><pubDate>Mon, 01 Dec 2008 05:49:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>CDO Filter on AppointmentItems</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=61643</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;CDO Filter on AppointmentItems&lt;/H1&gt;&lt;P&gt;According to &lt;A href="http://support.microsoft.com/support/kb/articles/q192/4/04.asp" target=blank&gt;Microsoft Knowledge Base Article - 192404&lt;/A&gt;, when filtering on a collection of Collaboration Data Objects (CDO) AppoinmentItems, the Start and End dates must be reversed to make the filter work as expected.&lt;/P&gt;&lt;P&gt;The following example maps the VB code in the article 192404 to Java.&lt;/P&gt;&lt;H3&gt;VB&lt;/H3&gt;&lt;TABLE id=AutoNumber1 cellSpacing=1 width="90%" border=1&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;FONT face="Courier New" size=2&gt;'You must add a Reference to Microsoft CDO version 1.21.&lt;BR&gt;Set objSession = CreateObject("MAPI.Session")&lt;BR&gt;&lt;BR&gt;objSession.Logon&lt;BR&gt;Set objCalendar = objSession.GetDefaultFolder(MAPI.CdoDefaultFolderCalendar)&lt;BR&gt;Set oMsgColl = objCalendar.Messages&lt;BR&gt;&lt;BR&gt;Set oMsgFilter = oMsgColl.Filter&lt;BR&gt;oMsgFilter.Fields.Add &lt;FONT color=#800080&gt;CdoPR_START_DATE&lt;/FONT&gt;, &lt;FONT color=#008000&gt;"10/1/06"&lt;/FONT&gt;&lt;BR&gt;oMsgFilter.Fields.Add &lt;FONT color=#800080&gt;CdoPR_END_DATE&lt;/FONT&gt;, &lt;FONT color=#008000&gt;"9/1/06"&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;Set oAppt = oMsgColl.GetFirst&lt;BR&gt;MsgBox oAppt.Subject&lt;BR&gt;&lt;BR&gt;Do While (Not oAppt Is Nothing)&lt;BR&gt;  MsgBox oAppt.Subject&lt;BR&gt;  Set oAppt = oMsgColl.GetNext&lt;BR&gt;Loop&lt;BR&gt;objSession.Logoff&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H3&gt;Java&lt;/H3&gt;&lt;TABLE id=AutoNumber2 cellSpacing=1 width="90%" border=1&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;import com.intrinsyc.cdo.*;&lt;BR&gt;import com.linar.jintegra.AuthInfo;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;public class CalendarFilter {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;    //TODO: Change the following parameters based on your setup and configuration&lt;BR&gt;    static String domain            = "MYDOMAIN";&lt;BR&gt;    static String user              = "USERNAME";&lt;BR&gt; </description><pubDate>Mon, 01 Dec 2008 02:30:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using the J-Integra Logging Mechanism</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=56425</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Using the J-Integra Logging Mechanism&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;By default, J-Integra does not log any messages to a file. If this is desired for your application, we advise you to use the &lt;I&gt;jintegra_reduced_logging.jar&lt;/I&gt; runtime file instead of &lt;I&gt;jintegra.jar&lt;/I&gt;. Simply include jintegra_reduced_logging.jar in your Classpath instead of jintegra.jar. This will result in better overall performance. However, if you require some form of logging you will have to use the jintegra.jar runtime file. &lt;H2&gt;Turning on J-Integra Logging&lt;/H2&gt;&lt;P&gt;There are two methods you can use to turn on J-Integra logging: &lt;P&gt;&lt;B&gt;Setting Java Properties During Runtime&lt;/B&gt;&lt;TT&gt;&lt;PRE&gt;  java -DJINTEGRA_LOG_FILE="c:\temp\jintegra.log" -DJINTEGRA_LOG_LEVEL=3 &lt;JAVA client&gt;&lt;/TT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;B&gt;Setting Java Properties in Source Code&lt;/B&gt;&lt;TT&gt;&lt;PRE&gt;Public static void main(String args[]) {&lt;BR&gt;  System.setProperty("JINTEGRA_LOG_FILE", "c:\\temp\\jintegra.log");&lt;BR&gt;  System.setProperty("JINTEGRA_LOG_LEVEL", "3");&lt;BR&gt;  ...&lt;BR&gt;}&lt;BR&gt;Public static void main(String args[]) {&lt;BR&gt;  com.linar.jintegra.Log.logImmediately(3, "c:\\temp\\jintegra.log");&lt;BR&gt;  ...&lt;/PRE&gt;&lt;PRE&gt;}&lt;/TT&gt;&lt;/PRE&gt;&lt;PRE&gt; &lt;/PRE&gt;&lt;H2&gt;Description of Logging Levels&lt;/H2&gt;&lt;P&gt;There are four possible logging levels:&lt;PRE&gt;  SILENT  = 0  Does not create a log file&lt;BR&gt;  ERROR   = 1  Only logs the errors&lt;BR&gt;  BRIEF   = 2  Reports only significant events&lt;BR&gt;  VERBOSE = 3  Reports everything&lt;/PRE&gt;&lt;P&gt;Whenever sending logs to J-Integra Support, a logging level of VERBOSE should be used. &lt;/P&gt;</description><pubDate>Thu, 30 Oct 2008 03:58:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Search Messages and Appointments by Entry ID</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183230</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Search and Retrieve Messages and Appointments by their Message ID&lt;/H1&gt;&lt;P&gt;The following code demonstrates how to search an appointment item by its entry ID. You can apply the same example in searching for other Exchange item types like messages, contacts, task, etc. For more information on message ID's, please refer to the &lt;A href="http://msdn.microsoft.com/library/en-us/cdo/html/6fb473f0-108a-433c-bdae-fdeb80bcf34f.asp" target=blank&gt;Microsoft CDO reference&lt;/A&gt;. Before you run this code, you should first &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm" target=blank&gt;configure CDO&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;import com.linar.jintegra.AuthInfo;public class GetMessageByID {    //TODO: Change the following parameters based on your setup and configuration    static String domain            = "mydomain";    static String user              = "jsmith";    static String password          = "password";    static String CDOmachine        = "0.0.0.0";    static String exchangeServer    = "0.0.0.0";    static String mailbox           = "jsmith";    public static void main (String[] arg ){        try {            // Authenticate to NT domain via NTLM            AuthInfo.setDefault(domain, user, password);            // Start a MAPI Session            Session session = new Session(CDOmachine);            // Logon to the Exchange Server            session.logon(null, null, new Boolean(false), new Boolean(true),                    new Integer(0), new Boolean(true),                    exchangeServer + "&lt;br&gt;" + mailbox);            // Retrieve appointment items from the Calendar            Integer folderID = new Integer(CdoDefaultFolderTypes.CdoDefaultFolderCalendar);            Folder calendar = new FolderProxy(session.getDefa</description><pubDate>Wed, 27 Aug 2008 08:04:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Questions Regarding JCOM</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=65892</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Questions Regarding JCOM&lt;/H1&gt;&lt;P&gt;JCOM is a version of J-Integra which &lt;A href="http://www.bea.com/" target=blank&gt;BEA&lt;/A&gt; ships with their WebLogic Server (WLS). They have licensed the J-Integra source code and integrated it into WLS. &lt;B&gt;BEA has asked that all JCOM support requests go through &lt;A href="mailto:support@bea.com"&gt;BEA Support&lt;/A&gt; (not through J-Integra Support).&lt;/B&gt; So if you wish to use the WLS version of J-Integra (JCOM), then you will have to send JCOM support requests to BEA directly.&lt;/P&gt;&lt;H2&gt;Updating JCOM to the latest version of J-Integra&lt;/H2&gt;&lt;P&gt;The JCOM classes that are shipped with WLS are based on older versions of J-Integra. If you wish to test your JCOM application with the latest version of J-Integra (e.g. to see if there are any differences in functionality), do the following:&lt;/P&gt;&lt;P&gt;&lt;B&gt;1.&lt;/B&gt; Download and install a copy of the latest version of J-Integra from our &lt;A HREF=http://j-integra.intrinsyc.com/download/default.aspx?ProductId=com&gt;website&lt;/A&gt;. Simply ignore the 30-day evaluation license. J-Integra is fully functional and a production license is not required if you have a valid WebLogic license.&lt;P&gt;&lt;B&gt;2.&lt;/B&gt; Update the startWebLogic.cmd startup script by adding a JINTEGRA_HOME variable and &lt;U&gt;prefixing&lt;/U&gt; the CLASSPATH with the jintegra.jar. The jintegra.jar must be placed &lt;STRONG&gt;in front&lt;/STRONG&gt; of the WEBLOGIC_CLASSPATH in order to ensure that the updated classes will be used instead of the ones in weblogic.jar (WLS 8.1 and earlier) or jcom.jar (WLS 10.0).&lt;P&gt;&lt;EM&gt;* Note: If you are using the examplesServer on WLS 8.1, you need to update the startExamplesServer.cmd script instead.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;3.&lt;/B&gt; Add a system PATH variable that places the J-Integra \bin directory &lt;STRONG&gt;in front&lt;/STRONG&gt; of the existing PATH. Doing so ensures that the updated J-Integra tools (i.e. jintmk.dll, ntvinv.dll, etc.) are used instead of their JCOM \bin directory counterparts. This also ensures that the tools are the same version as the J-</description><pubDate>Tue, 22 Jul 2008 03:21:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>How To Access Weblogic Server 9/10 EJB from C# Client</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183245</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H2&gt;How to Access EJB on Weblogic Server 9/10 from C# Client&lt;/H2&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Use this example as a guideline to show you how to access your Enterprise Java Beans (EJB) from a .NET client, using J-Integra for .NET. This example could be deployed on BEA's Weblogic 9.1 or 10.0 Application Server.&lt;/P&gt;&lt;P&gt;Note: For a more detailed step-to-step instruction, please refer to &lt;A href="http://j-integra.intrinsyc.com/support/net/doc/#examples/bea_weblogic_81_http/index.html"&gt;this Access EJB on Weblogic 8.1 from .NET Client&lt;/A&gt; example.&lt;/P&gt;&lt;P&gt;To run the example, follow these directions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Download the attachment below (bea_weblogic_91_http.zip)&lt;/STRONG&gt;, and unzip it into any folder of your choice.&lt;/LI&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;&lt;STRONG&gt;Run Janetor to Configure J-Integra for .NET&lt;BR&gt;&lt;/STRONG&gt;&lt;BR&gt;Use Janetor tool open the \java_server\janet.xml configration file. All settings in Janetor should be already set, the only thing you need to do is to &lt;A href="http://j-integra.intrinsyc.com/support/net/doc/#license/index.html"&gt;install your own J-Integra for .NET license&lt;/A&gt; before your test.&lt;/LI&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;&lt;STRONG&gt;Generate a Web Application aRchive (WAR file)&lt;BR&gt;&lt;/STRONG&gt;&lt;BR&gt;In Janetor, go to "File - Export web application archive". The screenshot below shows the Export web application archive window. See the &lt;A href="http://j-integra.intrinsyc.com/support/net/doc/#janetor/index.html#create_war"&gt;documentation for Janetor&lt;/A&gt; for a description of all the fields. Make sure you select the correct ejb20_basic_beanManaged_client.jar from the downloaded example. Change Output file as necessary.&lt;BR&gt;&lt;BR&gt;&lt;IMG hspace=0 src="http://j-integra.intrinsyc.</description><pubDate>Fri, 27 Jun 2008 10:01:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Windows Error 3 occurred while using J-Integra installer</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183237</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Windows Error 3 occurred while using J-Integra installer&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;You may get the following error when use J-Integra installer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"&lt;SPAN style="FONT-SIZE: 10pt"&gt;Windows error 3 occurred while loading the Java VM."&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the install package crashes when trying to invoke the JVM on your computer, it's usually an indication that your Java Runtime isn't properly configured. &lt;/P&gt;&lt;P&gt;In your Windows "System Properties" -&gt; "Advanced" -&gt; "Environmental Variables", please check that your have the Java bin folder added to your System Path. &lt;/P&gt;&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;Some variations of the path may be (depending on your installation folder and Java runtime version):&lt;BR&gt;&lt;FONT face="Courier New"&gt;C:\Program Files\Java\JRE 1.6.0\bin&lt;BR&gt;C:\Program Files\Java\JDK 1.6.0\jre\bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If you receive this error while installing J-Integra on an x64 (e.g. Windows Server, XP, Vista) system, the cause is the new "Program Files" structure/naming.  There are 2 possible workarounds:&lt;OL&gt;&lt;LI&gt;Add quotation marks to the path contained in the JAVA_HOME System variable.&lt;BR&gt;e.g. "&lt;FONT face="Courier New"&gt;C:\Program Files (x86)\Java\xxxxxxxx&lt;/FONT&gt;". &lt;B&gt;&lt;I&gt;OR&lt;/B&gt;&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;Uninstall and reinstall the Java JDK to a different directory.&lt;BR&gt;e.g. "&lt;FONT face="Courier New"&gt;C:\Java\xxxxxxxx&lt;/FONT&gt;".&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; If this doesn't fix the installation problem, please go ahead and download the ZIP version of J-Integra for COM: &lt;A href="http://j-integra.intrinsyc.com/download/default.aspx?ProductId=com"&gt;http://j-integra.intrinsyc.com/download/default.aspx?ProductId=com&lt;/A&gt;.&lt;/P</description><pubDate>Mon, 23 Jun 2008 05:33:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Common Java Exceptions</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Common Java Exceptions&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This article discusses the solutions to these common Java exceptions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;AutomationException: 0x80070005 - General access denied error&lt;/A&gt;&lt;BR&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;AutomationException: 0x5 - Access is denied&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#NoClassDefFoundError"&gt;Can't find class com/linar/java2com/Main Package com.linar.jintegra not found in import java.lang.NoClassDefFoundError: com/linar/jintact/Helper&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassCastException"&gt;java.lang.ClassCastException&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80080005"&gt;AutomationException: 0x80080005&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80010001"&gt;AutomationException: 0x80010001 - Call was rejected by callee. in 'Invoke'&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IDispatch"&gt;java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80020003"&gt;AutomationException: 0x80020003 - Member not found in 'IDispatch::invoke'&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IOException"&gt;java.io.IOException: Unable to establish RPC Connection to DCOM SCM on HOSTNAME (Bind returned Bind_NAK)&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.asp</description><pubDate>Tue, 03 Jun 2008 03:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Working with Custom Document Properties in Microsoft Word 2003</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=107452</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Working with Custom Document Properties in Microsoft Word 2003&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;There is a glitch in the type library of Microsoft Word 2003 which makes it confusing for Word developers to work with Custom Document Properties programmatically. If you browse through the Word type library (MSWORD.OLB) using Visual Basic's Object Browser and look for CustomProperties, you will see that the Add function has the following signature: &lt;P&gt;  Function Add(Name As String, Value As String) As CustomProperty Member of Word.CustomProperties &lt;P&gt;Note that the function accepts two string parameters. Consequently, com2java will generate the corresponding Java method for this function as follows: &lt;P&gt;  public word.CustomProperty add(String name, String value) &lt;P&gt;When you then call CustomProperties.Add() from Java passing it two valid String parameters, you will get an exception from your Java client that looks as follows: &lt;P&gt;  java.lang.ClassCastException: A COM object reference via iid &lt;BR&gt;  00020400-0000-0000-c000-000000000046 does not support COM&lt;BR&gt;  interface b923fde1-f08c-11d3-91b0-00105a0a19fd&lt;BR&gt;    at com.linar.jintegra.Dispatch.b(Unknown Source)&lt;BR&gt;    at com.linar.jintegra.Dispatch.vtblInvoke(Unknown Source)&lt;BR&gt;    at word.CustomPropertiesProxy.add(CustomPropertiesProxy.java:212)&lt;BR&gt;    at CustomDocProperties.main(CustomDocProperties.java:37) &lt;P&gt;When to attempt to call the same function from VB passing it 2 string parameters as required by the function signature, you will get the following error: &lt;P&gt;&lt;I&gt;Run-time error '450': Wrong number of arguments or invalid property assignment&lt;/I&gt; &lt;P&gt; &lt;IMG hspace=0 sr</description><pubDate>Tue, 22 Apr 2008 03:23:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Embedding a Microsoft Office Document in a Java Frame</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=66642</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Embedding a Microsoft Office Document in a Java Frame&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;According to Microsoft Knowledge Base &lt;A href="http://support.microsoft.com/support/kb/articles/q242/2/43.asp" target=blank&gt;article 242243&lt;/A&gt; and &lt;A href="http://support.microsoft.com/support/kb/articles/q311/7/65.asp" target=blank&gt;article 311765&lt;/A&gt;, Microsoft Office documents (including Word, Excel, PowerPoint, Project, and Visio documents) are ActiveX Document servers, not ActiveX Controls. Visual Basic does not support a native control to host ActiveX Documents. Instead, Visual Basic uses the OLE container control to embed an ActiveX Document. Therefore you cannot directly embed ActiveX Documents in a Java frame either. There are three workarounds:&lt;/P&gt;&lt;H2&gt;1. Use the WebBrowser ActiveX Control&lt;/H2&gt;&lt;P&gt;The WebBrowser control that comes with Internet Explorer (version 3.0 and higher) does support this form of in-place containment. It is possible to use this control to open an Office document as an ActiveX Document as mentioned in &lt;A href="http://support.microsoft.com/support/kb/articles/q243/0/58.asp" target=blank&gt;Microsoft Knowledge Base Article - 243058&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Run J-Integra's com2java tool and select C:\WINDOWS\system32\shdocvw.dll as the type library. Check the &lt;B&gt;"Generate extra classes for embedding ActiveX controls in AWT components"&lt;/B&gt; option and use &lt;B&gt;shdocvw&lt;/B&gt; as the package name. Generate the proxies to a subdirectory named shdocvw.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Note:&lt;/B&gt; Due to a method naming conflict between &lt;FONT face="Courier New" size=2&gt;java.awt.Component&lt;/FONT&gt; and &lt;FONT face="Courier New" size=2&gt;shdocvw.WebBrowser&lt;/FONT&gt;, you will receive the errors below when attempting to compile the generated proxies. T</description><pubDate>Mon, 18 Feb 2008 03:16:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Send an HTML Message</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183243</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Send an HTML Message&lt;/H1&gt;&lt;P&gt;The following example demonstrates a workaround to send an HTML message using CDO (which does not support the automatic generation of HTML for HTML messages) and J-Integra for Exchange.  The code below writes the HTML information to one of the Message object's fields.  For more information about Field objects, please refer to the &lt;A href="http://msdn2.microsoft.com/en-us/library/ms526701%28VS.85%29.aspx"&gt;Microsoft CDO reference&lt;/A&gt;.  Before running this code, please ensure that &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm"&gt;CDO has first been configured&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Java Application Code (HTMLTest.java):&lt;/H2&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.linar.jintegra.Cleaner;import com.intrinsyc.cdo.*;import java.io.*;public class HTMLTest {    public static void main(String[] args) {&amp;nbsp;&amp;nbsp;//TODO: Change the following parameters based on your setup and configuration        String domain           = "domain";        String username         = "username";        String password         = "password";        String CDOmachine       = "0.0.0.0";        String exchangeServer   = "0.0.0.0";                String mailbox          = "mailbox";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String tempFile = "HTMLTest.txt";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try {&amp;nbsp;&amp;nbsp;    // authenticate to Windows            com.linar.jintegra.AuthInfo.setDefault(domain, username, password);            // create a Session in the CDOmachine            Session session = new Session(CDOmachine);            // logon to the Exchange Server            session.logon(null, null, new Boolean(false), new Boolean(true),                          new Boolean(false), new Boolean(false),                          exchangeServer + "&lt;br&gt;" + mailbox);            // create a message in the Outbox            Integer folderType = new Integer(CdoD</description><pubDate>Wed, 09 Jan 2008 09:27:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Limiting the Range of Ports for Java-COM Communication</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30123</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Limiting the Range of Ports for Java-COM Communication&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The following example scenario (Java client accessing a COM component on remote machine) will demonstrate how to do this.&lt;/P&gt;&lt;P&gt;You'll need to experiment with the JINTEGRA_LOCAL_PORT_START and JINTEGRA_LOCAL_PORT_END properties on the Java side to limit the range of ports the client uses. &lt;/P&gt;&lt;P&gt;On the server side, you'll need to limit the port range for the COM component. To do this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Launch DCOMCNFG&lt;/LI&gt;&lt;LI&gt;Click on the Default Protocols tab&lt;/LI&gt;&lt;LI&gt;Click on Connection-Oriented TCP/IP&lt;/LI&gt;&lt;LI&gt;Add the required port range (note that this setting will be used for all components - we are unsure if there is a way to specify for a single component). &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This should now limit both servers to the specific port range.&lt;/P&gt;</description><pubDate>Tue, 18 Dec 2007 06:22:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Retrieve the Members of a Private Distribution List</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183242</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Retrieve the Members of a Private Distribution List&lt;/H1&gt;&lt;P&gt;The following piece of code demonstrates how to retrieve the members of Private Distribution List stored in a user's Contacts folder.  For more information about any CDO object or method used below, please refer to the &lt;A href="http://msdn2.microsoft.com/en-us/library/ms526914.aspx"&gt;Microsoft CDO reference&lt;/A&gt;.  Before running this code, please ensure that you have &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm"&gt;first configured CDO&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;import com.linar.jintegra.Cleaner;public class RetrievePrivateDLMembers {    public static void main(String[] args) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.setProperty("JINTEGRA_RELEASEALL_SHUTDOWN_HOOK", "");        //TODO: Change the following parameters based on your setup and configuration        // the logon parameters of the service account you used to configure CDO        String domain           = "domain";        String username         = "username";        String password         = "password";        // the DNS name or IP address of the machine where you installed CDO        String CDOmachine       = "0.0.0.0";        // the DNS name or IP address of the Exchange Server        String exchangeServer   = "0.0.0.0";        // the mailbox you wish to access (NOTE: this is the same as the user's login name        // e.g., if the username is jsmith, mailbox would also be jsmith )        String mailbox          = "mailbox";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// field and propset ids&amp;nbsp;&amp;nbsp;String CdoPropSetID3 = "0420060000000000C000000000000046";&amp;nbsp;&amp;nbsp;String CdoContact_PrivateDLMemberIDs = "0x8054";        try {            // use credentials of service account to authenticate to Windows            com.linar.jintegra.AuthInfo.setDefault(domain, username, pas</description><pubDate>Thu, 01 Nov 2007 05:35:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Forward, Copy, or Move a Message</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183239</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Forward, Copy, or Move a Message&lt;/H1&gt;&lt;P&gt;The following piece of code demonstrates how to Forward, Copy, or Move the most recent message in a user's Inbox.  Each &lt;EM&gt;independent&lt;/EM&gt; action (Forward, Copy, and Move) is clearly commented for ease of use and illustration.  Please note that the above actions are presented together only for the sake of efficiency, and are &lt;EM&gt;not&lt;/EM&gt; dependent upon one another for proper functionality.  For more information about Message objects, please refer to the &lt;A href="http://msdn.microsoft.com/library/en-us/cdo/html/06c4713a-704b-47bc-8b5d-7c49c094b8cd.asp"&gt;Microsoft CDO reference&lt;/A&gt;.  Before running this code, please ensure that &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm"&gt;CDO has first been configured&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;import com.linar.jintegra.Cleaner;public class ForwardCopyMoveMessage {    public static void main(String[] args) {        // TODO: Change the following parameters based on your setup and configuration        // the logon parameters of the service account you used to configure CDO        String domain           = "domain";        String username         = "username";        String password         = "password";        // the DNS name or IP address of the machine where you installed CDO        String CDOmachine       = "0.0.0.0";        // the DNS name or IP address of the Exchange Server        String exchangeServer   = "0.0.0.0";        // the mailbox you wish to access (NOTE: this is the same as the user's login name        // e.g., if the username is jsmith, mailbox would also be jsmith )        String mailbox          = "mailbox";        try {            // use credentials of service account to authenticate to Windows.            com.linar.jintegra</description><pubDate>Thu, 01 Nov 2007 05:12:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Retrieve and Store Attachments from Messages</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183232</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;How to Retrieve and Store Attachments from a Message&lt;/H1&gt;&lt;P&gt;The following pieces of code demonstrate how to extract an attachment (either a data file or an embedded message) from the most recent message in a user's Inbox.  For more information about Attachment objects, please refer to the &lt;A href="http://msdn.microsoft.com/library/en-us/cdo/html/55f941ed-4d16-4c46-bf1b-b3a1d6574012.asp"&gt;Microsoft CDO reference&lt;/A&gt;.  Before running this code, please &lt;A href="http://j-integra.intrinsyc.com/support/exchange/doc/#GettingStarted/gettingStarted.htm"&gt;configure CDO first&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Retrieving and Storing an Attached Data File:&lt;/H2&gt;&lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;import com.intrinsyc.cdo.*;import com.linar.jintegra.Cleaner;import java.io.*;public class GetAttachment {    public static void main(String[] args) {        //TODO: Change the following parameters based on your setup and configuration        // the logon parameters of the service account you used to configure CDO        String domain           = "domain";        String username         = "username";        String password         = "password";        // the DNS name or IP address of the machine where you installed CDO        String CDOmachine       = "0.0.0.0";        // the DNS name or IP address of the Exchange Server        String exchangeServer   = "0.0.0.0";        // the mailbox you wish to access (NOTE: this is the same as the user's login name        // e.g., if the username is jsmith, mailbox would also be jsmith )        String mailbox          = "mailbox";        try {            // use credentials of service account to authenticate to Windows            com.linar.jintegra.AuthInfo.setDefault(domain, username, password);            // create a Session in the CDOmachine            Session session = new Session(CDOmachine);         </description><pubDate>Thu, 01 Nov 2007 04:38:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Mapping VB Code to Java Code</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Mapping VB Code to Java Code&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Because the Java proxies generated by &lt;A href="http://j-integra.intrinsyc.com/support/com/doc/#com2java/index.html" target=_blank&gt;com2java tool&lt;/A&gt; are simply mapped from the original COM programming API, you need to refer to the original documentation of the COM API to understand what each corresponding Java proxy does. The comments in the Java proxies are based on the comments found from the COM IDL file. The easiest way to start programming Java source code (which uses J-Integra for COM to access a COM component) is to find a VB example first, and then map the VB code to Java. This article covers some basic principles to map VB code to its equivalent Java code.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Object"&gt;Object&lt;BR&gt;&lt;/A&gt;1.1 &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Creating a New Object"&gt;Creating a New Object&lt;/A&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Object"&gt;&lt;BR&gt;&lt;/A&gt;1.2 &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Retrieving an existing active object"&gt;Retrieving an Existing Active Object&lt;/A&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Object"&gt;&lt;BR&gt;&lt;/A&gt;1.3 &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Casting an Object into Another Object"&gt;Casting an Object into Another Object&lt;/A&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Object"&gt;&lt;BR&gt;&lt;/A&gt;1.4 &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113758#Embedding an ActiveX Control"&gt;Embedding an ActiveX Control&lt;/A&gt;&lt;A href="http://j-integra.intrinsyc.com/support/</description><pubDate>Tue, 04 Sep 2007 04:45:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item></channel></rss>