Project

General

Profile

"Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes

Added by Dan Mauro about 7 years ago

I downloaded FWD and followed the setup instructions. All of the builds say they completed successfully including the Spawner install. I am able to run the Swing GUI Client as expected. However, when I ty to run the Virtual Desktop Web Client or the Embedded Web Client I get a “Cannot start the embedded server” error. I tried disabling my virus protection and still received the same error. Below are three lines from the server.log. Hopefully someone can point me in the right direction of where the problem might be?

[04/20/2017 11:01:28 MDT] (SessionManager.listen():INFO) {00000000:00000001:standard} Server ready
[04/20/2017 11:02:25 MDT] (ClientSpawner.spawn():SEVERE) {00000001:00000003:ehotel} Failed spawn with exit code: -1073741515
[04/20/2017 11:02:25 MDT] (WebHandler.spawn:WARNING) {00000001:00000003:ehotel} Spawn failed for user Dan (ERROR: Cannot start the embedded server.).

Also, I am running Windows 10.


Replies (11)

RE: "Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes - Added by Eugenie Lyzenko about 7 years ago

Hello, Dan,

Another question: Are the server and client processes running under the same user account?

RE: "Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes - Added by Greg Shah about 7 years ago

To be clear, the question about the Standard User vs Administrator is in regard to your Windows OS.

  • When you run the FWD server, it runs in the context of a Windows user.
  • When you login to the virtual desktop, you would have to enter Windows OS credentials which specify the user account in which the web client will execute.
  • When you login to the embedded mode client, the user account is specified in the FWD server's directory (which was setup as the account under which you ran the prepare_hotel.cmd.

If these are mis-matched, then there are be consequences.

FYI, our forum email notifications had been turned off and I believe I've enabled them now. So you may have missed some prior replies on this thread.

RE: "Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes - Added by Dan Mauro about 7 years ago

The Dan account is an Administrator account.
Yes, I installed and started everything under the same Dan account.

RE: "Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes - Added by Eugenie Lyzenko about 7 years ago

What browser did you use to start the Web Client? IE, Mozilla Firefox or something other?

RE: "Cannot start the embedded server” error when running in Virtual Desktop Web Client or the Embedded Web Client modes - Added by Eugenie Lyzenko about 7 years ago

OK. Dan, try the following:

  1. Stop the FWD server and close the console.
  2. Locate where the JRE is installed on your machine. Depending on installation type it can be either inside JDK(pathToJdk\jre) or as standalone package.
  3. Within Oracle JRE find the directory containing jvm.dll, usually the file location is pathToJre\bin\server\jvm.dll.
  4. Add the directory containing jvm.dll(pathToJre\bin\server) to the system PATH.
  5. Open new console, verify the jvm.dll is on the PATH(echo PATH) and start FWD server again.
  6. Relogin the web client.

Hope this help.

    (1-11/11)