Skip to main content

Question added on behalf of Christophe Zanussi.


I installed the Uniface community version yesterday.

But I already have a problem with TOMCAT (for the first example : hello word).

Below the address - uniface error message - log of TOMCAT.
C:\\Program Files (x86)\\Uniface 10 Community Edition\\common\\tomcat\\logs

My windows is Windows 10 Family (no pro) 
Version 19.09
Build 18363.900

Do you have other feedback for this problem ?

Thank you for your help

Christophe Zanussi

http://localhost:8080/uniface/wrd/HELLO_WORD


An error occurred which prevented the execution of your request.

Error details :

300 URD_MW_ERROR

Middleware : UV8Error#     : -25
Error Text : see UNIFACE message guide


When i check the log of the TOMCAT :

uniface_10_community_edition_tomcat-stderr.2020-06-28.log

 org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

 java.lang.Thread.run(Thread.java:748)]

28-Jun-2020 17:50:10.046 INFOS [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

28-Jun-2020 17:50:10.786 GRAVE [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.service Error processing request

 java.lang.NullPointerException

at org.apache.catalina.connector.Request.notifyAttributeAssigned(Request.java:1555)

at org.apache.catalina.connector.Request.setAttribute(Request.java:1541)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)


28-Jun-2020 17:50:10.795 GRAVE [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response

 java.lang.NullPointerException

at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:641)

at org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:166)

at org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:266)

at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:1524)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:843)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)


Question added on behalf of Christophe Zanussi.


I installed the Uniface community version yesterday.

But I already have a problem with TOMCAT (for the first example : hello word).

Below the address - uniface error message - log of TOMCAT.
C:\\Program Files (x86)\\Uniface 10 Community Edition\\common\\tomcat\\logs

My windows is Windows 10 Family (no pro) 
Version 19.09
Build 18363.900

Do you have other feedback for this problem ?

Thank you for your help

Christophe Zanussi

http://localhost:8080/uniface/wrd/HELLO_WORD


An error occurred which prevented the execution of your request.

Error details :

300 URD_MW_ERROR

Middleware : UV8Error#     : -25
Error Text : see UNIFACE message guide


When i check the log of the TOMCAT :

uniface_10_community_edition_tomcat-stderr.2020-06-28.log

 org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

 java.lang.Thread.run(Thread.java:748)]

28-Jun-2020 17:50:10.046 INFOS [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

28-Jun-2020 17:50:10.786 GRAVE [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.service Error processing request

 java.lang.NullPointerException

at org.apache.catalina.connector.Request.notifyAttributeAssigned(Request.java:1555)

at org.apache.catalina.connector.Request.setAttribute(Request.java:1541)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)


28-Jun-2020 17:50:10.795 GRAVE [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response

 java.lang.NullPointerException

at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:641)

at org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:166)

at org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:266)

at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:1524)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:843)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

Thanks for your analyse.

Both were re-started.
But your are true i can see error messages in these logs:

urouter.log
0:00.004.76 t=43596: UROUTERSTART: waiting for listening threads
0:00.025.13 t=43596: UROUTERSTART: All listening threads started
1:35.450.70 t=43596: clean_sweep: Server startup timed out after 60 seconds, sid=1
1:35.450.97 t=46376: [Mon Jun 29 19:55:27 2020] err=-25: getsrv: handle_wait wait failed
1:35.451.08 t=46376: srvdead: notifying client there is no server
1:35.451.29 t=46376: [Mon Jun 29 19:55:27 2020] err=-25: thpsv: Problems handling request

wasv.log
DNP Logon (TCP:LENOVO-PC.voo.be+13001|unifaceserver|4DDD8B18-1C9D-463B-A3F4-BE6BB200FD53|wasv -drv=ANY) failed with status -18, Failed to connect to URouter
Fatal error: 9024 - Application stopped due to logon error.
Fatal error: 9024 - Application stopped due to logon error.


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

ah yes, I think I know what this is; there is slight issue with creating the required user account (for tomcat to logon and start a userver) during the setup, due to the C++ redistributables not being installed yet for example on fresh windows installs or in your case Win 10 Family. 

The issue is being fixed and released in short notice, however for now there's two relatively simple solutions;

1) create user account manually

  • goto search and look for "Edit local users and groups"
  • click "Groups" folder and make sure the usergroup "Uniface Server Users" exists. If it doesn't, try solution 2
  • right click on the "Users" folder and click "New User"
  • For username choose "UnifaceServer" and for password "Uniface_Server123" and check the boxes "User cannot change password" and "password never expires" (others are unchecked) 
  • Now the account should be in the list of users, double click and go to the "Member Of" tab, and add the account to the "Uniface Server Users" group. 
  • Restart Tomcat and Urouter services. This should solve the issue

2) Uninstall / reinstall CE with manual C++ redistributables installation

  • Uninstall CE (you can preserve the project folder) 
  • In the folder where the installer was unpacked you will find the "uniface_setup" folder with inside it "vcredist" → vcredist_x86.exe. 
  • Run the exe and install the visual c++ 2015 redistributables.
  • Run the CE installation again. This should solve the issue

Hope this helps!

Cheers

Erik


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

Thanks for the answer.
I controlled 1) in my version i need to execute "netplwiz" i confirm that the user exists (related to the correct group).
I applyed 2) and i had the same problem.

I try to remove the user - uninstall both vcredist . CE (and reboot after each action). And for all installation i force to execute as Administrator. I have the same problem.

if i come back to 1) i see the user, all seems complete but it does not solve the problem.

Do i have to re-execute the procedure and change user/port/password ?
Do i have a specific problem with my windows no pro ?


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

The windows version should be no problem. There is one more thing you could check though;

If you go to  C:\\Program Files (x86)\\Uniface 10 Community Edition\\uniface\\webapps\\uniface\\WEB-INF you will find a file called web.xml where the Tomcat middleware config is done (wrd/srd/wrddbg). Open this file with administrator permissions.

Can you check if the correct account and password is set here? Restart of Tomcat service is required if you change this file.

If this doesn't work either then please post the urouter / wasv logging again 


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

I see no problem in the web.xml (as i use the default setting)
I note that i have 2 urouter log (i set the files updated in a zip file, after a new re-start of both service and a new try ....
Uniface_log.zip


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

Ok so the account setup is correct, so that's good.

Could you please do the following:

  • Open the files 
    • C:\\Program Files (x86)\\Uniface 10 Community Edition\\uniface\\wasv.asn
    • C:\\Program Files (x86)\\Uniface 10 Community Edition\\uniface\\userver.asn
    • C:\\Program Files (x86)\\Uniface 10 Community Edition\\\\common\\urouter.asn
  • In all files, in the [SETTINGS] section add the following:
    • $DEFAULT_TCP_HOST = 127.0.0.1
  • save and restart tomcat and urouter services.

and let me know if that did the trick?

This will ensure that all the tiers will use the same (local) hostname to set up connections. More info on this.

https://u.uniface.info/docs/0907/uniface/configuration/reference/assignments/_DEFAULT_TCPHOST.htm?tocpath=Uniface%20Reference%7CConfiguration%20Reference%7CConfiguration%20Settings%3A%20Assignment%7C_____23

Sorry for the trouble and thanks for your patience and efforts! Your findings will help us improve the product, and sharing them is much appreciated


 


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

The Asn modification has solved the problem !!!!


Hi Christophe 

Thanks for checking out the community edition!

It appears there is a problem in connecting to urouter from Tomcat. Probably needless to say but have you checked if the urouter service was running at the time? (search → "services" → "Uniface 10 Community Edition URouter"). 

It may already help to restart both the services "Uniface 10 Community Edition URouter" and "Uniface 10 Community Edition Tomcat" and see if that makes a difference.

If not, then perhaps the urouter logging, typically found in C:\\Users\\%YOURUSERACCOUNTNAME%\\Uniface 10 Community Edition\\log , will reveal some more info, as well as possibly wasv.log (userver logging). We'd be happy to have a look at that logging as well.

Hope this helps

Best regards

Erik

Nice!

Enjoy developing with Uniface CE 🙂