CAS COM Bridge

I downloaded the latest early access 4 of the J2EE CAS COM Bridge (http://developer.java.sun.com/developer/earlyAccess/j2eecas/download-com-bridge.html) and work through the Tutorial (http://developer.java.sun.com/developer/earlyAccess/j2eecas/doc/guide/html/Tutorial.html). I came to the point where the examples use type libraries, but those examples don't work. After replacing the types with "Object", they work.
In paragraph 3.2 Type libraries in Visual Basic
(http://developer.java.sun.com/developer/earlyAccess/j2eecas/doc/guide/html/Tutorial.html#3.2), it says:
- Under the "Projects" menu select "References...". The "References" dialog box will appear.
- The "java_lang_System_Lib" checkbox should be checked. Uncheck it.
But there is no entry "java_kang_System_Lib", only J2EExxx entries. Of course, I tried to check all the J2EExxx entries, but with no success. Is somebody else working with the CAS COM Bridge getting it to run with Type Libraries?

So, what's up with the broken type libraries?

Similar Messages

  • Use J2EE CAS COM Bridge locally for non visual components

    if you only have non visual java-classes which you want to access locally through COM, you should use J2EE CAS COM Bridge. this is a very powerfull component, that makes it very easy to use about ANY java-class in VC++, VB, ASP and VBScripts. Some people said earlier in this forum, that you can only use EJBs which must also have been deployed in a J2EE EJB server. well that's not true!! if you need only local access to java-components, you can use J2EE CAS COM Bridge as well. All you need is just a JRE, actually you can have multiple JREs installed and choose among them, even dynamiclly in runtime. No JDKs and no additional J2EE components are required.
    J2EE CAS COM Bridge comes with very usefull tools and lots of examples that show, how you can access java-classes in VC++, VB, ASP, etc.
    So TRY THIS!!

    unfortunately, it's outdated! The last example (6) doesn't work. The batch file cloudUtil.bat has to be adjusted to use the current cloudscape JAR files. And even then, the Visual Basic Programm terminates with an Exception at line:
    Set AcctHome = J2eeRi.LookupEjbHome("MyAccount", "account.AccountHome")
    Exception:
    Run-time error '-2147467259 (80004005)':
    JavaException: java.lang.Exception: Could not call javax.naming.InitialContext.lookup because:
    javax.naming.CommunicationException: Can't find SerialContextProvider
    :-(

  • J2ee cas com bridge help

    Hi,
    I need documentation about j2ee cas com bridge. I know that is not still supported but I have to mantain a software that was developed in vb6 using .class files. I have to check something but I haven't the documentation. Does someone knows where I can find it?
    Thanks
    Valy

    There is now an IBM product available for free download.
    See http://www.alphaworks.ibm.com/tech/dtjcb?open&S_TACT=104AHW61&S_CMP=GR&ca=dgr-eclpsw02awdtjcb
    I have been trying today to investigate migrating from CASCOM to this product. It appears to have the facilities I need (i.e. COM client to Java Server) but I'm having trouble trying to 'match' the two products.
    CASCOM can generate TLB files for use by the COM application direct from the Java class, whereas it appears that you have to provide IDL definitions for all Interfaces from scratch, and then convert them to TLBs using 'midl'. Anyone been through a migration already who could share their experiences??
    Thanks
    Steve Waters

  • Java EJB's from VB via CAS COM

    I'm am trying to access a Java EJB on an Orion
    application server from a VB app using the Early
    Access version of the current CAS COM Bridge.
    I am providing details of the Orion server configuration and also relevent statement for the VB app.
    First, the following is the rmi.xml file for our orion server:
    <?xml version="1.0"?>
    <!DOCTYPE rmi-server PUBLIC "Orion RMI-server" "http://xmlns.oracle.com/ias/dtds/rmi-server.dtd">
    <rmi-server port="23791" >
    <!-- A remote server connection example -->
    <!-- <server host="the.remote.server.com" username="adminUser" password="123abc" /> -->
    <!-- path to the log-file where RMI-events/errors are stored -->
    <log>
    <file path="../log/rmi.log" />
    </log>
    </rmi-server>
    Second, the following is our server.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments">
    <library path="../tools.jar" />
    <rmi-config path="./rmi.xml" />
    <jms-config path="./jms.xml" />
    <log>
    <file path="../log/server.log" />
    </log>
    <transaction-config timeout="30000" />
    <global-application name="default" path="application.xml" />
    <application name="eproposal" path="C:\oc4j\j2ee\home\applications\eproposal.ear auto-start="true" />
    <global-web-app-config path="global-web-application.xml" />
    <web-site path="./default-web-site.xml" />
    <cluster id="-1335203624" />
    </application-server>
    Lastly, we are using the Early Access version of the current Sun J2EE CAS COM Bridge to access this server from a VB6 app. Sun's documentation for Accessing EJB components on a J2EE server from a VB app states the following:
    Dim J2eeRi As J2eeRiServices
    Set J2eeRi = New J2eeRiServices
    J2eeRi.ProviderURL="iiop://host:port"
    We replaced the call to ProviderURL with the following:
    J2eeRi.ProviderURL="ormi://n6908ccj4b166/eproposal"
    and when it executes we get the following error:
    Invalid ProviderURL:ormi//n6908ccj4b166/eproposal
    Can anyone provide any help?
    Thanks,
    Mike

    the first stuff i haven't really looked at but this...
    J2eeRi.ProviderURL="iiop://host:port"
    is not the same as
    J2eeRi.ProviderURL="ormi://n6908ccj4b166/eproposal"
    1) where is the port.. shouldn't it look like
    J2eeRi.ProviderURL="ormi://n6908ccj4b166/eproposal:5000"
    if for example the port was 5000
    2)also i'm not sure what is happening but in the error Invalid ProviderURL:ormi//n6908ccj4b166/eproposal
    what has happened to the : between ormi and //
    make sure the : is there too.
    3)is the ormi part valid. this is the protocol no? should it not also be iiop. i really don't know about this one but it strikes me as odd....
    hope this is somewhat helpful.

  • JAVA to COM Bridge?

    Hello!
    For the past few days I was searchng for JAVA to COM bridge. I have a dll file from third partry that contains just LOTS of classes and methods and I need to work with it from my java application.
    I have found a few solutions.
    1. IBM Java interface toolkit (very expensive 1000usd per licence)
    2. JACOB Project
    3. Integra (also very expensive but cheaper than the one from IBM)
    I was able to install and try interga. Works perfect. But I do not have a budget to purchase it.
    I was not able to figure out how JACOB works. And was not able to find a solution to my broblem on Yahoo JACOB mailing list.
    Is there a JAVA to COM bridge from SUN??? I cannot believe SUN does not provide one.
    Please advise me. Please

    I think I start figuring out how NJAWIN works.
    I was able to load my dll host file and run couple of commands. But only that! no more. I am really having difficult time to figure out how it works. But the hope is there. It works.
    According to UML my dll file has a class HostSession and that class has a method Send(); UML does not say that this method expects parameters.
    Generated by JAWIN java class says that method Send in HostSession class DOES Expect two parameters:
    public HostResponse Send(ObjectRef HostCommand, ObjectRef Transmit) throws COMException {
    return new HostResponse((DispatchPtr) invokeN("Send", new Object[]{HostCommand, Transmit}, 2));
    I can assume that HostCommand is a command that needs to be processed! but what is Transmit?
    Is there any support forum for NJAWIN where people who work with NJAWIN share their experience? and even when using NJAWIN I still get this JAVA.EXE Error! memmory cannot be read.

  • When will the iPad Mimi smart case come out?

    I want the cover but if the case comes out a bit later then ill do that

    This is an iPad user to user forum. Apple diesn't read or respond. We have no way of knowing. Call an Apple store.
     Cheers, Tom

  • 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

  • Zen Touch Cases - Come on Creat

    I know this has been done to death, but are creative taking any notice? There is obviously a demand for different/better style cases for these great players - a vaja case would suit me down to the ground but I'm not paying over ?40.00 (thats for a basic case without belt clip, by the time its deli'vered to the UK)for something custom made that I can't send back if I don't like it! I also don't really care if its made out of the finest leather from a calfs testicles or pvc as long as it works!
    So come on creative, you're missing an opportunity to take a reasonable amount of money off lots of people.

    Seen them, still a lot of money for what looks a much inferior product to the vaja, thanks for the tip though. What I'd like is for Creative to get their act together and start producing some options like those ipod people do.. I actually dont mind the supplied case for putting on my belt, I am worried it might fall out the top if I bend over or trip or something, but wouldn't it be nice to just have a cheap skin type case for when you put your player in your pocket?

  • When will the MacBook Retina Display shell case come?

    I am going on a trip and I need a protection case to keep my laptop safe. I recently bought a MacBook Pro with Retina Display and I have not heard anything from Apple about the cases. When will the cases be out in the U.S?

    I went to the Apple Store today and talked to the manager.  He said he does not know, because the only indication of when is WHEN it arrives.  Could be tomorrow (unlikely).  Could be ten days.  I tend to believe him because he has been right in the past.  Just ask the store roughly when deliveries are made each day. Then call around that time.

  • Please help me with JACOB: Java-Com Bridge

    While experimenting with Jacob 1.13, I am not even able to run the sample code that comes with the source package. I get an error as below:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: createInstanceCan you help?
    And, is there another way to access MS Word? Basically what I want to do is search and find some text in Word documents and apply some styles to it.
    Thanks in advance for your advice!

    I am guessing that underneath the code you see, it uses the MS Word DLLs to emulate MS Word. So if you don't actually have Word installed in your machine you won't be able to do this.

  • J2EE To COM Bridge

    We have a Workflow product that is based on the COM
    architecture. We're in in the process developing a new
    LOB application based on J2EE specs.
    What are our options (vendor products, how) to
    integrate these products so that they can talk to
    each other through the data layer?

    JIntegra from http://www.intrinsyc.com is one of your options, I think.

  • The bottom of my laptop gets too hot. the case come off

    i have to take to apple store if my my edge of the cover is coming off? because of heat in hot weather. i did not realize? one of my screw came off. i can't find it. it become loose!!!

    i will explain better. my case bottom become loosely because one of the screws became loosely. so i usually make it tighter all the time with my screwdriver. it happened since last year. now it become more loosely, and i didn't realize the screw came off and i couldn't find it because it was so tight. then the cover on the edge on the bottom on left become loosely a little. only the cover, not the case (aluminum). i don't know how it happened.

  • Microsoft COM integration

    The Weblogic whitepapers advertise the fact that Weblogic integrates
    with Microsoft COM. We have a client that uses COM we need to integrate
    with. We need to call out to a COM server environment as well as have
    the COM server call into us.
    Any clues on the best approach to accomplish this?
    Thanks,
    Bob Thompson

    SOAP?
    "Igor Zavialov" <[email protected]> wrote in message
    news:[email protected]..
    You are probably referring to whitepapers for WSL51. I believe COM
    integration through MS JVM was dropped in WLS60.
    For COM->EJB integration you may want to take a look at Sun's CAS COM
    Bridge.
    For the second part, EJB->COM ... we are currently using another appserver
    to provide this and some other services. Hopefully, there is an easier
    solution that you can use.
    --- Igor Zavialov
    "Bob Thompson" <[email protected]> wrote in message
    news:[email protected]..
    The Weblogic whitepapers advertise the fact that Weblogic integrates
    with Microsoft COM. We have a client that uses COM we need to integrate
    with. We need to call out to a COM server environment as well as have
    the COM server call into us.
    Any clues on the best approach to accomplish this?
    Thanks,
    Bob Thompson

  • Jre.exe priviliged exception erros

    When I attempt to install the J2EE SDK version 1.3.1 on Windows NT 4 I keep getting a jre.exe priviliged exception error.
    �The exception Privileged instruction (0xc0000096) occurred in the application at location 0x00010106�
    Does anyone know what this problem is ?
    I also get this when installing on the CAS-COM bridge.

    There are a not properly execution with JIT Compiler Library (symcjit.dll) and Pentium 4 processor systems.
    For more information search "symcjit.dll" in Java Foruns or Microsoft Suppor or access directly http://www.intel.com/support/processors/pentium4/issues.htm
    Good luck.
    Cali - Brasil

  • Referencing an EJB through ASP Pages

    How can I call an EJB through ASP.
    I think Weblogic supports this by wrapping the Java Class into a COM Object,
    but I am not certain.
    I also know that Sun has the Java CAS COM Bridge, but someone mentioned that
    it doesnt work in WL.
    Thanks
    Alex Pelaez

    Hi Daniel,
    The Oracle9iAS Migration Kit for ASP will allow you to deploy your existing ASP application to Oracle9iAS.
    Once deployed to Oracle9iAS the migrated application is a Java servlet application. Therefore you could deploy that to your Portal like any other J2EE application.
    The Oracle9iAS Migration Kit for ASP is free and officially supported by Oracle Support.
    You can download the product and find out more information here: http://otn.oracle.com/tech/migration/asp/content.html
    Regards,
    Blair Layton
    Senior Product Manager
    Migration Technology Group
    Oracle Corporation

Maybe you are looking for

  • How Production Order finish date and time is being comptued by SAP?

    Hello Expert, How Production Order finish date and time is being comptued by SAP? for example, we create a Production Order via CO01, the basic start date is 29.09.2008 and time is 04:00 it gives us basic finish date is 29.09.2008 and time is 13:28.

  • Blutooth turns off after pairing with GPS

    I am able to pair my iPhone with the Garmin nuvi 265WT and connect successfully between GPS and phone. However, about 15-20 seconds after pairing, bluetooth on the iPhone turns off momentarily (2-3 seconds) then turns back on but the GPS loses connec

  • Check for two conditions

    Major brain-fart here.... been doing a bunch of .net stuff lately and am forgetting syntax... If I want to check 2 conditions, how do I string them together? This obviously doesn't work... if (my_label1.text == ('Aetna Open Access 1.0')) & (my_label2

  • Can't open Word docs after updating to Pages 5.1

    Can't open Word docs after updating to Pages 5.1. Have newest Mavericks OS.

  • Yosemite can't find Passport backup disk

    Hello, My dad accidentally clicked "Yes" when asked if he no longer wanted to use his Passport drive as backup with Time Machine. Now he's unable to use it again with Time Machine and it's not even coming up when he clicks on "Select Disk." He recent