The error message is explicit and seems to indicate that the problem
comes from the way your Web server has been configured.
[1] Start the Java panel in the Windows control panel and clear the
applet cache. Also clean the downloaded files cache in your Web browser.
[2] Make sure that your Web server has sufficient privileges to read the
contents of the applet deployment directory.
[3] Please open both index.html and xxe.jnlp using a text editor and
check whether the codebase and href attributes referenced there are
consistent with the way your web server has been configured.
Example:
index.html
---
<applet name="XXE" id="XXE" mayscript
code="com.xmlmind.xmleditapp.applet.Applet"
width="100%" height="600">
<param name="jnlp_href" value="xxe.jnlp">
...
---
xxe.jnlp
---
<jnlp codebase="http://127.0.0.1/xmleditor/_applet" href="xxe.jnlp">
...
---
If this is not the case, please try to specify the proper value for
command-line option -codebase. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/deploy_webstart_tool.html
If it still does not work, then I'm sorry but I cannot help you since
there is no way for us to reproduce the problem you describe.
On 08/20/2010 02:18 PM, KOMAR David (PSideo SA) wrote:
>
> I had already read those documentations but thought that the evaluation
> version could not be deployed as an applet
>
>
>
> I ran deploywebstart.bat and it completed successfully. I tried:
>
> - deploywebstart -applet editor1 -index
>
> - deploywebstart -jsapplet editor1 -index
>
>
>
> But when I try to access the web page (from localhost or another
> computer on the network), I get the following error:
>
> __________________________________________________________________________
>
> Java Plug-in 1.6.0_21
>
> Using JRE version 1.6.0_21-b07 Java HotSpot(TM) Client VM
>
> User home directory = C:\Users\adm-david.komar
>
>
>
> exception: JNLP file error: xxe.jnlp. Please make sure the file exists
> and check if "codebase" and "href" in the JNLP file are correct..
>
> java.io.FileNotFoundException: JNLP file error: xxe.jnlp. Please make
> sure the file exists and check if "codebase" and "href" in the JNLP file
> are correct.
>
> at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
>
> at
> sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
> Source)
>
> at java.lang.Thread.run(Unknown Source)
>
> Exception: java.io.FileNotFoundException: JNLP file error: xxe.jnlp.
> Please make sure the file exists and check if "codebase" and "href" in
> the JNLP file are correct.
>
> __________________________________________________________________________
>
>
>
> I'm running Windows 2008 R2 enterprise x64. Here is the content of what
> has been generated by the .bat file:
>
>
>
> Some other people are facing this problem but I found no solution in
> their posts
>
>
>
> Do you have an idea of what is going wrong?
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support