I’ve just installed Servoy.
the sample applications work fine in the developer but don’t work in the smartclient.
They start but i get empty screens
installation is on windows XP
installed with all defaults
I’ve just installed Servoy.
the sample applications work fine in the developer but don’t work in the smartclient.
They start but i get empty screens
installation is on windows XP
installed with all defaults
Is your application server running?
I did a fresh install of a Servoy Application Server last week and I noticed that Servoy doesn’t place an initial property file.
I guess your developer is using a local property-file
Thanx for the reply.
i’ve installed the developer.
programs run fine in developer, also run fine in webclient but won’t run in smartclient. In smartclient the application starts but without data.
Sander,
I just tried a fresh install of 3.5.6, starting the smart client worked without problems.
Maybe you have a firewall that is blocking the rmi-traffic between smartclient and developer?
Configure the java control panel to ‘show console’, when you start a smart client it may give some more logging info.
Rob
When you activate the Java console, do you see any error message on the client?
You can activate it through Java Preferences on the mac or via Start/Control Panels/Java on windows.
Start the server using servoy_server.bat in stead of directly as a service. Maybe you see some error.
I also got error last week that port 8080 was defined twice. Therefore I had to use another port for Servoy.
The only way I could see this was using the bat-file to start the server
this is what the jabva console says
11-jun-2008 12:09:36 com.servoy.j2db.util.Debug log
INFO: Starting Servoy from C:\Documents and Settings\smits\Desktop
11-jun-2008 12:09:36 com.servoy.j2db.util.Debug log
INFO: Servoy 3.5.6 build-519 on Windows XP using Java 1.6.0_06
Exception in thread “AWT-EventQueue-0” sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi: Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi could not be instantiated: java.lang.SecurityException: sealing violation: can’t seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.access$200(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source)
at javax.imageio.spi.IIORegistry.(Unknown Source)
at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at javax.imageio.ImageIO.(Unknown Source)
at com.servoy.j2db.util.ImageLoader.getSize(Unknown Source)
at com.servoy.j2db.dataui.MyImageIcon.(Unknown Source)
at com.servoy.j2db.dataui.AbstractScriptLabel.setIconDirect(Unknown Source)
at com.servoy.j2db.dataui.AbstractScriptLabel.setIcon(Unknown Source)
at com.servoy.j2db.dataui.AbstractScriptLabel.setMediaIcon(Unknown Source)
at com.servoy.j2db.dataui.ComponentFactory.a(Unknown Source)
at com.servoy.j2db.dataui.ComponentFactory.a(Unknown Source)
at com.servoy.j2db.dataui.ComponentFactory.createComponent(Unknown Source)
at com.servoy.j2db.dataui.DataRendererFactory.a(Unknown Source)
at com.servoy.j2db.dataui.DataRendererFactory.completeRenderers(Unknown Source)
at com.servoy.j2db.FormController.a(Unknown Source)
at com.servoy.j2db.FormController.try(Unknown Source)
at com.servoy.j2db.FormManager.new(Unknown Source)
at com.servoy.j2db.scripting.CreationalPrototype.get(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.getStrIdElem(ScriptRuntime.java:1001)
at org.mozilla.javascript.ScriptRuntime.getElem(ScriptRuntime.java:968)
at org.mozilla.javascript.gen.c4.call(setupRecordStatus:5)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1254)
at org.mozilla.javascript.gen.c31.call(btn_goForm:11)
at com.servoy.j2db.scripting.f.executeFunction(Unknown Source)
at com.servoy.j2db.FormController.a(Unknown Source)
at com.servoy.j2db.FormController.a(Unknown Source)
at com.servoy.j2db.FormController.else(Unknown Source)
at com.servoy.j2db.FormController.a(Unknown Source)
at com.servoy.j2db.FormController.valueChanged(Unknown Source)
at com.servoy.j2db.util.gui.x.a(Unknown Source)
at com.servoy.j2db.util.gui.x.a(Unknown Source)
at com.servoy.j2db.util.gui.x.a(Unknown Source)
at com.servoy.j2db.dataprocessing.SwingRelatedFoundSet.setSelectedIndex(Unknown Source)
at com.servoy.j2db.TableView.setModel(Unknown Source)
at com.servoy.j2db.FormController.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.FormLookupPanel.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.SpecialTabPanel.notifyVisible(Unknown Source)
at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.DataRenderer.notifyVisible(Unknown Source)
at com.servoy.j2db.FormController.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.FormLookupPanel.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.SpecialTabPanel.notifyVisible(Unknown Source)
at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(Unknown Source)
at com.servoy.j2db.dataui.DataRenderer.notifyVisible(Unknown Source)
at com.servoy.j2db.FormController.notifyVisible(Unknown Source)
at com.servoy.j2db.FormManager.a(Unknown Source)
at com.servoy.j2db.FormManager.char(Unknown Source)
at com.servoy.j2db.FormManager.if(Unknown Source)
at com.servoy.j2db.j.if(Unknown Source)
at com.servoy.j2db.FormManager$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.SecurityException: sealing violation: can’t seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
… 59 more
Sander,
This is a problem introduced in the java version you are using.
We have created a new jai_imageio.jar to work around the problem, it can be downloaded from
http://downloads.servoy.com/downloads/b … mageio.jar
Replace the file in plugins/images with the downloaded one.
Rob
Rob,
Does this plugin also affect the setImageURL() or not at all?
Martin
rgansevles:
Sander,This is a problem introduced in the java version you are using.
We have created a new jai_imageio.jar to work around the problem, it can be downloaded fromhttp://downloads.servoy.com/downloads/b … mageio.jar
Replace the file in plugins/images with the downloaded one.
Rob
Rob,
thanks. Only… your link downloads a zip file in wich i can’t find jai_imageio.jar…
what am i doing wrong?
Sander
martinh:
Does this plugin also affect the setImageURL() or not at all?
The only change to the jar is the sealing which seems to be an issue in that specific java version.
sander:
your link downloads a zip file in wich i can’t find jai_imageio.jar…what am i doing wrong?
The browser opened the jar for you (a jar file is a zipped format)
Just right-click in your browser and select ‘Save link as…’
Rob
The browser opened the jar for you (a jar file is a zipped format)
Just right-click in your browser and select ‘Save link as…’Rob
the browser renamed the file for me.
I renamed it back to .jar and replaced the existing file.
Sorry to say it didn’t work…
should i install an other Java version or reinstall Servoy? I used an installation that my collegae had downloaded.
Sander
i’ve removed Java 6 and installed Java 5.
now the problem is solved.
(later a colleage told me i should have emptied the Java cache)
thanks for the help
i’ve removed Java 6 and installed Java 5.
That was a good move. When I installed Servoy last week, the PC didn’t have JAVA, so I downloaded JAVA from internet and that was version 6 and that didn’t work.
With JAVA update 4 or update 5 is was working.
So I guess there are some troubles with JAVA 6
I am having same problem with the javax.imagio.spi.ImageReaderSpi - even after downloading the latest version as per the previous messages.
I am using Xp SP3 with Java 1.6_06
So is there another fix - I cannot downgrade to lower level Java since other java for servoy apps depend on some features in 1.6
Regards,
Tom
I did a check on the Java forum and found this reference - so it is a Java bug and a fix is supposedly forthcoming (the change to the jar by removing the Sealed attribute seems not to be working).
See:
http://forums.java.net/jive/thread.jspa?threadID=40550
Regards,
Tom