#216 rxapi on vista(32bit)

closed
Mark Miesfeld
None
5
2012-08-14
2006-12-17
Anonymous
No

Hello,

i use oorexx 3.1.1 on Windows Vista-RTM(32bit).
When trying to run rexx -v as standard-user, i get a message after a long delay: "Open Object Rexx API Manager(RXAPI.EXE) could not be started. This could be due a version conflict!"

If u run rexx -v as admin, it works.

Installing rxapi as service did not help.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2006-12-17

    Logged In: YES
    user_id=191588
    Originator: NO

    This is probably caused by the User Account Control (UAC), of which I have read very little.

    I'm sure this area is going to need to be researched, and maybe some changes will need to be made to ooRexx to get it to run without hassels on Vista. It's not likely that I'll have Vista set up on a system in the immediate future. I probably will not put a lot of effort into researching Vista until I do, necessity being the mother of invention and all. But, I will start reading about it.

    In the mean time, any information you can add to this bug will be helpful. For instance, did you try installing as a user and not as Adminstrator?

    I'm afraid, without a Vista system to play around with, I'm rather clueless as to what it is like to use the system. <grin>

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-04-11

    Logged In: YES
    user_id=191588
    Originator: NO

    This problem was not caused by UAC as I first speculated, but it was caused by Vista's increased security. There was a problem with the way the RexxAPIManger was communicating with the RxAPI service that has now been fixed.

    Note that there are a large number of security changes in Vista that will dictate how a "standard user" will have to use ooRexx.

    For a standard user, RxAPI should be installed as a service on Vista. If RxAPI is installed as a service ooRexx will run for a standard user on Vista essentialy the same as it runs for a standard user on XP.

    If RxAPI is not installed as a service, then a standard user will not be able to start the RexxAPIManager, without administrative changes to the system. This is part of Vista's security implementation and can not be circumvented. In order to start the RexxAPIManager when RxAPI is not installed as a service, the logged on user must have the SeCreateGlobalPrivilege privilege. Standard users are not granted this privilege by default. There are two approaches that could be taken to allow a standard user account to use ooRexx.

    1.) As an administrator, the user could create a group and add the SeCreateGlobalPrivilege to that group and then make the standard user account a member of that group. ooRexx will then function for that standard user account exactly the same is if RxAPI had been installed as a service.

    2.) The user could create a Command Prompt short cut, right click on the short cut, select properties -> advanced, and check the Run as administrator check box. Then the user could run ooRexx in that command prompt exactly the same as if RxAPI had been installed as a service.

    I will put together a document that goes into more detail on how to install ooRexx on a Vista system and the different options a user has to better let the user decide on the best approach for themselves.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-04-25

    Logged In: YES
    user_id=191588
    Originator: NO

    Fixed in 3.1.2.

     


Anonymous


Cancel   Add attachments