This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Using JNLP to load a Java Plugin FrameWork based Applications.    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Using JNLP to load a Java Plugin FrameWork based Applications.    " Watch "Using JNLP to load a Java Plugin FrameWork based Applications.    " New topic
Author

Using JNLP to load a Java Plugin FrameWork based Applications.

Madhur Shrma
Greenhorn

Joined: May 08, 2009
Posts: 11
I have a simple application which pull up with different number JPF plugins along with it. I could pull them up easily as normal desktop application but can't with webstart.

Is there a possibility please guide me.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Start by investigating the causes of the error. "Can't" isn't specific enough for anybody to do anything with. Find stack traces or describe other symptoms of the problem.
Madhur Shrma
Greenhorn

Joined: May 08, 2009
Posts: 11
I checked out the Boot class in jpf-boot.jar and found that it expects 'boot.properties' file in the application's root folder. I can specify the properties in JNLP file but i can't specify the property file path in it.

props = new ExtendedProperties(System.getProperties());
InputStream strm = new FileInputStream("boot.properties");
props.load(strm);
strm.close();


Below are the exception details.

Class: java.lang.IllegalArgumentException
Message: unknown plug-in ID - com.adobe.alf.plugin.locsource
Stack trace:
org.java.plugin.registry.xml.PluginRegistryImpl.getPluginDescriptor(Unknown Source)
org.java.plugin.standard.StandardPluginManager.getPlugin(Unknown Source)
org.java.plugin.boot.DefaultApplicationInitializer.initApplication(DefaultApplicationInitializer.java:235)
org.java.plugin.boot.Boot.initApplication(Boot.java:346)
org.java.plugin.boot.Boot.main(Boot.java:261)
com.adobe.alf.Framework.boot(Framework.java:69)
com.adobe.alf.client.ALF.main(ALF.java:221)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Madhur Shrma
Greenhorn

Joined: May 08, 2009
Posts: 11
Can somebody help me on my above mentioned problem?

thanks
 
wood burning stoves
 
subject: Using JNLP to load a Java Plugin FrameWork based Applications.
 
Similar Threads
WA #1.....word association
calling second jPanel
Access webapp files as resource files
Scrabble... it only takes a minute...
Deep Thoughts