<?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 : J-Integra for COM</title><description>Knowledge Base: J-Integra : J-Integra for COM RSS 2.0 Feed</description><link>http://j-integra.intrinsyc.com/support/kb/</link><webMaster>j-integra_support@intrinsyc.com</webMaster><lastBuildDate>Sat, 18 Apr 2026 12:32:49 GMT</lastBuildDate><ttl>20</ttl><generator>Knowledge Base: J-Integra</generator><item><title>Workaround for DCOM on Windows 10 1809+</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183260</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;!--Title --&gt;  &lt;Title&gt;Workaround for DCOM on Windows 10 1809+&lt;/Title&gt;  &lt;div class="row"&gt;    &lt;div class="col-sm-1"&gt;    &lt;/div&gt;    &lt;div class="col-sm-8"&gt;      &lt;h1&gt;&lt;a&gt;Workaround for DCOM on Windows 10 1809+&lt;/a&gt;&lt;/h1&gt;    &lt;/div&gt;    &lt;div class="col-sm-3"&gt;      &lt;a href="/products/com/" target="_blank" alt="Java/J2EE COM Interoperabilit</description><pubDate>Wed, 12 Aug 2020 09:04:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><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>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>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>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 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>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>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>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>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>Com2java Crashes When Generating Proxies</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183244</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Com2java Crashes When Generating Proxies&lt;/H1&gt;&lt;P&gt;Customers have reported a few cases where the com2java tool crashes when generated proxy files. This problem occurs for a small number of COM type libraries and is due to some changes that were made to the com2java tool and introduced in v1.6. The known type libraries affected by these changes are: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Msado15.dll&lt;/LI&gt;&lt;LI&gt;Vbe6ext.olb&lt;/LI&gt;&lt;LI&gt;Msxml3.olb&lt;/LI&gt;&lt;LI&gt;Shdocvw.dll&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The changes introduced in com2java v1.6 resolved a number of other problems with proxy generation for many other COM type libraries. If you require Java proxy files for any of the above type libraries, you can &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869" target=_blank&gt;download precompiled proxy JAR packages from Article Q81869&lt;/A&gt;. &lt;P&gt;&lt;/P&gt;</description><pubDate>Wed, 19 Mar 2008 04:06: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>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>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><item><title>Errors when Releasing COM Objects from Java Clients</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927</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;Errors when Releasing COM Objects from Java Clients&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/article.aspx?id=30927#SYMPTOMS"&gt;SYMPTOMS&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927#CAUSE"&gt;CAUSE&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927#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;Sometimes COM objects are not released properly by the Java client. The client itself may execute normally. Errors listed below may be present in the jintegra.log file (note that the timestamp and objRefs will be different).&lt;/P&gt;&lt;FONT face="Courier New"&gt;995005188493 *: Received a fault (code:2147549448) in response to IRemUnknown::RemRelease request, with RPC call id 80&lt;BR&gt;995005188573 *: Error releasing batched objRefs: {00000022-013f-0000-3101-000022000000=30, 00000025-013f-0000-3101-000025000000=30, 00000023-013f-0000-3101-000023000000=5, 00000026-013f-0000-3101-000026000000=5, 00000024-013f-0000-3101-000024000000=5, 00000027-013f-0000-3101-000027000000=5} AutomationException: 0x80010108 - The object invoked has disconnected from its clients. in 'Invoke'&lt;BR&gt;995005188673 *: IOException reading from socket: java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read to Net={aaa.bbb.ccc.ddd[xxxx]...&lt;BR&gt;995005188673 *: RPC Connection Handler waitForResponse(2) failed: connection is dead to Net={{ 0x7, aaa.bbb.ccc.ddd[xxxx]}} Sec={{ .....&lt;BR&gt;995005188673 *: Error releasing all objRefs: java.io.EOFException: The DCOM connection to the remote object has been disconnected (waitForResponse2)&lt;BR&gt;&lt;/FONT&gt;  &lt;H2&gt;&lt;A name=CAUSE&gt;&lt;/A&gt;CAUSE&lt;/</description><pubDate>Tue, 24 Jul 2007 03:04:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>"bad class file. class file has wrong version 50.0, should be 4x.0."</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;"bad class file. class file has wrong version 50.0, should be 4x.0."&lt;/H1&gt;&lt;P&gt;When compiling your code using the JAR files packaged with J-Integra for COM v2.7 or J-Integra for Exchange v2.7 (excel2007.jar &amp;amp; cdo.jar respectively) , you may receive an error similar to the one below: &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;SampleProgram.java:28: cannot access com.intrinsyc.cdo.Session&lt;BR&gt;bad class file: C:\Program Files\J-Integra\Exchange\lib\cdo.jar(com/intrinsyc/cdo/Session.class)&lt;BR&gt;class file has wrong version 50.0, should be 48.0&lt;BR&gt;Please remove or make sure it appears in the correct subdirectory of the classpath.&lt;BR&gt;            Session session = new Session(CDOmachine);&lt;BR&gt;            ^&lt;BR&gt;1 error&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P&gt;These types of errors are caused by a Java version mismatch between the compiled proxies and your runtime.&lt;/P&gt;&lt;P&gt;Below are a list of some of the version numbers and their corresponding Java runtimes:&lt;BR&gt;Version 50.0 = Java 1.6.x&lt;BR&gt;Version 49.0 = Java 1.5.x&lt;BR&gt;Version 48.0 = Java 1.4.x&lt;/P&gt;&lt;P&gt;To resolve this issue, regenerate the proxies using com2java and compile them with your version of the Java SDK.  Alternatively, you can download some precompiled proxies from our &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869"&gt;Precompiled Java Proxy JAR Files&lt;/A&gt; KB article.&lt;BR&gt; &lt;BR&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The downloadable proxies were compiled using Java 1.4, except for Excel 2007, which for compatibility reasons, was compiled using Java 1.5.&lt;/P&gt;</description><pubDate>Tue, 12 Jun 2007 04:36:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Java 6 sun.* Compilation Warnings</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183238</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Java 6 sun.* Compilation Warnings&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H1&gt;&lt;P&gt;When compiling proxies created by J-Integra for COM's java2com tool, you may receive warning messages that &lt;FONT face="Courier New"&gt;sun.*&lt;/FONT&gt; packages are "Sun proprietary API and may be removed in the future."&lt;/P&gt;&lt;P&gt;Normally, &lt;FONT face="Courier New"&gt;sun.*&lt;/FONT&gt; packages should never be used by developers since they may change in future releases.  Direct calls to the &lt;FONT face="Courier New"&gt;sun.*&lt;/FONT&gt; packages are not guaranteed to work on all Java-compatible platforms and thus are not supported by Sun.  Please see the Sun article, "&lt;A href="http://java.sun.com/products/jdk/faq/faq-sun-packages.html"&gt;Why Developers Should Not Write Programs That Call 'sun' Packages&lt;/A&gt;", for more details.&lt;/P&gt;&lt;P&gt;However, since J-Integra for COM's java2com tool creates a one-to-one mapping to Java packages, references to &lt;FONT face="Courier New"&gt;sun.*&lt;/FONT&gt; packages need to be made.  This &lt;EM&gt;will not&lt;/EM&gt; impact the functionality of J-Integra.  If you're experiencing problems with the generated proxies, please try regenerating them using the same Java version as your runtime.  This will ensure that the proxies make reference to the same "versions" of the &lt;FONT face="Courier New"&gt;sun.*&lt;/FONT&gt; packages as your runtime.&lt;/P&gt;&lt;P&gt;Unfortunately, these warnings cannot be suppressed at compile time.  Please see Sun &lt;A href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476630"&gt;Bug 6476630&lt;/A&gt; for more information regarding these warnings.&lt;/P&gt;</description><pubDate>Thu, 26 Apr 2007 09:08:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Warning Messages When Accessing Microsoft Outlook</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=110946</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;Warning Messages When Accessing Microsoft Outlook&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 sending messages in Outlook via J-Integra, you will get a warning message saying that a program is trying to automatically send e-mail on your behalf. &lt;P&gt; &lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/c8dbd73b-76b5-4618-83a3-15cf.gif" border=0&gt; &lt;P&gt;Note that this is a security design of Outlook and has nothing to do with J-Integra. You will get the same warning message if the application accessing Outlook is written in pure VB. Here's an excerpt from &lt;A href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;262617" target=blank&gt;MSDN&lt;/A&gt; regarding programmatic behavior of Outlook: &lt;P&gt;&lt;I&gt;If other applications try to use Outlook on your behalf, you receive a warning message and you are prompted to confirm what the other application is doing. You receive warning messages when another application tries to do anything in the following list: &lt;UL&gt;&lt;LI&gt;Send mail on your behalf &lt;LI&gt;Access your address book &lt;LI&gt;Access e-mail names from your messages &lt;LI&gt;Access e-mail information from your contacts or other types of items &lt;LI&gt;Save your messages to the file system &lt;LI&gt;Search your messages for content &lt;LI&gt;Use Simple Messaging Application Programming Interface, Simple MAPI, to send messages without your consent &lt;/LI&gt;&lt;/UL&gt;&lt;/I&gt;&lt;P&gt;One workaround is to install third-party software that handles these pop-up messages. Hereí»s a link to one of them: &lt;A href="http://www.contextmagic.com/express-clickyes/" target=blank&gt;http://www.contextmagic.com/express-clickyes/&lt;/A&gt; &lt;P&gt;A better workaround might be to use CDO (Collaboration Data Objects) via J-Integra for Exchange. CDO exposes objects and </description><pubDate>Wed, 18 Apr 2007 03:10:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra with Eclipse</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=104951</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 Eclipse&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;Eclipse is an IDE developed by &lt;A href="http://www.eclipse.org/" target=blank&gt;www.eclipse.org&lt;/A&gt;. It uses its own environment variables instead of using the PATH and CLASSPATH variables defined by the system. In order to use J-Integra within Eclipse, you need to add jintegra\lib\jintegra.jar in Eclipse's classpath and include jintegra\bin in Eclipse's java.library.path. To do this: &lt;OL&gt;&lt;LI&gt;Right click on your project and then click on "Properties" or select the menu "Project" and click on "Properties". &lt;LI&gt;Go to "Java Build Path" and then click on the button "add External JARs...". Select the jintegra.jar located in the C:\jintegra\lib\ &lt;P&gt; &lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/4dcf29a9-ea55-4ef3-8101-be33.gif" border=0&gt; &lt;P&gt;&lt;/P&gt;&lt;LI&gt;Add C:\jintegra\bin to the java.library.path by going to Run -&amp;gt; Runí¡ . Select the Arguments tab and under VM arguments, add the variable -Djava.library.path=C:\jintegra\bin &lt;P&gt;&lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/c85b37cb-9577-4f43-93a6-a1d5.gif" border=0&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Thu, 12 Apr 2007 03:54:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Running the COM Accessing Java Early Binding Example (with Events) Using a VC++ Client</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=71119</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;Running the COM Accessing Java Early Binding Example (with Events) Using a Visual C++ Client&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 attachment, &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/EarlyBindExample-GUID0b9c12bdcfd6418a8d726523cf695bae.zip"&gt;EarlyBindExample.zip&lt;/A&gt;, contains the COM accessing Java early binding example from the documentation, but also includes a VC++ client in addition to the VB client. To run the example with a VC++ client, do the following: &lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;OL type=1&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Download the attachment and extract the files to your hard disk.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Follow the instructions in the &lt;STRONG&gt;&lt;EM&gt;readme.txt&lt;/EM&gt;&lt;/STRONG&gt; file to setup and run the example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;To run the VC++ client, open the project file in the &lt;STRONG&gt;&lt;EM&gt;cxx client&lt;/EM&gt;&lt;/STRONG&gt; directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Select the &lt;STRONG&gt;&lt;EM&gt;Build-&amp;gt;Rebuild All&lt;/EM&gt;&lt;/STRONG&gt; opti</description><pubDate>Tue, 20 Feb 2007 06:34:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Deploying Your J-Integra Application</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=115086</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;Deploying Your J-Integra Application&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;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=115086#introduction"&gt;Introduction&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=115086#java2com"&gt;Java Accessing COM&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=115086#com2java"&gt;COM Accessing Java&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;A name=introduction&gt;&lt;/A&gt;1. Introduction&lt;/H2&gt;&lt;P&gt;There are many ways to use J-Integra. The following tables will help figure out which files need to be deployed in the various application scenarios. J-Integra offers two modes: &lt;A href="http://j-integra.intrinsyc.com/support/com/doc/#dcom_native.html" target=_blank&gt;DCOM Mode and Native Mode&lt;/A&gt;. &lt;P&gt;&lt;H2&gt;&lt;A name=java2com&gt;&lt;/A&gt;2. Java Accessing COM&lt;/H2&gt;&lt;P&gt;* Indicates the tool is required for configuration, but not used at runtime. &lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=1 width="100%" border=1&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top width="10%"&gt;&lt;B&gt;&lt;CENTER&gt;Mode&lt;/CENTER&gt;&lt;/B&gt;&lt;/TD&gt;&lt;TD vAlign=top width="45%"&gt;&lt;B&gt;&lt;CENTER&gt;Client&lt;/CENTER&gt;&lt;/B&gt;&lt;/TD&gt;&lt;TD vAlign=top width="45%"&gt;&lt;B&gt;&lt;CENTER&gt;Server&lt;/CENTER&gt;&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;&lt;CENTER&gt;DCOM&lt;/CENTER&gt;&lt;/B&gt;&lt;/TD&gt;&lt;TD vAlign=top&gt;&lt;BR&gt;&lt;UL&gt;&lt;LI&gt;Java client app &lt;LI&gt;Java proxy files (generated by com2java) &lt;LI&gt;jintegra.jar or jintegra_reduced_logging.jar &lt;LI&gt;If using &lt;A href="http://j-integra.intrinsyc.com/support/com/doc/#remoteaccess.html#nativeAuth" target=_blank&gt;native authentication&lt;/A&gt;: &lt;UL&gt;&lt;LI&gt;ntvauth.dll &lt;/LI&gt;&lt;LI&gt;ntvauthEnglishResourceDll.dll &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;TD vAlign=top&gt;&lt;BR&gt;&lt;UL&gt;&lt;LI&gt;COM server app &lt;LI&gt;setdllhost.exe* &lt;/LI&gt;&lt;LI&gt;setdllhostEnglishResourceDll</description><pubDate>Fri, 09 Feb 2007 08:14:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Accessing .NET Components From a Java Client</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=78813</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Accessing .NET Components From a Java Client&lt;/H1&gt;&lt;P&gt;This step-by-step example shows you how you can use J-Integra to access .NET components from a Java client or embed a .NET form in a Java AWT/SWING frame. If your Java client does not embed a .NET GUI component in a Java frame, you can also use &lt;A href="http://j-integra.intrinsyc.com/products/net/" target=blank&gt;J-Integra for .NET&lt;/A&gt; to integrate your Java/J2EE and .NET components. J-Integra for COM uses a &lt;A href="http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcomcallablewrapper.asp" target=blank&gt;COM Callable Wrapper&lt;/A&gt; to bridge Java and .NET, whereas &lt;A href="http://j-integra.intrinsyc.com/products/net/" target=blank&gt;J-Integra for .NET&lt;/A&gt; uses pure &lt;A href="http://msdn.microsoft.com/library/en-us/dndotnet/html/hawkremoting.asp" target=blank&gt;.NET Remoting Protocol&lt;/A&gt; to do the bridging. &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=78813#introduction"&gt;Introduction&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#configure"&gt;Configure the .NET environment&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#compile"&gt;Compile and register the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#addtogac"&gt;Add the C# component to the GAC&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#tlb"&gt;Create a TLB from the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#proxies"&gt;Generate and compile the Java proxies for the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#client"&gt;Compile and run the Java client&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This example was built using the following: &lt;UL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/downloads/" target=blank&gt;J-Integra&lt;/</description><pubDate>Tue, 17 Oct 2006 02:11:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Mapping COM Currency Types to Java and Java Long Values to COM</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=39661</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 COM Currency Types to Java and Java Long Values to COM&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 occasionally confusion about how to map COM Currency types to Java, and how to map Java long values to COM.&lt;/P&gt;&lt;H3&gt;COM Currency in Java&lt;/H3&gt;&lt;P&gt;Internally, the Currency data type is actually a 64-bit integer. However, COM languages such as VB, ASP, and Delphi scale such values down by a factor of 10,000 to produce four digits after the decimal point. So, although the data type is a 64-bit integer, COM languages will display the value of any Currency-type variable as having a decimal point followed by four digits. For more details, see the &lt;A href="http://j-integra.intrinsyc.com/support/com/doc/#types/index.html" target=blank&gt;J-Integra documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Therefore, in order to display a 64-bit value correctly in a Java application, you must first divide the result by 10,000. This will shift the decimal point, resulting in the display of the actual value. This is a COM specification and the problem is not caused by J-Integra.&lt;/P&gt;&lt;P&gt;This behavior is by design, although we appreciate it isn't obvious. We didn't want to run the risk of losing accuracy by mapping a fixed point value (currency) to a floating point value (double), which at first glance might be the obvious mapping. Using a long was the only option.&lt;/P&gt;&lt;H3&gt;Java long in COM&lt;/H3&gt;&lt;P&gt;The long data type in Java is mapped to the Currency type in Visual Basic. This is because in Java a &lt;I&gt;long&lt;/I&gt; is a 64-bit data type, while in Visual Basic, a &lt;I&gt;long&lt;/I&gt; is a 32-bit data type. The only 64-bit data type in Visual Basic is a &lt;I&gt;Currency&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;The following information was found on www.vbapi.com (as of August 2, 2002):&lt;/P&gt;&lt;P&gt;&lt;I&gt;"Internally, </description><pubDate>Thu, 21 Sep 2006 05:09:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>NullPointerException when Working with ActiveX Controls</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30945</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;NullPointerException when Working with ActiveX Controls&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 working with ActiveX controls, the control must first be displayed before invoking methods on it. If the control is not displayed first, often you will get a NullPointerException.&lt;/P&gt;&lt;P&gt;As an example, if com.activex.MapControl is an ActiveX component, doing something like this may cause a Null-pointer Exception:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;  com.activex.MapControl mapcontrol = new com.activex.MapControl();&lt;BR&gt;  mapcontrol.zoomIn(); // causes java.lang.NullPointerException&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In this case, you may have to display the ActiveX component first, as below:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;  com.activex.MapControl mapcontrol = new com.activex.MapControl();&lt;BR&gt;&lt;BR&gt;  &lt;B&gt;// code to display the MapControl should be placed here:&lt;BR&gt;&lt;/B&gt;  JFrame frame = new JFrame();&lt;BR&gt;  frame.setSize(400, 300);&lt;BR&gt;  frame.getContentPane().setLayout(new BorderLayout());&lt;BR&gt;  frame.getContentPane().add(mapcontrol, BorderLayout.CENTER);&lt;BR&gt;  frame.setVisible(true);&lt;BR&gt;&lt;BR&gt;  mapcontrol.zoomin(); // now it works&lt;/FONT&gt;&lt;/P&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;P&gt;(1) Actually, not all methods will cause a NullPointerException when called before the ActiveX control is displayed. Any &lt;B&gt;setXX()&lt;/B&gt; method can be called beforehand. These &lt;B&gt;setXX()&lt;/B&gt; methods will be queued up and automatically called once the ActiveX control is made visible. &lt;/P&gt;&lt;P&gt;(2) ActiveX controls hosted by J-Integra extend com.linar.jintegra.Ocx, which in turn extends java.awt.Canvas (see the generated proxies for details). All java.awt.Canvas components have a property called &lt;STRONG&gt;preferredSize&lt;/STRONG&gt;. The preferredSize of any ActiveX control that is hosted by J-Integra defaults to 1</description><pubDate>Thu, 17 Aug 2006 16:55:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Running a Java Class as an Windows NT/2000/XP/Server 2003 Service</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30411</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;Running a Java Class as an Windows NT/2000/XP/Server 2003 Service&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;Background&lt;/H2&gt;&lt;P&gt;Windows 2000 and Windows NT support the concept of services. A service is a software component that runs in the background. Examples include the "Event Log" service which provides logging facilities, and the "DHCP Client" service which manages obtaining an IP address for your machine. If you have IIS on your machine, it runs as a service also.&lt;/P&gt;&lt;P&gt;Service states are controlled by the services control panel (on Windows 2000 select Start-&amp;gt;Programs-&amp;gt;Administrative Tools-&amp;gt;Services). Services respond to a number of control commands including start, stop, pause and resume. So a service must be programmed to handle these events.&lt;/P&gt;&lt;P&gt;The most interesting feature of services is that they are running even when there are no users logged on. So if your application needs to run all the time, with and without users logged on, then it must run as a service.&lt;/P&gt;&lt;H2&gt;JavaService by Alexandria Software Consulting&lt;/H2&gt;&lt;P&gt;JavaService is an application that allows any Java class to be run as a Service. It is an open source product that was originally developed and distributed by Alexandria Software Consulting.  However, the JavaService software is now hosted by the ObjectWeb source forge. It can be downloaded from &lt;A href="http://javaservice.objectweb.org/index.html"&gt;here&lt;/A&gt; (&lt;A href="http://javaservice.objectweb.org/index.html"&gt;http://javaservice.objectweb.org/index.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Please note that Intrinsyc Software does not provide technical support for JavaService.&lt;/P&gt;&lt;P&gt;We have successfully used this product to run the COM to Java bridges in our Application Server examples (suc</description><pubDate>Thu, 27 Jul 2006 03:37:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item></channel></rss>