I wanted to start our application for testing purposes in Parallels and get the error: Unable to launch the application. The details are shown in the attachment. I did not use Parallels for some months but it used to work with Servoy then.
Anyone an idea what the problem could be?
I hav no problems to connect to servoy admin on our server with http://:8080/servoy-admin/
But as soon as I try to download the app with http://:8080/servoy-client/ (I get the dialog to downlaod the servoy-client.jnlp file) I get the error message as mentioned.
Thanks, Robert
Parallels Version 3, Build 5638
Windows XP 5.1.2600, Java Version 1.6.0_16
Host Mac OS X 10.5.1
Now I only get the Java Starting… splash screen and no Error window as before. I also tried again with deleted files in JAva cache (with the Java utility in Control Panel
How can I get back this windows with the Wrapped Exception tab?
lvostinar:
the wrapped exception would be of more help …
I have running Parallels 4 (Build 4.0.3846) with Windows XP Pro SP3 and Java 1.5.0_18 on my iMac (Mac OS X 10.6.1). The Network Adapter is in “bridged” mode.
When I connect to a Servoy-Server by http://.8080 I get the dialog for downloading/opening the servoy_client.jnlp file. I save it in the “Documents and Settings” > “User” direction and the Application is starting without problems. This is working with Windows on a Boot Camp partition and also on Windows as a Image (both running by Parallels).
Perhaps you should try a previous version of Java?!
Yes, I did all that. It does not seem to be anything wrong with the jnlp file. I just get the Java™ Starting… screen and after a couple of seconds it disapears and nothing happens any more. Is there a console somewhere where all the os messages can be seen? As the console in Mac OS X.
I installde the latest Windows XP disk image backup, with no luck either. I still get the xml encoding error. I attach the error and the matching jnlp file.
Anyone an idea what that could be?
Regards, Robert
tgs:
Hi Robert,
I have running Parallels 4 (Build 4.0.3846) with Windows XP Pro SP3 and Java 1.5.0_18 on my iMac (Mac OS X 10.6.1). The Network Adapter is in “bridged” mode.
When I connect to a Servoy-Server by http://.8080 I get the dialog for downloading/opening the servoy_client.jnlp file. I save it in the “Documents and Settings” > “User” direction and the Application is starting without problems. This is working with Windows on a Boot Camp partition and also on Windows as a Image (both running by Parallels).
Perhaps you should try a previous version of Java?!
I think the best would be you make a complete deinstall (Start > Settings > Software) of your current java version and a brand new reinstall of java 1.5_18 first. If that works you can update the java version. For me java 1.5 works better than 1.6 in displaying my forms and objects.
Thanks for all the tips, we got it to work. The reasons Servoy didn’t startup on Windows Vista (native machine) and Windows XP (Parallels) and silently quit (Java Start window just disapeared after a couple of seconds) with a Mac OS X 10.5.8 server was the setting in servoy admin:
servoy.maxClientHeap: 2048
changed to: 1024
As far as I remember was this (default) setting lower in previous versions.
if you really have a bug solution then 512M should be pretty much the max. If you really need anything more then there is something wrong.
If you give the client that much memory then it could start swapping and getting really slow because java would take so much.
(or do all your clients have 4GB and more?)
Besides that 2048 is to much for a 32bit jvm. It can be max something like 1.8G because a 32bit window process has max 2G of mem
so the complete jvm can be in 2G but a jvm is more then just the heap so the heap must be lower then 2G
If you use 64bit jvm’s this 2GB limit isnt an issue anymore.
I thought these were the default settings but it seems - reading your comments - we ouerselfs set them to such high values. What are the default values you have in the Servoy distribution?
Best regards, Robert
jcompagner:
why do you have those that high for clients?
if you really have a bug solution then 512M should be pretty much the max. If you really need anything more then there is something wrong.
If you give the client that much memory then it could start swapping and getting really slow because java would take so much.
(or do all your clients have 4GB and more?)
Besides that 2048 is to much for a 32bit jvm. It can be max something like 1.8G because a 32bit window process has max 2G of mem
so the complete jvm can be in 2G but a jvm is more then just the heap so the heap must be lower then 2G
If you use 64bit jvm’s this 2GB limit isnt an issue anymore.
Ok, I have set a lower and upper limit, for whatever reason… can’t remember why but sure was because we thought we could optimise it. Is 64 for the upper limit a sensible/optimal value? Shouldn’t it be a bit higher if possible regarding the memory amountin the clients. They all have at least 2GB.
jcompagner:
what do you mean?
by default we only set one thing (the upper limit) servoy.maxClientHeap=64