Frederick Posted June 8, 2023 Share Posted June 8, 2023 hyper_server.exe: 00002AFC: 23:06:52 []:>--------------------------------------------------------------< hyper_server.exe: 00002AFC: 23:06:52 [TUniServerModule]:Server First Init. hyper_server.exe: 00002AFC: 23:06:52 [TUniServerModule]:Start Path = C:\ict\callback\ hyper_server.exe: 00002AFC: 23:06:52 [TUniHyperServer]:InitInterceptor hyper_server.exe: 00002AFC: 23:06:52 []:Transport.PoolSize: 750 hyper_server.exe: 00002AFC: 23:07:23 [TUniHyperNode.Terminate]:Node #0 forcefully terminated. hyper_server.exe: 00002AFC: 23:07:23 [PostInit]:Failed to initialize node: 0 hyper_server.exe: 00002AFC: 23:07:23 [TUniServerModule]:Starting HTTP Server on Port: 8085... hyper_server.exe: 00002AFC: 23:07:23 [TUniServerModule]:HTTP Server Started on Port: 8085 hyper_server.exe: 0000201C: 23:07:33 [TUniHyperNode.Terminate]:Node #1 forcefully terminated. hyper_server.exe: 0000201C: 23:07:33 [TUniHyperNodeManagerWorker]:Failed to initialize node: 1 hyper_server.exe: 0000201C: 23:08:28 [TUniHyperNode.Terminate]:Node #0 forcefully terminated. hyper_server.exe: 0000201C: 23:08:28 [TUniHyperNodeManagerWorker]:Failed to initialize node: 0 I can run my standalone application directly from the command line and it works OK. However, when I run it via Hyperserver, it won't start and I get multiple "failed to initialize node" errors. I have configured Hyperserver for several applications before and this is the first time I have encountered these errors. What should I be looking for to resolve this? Is there a limit to the number of Hyperserver instances that can run at the same time? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1568) Quote Link to comment Share on other sites More sharing options...
Frederick Posted June 9, 2023 Author Share Posted June 9, 2023 I have managed to find out what the problem was. In my ServerModule's OnHttpCommand event, I have the following line at the end:- Handled:=True; The reason is this application is meant to handle callback requests only and the main form does not need to be shown. However, this trips up HyperServer and no nodes are created because the main form is not displayed. Is it possible to not show the main form for an application running under HyperServer? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.