Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JNLP to load a Java Plugin FrameWork based Applications.

 
Madhur Shrma
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody help me on my above mentioned problem?

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic