HAS ANYONE installed Servoy Server as Service on a 64-bit PC

Not getting any response to the other post about this, so I am just posting to ask if anyone has ever successfully gotten Servoy Server to run as a service on a 64-bit machine? The other 64 bit thread at the end describes my problem, but right now I’m just polling.

Has anyone has ever successfully gotten Servoy Server to run as a service on a 64-bit machine?
  • Yes
  • No
0 voters

Can the person who has succeeded in this PLEASE help me (also on page two of post: http://forum.servoy.com/viewtopic.php?t=9111)

Cannot get the service to run in 64 bit.

First off, Servoy Installer does not want to run with javaw.exe (or any other executable) installed by Sun’s AMD64 java installer. The only way to get installer to run is to install 32 bit java. But then when the installer runs, it installs servoy as a service running in *32. Uninstalling Servoy and reinstalling it does not work. Pointing it at 64 bit java does not work.

The only theory we have is to somehow edit the batch file or the environment variables to tell the machine to launch java.exe (not w) from its 64 bit location. The flag -d64 has been suggested, but we haven’t quite figured out where to put this.

Can anyone help?

NOPE!

Am attempting to isntall on RHEL5 … jdk6 will not work, tried jdk1.5 … no success (both 64 bit).

All I get is java errors. Developer will not open with out numerous errors , servoy server will not go at all.
I have a beautiful brand spanking new server with quad core cpu’s and I fear I will have to down grade to 32 bit RHEL
If anyone has a solution, I would be very happy!

ellenmeserow:
Can the person who has succeeded in this PLEASE help me (also on page two of post: http://forum.servoy.com/viewtopic.php?t=9111)

Cannot get the service to run in 64 bit.

First off, Servoy Installer does not want to run with javaw.exe (or any other executable) installed by Sun’s AMD64 java installer. The only way to get installer to run is to install 32 bit java. But then when the installer runs, it installs servoy as a service running in *32. Uninstalling Servoy and reinstalling it does not work. Pointing it at 64 bit java does not work.

The only theory we have is to somehow edit the batch file or the environment variables to tell the machine to launch java.exe (not w) from its 64 bit location. The flag -d64 has been suggested, but we haven’t quite figured out where to put this.

Can anyone help?

so it runs in 32 bit? And why exactly do you want to run it 64 bit?

ps on my machine (non redhat) servoy runs fine:

java -version
java version “1.6.0_01-dp”
Java™ SE Runtime Environment (build 1.6.0_01-dp-b06-101)
Java HotSpot™ 64-Bit Server VM (build 1.6.0_01-41-release, mixed mode)

so it runs in 32 bit? And why exactly do you want to run it 64 bit?

ps on my machine (non redhat) servoy runs fine:

java -version
java version “1.6.0_01-dp”
Java™ SE Runtime Environment (build 1.6.0_01-dp-b06-101)
Java HotSpot™ 64-Bit Server VM (build 1.6.0_01-41-release, mixed mode)

It does run in 32 bit. No errors or anything. Have even succeeded in getting Developer to run in 64 bit (though not currently – I’ve been through so many uninstalls and reinstalls and associations to different executables I’m becoming an expert, but my install is a bit wacked).

Want it to run in 64 bit for speed – we have several areas where Servoy could definitely be faster, so we bought an expensive ($15K) server to attempt to get all the power we can behind it. Sebastiaan’s best server practices session at ServoyWorld also susggested it.

I see your log says running 64 bit – can to tell me how you got it to install like that? Starting from scratch, the installer of servoy will NOT run in the AMD64 bit java. Won’t run with any executable, though I know it’s supposed to run with javaw.exe.

So in order to install at all, I had to install 32 bit java, and then the installer installs into the 64 bit program files but launches java.exe*32. Uninstalling 32 bit java does not change this, it just won’t start the service then. Tried everything to convince it to start with java.exe in the 64 bit Program Files.

I’m sure there’s a way – but we can’t find it in enviro variables or perhaps tagging the batch script with a -d64?

ellen

The bug I submitted to Servoy in their issue tracking system is marked “in progress” and has been for a month or more… Can someone give me an update? We’re still stuck.

Hi Ellen,

Could you give a log of the specific errors you’re getting?

Regards,
Sebastiaan

Which log do you want to see? Windows? Servoy?

Also, I’m not sure a log will help you – since the problem doesn’t result in errors of any kind. It just doesn’t launch the installer when only AMD64 java is on the machine. It launches and installs fine, when 32bit java (1.5 or 1.6) is installed), but then it runs the service in java.exe*32 – no matter which program files folder we put it in (64 or 32).

Well if the installer doesn’t launch then it looks like it might be a problem with the installer… So the installer logs would be a place to start I guess.

When you install in 32 bit mode you should be able to start servoy server manually with the 64 bit java; that should work fine if the installer is the only issue… Once we get that to work it should be a question of tweaking the service to use 64 bit java.

No logs if the installer doesn’t launch, no? And this is my production server, so I don’t have much window for testing with it. Do you guys have a 64-bit windows machine around there? Troy at Data-Mosaic offered one, I’ll copy him and see if he can test this.

I do think it is a matter of a flag (like -d64) in the wrapper.exe or something like that, after reading the web for hours/weeks/months – but I don’t know how to apply it.

On whether I can launch the server in 64 bit – I did succeed at one point in getting Developer installed so that it launched with 64 bit java, but I never tried to launch server.bat in 64 bit. As I said, I can’t try today as it’s our production server.

Hi,

The installer should produce logs… perhaps if you launch it from the command line with java instead of javaw… If it just stops, something should report an error, I think…

As far as the wrapper.exe thing, there’s a wrapper config file which specifies the java command to use:

# Java Application
wrapper.java.command=java

Maybe if you change that to the full path of the 64 bit java it will work?

Regards,
Sebastiaan

I’ve got it to work.

I had an install on Solaris 10 /UltraSPARC III’s with Java 6u3. Worked flawlessly AFAIR.

The problems started with the client side of things, mostly because there’s no 64-bit WebStart classes, for whatever stupid-excuse reason.

Search for my other messages, I think I said some more on this. None of it will relate to running Servoy Server on Windows though (for that, you should use a *NIX), which is what your question seems to imply.

Greetz

Ronald

There is a problem in the installer exe which makes it unable to recognize 64 bits Java as being Java. This will be fixed in the next release.

Note that the installer executable is only required on Windows Vista - and then only to install Servoy into the Program Files directory.

This means that on previous versions of Windows, you can simply use the installer jar instead of the exe and it will work. On Vista, you could install to any directory other than C:\Program Files or C:\Program Files (x86) using the installer jar and it will work as well. For instance, C:\Programs should work fine.

Also note that the iAnywhere we ship with Servoy is a 32-bit binary. This means that if you want to use it on your Unix / Linux machine, you must make sure that you have 32-bit libraries installed.

Test this by running sybase_db/dbsrv10 in a terminal from the Servoy install directory.

If there are no 32-bit libs installed, you will get something like “No such file or directory”.

If there are, you will get “sybase_db/dbsrv10: error while loading shared libraries: libdbserv10_r.so: cannot open shared object file: No such file or directory”.
Make no mistake, this is what you want :) It only means the sybase_db directory is missing from the LD_LIBRARY_PATH environment variable. Servoy Developer will care of that when launching.

OK – So I should clarify I meant Windows 64 bit – not Linux/Unix… I have heard from several who say that works.

Also my problem is server-side. I know about the webstart classes being unavailable in 64-bit.

So what was the *NIX? Help with what that means?

At some point I was asked (can’t find it in this thread) what happens when I try to launch the server, without the service. Here are screen shots:

First screenshot, you show you try start the service wrapper, which cant be done this way
Second screenshot shows Java is not in your “path” , most easy way to fix this is to edit servoy_server.bat and include the full path to your java execuateble