PB12.6 compatiblity with Oracle JRE 1.3.1_02

Hello
I am currently using PB12.6 .
we need to call the Java bean through OLE connection. Java bean is built in JRE_1.3.1_02 version. Here is code
ctisActiveXName = 'Java Bean Class'
ioleServer = CREATE OLEObject
llResult = ioleServer.ConnectToNewObject (ctisActiveXName)
However PB12.6 get crashed at above line.
This code works fine in PB12.0 . Note that we cant change the Java component built in JRE_1.3.1_02.
How can I make it work in PB12.6?
Any help is highly appreciated.
Thanks
Amol

Hello Amol,
To simulate your problem, I used this excellent sample Wrap a Java bean in a COM object - Real's Java How-to to bundle a JavaBeans as an ActiveX object using the ActiveX Bridge technology
I had to install very old JDK 1.3.1_02 and Java Plugin 1.3.1 into my Windows 7 box
Here are my observations after coding below script (I also used excellent document http://scn.sap.com/community/developer-center/powerbuilder/blog/2014/09/24/how-to-capture-error-messages-from-an-activex-control from Roland Smith to create n_oleobject OLE object)
+ PowerBuilder 12.1 and 12.5.2 are working without any crashes
+ PowerBuilder 12.6 is crashing directly at line ConnectToNewObject
My real concern is that
* the COM object (which is in fact a Java object) is using an EOL JDK and EOL technology
* PB 12.6 is not compatible with this JDK
I'm not sure if we can support COM objects developped with obsolete technologies.
n_oleobject   objJava
string    strFromjava
integer   li_rc
objJava = CREATE n_oleobject
li_rc = objJava.ConnectToNewObject("JavaBeanSays.Bean")
If li_rc = 0 Then
   try     
  strFromJava = objJava.getHello()
  MessageBox("From PB via JavaCom", strFromJava)
  objJava.setHello("Bonjour le monde")
  strFromJava = objJava.getHello()
  MessageBox("From PB via JavaCom", strFromJava)
   catch ( RuntimeError rte )
      PopulateError(objJava.ErrorCode, objJava.ErrorText)
      MessageBox("OLE Runtime Error #" + &
            String(Error.Number), Error.Text, StopSign!)
      objJava.DisconnectObject()
      Return
   end try
   objJava.DisconnectObject()
Else
   MessageBox("OLE Connect Error #" + String(li_rc), &
         "Connect To Object Failed!", StopSign!)
End If
DESTROY objjava
Thanks
Jacob

Similar Messages

  • Which version of Weblogic on Solaris is compatible with Oracle 8.1.7 - Unicode?

    Hi folks,
    We want upgrade WLS 4.5.1 to one of the last version of WLS, but also we are
    planing upgrade Oracle to 8.1.7 version and migrate the character set of the
    database to UTF8 (Unicode),
    so we need to know which versions of WLS are compatible with Oracle 8.1.7
    and Unicode as Character Set.
    Thanks in advance.
    Moises Moreno.

    Hi Moises Moreno
    The latest version of weblogic server is 6.1 with service pack 1. This version
    supports oracle 8.1.7 on major unix platforms viz., solaris(2.6,2.7,2.8),
    hp-unix(11.0,11.0i), linux7.1, Aix4.3.3 and on windows platforms viz.,
    NTwithsp5, 2000.
    BEA jdrivers are having Multibyte character set support (UTF8).
    Note : Weblogic server 5.1 with SP10 also supports oracle 8.1.7.
    FMI : http://www.weblogic.com/platforms/index.html#jdbc
    Thanks & Regards
    BEA Customer Support
    Moises Moreno wrote:
    Hi folks,
    We want upgrade WLS 4.5.1 to one of the last version of WLS, but also we are
    planing upgrade Oracle to 8.1.7 version and migrate the character set of the
    database to UTF8 (Unicode),
    so we need to know which versions of WLS are compatible with Oracle 8.1.7
    and Unicode as Character Set.
    Thanks in advance.
    Moises Moreno.

  • SQL Developer 3.0.04 generated scripts not compatible with Oracle 10g (XE)

    HI,
    I tried to do an export from one XE database (still 10g) to another XE database. (also 10g).
    I tried to do a database copy as well as a separate export and import (by loading the file and running as a script).
    Neither of them work without modifying the files as it seems that SQL Developer generates scripts that are only compatible with Oracle 11g.
    - Create table contains "segment creation automatic"
    - Storage clauses contain parts that are not compatible with 10g
    I ran through the wizard several times but neither can I find an option to choose for compatibility with earlier versions of Oracle.
    Checked the preferences screen as well.
    Is this a well hidden option or is it not possible to make this work for 10g.
    Extra : found workaround by removing the storage clause to the export. Is there another way that does not force me to remove the storage clause?
    Edited by: kcaluwae on 24-jun-2011 6:03

    I'm sure this is far from the supported way to fix this but, seeing that it's apparently an issue with the classpath or something in it, I hacked <sqldeveloper_install>\sqldeveloper\bin\sqldeveloper.bat and added [ORACLE_HOME]\jdbc\lib\ojdbc6.jar to the classpath. At least that gets me started with 3.0 and lets me create TNS connections.
    I'd really appreciate a better solution, if any of you kind folks knows of something.
    Thanks,
    Kelly

  • Is TimesTen 11.2.1 compatible with Oracle 10g (Oracle 10.2.0.5.0)?

    Is TimesTen 11.2.1 compatible with Oracle 10g (Oracle 10.2.0.5.0)?

    Yes it is. Following version are supported for TT 11.2.1.8.x releases
    ■ Oracle 11g Release 2
    ■ Oracle 11g Release 1
    ■ Oracle 10g Release 2 (10.2.0.4.0 or above)

  • Oracle SQL Developer 1.2 – Automatic -  is compatible with Oracle 11g?

    Oracle SQL Developer 1.2 – Automatic - is compatible with Oracle 11g?
    Thanks in advance!
    -Babu

    So I'm taking it the question is -
    Is 1.2 Sql Developer compatible with 11g DB?
    The short answer is Yes. We are constantly adding new functionality and better support for the newer Databases. For Example to use the real time Sql monitoring that became available in 11g you will have to be on at least 2.1 Sql Dev. Is there some reason you don't want to upgrade to the latest Sql Dev? If not the current EA version then at least the current production version?
    Thanks,
    Syme

  • I want to know whats the release of jdeveloper compatible with  Oracle E-Business Suite 12.1.3

    i want to know whats the release of jdeveloper compatible with  Oracle E-Business Suite 12.1.3

    You can find this information on the Oracle Support site. It is the article with the ID 416708.1

  • Is Forms 10g compatible with Oracle database 8.1.7.4.0 ?

    Hello Folks,
    Is Forms 10g compatible with Oracle database 8.1.7.4.0 ?
    Thank You
    Anna

    There shouldn't be problems. [url https://metalink.oracle.com/metalink/plsql/f?p=130:14:3453894956402291720::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,207303.1,1,1,1,helvetica]Metalink Note:207303.1

  • Which latest web logic server compatible with oracle 11g database

    which latest web logic server compatible with oracle 11g database >is weblogic server 12c is compatible with oracle 11gR2

    current environment= forms and reports 10g and database 10gR2,os windows 32-bit.
    wants to implement and configure as below:
    server1: web-logic server 12c with forms and reports upgrade from 10g to 11g where os 64-bit windows.
    server2: upgrade and migrate  from 10gR2 11gR2 from windows xp to windows 2008-R2.
    how to achieve this.what step should perform first.

  • Launch apps with oracle jre 7

    With Apple discontinuing support jre 7 on its mountain lion, i am trying to find a way to launch my mac apps with oracle jre7. There are two situations occuring to me.
    1. Oracle jre7 could be before hand installed and my app should be able to detect and launch
    2 Or Bundle the oracle jre 7 with my Mac app and get into lauching it on mountain lion without any issues.
    Is there a better way or apple providing support in this regards.
    Help appreciated.

    Thanks NickClark_uk,
      I am able to install the java 7, but the Mac app i am trying to launch is unable to detect the oracle jre 7 and works fine with app store jre's. So we may need to bundle the jre or modify our apps to detect the installed JRE.
    I was looking at what would be the better approach in order to have my Mac app run with oracle jre 7.
    Thanks

  • Is Forms 6i and Reports 6i compatible with Oracle 8i

    hi,
    Is Forms 6i & Reports 6i compatible with
    Oracle 8i database?

    Yes it is, no doubt. We use it with 8.1.6 and 8.1.7. Michael

  • Oracle10g Developer Suite compatible with Oracle 9iAS

    Hello,
    Would anyone know if Oracle10g Developer Suite is compatible with Oracle 9i Application Server? I mean, If I upgrade from Oracle9i Developer Suite to Oracle10g Developer Suite , do I have to upgrade the Oracle application Server as well?
    Kind Regards,
    Saurater Faraday

    you would have to check each technology separately
    e.g will 10g forms run on a 9i Forms server ? prob. not. then again they might but I won't try it in production.
    same for Disco, Reports and Designer....

  • List of all Weblogic server version compatible with Oracle BPEL 10.1.3.x

    Hi all,
    Kindly let me know all the web logic server versions compatible with 10.1.3.x.
    I know that WLS 9.2 works fine as i have already installed SOA Suite 10.1.3.4 with WLS 9.2 MP3.
    But I am not sure bout the rest of the versions of WLS.
    i need en exhaustive list of all the versions of WLS compatible with SOA Suite or standalone BPEL having versions - 10.1.3.3 or 10.1.3.4.

    Hi Vishal,
    11g Certification Matrix on OTN
    http://www.oracle.com/technology/software/products/ias/files/oracle%20fusion%20middleware%2011gr1%20(11%201%201%201%200)%20certification%20matrix.xls
    10.1.3.4
    http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_r3_10.1.3_matrix.xls
    10.1.3.3
    http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_r3_10.1.3_matrix.xls

  • Is JDBC  thin driver 10.1.0.3 compatible with ORACLE-10.2.0.2.0 ?

    Hi Everyone,
    Please let me know whether the JDBC thin driver 10.1.0.3 Driver compatible with the oracle server 10G version 10.2.0.2.0? We are facing some issues with the compatibility.
    The Errors we are getting is : StaleConnectionException while we are using the driver from the Websphere.
    Please let us know..Very Urgent.
    Thanks in Advance,
    Samuel.
    Message was edited by:
    user637857

    Hi Legatti,
    Thanks for taking time out and replying me.
    We dont know the reason why that error is being caused. Because the error is caused on the production we are not able to make any trail and errors. If we are sure that the driver compatibility is causing the error then we can go ahead and download the latest driver. If the latest driver will solve the problem we have to convince the client that the error is caused due to the incompatible driver. So if you have any documents/information supporting that please help.
    Thanks
    Samuel.

  • Does windows 2008 compatible with Oracle 10.1.0.2.0

    Hi Dear,
    Does windows 2008 compatible or support with Oracle 10.1.0.2.0 ? if not then
    Oracle 11g compatible with windows 2008 server .
    we have Oracle 10g application server on top of oracle 10.1.0.2.0 database on AIX. we are looking forward to migrate oracle 10g database from
    AIX platform to windows 2008 server. so i need to be 100 sure that windows 2008 support oracle 10g,if not if we migrate oracle 11g then oracle 1og application
    server work on top of 11g database. please assist me.
    Best Regards
    ------------------

    Hi Sybrand,
    sybrand_b wrote:
    Migrating from a real scalable OS like AIX or any other flavor of Unix, like Linux to a non-scalable OS like Windows 2008 can not be recommended.
    If you do this only for cost reasons, you should reconsider.
    My guess is this is some managerial directive.I agree with you that any flavour of *nix is better than Windows, but the reality is that there might be situations where a Windows-platform is better.
    If the entire server park is Windows, then the delivery will be better with a platform change. It's much likelier that the machine will stand abandoned in a corner, slowly rotting away if nobody really knows how to to manage the beast...
    The world isn't black and white, and it isn't always about which is the better technical platform. If it was, the whole world would be using *nix-servers... ;-)
    //Johan, OCP and Unix/Linux sys admin since 2000

  • Is Windows 7 Ultimate compatible with Oracle 10g?

    I am trying to install Oracle 10g for Windows on my Windows 7 OS. However, it is failing at the TNS listener configuration section. It is giving me error:
    "Enterprise Manager configuration failed due to the following error:
    'job_queue_processes must be greater than or equal to 1. Fix the error(s) and run EM configuration assistant again in standalone mode. You can retry configuring this Database with Enterprise Manager later by manually running C:/oracle/product/10.1.0/Db_4/bin/emca script"
    Can anyone tell me what went wrong?? I am doubting if my Windows 7 is even compatible to Oracle 10g.

    Hi;
    What is Your DB version to try to install... You need to 10.2.0.5 level for 10g on Win7. Please see:
    Is Microsoft Windows 7 certified to install/run Oracle Database Server/Client ? [ID 952302.1]
    How to Install Oracle 10gR2 on MS Windows 7 / Windows 2008R2 [ID 1173433.1]
    Regard
    Helios

Maybe you are looking for

  • ITunes won't open after OS update to Yosmite

    ITunes won't open after OS update, ITunes has been updated, it won't open or bounce. It will not allow me to move it to trash or reinstall it. I have already updated to OS X Yosmite two times as directed by apple, I have rebooted in safe made as well

  • Problem in creating a Persistent Class

    Hi All, I am working on Persistent Classes for the first time. I have tried to gain some info by going through some related threads and of course Thomas' Blog on Persistent Classes. My Problem: I have been trying to create a Persistent Class that tak

  • Duplicating large size  (7 MB) photos in IPhoto 08

    I am using IPhoto 08 with Leopard OS. I have a new camera and when I download 7MB photos to IPhoto and duplicate the photo, IPhoto reduces the size of the duplicated photo to about half (3.9 MB in this case). When I download and dublicate photos of 4

  • How do I encrypt an rca tablet

    It is not in settings

  • Forms Modernization and Oracle ADF seminar, 6th June 2011

    Oracle parter iAdvise and Oracle Product Management will be presenting a modernization seminar on the 6th June 2011. Full details of the event can be found here: http://blogs.oracle.com/grantronald/2011/05/seminar_on_forms_modernization_and_adf_june_