<?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 : INFO</title><description>Knowledge Base: J-Integra : J-Integra for COM : INFO 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 14:02:16 GMT</lastBuildDate><ttl>20</ttl><generator>Knowledge Base: J-Integra</generator><item><title>Supported JDKs and Platforms</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Supported JDKs and Platforms&lt;/H1&gt;&lt;P&gt;All J-Integra products are supported on the following JDKs and Platforms. Customers are also using our J-Integra products on additional JDK/Platform combinations not listed below, including non-Windows platforms such as Linux. If you experience technical issues with any JDK/Platform not listed below, please &lt;A href="http://j-integra.intrinsyc.com/support/"&gt;contact support&lt;/A&gt; and we will take all commercially reasonable steps to support it.&lt;/P&gt;&lt;HR&gt;&lt;H2&gt;Supported JDKs&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Sun Microsystems JDK 1.2&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 1.3&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 1.4&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 5&lt;/LI&gt;&lt;LI&gt;Sun Microsystems JDK 6&lt;/LI&gt;&lt;LI&gt;Oracle JDK 7-14&lt;/LI&gt;&lt;LI&gt;IBM JDK 1.3*&lt;/LI&gt;&lt;LI&gt;IBM JDK 1.4&lt;/LI&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size=1&gt;* Embedding ActiveX controls will not work with IBM's JDK 1.3.x because it does not support Sun's AWT Native Interface (jawt.dll). However, this is the only limitation with this version of the IBM JDK (all other J-Integra functionality is supported). &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/UL&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;OL&gt;&lt;br /&gt;&lt;LI&gt;EJB 3.0 (specifically "annotations") is not supported.&lt;/LI&gt;&lt;/OL&gt;&lt;HR&gt;&lt;H2&gt;Supported Microsoft Windows Platforms&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Windows NT 4.0 (including SP6)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 2000 (including SP4)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows XP (including SP3)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2003 (including R2 and SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2008 (including R2 and SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Server 2012 (including R2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows Vista (including SP2)&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 7&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 8 and 8.1&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 10 (see note below)&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Both 32-bit and 64-bit Windows platforms are supported.&lt;/LI&gt;&lt;LI&gt;Windows 10 1809+ requires a workaround to support certain DCOM configurations.  &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183260"&gt;See this KB artic</description><pubDate>Wed, 12 Aug 2020 08:08:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>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>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>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>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>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>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>Changes to Daylight Saving Time in 2007</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183236</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;A number of our customers have been asking us if J-Integra is affected by the upcoming changes to Daylight Saving Time. The short answer is no - J-Integra will not be affected by these changes and you will not need to update your J-Integra software. As long as your Windows and Java underlying systems (and applications, if necessary) are properly updated, J-Integra will simply pass the correct date/time information bi-directionally between applications.&lt;/P&gt;&lt;P&gt;For more information on how Windows and Java systems are affected by the changes, please see the following links...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://support.microsoft.com/gp/cp_dst" target=_blank&gt;Microsoft Support: Daylight Saving Time Help and Support Center&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://java.sun.com/developer/technicalArticles/Intl/USDST/" target=_blank&gt;Sun Developer Network: U.S. Daylight Saving Time Changes in 2007&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description><pubDate>Thu, 15 Feb 2007 06:59: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>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></channel></rss>