AQ and CORBA

What is the relationship between ORACLE-AQ and CORBA (for example, iona) ?
It looks to me that AQ seems replace CORBA. Am I right ?
If I already have a distributed application using CORBA,
can I still be benefited by adding AQ to my existing CORBA application ?
THX

Here are some questions from Vadim Katz and answers from the OTN developers who built the AQ Hotel sample app:
I was able to compile the whole projects but only after doing the following:
1) Adding JBO 8i Client library which contains
javax.jts.UserTransaction. This is not mentioned in the example guide
and UserTransaction is not a part of Sun's javax.jts packageThe AQ EJB/CORBA Sample was developed using JDeveloper 2.0. In JDeveloper 2.0, the CORBA library contains aurora_client.jar, and aurora_client.jar contains classes like javax.jtx.UserTransaction, etc.
JDeveloper 3.1does not include the CORBA library by default, and that is why you need to add JBO 8i Client, etc.
> 2) I also had to compile HotelSystemSQLJ.sqlj file to get .class file;
> otherwise, during global project rebuilt I was only getting .ser file.
> Missing .class file was causing compilation errors.
JDeveloper requires you to first compile HotelSystemSQLJ.sqlj and HotelSQLJ.sqlj separately. These steps are
mentioned in the README.txt.
3) FINALLY, A BIG QUESTION. Why does travel8i.dmp modify SYSTEM TABLES
and because of that user "travel" is required to have SYS priveledges???The Sample requires a TRAVEL user with Sample Travel Data. We could have asked the user to create a separate tablespace and import travel8i.dmp into it, but that would increase the installation steps. For
simplicity, we create the TRAVEL user in the SYSTEM tablespace.
When you want to delete example data, simply drop the "TRAVEL" user.
The AQ Sample needs access to DBMS_AQADM and DBMS_AQ packages which are present in SYS user.
I hope this helps,
-rh

Similar Messages

  • Re: (forte-users) Forte and CORBA question

    Hi,
    The discarding the Java variable that references a distributed Forte object
    doesn't cause that the distributed object will be reclaimed. In Forte client
    you can use ReleaseDistReference() of the current partition (task.part) to
    free the remote object. For Java client, you can implement the following
    solution:
    - define a method ReleaseMyObject() in the SO you are using to get the proxy
    to the dist. object. As parameter for it use something that can identify
    your object (attribute).
    - your SO has an array or hashtable with your distributed objects, every new
    object is added to it.
    - in the implementation of ReleaseMyObject() find the object to release in
    the array and call ReleaseDistReference() for it,
    - from the Java client, call the ReleaseMyObject() for the object that is
    not more needed.
    Regards,
    Zenon Adamek
    ----- Original Message -----
    From: Joseph Mirwald <jomirweb.de>
    To: Dave Ortman <dortmanyahoo.com>; 'Forte User Forum'
    <forte-userslists.xpedior.com>
    Sent: Wednesday, March 07, 2001 3:58 PM
    Subject: Re: (forte-users) Forte and CORBA question
    Hello Dave,
    do you use a copy return or copy parameters in this method ?
    If not, then maybe Forte is unable to garbage-collect this object because
    it is forever
    a proxy which only the server-partition may be able to drop it from memory
    (object=NIL).
    Try this and let us know what happens.
    Hope this helps
    Joseph Mirwald
    At 11:49 07.03.01 -0800, Dave Ortman wrote:
    We're attempting to use a Java client to access a
    Forte server. In doing such, we've experienced a
    problem which I hoped somebody could shed some light
    on.
    We've had a Java client calling Forte service objects
    and passing Forte objects back and forth as CORBA
    structs with no problem. However, we have experienced
    some problem obtaining and using remote references to
    distributed objects from the Java client.
    The problem is memory utilization. Each time I obtain
    a reference to a new object, the memory utilization on
    the Forte server jumps up quite a bit (around 100k per
    object on an NT box). Eventually, if I fetch enough
    objects, the server will crash due to lack of memory.
    It seems that Forte never reclaims the memory, even
    though I'm not using (and don't have a handle to) this
    remote objects.
    The objects are very small. In fact, I created a test
    Forte SO with one method, getObject(); which returns a
    distributed object with a single attribute. I then
    have a Java client access the getObject() method
    repeatedly - discarding the reference to the object
    after each iteration. After a short while, the box
    will come down.
    Any thoughts?
    Thanks in advance,
    -Dave Ortman
    --- "Epari, Madhusudhan" <meparioxhp.com> wrote:
    Hi All,
    Following error occurs consistently on a router
    partition for every call to
    the service object but the partition doesn't die or
    crash. I tried bumping
    up the partition memory too. Any thoughts on why
    it's happening?
    Thanks in advance,
    Madhu
    SYSTEM ERROR: Failed to connect or lost connection
    to the
    environment manager
    at FORTE_NS_ADDRESS = <Unknown>. Check that the
    environment
    manager is
    installed at that location. If it is, then check
    to be sure that
    there are
    enough system resources available to support this
    partition.
    Class: qqsp_SystemResourceException
    Error #: [601, 201]
    Detected at: qqdo_NsClient::FindObject at 1
    Error Time: Wed Feb 21 09:30:56
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node forted1 in
    environment
    frtedev.
    SYSTEM ERROR: Attempt to send from a partition
    (C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1)
    that no
    longer exists.
    Class: qqsp_DistAccessException
    Error #: [601, 111]
    Detected at: qqdo_PartitionMgr::SendMsg at
    1
    Error Time: Wed Feb 21 09:30:56
    Distributed method called:
    qqdo_NsServerProxy.FindObject
    (object name
    Unnamed) from partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node
    forted1 in environment
    frtedev
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8])
    in
    application "MWRouting_cl1", pid 18937 on
    node forted1 in
    environment
    frtedev.
    LbRouter::FindMembers - CAUGHT EXCEPTION attaching
    members from
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Netbeans and Corba

    Is Corba still around or is Java EE the new standard in distributed apps?
    I'm wanting to implement Corba in a solution where a web application communicates via Corba with a server application. The server application performs caching and data retrieval. I'm having trouble finding where to download the neccessary tools to develop a Corba app and if there's a Netbeans plugin.
    In older versions of Netbeans, one can enable RMI and Corba distributed application but I can't find the option in versions 6.8 and 6.9.
    Thanks.

    Yeah it was a multi-question post. I forgot Java EE runs over Corba. I thought about web services in my app but since the front end is a web app already, I didn't see the reason to go that route. What I wanted to do was run a standard Java application in the background on the server that processes csv, processes new database entries, etc. The web application would call upon this Java app for data. The Java app would retrieve it from a cache and spit it back to the web app. If data wasn't in the cache, it would continue in the background processing data for the cache after the data has been passed back to the web app.
    Maybe there's a way to have such an app run within the web container that I'm not aware of? I'm using Tomcat.
    Oh wait! What if I created the standard app as a web services app and have the web application just call it? but then can the web services app monitor for csv file updates?

  • Jsp and corba :help !!!

    Hi,
    i am working about a web application which is willing to extend, so we want to fix in the cleanest way, the architecture. we think for example about CORBA, have you got a better idea, could you send me some addresses where i could find very clear examples about applications using jsp and corba or something else!
    thank you very much if you can help me
    cris

    Hi bx1,
    here iam giving you some example jsp with corba it will help you
    I got from wrox book
    <!-- WroxQuotes.jsp -->
    <html>
    <head>
    <title>
    WroxStocks Quote Service
    </title>
    </head>
    <body bgcolor="#CAFD90">
    <%@ page import="WroxStocks.WroxQuotesPackage.Quote"
    errorPage="WroxQuotesError.jsp"%>
    <jsp:useBean id="WroxQuotesBean" scope="application"
    class="WroxQuotesBean" >
    <%
    String port = application.getInitParameter("ORBInitialPort" );
    String host = application.getInitParameter("ORBInitialHost" );
    WroxQuotesBean.init(port, host );
    %>
    </jsp:useBean>
    <%
    String symbols = request.getParameter( "Symbols" );
    Quote[] quotes = null;
    try {
    quotes = WroxQuotesBean.getQuotes( symbols );
    } catch( WroxStocks.UnknownSymbol us ) {
    response.sendError( 202, "Unknown symbol: " + us.unknown );
    %>
    <table border align="center">
    <tr align="center" bgcolor="FFFFFF">
    <td>
    <table>
    <caption align="top" style="font:14pt">
    <b>WroxStocks Stock Quotes</b>
    </caption>
    <tr align="center" bgcolor=Silver>
    <th width=100>SYMBOL</th>
    <th width=100>VOLUME</th>
    <th width=100>BID</th>
    <th width=100>ASK</th>
    <th width=260>AS OF</th>
    </tr>
    <%
    for(int i = 0; i < quotes.length; i++) {
    if( ( i % 2 ) == 0 ) {
    %>
    <tr align="right" bgcolor="#FFFFFF">
    <%
    } else{
    %>
    <tr align="right" bgcolor="#E0E0E0">
    <%
    %>
    <td align="center"> <%= quotes.symb %> </td>
    <td> <%= quotes[i].volume %> </td>
    <td> <%= quotes[i].bid %> </td>
    <td> <%= quotes[i].ask %> </td>
    <td align="center">6/28/2000 19:59:00</td>
    </tr>
    <%
    } // END: for
    %>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Regards,
    Tirumalarao
    Developer TechnicalSupport,
    Sun MicroSystem,India.

  • Relation between EJB and CORBA

    Hi,
    I'm confused as to the relation between EJB and CORBA. Some books I've read say that CORBA is used to implement the underlying RMI protocol in EJB while others say it is an alternative to EJB.
    Could someone please clarify.
    Thanks

    Could you pleae restate your question.
    I'm assuming you want to bind a Corba object to a
    CosNaming service from within a j2ee component. JNDI
    supports this case fully via their CosNaming service provider
    (see http://java.sun.com/products/jndi/serviceproviders.html) JNDI is part of J2SE, so it's fully available to any J2EE component.
    Amlan on behalf of Kenneth Saks

  • RMI and Corba

    Please i need someone to tell me when to tell me the real life application of RMI and CORBA.

    jtahlborn wrote:
    wpafbuser1 wrote:
    jtahlborn wrote:
    Somebody just posted the answer to this question in another forum:
    http://catb.org/~esr/faqs/smart-questions.html
    I would argue that Google has always had the answer to this question and this is not the place for such a high level interest.Did you check out the link? ;)Haha! Nice. I missed that. We need more of that kind of tough love trickery :)

  • Can I send a Java HashTable using IDL and CORBA?

    I have code that uses a HashTable implementation of the Map datatype. I would like to be able to send this datatype using IDL and CORBA without trying to map it to Struct, if at all possible. I have just started with this yesterday, IDL that is, have successfully run the Hello World over the network and passed a string variable instead of just the string, and would welcome any help whatsoever.
    Thanks,
    Teresa Redmond

    - Don't transfer the Hashtable at all, but writea
    server, which gives access to the Hashtableentries
    I think what Martin means is: why not let yourserver
    actually do the work with the Hashtable in itself
    instead of making the client do it?
    Yes, exactly this is what I meant. And I will
    strengthen your arguments, why building a server for
    the Hashtables would probably be the best solution. So
    first double-check, whether you can go this way,
    before reading any further!
    But anyway, if you want to look deeper into
    serialization:
    - Create an ObjectOutputStream consisting of a
    ByteArrayOutputStream:
    ByteArrayOutputStream baos = new
    ByteArrayOutputStream(100);
    ObjectOutputStream oos = new
    ObjectOutputStream(baos);where "100" is the initial size in bytes.
    - Write to this stream with
    oos.writeObject(hashtable);
    oos.flush();- Send the data as a sequence of bytes, which can be
    accessed by:
    baos.toByteArray()- on the receiving side, create an ObjectInputStream
    from the received byteArray:
    ByteArrayInputStream bais = new
    ByteArrayInputStream(byteArray);
    ObjectInputStream ois = new
    ObjectInputStream(bais);- Then read the hashtable:
    Hashtable h =
    (Hashtable)ois.readObject();This is only a very coares description of the process,
    but should just give some pointers to the basic way to
    serialization.So, in the client, I could:
    Map m = new HashMap();
    //fill m
    baosSize = m.getsizeofm();//pseudo method
    ByteArrayOutputStream baos = new ByteArrayOutputStream(baosSize);
    ObjectOutputStream oos = new ObjectOutputStream(baos);
    oos.writeObject(m);
    oos.flush();
    baos.toByteArray()and in the server code, I could:
    ByteArrayInputStream bais = new ByteArrayInputStream(byteArray);
    ObjectInputStream ois = new ObjectInputStream(bais);
    Map mh = (HashMap)ois.readObject();is that about right? If that's the case, how do I write the idl file? is this a string? say, "string baos;"?
    Thanks, guys, I really appreciate your help!

  • Difference between RMI-IIOP and CORBA-IIOP

    Hello,
    What is the difference between RMI-IIOP and CORBA-IIOP?
    Thanks
    Larry

    Lawrence Manickam <[email protected]> writes:
    What is the difference between RMI-IIOP and CORBA-IIOP? RMI-IIOP is the protocol represented by the mapping of Java RMI
    artifacts to IDL, i.e. you start with Java and use the RMI programming
    model. CORBA / IIOP is really just the protocol used for IDL sourced
    objects, i.e. you start with IDL and use the CORBA programming model.
    andy

  • Forte and CORBA question

    We're attempting to use a Java client to access a
    Forte server. In doing such, we've experienced a
    problem which I hoped somebody could shed some light
    on.
    We've had a Java client calling Forte service objects
    and passing Forte objects back and forth as CORBA
    structs with no problem. However, we have experienced
    some problem obtaining and using remote references to
    distributed objects from the Java client.
    The problem is memory utilization. Each time I obtain
    a reference to a new object, the memory utilization on
    the Forte server jumps up quite a bit (around 100k per
    object on an NT box). Eventually, if I fetch enough
    objects, the server will crash due to lack of memory.
    It seems that Forte never reclaims the memory, even
    though I'm not using (and don't have a handle to) this
    remote objects.
    The objects are very small. In fact, I created a test
    Forte SO with one method, getObject(); which returns a
    distributed object with a single attribute. I then
    have a Java client access the getObject() method
    repeatedly - discarding the reference to the object
    after each iteration. After a short while, the box
    will come down.
    Any thoughts?
    Thanks in advance,
    -Dave Ortman
    --- "Epari, Madhusudhan" <meparioxhp.com> wrote:
    Hi All,
    Following error occurs consistently on a router
    partition for every call to
    the service object but the partition doesn't die or
    crash. I tried bumping
    up the partition memory too. Any thoughts on why
    it's happening?
    Thanks in advance,
    Madhu
    SYSTEM ERROR: Failed to connect or lost connection
    to the
    environment manager
    at FORTE_NS_ADDRESS = <Unknown>. Check that the
    environment
    manager is
    installed at that location. If it is, then check
    to be sure that
    there are
    enough system resources available to support this
    partition.
    Class: qqsp_SystemResourceException
    Error #: [601, 201]
    Detected at: qqdo_NsClient::FindObject at 1
    Error Time: Wed Feb 21 09:30:56
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node forted1 in
    environment
    frtedev.
    SYSTEM ERROR: Attempt to send from a partition
    (C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1)
    that no
    longer exists.
    Class: qqsp_DistAccessException
    Error #: [601, 111]
    Detected at: qqdo_PartitionMgr::SendMsg at
    1
    Error Time: Wed Feb 21 09:30:56
    Distributed method called:
    qqdo_NsServerProxy.FindObject
    (object name
    Unnamed) from partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node
    forted1 in environment
    frtedev
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8])
    in
    application "MWRouting_cl1", pid 18937 on
    node forted1 in
    environment
    frtedev.
    LbRouter::FindMembers - CAUGHT EXCEPTION attaching
    members from
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    We're attempting to use a Java client to access a
    Forte server. In doing such, we've experienced a
    problem which I hoped somebody could shed some light
    on.
    We've had a Java client calling Forte service objects
    and passing Forte objects back and forth as CORBA
    structs with no problem. However, we have experienced
    some problem obtaining and using remote references to
    distributed objects from the Java client.
    The problem is memory utilization. Each time I obtain
    a reference to a new object, the memory utilization on
    the Forte server jumps up quite a bit (around 100k per
    object on an NT box). Eventually, if I fetch enough
    objects, the server will crash due to lack of memory.
    It seems that Forte never reclaims the memory, even
    though I'm not using (and don't have a handle to) this
    remote objects.
    The objects are very small. In fact, I created a test
    Forte SO with one method, getObject(); which returns a
    distributed object with a single attribute. I then
    have a Java client access the getObject() method
    repeatedly - discarding the reference to the object
    after each iteration. After a short while, the box
    will come down.
    Any thoughts?
    Thanks in advance,
    -Dave Ortman
    --- "Epari, Madhusudhan" <meparioxhp.com> wrote:
    Hi All,
    Following error occurs consistently on a router
    partition for every call to
    the service object but the partition doesn't die or
    crash. I tried bumping
    up the partition memory too. Any thoughts on why
    it's happening?
    Thanks in advance,
    Madhu
    SYSTEM ERROR: Failed to connect or lost connection
    to the
    environment manager
    at FORTE_NS_ADDRESS = <Unknown>. Check that the
    environment
    manager is
    installed at that location. If it is, then check
    to be sure that
    there are
    enough system resources available to support this
    partition.
    Class: qqsp_SystemResourceException
    Error #: [601, 201]
    Detected at: qqdo_NsClient::FindObject at 1
    Error Time: Wed Feb 21 09:30:56
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node forted1 in
    environment
    frtedev.
    SYSTEM ERROR: Attempt to send from a partition
    (C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1)
    that no
    longer exists.
    Class: qqsp_DistAccessException
    Error #: [601, 111]
    Detected at: qqdo_PartitionMgr::SendMsg at
    1
    Error Time: Wed Feb 21 09:30:56
    Distributed method called:
    qqdo_NsServerProxy.FindObject
    (object name
    Unnamed) from partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
    application
    "MWRouting_cl1", pid 18937 on node
    forted1 in environment
    frtedev
    Exception occurred (locally) on partition
    "CSA_cl0_Part2-router",
    (partitionId =
    C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
    taskId =
    [C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8])
    in
    application "MWRouting_cl1", pid 18937 on
    node forted1 in
    environment
    frtedev.
    LbRouter::FindMembers - CAUGHT EXCEPTION attaching
    members from
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

  • License API and Corba to COM bridge

    Guys,
    We'd like our B1 tool (uses DI API and DI Server) to be able to get from the B1 license server how many licensed users there are (professional users). With a bit of investigation, I've found that there is a License API, however being CORBA based it isn't something we can easily use with our technology (being COM and .NET based).
    I have found the "COM License Bridge to CORBA License Manager 2005" installer, samples and source code. I have tried this on a B1 2007 test box and it seems to work. I have a few questions, which hopefully someone here may be able to answer or at least point me in the right direction.
    1) What are the license terms for the bridge? On the download page ([http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/1037666e-56e9-2b10-1588-cba9157a83e2 [original link is broken]|http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/1037666e-56e9-2b10-1588-cba9157a83e2 [original link is broken]]) it indicates that the bridge is under some sort of 90 day evaluation license. Do we have to apply for a full license for it from SAP to use it? How do we do that?
    2) Are we able to redistribute the bridge as part of our commercial package? Do we have to use the supplied installer, or can we incorporate the bridge executable into our own installer?
    3) Is this bridge officially supported and maintained by SAP? Can we log issues with SAP support with it? Will it have any necessary changes made to it for 8.8?
    4) On the license API itself, will this continue to be available within 8.8?
    5) The download page has an option to download the source. Now, I understand that if we decided to recompile ourselves, or use the source as a basis for our own CORBA based solution, we'd be on our own (and we have to get hold of the necessary open source libraries). However, the supplied code seems to be missing two files (LicenseInterfaceC.cpp and LicenseInterfaceC.h). Where do I get these files from? (I have already asked this question on Lisa Mulchinock's blog at [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID1613217250DB01810329660145726482End?blog=/pub/wlg/13891] so sorry for the duplication on this one)
    Regards,
    Greg

    In case anyone else is looking at the License API, I've been asking SAP support these questions also, and they've confirmed that the License API is still available in 8.8, is still CORBA based, and that SAP has no developer documentation or other information on it at all apart from the example bridge to COM code. They also say that they will not support any issues with the bridge.
    So, I'm left with two sets of questions really - one set is around the commercials and licensing of samples on the SDN site here (my questions about the license terms that appear when you download the bridge, and about redistribution). The other set is around ownership and maintenance of the bridge - if it isn't an official SAP supported component, it would seem if we used it we are at the mercy of whoever is maintaining it in terms of support and maintenance, presumably only contactable through this forum.
    This isn't a big problem necessarily. As long as the License API itself continues to be supported by SAP we could create our own solution if we found the bridge was abandoned. The lack of documentation on the CORBA interface is a problem, but I could probably reverse engineer it from the sample bridge code if only I had the missing files from the source download!
    So, has the bridge been abandond? Who is maintaining it if not? Could they provide me with the missing files?
    Regards,
    Greg

  • Problem with Sun RI and CORBA communication

    We are trying to access the service of a c++ server running on a diff host from an EJB deployed on the Sun RI over CORBA.
    That means the EJB acts as a client to the C++ server. We have tried the same from a simple servlet also.
    When we write a simple Java client to access the services of the server through CORBA , it works fine.
    But, when we put the same code in the bean or servlet and deploy from the App Serv, where the following call (_non_existent) fails and generates an exception.
    // Resolve the Root Naming Context
    org.omg.CORBA.Object root_nam_obj = orb.string_to_object(ior);
    NamingContext rootContext = NamingContextHelper.narrow(root_nam_obj);
    try {
    if (rootContext._non_existent() )
    catch (Exception e) { return " _non_existent failed for rootContext"; }
    Prior to this line, we are initializing the ORB like the following where "10.125.97.218" is the current host and 3700 is the port where orb-listener is running (taken from the file <install-dir>/domains/domain1/config/domain.xml
    String [] args = { "" };
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBInitialPort", "3700");
    props.put("org.omg.CORBA.ORBInitialHost", "10.125.97.218");
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, props);
    In domain.xml , there are 3 entries for iiop-listeners. Those were default and we didn't change them.
    <iiop-service client-authentication-required="false">
    <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="3820" security-enabled="false">
    </iiop-listener>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="3920" security-enabled="false">
    </iiop-listener>
    </iiop-service>
    What we have observed in the server.log is , when the client is run , it is trying to create an IIOP listener again and fails.
    [#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
    at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
    at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
    at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
    at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
    at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
    at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
    at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1536)
    at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
    at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
    at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:901)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.non_existent(CorbaClientDelegateImpl.java:264)
    at org.omg.CORBA.portable.ObjectImpl._non_existent(ObjectImpl.java:137)
    at Test_Bean_N.createGen(Test_Bean_N.java:39)
    I think, we are doing something wrong with configurations. Can you please help.
    -- Pallab

    I am getting the same problem while looking up ejb
    jb not orb alone.can u describe how do i solve that.
    Please refer the problem reported by me in sun
    un software forums
    http://forum.java.sun.com/thread.jspa?threadID=694953&
    tstart=0
    Please reply me back.I need a solution very badly.he gave his reply already. you need to change the way lookup is being performed.

  • OAS and CORBA

    Hi,
    Can a CORBA object deployed in OAS invoke
    methods of other CORBA objects in other ORBs?
    Is it true that with Oracle 8.1.5 this is not
    possible? Because we have tried and it does
    not work.
    Also we have found at the site metalink.oracle.com the document
    "Configuring Oracle8i for IIOP" that says it should be possible the interoperability with
    other ORBs (by adding another dispatcher).
    And this confusing me ....
    Does anyone know the true story?
    filippo

    We are planning to use OAS 4.0.8 with the >>JServlet cartridge and an
    Oracle DBMS. Is it possible to run this >>configuration without CORBA/EJB?
    Sure, but it really depends on what you're >trying to do. We do a lot of simple >projects using nothing more than Servlets >and JDBC. However, maintaining state is a >pain. If your requirements require >transactions, use EJBs. If you think that >you can reuse parts of your project, make >them EJBs.and you could go a step further and use Business Components for Java... the BC4J framework allows you to productively develop your business logic and then the framework provides flexible deployment options wherein you can deploy your application in multiple deployment scenarios without modifying your source code at all.
    Check out the whitepaper at http://technetinside.us.oracle.com/products/jdev/info/techwp20/wp.html for details.
    The 'OnlineOrders' sample in the JDeveloper3.0/samples/bc4j walks through a complete application.
    Regards,
    Arun
    null

  • Labview (client) and corba/CDR(​server)

    Hello all,
    I am trying to write some VI's that will send data via tcpip to another PC to a application/server that uses corba/CDR (common data representation).
    I haven't been successful.  I have looked into endianess issues and  I am sure I am using it correctly.
    The data sent is packetize in the applications format.
    Is this even possible?
    thanks,
    Joseph
    Message Edited by J3K on 04-09-2008 03:01 PM

    Hi Joseph,
    There isn't a lot of information on Corba with LabVIEW. You might check this discussion forum. Additionally, this KnowledgeBase might also prove helpful as a starting point.
    Regards,
    Hillary E
    National Instruments

  • Java and Corba?

    Sorry, if this is way off. I have a application written in Java 1.3. Now, I need to communicate with a tool remotely. I am told in order to use one of the communcation API's for this tool, that I have to do something with a "Corba Bus". Could someone explain what that means? Thankk you very much in advance.

    CORBA (Common Object Request Broker Architecture) is a roughly 13 year old technology which provides distributed object computing facilities that are language independent. There are mappings for C++, Java and a variety of other languages. www.omg.org is a good place to start as are various books on CORBA and Java.
    Java has built-in support for CORBA through RMI-IIOP and the JavaIDL compiler and it is fairly straightforward to communicate between Java and C++-based CORBA systems, with a few kinks as always. You might want to check out the comp.lang.java.corba news group as well, or simply post more detailed requests here or in the IDL and RMI-IIOP Sun forums.
    Chuck

  • RMI-IIOP and CORBA version

    Hello all,
    I am new to CORBA (I understand the concepts, but have never actually programmed anything with it).
    I need to write some software in Java that talks to an existing system that has CORBA interfaces. It seems to me that using RMI-IIOP will be a good solution, but in the RMI-IIOP documentation, I have read that it will only work with CORBA version 2.3.
    The existing system works with CORBA version 2.0 (as far as I know). Does this mean that I will not be able to use RMI-IIOP at all, or are there some workarounds to get it working with CORBA 2.0?
    What would be my alternatives if I cannot use RMI-IIOP because of the version difference?
    regards
    Jesper

    Hi
    I have not tried that kombination myself so can not tell you about workarounds, I can tell you that the main difference, in respect to Java, between 2.0 and 2.3 is that the Objects by Value protocoll is incorporated into CORBA 2.3. This extension was specifically designed and added to make RMI-IIOP possible, or atleast more user friendly.
    The first workaround I would try is making comunicaitons interfaces built from only basic variable types, but I can not say if it would work. Besides if you are not defining new interfaces (IDL files) you will probably have to work with Java IDL anyway since RMI-IIOP (atleast in jdk1.3) seemed like a one way conversion, Java -> IDL.
    Hope this helps
    //Samuel

Maybe you are looking for

  • Passing CPM variable value to BW report/query

    Is it possible to pass CPM variable values from SEM scorecard to BW supporting reports.

  • Starting a GP from VC in the same window

    Hi everyone! I'm starting a GP process from GP, using an GP URL, using a button with an hyperlink action, because I needed to avoid using HTML view. It works great, but when I click the button, the GP process opens in a new window! I need that the pr

  • Help with install photoshop cs4 extended in win7 64bit !

    im using windows 7 ultimate 64bit, i tried to install photoshop cs4 extended but when it's done with error. So any idea about this issue ?

  • Hot deployment of Plugin on OIM cluster

    Does someone  know , how to deploy(re-register) the plugin(event Handler ,schedule Task etc.) on OIM cluster in real time. I have observed  that when i do re-register the plugin(after any code changes etc.) from one of the nodes of the cluster, the n

  • "no signal" message on monitor

    A friend gave me her lenovo 3000 h series desktop.  I am attempting to set it up.  I have hooked up all of the wires that I know of.  (we took it apart and I brought it home and am now attempting to connect it).  The monitor when turned on displays "