Engineering

 View Only
Expand all | Collapse all

Error while involking Rhapsody API method from Windows Service

  • 1.  Error while involking Rhapsody API method from Windows Service

    Posted Thu May 20, 2021 12:29 PM

    Hello,

    we have currently a problem with the Rhapsody Java API running with Rhapsody 8.3.1 (64bit).

    For our purpose, we have implemented a web service using the API, which basically starts Rhapsody Application, retrieve some data from the model and then closes Rhapsody Application again. The web service itself runs in a Tomcat Server. If we start Tomcat from the console and call the web service, everything works just fine without any problem. However, if we run the same Tomcat as Windows Service, then we get the error message "can´t co-create object" while involking the method RhapsodyAppServer.createRhapsodyApplication() (sometimes, also the error "operation completed successfully" appears).

    As platform, we use Windows Server 2012 R2 (64bit), 64bit JVM and 64bit Rhapsody 8.3.1, as well as 64 bit rhapsody.dll (both rhapsody.jar and rhapsody.dll were originally shipped with the Rhapsody Software).

    How could we solve this problem? Thanks in advance!






    #Support
    #Sustainability
    #SupportMigration
    #Engineering


  • 2.  RE: Error while involking Rhapsody API method from Windows Service

    Posted Tue June 01, 2021 05:12 PM

    If applicable to your account, you might want to consider opening a Support Case with IBM Support:https://www.ibm.com/mysupport/s/createrecord/NewCase

    Given the various products and versions involved, it is possible that would be the fastest way to get an answer.






    #Engineering
    #Support
    #Sustainability
    #SupportMigration