Hi Lukasz, There is a security exception.
You need to sign all client side jars and also specify the security tag in your jnlp file: <security> <all-permissions/> </security> Please try this and let me know if it worked. For guaranteed respose time on your requests please consider purchasing ULC Premium Support. Thanks and regards, Janak ----------------------------------------- Janak Mulani email: [email protected] url: http://www.canoo.com Beyond AJAX - Java Rich Internet Applications http://www.canoo.com/ulc ----------------------------------------- > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Lukasz Czerpak > Sent: Thursday, March 12, 2009 7:39 PM > To: [email protected] > Subject: Re: [ULC-developer] Synthetica LookAndFeel > > Janak Mulani pisze: > > Hi Lukasz, > > > > Which version of ULC are you using? > > Hi, > > 2008 update 2 > > > > > Did you generate the war using build.xml from ULC 08 Application > > Generator? What does your web.xml look like? Does it have > the servlet > > which sends the ULC Application Configuration to the client? See the > > attached web.xml for example. > > > > I had generated by ant's script a simple empty application. Next, I > added a synthetica-client.jar (renamed because of jar > download servlet) > and configured it in ULCApplicationConfiguration.xml: > > <ulc:lookAndFeel> > <ulc:lookAndFeelClassName> > de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel > </ulc:lookAndFeelClassName> > </ulc:lookAndFeel> > > After that Synthetica L&F works great in application launched by > generated eclipse launch file (development mode) and in tomcat as an > Applet. But launched as Java Web Start throws an exception (app works > right but has standard l&f): > > java.security.AccessControlException: access denied > (java.lang.RuntimePermission accessClassInPackage.sun.swing) > at > java.security.AccessControlContext.checkPermission(Unknown Source) > at > java.security.AccessController.checkPermission(Unknown Source) > at java.lang.SecurityManager.checkPermission(Unknown Source) > at java.lang.SecurityManager.checkPackageAccess(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(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) > at javax.swing.SwingUtilities.loadSystemClass(Unknown Source) > at javax.swing.UIManager.setLookAndFeel(Unknown Source) > at > com.ulcjava.base.client.launcher.LauncherUtilities.setLookAndF > eel(LauncherUtilities.java:25) > at > com.ulcjava.base.client.launcher.LauncherUtilities.setLookAndF > eel(LauncherUtilities.java:37) > at > com.ulcjava.environment.jnlp.client.DefaultJnlpLauncher.main(D > efaultJnlpLauncher.java:62) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at com.sun.javaws.Launcher.executeApplication(Unknown Source) > at com.sun.javaws.Launcher.executeMainClass(Unknown Source) > at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) > at com.sun.javaws.Launcher.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > > > You say that setting Substance LnF in ULC App Config file > and deploying > > the app in client server mode worked but using Synth in > place of Substance > > in ULC App Config file did not work. Is this right? > > > > Almost right ;) Synthetica L&F works in development mode and server as > applet, but not as Web Start. > > > regards, > > -- > Łukasz Czerpak | PGP: 0xCBEAA46D [subkeys.pgp.net] > Bankowość Elektroniczna > SoftNet Sp. z o.o. > http://www.softnet.pl/ > _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
