Since installing RC10 our local client is not able to remember the KunstoffLookandFeel. It gets stuck on Metal or Windows. Interestingly, the problem seems to be only for the client located on the same computer as the Servoy Server. We are running Windows XP.
can you send me youre servoy_client.properties file that will be stored in youre user directory and then the .servoy dir..
for example:
C:\Documents and Settings\jcompagner.servoy
is my dir..
in that file you have something like this:
demo.servoy.com8080_selectedlnf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
and that means that for the server demo.servoy.com under port 8080 that lnf will be used.
Here it is:
#servoy
#Mon Mar 29 20:28:34 EST 2004
217.71.124.718080SocketFactory.useTwoWaySocket=true
217.71.124.718080_lnf.theme=
217.71.124.718080_selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
66.105.190.2068080SocketFactory.useTwoWaySocket=true
66.105.190.2068080_lnf.theme=
66.105.190.2068080_selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
SocketFactory.useSSL=false
SocketFactory.useTestSSL=true
SocketFactory.useTwoWaySocket=true
com.servoy.j2db.LAFManager.LAF.0.className=javax.swing.plaf.metal.MetalLookAndFeel
com.servoy.j2db.LAFManager.LAF.0.name=Metal
com.servoy.j2db.LAFManager.LAF.1.className=com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.servoy.j2db.LAFManager.LAF.1.name=CDE/Motif
com.servoy.j2db.LAFManager.LAF.2.className=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.servoy.j2db.LAFManager.LAF.2.name=Windows
com.servoy.j2db.LAFManager.LAF.3.className=com.incors.plaf.kunststoff.KunststoffLookAndFeel
com.servoy.j2db.LAFManager.LAF.3.name=KunststoffLookAndFeel
com.servoy.j2db.LAFManager.LAF.4.className=com.l2fprod.gui.plaf.skin.SkinLookAndFeel
com.servoy.j2db.LAFManager.LAF.4.name=SkinLookAndFeel
com.servoy.j2db.LAFManager.LAF.5.className=com.l2fprod.gui.plaf.skin.LinuxLookAndFeel
com.servoy.j2db.LAFManager.LAF.5.name=LinuxLookAndFeel
com.servoy.j2db.LAFManager.LAFCount=6
com.servoy.j2db.LAFManager.Theme.0.className=com.incors.plaf.kunststoff.KunststoffTheme
com.servoy.j2db.LAFManager.Theme.0.name=KunststoffTheme
com.servoy.j2db.LAFManager.Theme.1.className=com.incors.plaf.kunststoff.themes.KunststoffPresentationTheme
com.servoy.j2db.LAFManager.Theme.1.name=KunststoffPresentationTheme
com.servoy.j2db.LAFManager.Theme.2.className=com.incors.plaf.kunststoff.themes.KunststoffDesktopTheme
com.servoy.j2db.LAFManager.Theme.2.name=KunststoffDesktopTheme
com.servoy.j2db.LAFManager.Theme.3.className=com.incors.plaf.kunststoff.themes.KunststoffNotebookTheme
com.servoy.j2db.LAFManager.Theme.3.name=KunststoffNotebookTheme
com.servoy.j2db.LAFManager.ThemeCount=4
com.servoy.j2db.plugins.PluginManager.Plugin.0.className=com.servoy.r2.plugins.agent.AgentPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.1.className=com.servoy.r2.plugins.dialog.DialogPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.2.className=com.servoy.r2.plugins.excelxport.ExcelXportPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.3.className=com.servoy.r2.plugins.file.FilePlugin
com.servoy.j2db.plugins.PluginManager.Plugin.4.className=com.servoy.r2.plugins.http.HttpPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.5.className=com.servoy.r2.plugins.mail.MailPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.6.className=com.servoy.r2.plugins.scheduler.SchedulerPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.7.className=com.servoy.r2.plugins.tabxport.TextXportPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.8.className=com.servoy.r2.plugins.tabxport.TextXportPlugin
com.servoy.j2db.plugins.PluginManager.PluginCount=8
demo.servoy.com5040SocketFactory.useTwoWaySocket=true
demo.servoy.com8080SocketFactory.useTwoWaySocket=true
demo.servoy.com8080_lnf.theme=
font=Tahoma,0,11
frame.state=0
lastSolution=Choices
lnf.theme=
locale.dateformat=dd-MM-yyyy
locale.default=en,US,
locale.numberformat=#.##
rect_Application_frame_bounds=10,10,684,540
rect_JDateChooser_bounds=249,143,302,280
rect_SelectSolutionDialog_bounds=206,154,287,219
rect_SortDialog_bounds=12,52,757,416
rect_application_prefs_bounds=56,182,592,243
rect_dialog0_bounds=197,125,310,310
rect_dialog1_bounds=197,125,310,310
rect_dialog2_bounds=24,35,640,480
rect_dialog3_bounds=24,35,640,480
selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
timezone.default=America/New_York
toolbar.edit=true
toolbar.text=false
usedRMIRegistryPort=1099
that looks just fine..
what for look and feel do you get when connecting to demo.servoy.com?
can’t you change on that system for any server?
what for look and feel do you get when connecting to demo.servoy.com?<
KunststoffLookAndFeel
Now when I open my solution as a client on the same computer as the server the KunststoffLookAndFeel has mysteriously become the default again. It seems to have healed itself!
can’t you change on that system for any server?<
I do not understand your second question.
so it is ok now?
i meant that you couldn’t get the clients of that specific machine to remember its lnf settings for every server you try..
It is okay now. Thank you.
I am having the same problem. I went to demo.servoy.com and it ran as Kunststoff. But when I closed it out and opened up my solution it runs as either windows, windows calssic, or metal. Also I can’t change the default font. It is greyed out.
Interresting testing done today. I loaded a client from my test server, demo.servoy.com and my live server. Both the test server and demo.servoy.com ran with Kunststoff look and feel. But the live server would not. Everytime I select Kunststoff.and hit OK, nothing happens. I then restart Servoy client and the setting goes away. It reverts back to Metal.
Here is the servoy_client.properties:
#servoy
#Fri Aug 04 16:59:55 PDT 2006
SocketFactory.useSSL=false
SocketFactory.useTestSSL=true
SocketFactory.useTwoWaySocket=true
com.servoy.j2db.LAFManager.LAF.0.className=javax.swing.plaf.metal.MetalLookAndFeel
com.servoy.j2db.LAFManager.LAF.0.name=Metal
com.servoy.j2db.LAFManager.LAF.1.className=com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.servoy.j2db.LAFManager.LAF.1.name=CDE/Motif
com.servoy.j2db.LAFManager.LAF.2.className=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.servoy.j2db.LAFManager.LAF.2.name=Windows
com.servoy.j2db.LAFManager.LAF.3.className=com.incors.plaf.kunststoff.KunststoffLookAndFeel
com.servoy.j2db.LAFManager.LAF.3.name=KunststoffLookAndFeel
com.servoy.j2db.LAFManager.LAF.4.className=com.l2fprod.gui.plaf.skin.SkinLookAndFeel
com.servoy.j2db.LAFManager.LAF.4.name=SkinLookAndFeel
com.servoy.j2db.LAFManager.LAF.5.className=com.l2fprod.gui.plaf.skin.LinuxLookAndFeel
com.servoy.j2db.LAFManager.LAF.5.name=LinuxLookAndFeel
com.servoy.j2db.LAFManager.LAFCount=6
com.servoy.j2db.LAFManager.Theme.0.className=com.incors.plaf.kunststoff.KunststoffTheme
com.servoy.j2db.LAFManager.Theme.0.name=KunststoffTheme
com.servoy.j2db.LAFManager.Theme.1.className=com.incors.plaf.kunststoff.themes.KunststoffPresentationTheme
com.servoy.j2db.LAFManager.Theme.1.name=KunststoffPresentationTheme
com.servoy.j2db.LAFManager.Theme.2.className=com.incors.plaf.kunststoff.themes.KunststoffDesktopTheme
com.servoy.j2db.LAFManager.Theme.2.name=KunststoffDesktopTheme
com.servoy.j2db.LAFManager.Theme.3.className=com.incors.plaf.kunststoff.themes.KunststoffNotebookTheme
com.servoy.j2db.LAFManager.Theme.3.name=KunststoffNotebookTheme
com.servoy.j2db.LAFManager.ThemeCount=4
com.servoy.j2db.plugins.PluginManager.Plugin.0.className=com.servoy.r2.plugins.kioskmode.KioskModePlugin
com.servoy.j2db.plugins.PluginManager.Plugin.1.className=com.servoy.r2.plugins.tabxport.TextXportPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.10.className=com.servoy.r2.plugins.mail.MailPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.11.className=com.servoy.r2.plugins.images.ImagePlugin
com.servoy.j2db.plugins.PluginManager.Plugin.12.className=com.servoy.r2.plugins.rawSQL.RawSQLPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.13.className=com.servoy.r2.plugins.scheduler.SchedulerPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.14.className=com.servoy.r2.plugins.agent.AgentPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.15.className=com.servoy.r2.plugins.excelxport.ExcelXportPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.16.className=com.drmaison.plugin.banking.Banking
com.servoy.j2db.plugins.PluginManager.Plugin.17.className=com.it2be.plugins.splash.i
com.servoy.j2db.plugins.PluginManager.Plugin.2.className=com.servoy.r2.plugins.popupmenu.PopupMenuPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.3.className=com.servoy.r2.plugins.spellcheck.SpellCheckerPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.4.className=com.servoy.r2.plugins.pdf_output.PDFPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.5.className=com.servoy.r2.plugins.file.FilePlugin
com.servoy.j2db.plugins.PluginManager.Plugin.6.className=com.servoy.r2.plugins.udp.UDPPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.7.className=com.servoy.r2.plugins.dialog.DialogPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.8.className=com.servoy.r2.plugins.amortization.AmortizationPlugin
com.servoy.j2db.plugins.PluginManager.Plugin.9.className=com.servoy.r2.plugins.http.HttpPlugin
com.servoy.j2db.plugins.PluginManager.PluginCount=16
demo.servoy.com8080SocketFactory.useTwoWaySocket=true
demo.servoy.com8080_lnf.theme=com.incors.plaf.kunststoff.KunststoffTheme
demo.servoy.com8080_selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
font=Arial,0,12
frame.state=0
lastSolution=svyCRM
lnf.theme=
locale.dateformat=dd-MM-yyyy
locale.default=en,US,
locale.numberformat=#.##
marzipan8080SocketFactory.useTwoWaySocket=true
marzipan8080_lnf.theme=com.incors.plaf.kunststoff.KunststoffTheme
marzipan8080_selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
pushLnfToMac=false
rect_Application_frame_bounds=112,84,808,634
rect_SelectSolutionDialog_bounds=372,291,287,219
rect_application_prefs_bounds=307,291,418,269
rect_dialog0_bounds=371,263,288,322
selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
serenity8080SocketFactory.useTwoWaySocket=true
serenity8080_lnf.theme=
serenity8080_selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
timezone.default=America/Los_Angeles
toolbar.edit=true
toolbar.edit.row=0
toolbar.edit.row.index=0
toolbar.text=true
toolbar.text.row=0
toolbar.text.row.index=1
useSystemPrintDialog=true
usedRMIRegistryPort=1099
window_state_Application_frame=0
I think I may have found the problem, but I’m still stuck to find a way to fix it. I launch the Java Aplication Cache Viewer and take a look at the Servoy Client Libs for my solution. Here is what it says:
Servoy Client LibsOthers
The lafs is pointing to skinlf. On all the other solutions, the laf portion points to kunststoff.jar.
Where does this file live so that I can modify it?
I was able to located the unsigned.jnlp file and add the following to the lafs line:
When I did that, it all came up just fine.
I assume that there is a place to fix this on the server. Does anyone know where this setting is located on the server? If I can change it there once and for all, then I won’t have to do it each time I set up a new user.
I’m not going to be very happy if I have to go thru all of this just to get the correct lafs to come up.
Has this happened to anyone else? I can’t imagine I’m the only one.
Does anyone know where the specs are pulled from on the server to create the .jnlp files?
I assume that is what needs changing to avoid setting up all of my clients to see the incorrect skin.
Any help would be greatly appreciated.
I still haven’t heard anything about this post. Servoy guys. You have never seen this happen before?