File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes problem in running the application through java web start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "problem in running the application through java web start " Watch "problem in running the application through java web start " New topic
Author

problem in running the application through java web start

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
hai to all
we are trying to running the application of reload editor through java web start for this we make the jnlp file and signed the all jars
but there is problem that is only java application window open and icons and menu bars are not work properly so please tell the solution for this.
you tell that you check in log or java web start manager so please tell me where is log file situtated for this what we do for this problem.

this is the jnlp file which we made for this purpose-------------

?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<!-- codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor"
<icon href="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor/reload-editor.gif"/>-->
<jnlp
codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor"
href = "EditorFrame.jnlp" >
<!--jnlp
codebase = "http://172.28.44.20:8080/EditorFrame" href = "EditorFrame.jnlp" -->
<information>
<title>ReloadEditor</title>
<vendor>ReloadTools</vendor>
<homepage href="http://www.reload.ac.uk/editor.html"/>
<description>ReloadEditor</description>
<description kind="short">A demo of the capabilities
of the ReloadEditor Graphical User Interface.</description>
<icon href="./reload-editor.gif"/>
<offline-allowed/>
<security>
<all-permissions/>
</security>

</information>
<resources>
<j2se version="1.4+"/>

<!--<jar href="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor/reload-editor.jar" /> -->
<jar href="./reload-editor.jar" />
<jar href="./lax.jar" />
<jar href="./lib/jdom.jar" />
<jar href="./lib/reload-diva.jar" />
<jar href="./lib/reload-dweezil.jar" />
<jar href="./lib/reload-jdom.jar" />
<jar href="./lib/reload-moonunit.jar" />
<jar href="./lib/reload-support.jar" />
<jar href="./lib/xercesImpl.jar" />
<jar href="./lib/xml-apis.jar" />
<jar href="./lib/AppleJavaExtensions.jar"/>
</resources>
<application-desc main-class="uk.ac.reload.editor.EditorFrame"/>
</jnlp>
~
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
I guess that a way how you load graphical resources doesn't work under webstart. Give samples of your Java code where you getting icons.


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Bing Shiao
Greenhorn

Joined: Mar 16, 2005
Posts: 15
you need to pack all graphic resources, eg. *.gif into jar file, eg. reload-editor.jar.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in running the application through java web start