Uniface WRD Configuration Errors
When configuring the Uniface Web Request Dispatcher (WRD), you may encounter a variety of error situations, ranging from incorrectly displayed information to failure to connect to the server.
When a problem persists after you have tried all possible solutions:
- Close (all) running browsers and try again.
- Close and restart all relevant Services (WWW publishing service, Java EE web server (such as Tomcat), Uniface Router) and try again.
Server Pages are not Displayed Correctly
-
Possible cause: Page in cache.
Resolution: Select Ctrl+F5 (Ctrl+Refresh).
-
Possible cause: Server Page not (correctly) compiled.
Resolution: Compile the Server Page and check whether errors occur.
-
Possible cause: Server Page not loaded by the Uniface Server.
Resolution: In the [SETTINGS] section in the Server assignment file, set $TEST_MODE_COMPONENTS.
-
Possible cause: Relative paths used in the skeletons (for example,
../css /applic.css
) cannot be translated into absolute paths.Resolution: Check whether virtual directory specified in WWW publishing service is identical to path specified in
WEBAPPURL
setting in URD Servlet Alias.
-
Possible cause: Non-database fields have an initial value.
Resolution: Set Is Static property to
True
.
-
Possible cause: Server Page is intended to display one occurrence, but synchronization results in extra occurrence.
Resolution: Change Database Behavior to
Record
. For more information, see Data Access .
Browser Displays a Red Error Page
Bad HTTP request, data size is larger than the maximum allowed size.
Please contact your system administrator.
- Possible cause: the content data size of the request is larger than the value of parameter MAXPOSTDATASIZE.
- Resolution: If the large data size of a request is necessary based on your application logic, adjust the value of the servlet parameter MAXPOSTDATASIZE. Otherwise, talk with your network administrator.
-
Possible cause: userver.exe cannot be started. Error -24,
NETERR_START_SERVER
, is returned if URouter could not create a UServer process, for example, because the executable was not found.Resolution:
- Specify correct location for Uniface Server in the urouter.asn file.
- Stop the Uniface Router service.
- Restart the Uniface Router service.
-
Possible cause: Server assignment file cannot be found.
Resolution:
-
Check the UST entry for UServer in the [SERVERS] section of urouter.asn. For example:
myust = d:\u8\bin\userver.exe /asn = userver.asn /dir = d:\u8\Project\web
. - Also check whether the specified UST
assignment file exists in the /adm directory, or in the directory specified in
the
/dir
switch. - Stop URouter via Services.
- Start URouter via Services.
-
Failure in the connection to the Uniface Application Server
Error Text: Cannot connect to
the Uniface process on the remote address/port.
Error ID: Number
-
Possible cause: URouter is not running.
Resolution:
- Start URouter via Services.
- Check the web server log files for the precise error.
-
Possible cause: preRequest trigger or preActivate trigger returns
$status=-21
when, for example, the wrong password is provided. With Internet Explorer you get Page 213, and Netscape gives a dialog box to redisplay logon form (see CPT 13968). The WRD should redisplay logon form when$status=-21
is returned by UServer.Resolution: Specify correct username and password.
-
Possible cause: On Logon screen, Cancel button is pressed with empty username and password.
Resolution: Specify username.
-
Possible Cause: The middleware module
UV8
is not specified in theMIDDLEWARE
servlet setting. For more information, see MIDDLEWARE.Resolution:
- Specify
MIDDLEWARE=UV8:Host|
... - Stop and restart the web server (for example, Tomcat).
- Try the Server Page again.
- Specify
-
Possible cause: URL entered without a Server Page name.
Resolution: Enter URL with Server Page name.
Errors Reported in Browser
The requested URL could not be retrieved. Connection Failed. The system returned: (61) Connection refused. The remote host or network may be down. Please try the request again.
-
Possible Cause: The web server (for example, Uniface 9705 Tomcat), is not running.
Resolution: Start the web server again.
-
Possible Cause: URL entered with incorrect Server Page name
Resolution: Enter correct URL, for example,
.../wrd/ServerPageName
-
Possible Cause: The UST specified in the
MIDDLEWARE
setting of the WRD Servlet does not match with an entry in the [SERVERS] section of urouter.asn.Resolution:
- Update web.xml and/or
urouter.asn. For example, in
web.xml set
MIDDLEWARE=UV8:MyHost|UserName|Password|myust
. - In urouter.asn:
[SERVERS] section, set
myust = d:\Uniface\common\bin\userver.exe /asn = userver.asn /dir = d:\Uniface\project\web
.
- Update web.xml and/or
urouter.asn. For example, in
web.xml set
-
Possible Cause: Database not started (properly). The Uniface Server reports:
Logon (SLE:shmem V8WASV:|webuser|***) failed with status -1, Error occurred.
Resolution: Start the database using correct ID, user, and password.
-
Possible Cause: Uniface Router cannot find UnifaceInstallDir\common\adm\urouter.asn. The urouter.log is not generated/updated.
Resolution: Put urouter.asn in UnifaceInstallDir\common\adm
-
Possible Cause: The URL is not correct.
Resolution: Enter the correct URL, for example,
.../wrd/ServerPageName
Bad HTTP request, data size is larger than the maximum allowed size.
Please contact your system administrator.
- Possible cause: the content data size of the request is larger than the value of parameter MAXPOSTDATASIZE.
- Resolution: If the large data size of a request is necessary based on your application logic, adjust the value of the servlet parameter MAXPOSTDATASIZE. Otherwise, talk with your network administrator.
-
Possible Cause: Improper Anonymous User Account.
Resolution:
- Start Internet Service Manager, and open the Properties window of the item Default Web Site.
- Select the tab Directory Security, and click Edit for Anonymous Access and Authentication Control.
- Click Edit for Allow Anonymous
Access. The username should start with
IUSR_
(check list of available users). Enable Automatic Password Synchronization should be selected.
-
Possible Cause: Improper Authentication Method set in the web server.
Resolution:
- Start Internet Service Manager, and open the Properties window of the item Default Web Site.
- Select the tab Directory Security, and click Edit for Anonymous Access and Authentication Control. Only the Allow Anonymous Access check box should be selected.
-
Possible Cause: You did not enter the complete URL (for example,
http://locahost:8080/uniface/wrd/
).Resolution: Specify the complete URL, for example,
http://locahost:8080/uniface/wrd/ServerPageName
-
Possible cause: You do not have the proper rights on the SCRIPTS directory.
Resolution: Configure your web server to enable Execute permissions for the virutal directory in which scripts are located.
-
Possible cause: Using URL without
/run
if the USERUNPREFIX is servlet setting is true; for example,http://localhost:8080/wrd/formstart
Resolution: Enter URL with
/run
before /ServerPageName -
Possible cause: Using incorrect servlet, for example,
http://localhost:8080/uniface/wrd/formstart
orhttp://localhost:8080/unifacex/wrd/intstate2
Resolution: Enter URL with correct servlet specification.
The Web server cannot find
the file or script you asked for. Please check the URL to ensure that the path is correct.
-
Possible cause: Invalid
WEBAPURL
specified. When style sheets are used, the URL to the style sheet is displayed in the location box. In Internet Explorer, you may not get an error.Resolution:
- Specify correct
WEBAPPURL
for servlet alias. - Stop and restart the web server.
- Try Server Page again.
- Specify correct
Error Text: Cannot connect to
the Uniface process on the remote address/port.
Error ID :Number
-
Possible cause: Directory with error pages cannot be found.
Resolution: Enter proper directory name in
ERRORDIR
setting of the URD Servlet Alias. Check the web server log files for the precise error.
Browser Displays Page with Error 10010 - TLS Error
The following error indicates a TLS handshake failure, which may be due to TLS configuration errors or problems with certificates. To find out more details about the precise error, check the web server log files.
Error: 10010 Error Text: TLS Error Error details in log file
For all errors that may be reported in the log file:
- Ensure that both the Uniface Router and the WRD are using the TLS protocol.
- Ensure that the Uniface Router uses the TLS protocol for the port specified in the WRD's configuration file ( web.xml). For more information, see Stop and Start the Uniface Router.
For more information, see Configuring the Uniface Router and Configuring the Uniface Web Application Server.
The WRD trust store or default Java trust store are missing.
Resolution: Ensure that the WRD trust store file or default Java trust store file are correctly configured.
The WRD trust store is empty.
Resolution: Ensure that the WRD trust store file includes the correct CA certificates.
The certificate configured on Uniface Router has expired.
Resolution: Ensure that the certificate that is imported in java trust store file has not expired.
The Uniface Router uses a Pre-Shared Key (PSK) for TLS Authentication.
Resolution: Configure the Uniface Router to use certificates instead of a PSK. The WRD only supports certificate-based TLS, which provide better security. For more information, see Certificate-Based Authentication.
Browser Displays Page with HTTP 500 - Internal server error
Resolution:
- Use the latest
wrd*.jar file (for example, for V8.2.02, use
wrd2014.jar). In the web server, specify in
JavaClassPath
, with correct location. - Stop and restart the web server.
- Try Server Page again. If error page is still displayed, try another Server Page or enter a few spaces after the Server Page name and press Enter. If this succeeds, try the previous Server Page.
Resolution:
- The web server .log file has not
reported this error. Put the .jar file in correct location, or specify correct
location in the web server's
JavaClassPath
. - Stop and restart the web server.
- Try Server Page again. If error page is still displayed, try another Server Page or enter a few spaces after the Server Page name and then press Enter. If this succeeds, try the previous Server Page.
UV7
in the
MIDDLEWARE
setting or the URD Servlet Alias is incorrect.
error.log file reports, for example, "Couldn’t connect to application server: The Uniface Application Server cannot be started due to wrong logon information specified in the
MIDDLEWARE
setting."Resolution:
- Specify correct
UV8
string. - Stop and restart the web server.
- Try Server Page again.
MIDDLEWARE
string
The error.log file reports (getServlet "wrong") javax.servlet. ServletException: No middleware module found.
Resolution:
- Specify
MIDDLEWARE=UV8:Host|
... - Stop and restart the web server.
- Try Server Page again.
localhost
in
the MIDDLEWARE
setting or the WRD Servlet is incorrect.
The error.log file reports, for example, "Couldn’t connect to application server: Invalid host specified in the
MIDDLEWARE
setting. The system returned: "invalid host name"".Resolution:
- Specify correct Host string.
- Stop and restart the web server.
- Try Server Page again.
MIDDLEWARE
setting of the WRD Servlet is incorrect.
The error.log file reports, for example, "Couldn’t connect to application server: Cannot connect to the Uniface process on the remote address/port. The system returned: "Bad connection parameters"".
Resolution:
- Specify correct username and password.
- Stop and restart the web server.
- Try Server Page again.
RESOURCEDIR
setting of
the WRD Servlet is not set.
The error.log file reports, for example, No resource directory set.
Resolution:
- Specify correct
RESOURCEDIR
for servlet alias. - Stop and restart the web server.
- Try Server Page again.
ERRORDIR
setting of
the WRD Servlet is not set.
The error.log file reports, for example, No error directory set.
Resolution:
- Specify correct
ERRORDIR
for servlet alias. - Stop and restart the web server.
- Try Server Page again.
WEBAPPURL
setting of
the WRD Servlet is not set.
The error.log file reports, for example, No web application URL set.
Resolution:
- Specify correct
WEBAPPURL
for servlet alias. - Stop and restart the web server.
- Try Server Page again.
classname
com.compuware.uniface.urd.WRDServlet
has not been correctly defined.
Resolution:
- Specify correct definition in the Servlet Class setting.
- Stop and restart the web server.
- Try Server Page again.
Resolution:
- Specify WRD servlet as a Servlet Alias.
- Stop and restart the web server.
- Try Server Page again.
MIDDLEWARE
setting of the WRD Servlet Alias is not present and one symbol ‘|’.
The error.log file reports, for example, “Couldn’t connect to application server: Invalid format of the
MIDDLEWARE
setting".Resolution:
- Specify correct username and password in
Middleware string in the format
UV8:
Hostname+
Portnumber|
Username|
Password|
UST. - Stop and restart the web server.
- Try Server Page again.
RESOURCETIMEOUT
value is 0
or negative.
The error.log file reports, for example, (getServlet "wrong") javax.servlet.ServletException: The value of setting
RESOURCETIMEOUT
is invalid.Resolution:
- Specify a valid
RESOURCETIMEOUT
value > 0 or remove setting and use default value for servlet. - Stop and restart the web server.
- Try Server Page again.
RESOURCEDIR
setting of
the WRD Servlet Alias is set to a non-existing directory.
The error.log file reports, for example, (getServlet "wrong") javax.servlet.ServletException: Given resource directory does not exist.
Resolution:
- Specify correct
RESOURCEDIR
pointing to existing correct location for servlet alias. - Stop and restart the web server.
- Try Server Page again.
WRD Configuration Errors—Other Problems When Using Browser
-
Possible cause:
AUTHORIZATION
is set to RealmName in the servlet properties of the URD servlet.Resolution: Remove the
AUTHORIZATION
servlet property of the URD servlet. -
Possible cause: Incorrect Authentication Method set in the web server.
Resolution:
Start Internet Service Manager and open Properties window of the item Default Web Site.
Select the tab Directory Security.
Click Edit for Anonymous Access and Authentication Control.
Only the Allow Anonymous Access check box should be selected.
With view source of HTML page, a line appears such as
<IMG SRC="_GET_RESOURCE _?RESOURCENAME= error!!!">
.
-
Possible cause: The
RESOURCEDIR
setting of the URD Servlet Alias is not set to the correct location, for example c:\webapps\wasvwww \resources is set while c:\webapps\wasvwww \resource exists.Resolution: Specify correct match between
RESOURCEDIR
and the resources directory.
WRD Configuration Errors Reported via $procerror
Value | Error constant | Meaning |
---|---|---|
-16 | <UNETERR_UNKNOWN> | Network error. |
-17 | <UNETERR_PIPE_BROKEN> | Connection lost. |
-18 | <UNETERR_CONNECT> | Application failed to connect to the URouter, or failed to start an exclusive UServer. |
-19 | <UNETERR_FATAL> | UServer exited with fatal error. |
-20 | <UNETERR_MAX_CLIENTS> | URouter could not accept new client,
$MAX_CLIENTS exceeded. For more information, see $MAX_CLIENTS. |
-21 | <UNETERR_LOGON_ERROR> | Network logon error. |
-22 | <UNETERR_NO_REGISTRATION> | Application failed to register with the URouter. |
-23 | <UNETERR_DOUBLE_UST> | Registration with URouter specified UST that is already in use. |
-24 | <UNETERR_START_SERVER> | URouter could not start UServer process (executable not found). |
-25 | <UNETERR_SERVER_GONE> | URouter could not route request to specific Server process. |
WRD Configuration Errors—Error HTTP Request Forms
-
Error: Non existing Server Page NONEXISTFRM, or wasv.asn file not found
Symptom:
Error during execution of HTTP request Execution started at 09:10:28 Request: Input: SrvCfg:COMP=nonexistfrm ..... Usercontext: Component:nonexistfrm Operation: Result: Status : -50 ProcerrorContext:ERROR=-50_MNEM=_DESCRIPTION=Signature not found_COMPONENT=USYSHTTP_PROCNAME=UWEBEXEC_TRIGGER=OPER_LINE=104_ADDITIONAL= COMPONENTNAME=nonexistfrm__INSTANCENAME=nonexistfrm Execution ended at 09:10:29
-
Error: Compiled Server Page (*.usp) not found.
Symptom:
Error during execution of HTTP request Execution started at 14:06:54 Request: Input: SrvCfg:COMP=new_notcompil Usercontext: Component:new_notcompil Operation: Result: Status : -58 ProcerrorContext:ERROR=-58_MNEM=_DESCRIPTION=Component not found_COMPONENT=USYSHTTP_PROCNAME=UWEBEXEC_TRIGGER=OPER_LINE=104_ADDITIONAL =COMPONENTNAME=new_notcompil__INSTANCENAME=new_notcompil Execution ended at 14:06:54
-
Error: Non-existing operation in Server Page FORMSTART.nonexistoper
Symptom:
Error during execution of HTTP request Execution started at 09:13:21 Request: Input: SrvCfg:OPERATION=nonexistoper ..... Usercontext: Component:FORMSTART Operation:nonexistoper Result: Status : -59 ProcerrorContext:ERROR=-59_MNEM=_DESCRIPTION=No definition found for operation_COMPONENT=USYSHTTP_PROCNAME=UWEBEXEC_TRIGGER= OPER_LINE=112_ADDITIONAL=INSTANCENAME=FORMSTART__OPERATIONNAME=NONEXISTOPER Execution ended at09:13:22
-
Error: Skeleton file persontab.hts does not exist.
Symptom:
Error during execution of HTTP request Execution started at 12:56:37 Request: Input: SrvCfg:COMP=persontab.. Usercontext: Component:PERSONTAB Operation: Result: Status : -250 ProcerrorContext: Execution ended at 12:56:37
-
Error:Status -250 is
$status
value ofwebgen
and text should be “skeleton file not found or is incorrect”.Symptom: The log file of UServer reports:
6492 - Cannot open the HTML skeleton file. 6498 - Error in HTML skeleton file.
-
Error: preActivate trigger returns
$status
< 0 (for example retrieve of invalid entity data) not equal to -21Symptom:
Error during execution of HTTP request Execution started at 09:19:59 Request: Input: SrvCfg:COMP=intstate3 ..... Usercontext: Component:INTSTATE3 Operation: Result: Status : -71 ProcerrorContext:ERROR=-71_MNEM=_DESCRIPTION=Error in Getting State_COMPONENT=USYSHTTP_PROCNAME=UWEBEXEC_TRIGGER=OPER_LINE= 110_ADDITIONAL=INSTANCENAME=INTSTATE3__OPERATIONNAME=EXEC Execution ended at 09:19:59