4 Replies Latest reply on Dec 3, 2003 4:49 AM by sbrytskyy

    Examples of JBoss/IIOP clients written in C++

    reverbel

      The MICO 2.3.10 release, which should be out very soon, will include some examples of JBoss clients written in C++. I contributed the examples myself. While MICO 2.3.10 is not released, you can find these examples in recent MICO snapshots. Below I include an announcement of what is expected to be the last snapshot before MICO 2.3.10.

      Cheers,

      Francisco

      > Date: Fri, 9 May 2003 11:34:29 +0200 (CEST)
      > From: Karel Gardas <kgardas@objectsecurity.com>
      > To: MICO Announce Mailing List <mico-announce@mico.org>,
      > MICO Development Mailing List <mico-devel@mico.org>
      > Subject: [mico-devel] MICO 2.3.10 prerelease (Weekly snapshot available
      > (030509))
      >
      > Folks,
      >
      > I have uploaded weekly snapshot right now into the
      > http://www.mico.org/snapshots/mico-snapshot-030509.tar.gz file.
      >
      > The list of changes done in this snapshot is below. Please test it and
      > report any problems into mico-devel@mico.org mailing list. Hopefully if
      > everything works well, it will be the last snapshot before 2.3.10 release.
      >
      > Cheers,
      >
      > Karel
      >
      > - start using some dii tests in the testing process
      > - fix dii client crashing while receiving LOCATION_FORWARD (reported by Alexey V. Grigorovich)
      > - remove unneeded test for vc++ and service pack versions (Sorin Mustaca)
      > - website: add sponsors section
      >
      > --
      > Karel Gardas kgardas@objectsecurity.com
      > ObjectSecurity Ltd. http://www.objectsecurity.com

        • 1. Re: Examples of JBoss/IIOP clients written in C++
          richard.solomon

          Hey reverbel,

          very nice examples, not sure if you tested with vc7, but what we found is that using WStringValue_var's constructed as follows:

          CORBA::WStringValue_var person = new CORBA::WStringValue(L"Duke DeEarl");

          causes assertion errors on exit, we eventually changed the code to construct WStringValue_vars as follows and had no problems:

          CORBA::WStringValue_var person =
          new CORBA::WStringValue((const CORBA::WChar*)L"Duke DeEarl");

          regards,
          RS

          • 2. Re: Examples of JBoss/IIOP clients written in C++

            Hi,

            I am using Mico first time,and have just downloaded Mico 2.3.11.
            And I want to use JBoss' IIOP service.
            But I don't know which examples in the source code is this C++ example.
            Sorry to ask such a question,but I really failed to find it by myself.
            Thank you very much in advance.

            sunny.

            • 3. Re: Examples of JBoss/IIOP clients written in C++
              flitzie

              Under demo\interop\jboss\ are 3 examples. You have to choose on which java version JBoss is running on. Read the Readme file for further information.

              Good luck

              flitzie

              • 4. Re: Examples of JBoss/IIOP clients written in C++
                sbrytskyy

                Do anyone tried to copmile this sample on win32 using vc71? Does anybody have Makefile.win32 for vc?

                I have successfully compiled mico at all, but gor next error during sample compiling:

                javax\ejb\Handle.cc(43) : fatal error C1001: INTERNAL COMPILER ERROR
                (compiler file 'msc1.cpp', line 2701)
                Please choose the Technical Support command on the Visual C++
                Help menu, or open the Technical Support help file for more information


                Can anyone help?
                Thanks.