Forums » Runtime » Infrastructure »
"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 Constantin Asofiei about 7 years ago
Hello, Dan.
Is your "Dan" user a Standard user or an Administrator?
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 is the your OS version, 32-bit or 64-bit?
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
64-bit.
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 Dan Mauro about 7 years ago
I"m using Chrome.
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
I get the same error in IE.
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:
- Stop the
FWD
server and close the console. - Locate where the
JRE
is installed on your machine. Depending on installation type it can be either insideJDK
(pathToJdk\jre
) or as standalone package. - Within Oracle
JRE
find the directory containingjvm.dll
, usually the file location ispathToJre\bin\server\jvm.dll
. - Add the directory containing
jvm.dll
(pathToJre\bin\server
) to the systemPATH
. - Open new console, verify the
jvm.dll
is on thePATH
(echo PATH) and startFWD
server again. - Relogin the web client.
Hope this help.
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
That worked, you guys rock.
Thank You for all the help.