Rocket Uniface Support Resources

 View Only

Uniface Community Edition: Troubleshooting WRD "300 URD_MW_ERROR" error page on Windows

  Thread closed by the administrator, not accepting new replies.
  • 1.  Uniface Community Edition: Troubleshooting WRD "300 URD_MW_ERROR" error page on Windows

    Posted 11-21-2022 11:10
    No replies, thread closed.
    This troubleshooting article has been created with the Uniface Community Edition in mind, but it also is applicable for the Windows version of the Uniface Enterprise Edition (version 10.3 and 10.4).

    In case you encounter the following red error page in the Web Browser with the text "Error Text : Cannot connect to the UNIFACE process on the remote address/port." when trying to start a DSP or USP component (using e.g. the Uniface Community Edition) then this can be caused by different configuration issues on Windows.

    Possible causes:

    1. The URouter Service is not running.
    2. An incorrect user name or password is specified in the WRD configuration file web.xml
    3. The user that is specified in WRD configuration file web.xml that should start the UServer process does not have the "Log On as a Batch Job" user right.

    How to troubleshoot:

    You first need to check if the URouter service is running. For this open the Windows Services app ("services.msc") and look for something like e.g. "Uniface 104 Community Edition URouter". The version number (could also be 103) and the name of the edition (e.g. Enterprise) can vary depending on what you have installed. It is also possible that you have provided a different name during installation. Just make sure that the specific URouter service is running. If that is the case, then you need to check the URouter log file for any additional errors.

    The URouter log file (urouter.log) is by default located in "C:\Users\<UserName>\Uniface <Version> <Edition> Edition\log" (e.g. "C:\Users\myuser\Uniface 104 Community Edition\log"). In case the log file contains the following error text:

    err=-21: Authenticate: The user name or password is incorrect.

    Then there is a problem with user/password combination used to connect to the URouter. This info is stored in the file web.xml (default location "<UnifaceInstallDir>\uniface\webapps\uniface\WEB-INF"). Look for the the Uniface servlet called wrd. The logon path for the URouter could look like (e.g.) this (see MIDDLEWARE param):


    If you are sure that the user name and password is correct then maybe the password is not strong enough (according to the password policy of your system). Should that be the case then create a strong enough password for that user and update the URouter logon path in web.xml accordingly.

    In case the urouter.log file contains the following error text:

    err=-21: Authenticate: Login error. The user has not obtained the requested type of access to this computer.

    Then the Uniface Server (e.g. UnifaceServer) user does not have enough permissions to log on to the system with the required user rights. Check if the user is part of the "UNIFACE Server Users" group. This can be checked by starting the "Local Users and Groups (Local)" Windows Management Console ("lusrmgr.msc"). You could also use the Windows "Computer Management" app instead to do this. Under Groups you should find the "UNIFACE Server Users" group and when you open it then the user (e.g.) UnifaceServer should be assigned to that group.

    If you have checked this, then next you should make sure that the "UNIFACE Server Users" group has the correct rights. For this you need to open the "Local Security Policy" console ("secpol.msc"). Next click on "Local Policies" and then "User Rights Assignment". You should see on the right the "Log on as a batch job" policy. When you double click on it you will see the users and groups that have this policy enabled. Make sure that the "UNIFACE Server Users" group is part of this list. Also make sure that either the user or the group does not have the user right "Deny Log On as a Batch Job" assigned.

    For additional info see the following topics in the Microsoft Windows Documentation:

    In case you are having problems to assign the mentioned user right to the "UNIFACE Server Users" group then please contact your system administrator or your IT department for assistance.

    In the Uniface documentation you also can find a list of possible Uniface WRD Configuration Errors and how to troubleshoot them.

    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland