ac-rmenezes / red5-screenshare

Automatically exported from code.google.com/p/red5-screenshare
0 stars 0 forks source link

JNLP file is referencing a server which errors #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download JNLP file and the JAR file.
2. Edit the JNLP file to point to your server
3. Deploy the two files
4. Load the JNLP from your browser.

What is the expected output? What do you see instead?
I expect it to point to the server I placed in the JNLP file.  However, I
get the following error:

com.sun.deploy.net.FailedDownloadException: Unable to load resource:
http://btg199251:8080/screen/screenshare.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
    at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568
)
    at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496
)
    at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
    at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447)
    at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
    at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
    at com.sun.javaws.Launcher.launch(Launcher.java:104)
    at com.sun.javaws.Main.launchApp(Main.java:405)
    at com.sun.javaws.Main.continueInSecureThread(Main.java:252)
    at com.sun.javaws.Main$1.run(Main.java:111)
    at java.lang.Thread.run(Thread.java:637)

What version of the product are you using? On what operating system?
initial

Original issue reported on code.google.com by daccatt...@gmail.com on 19 Oct 2009 at 9:07

GoogleCodeExporter commented 9 years ago
edit line 2 of jnlp file

<jnlp spec='1.0+' codebase='http://btg199251:8080/screen' 
href='screenshare.jnlp'> 

Original comment by olajide....@gmail.com on 20 Oct 2009 at 11:31

GoogleCodeExporter commented 9 years ago
Hello, this project is very interesting, is exactly what I need at this moment 
I am developing a presentation 
application online, use RED5 service for streaming video.

I followed the steps for using this development, I edit the file jnpl, 
providing data on the server, but to 
run it I get an error (attached image of the situation).

Confess I do not know much about Java, I am making the application at this time 
with php, the solution given 
by the software "SplitMedia" I feel very good, the big drawback is not free.

Therefore I find it very interesting project and would appreciate your help.

Red5 is installed locally, which conducted the tests, the following is the code 
that I edit the file jnlp.

I changed the parameter in line 2 the jnlp file to an address for my local 
server for testing

<?xml version='1.0' encoding='utf-8'?>
<jnlp spec='1.0+' codebase='http://localhost/prueba_escritorio/veamos' 
href='screenshare.jnlp'> 
    <information> 
        <title>Red5 ScreenShare</title> 
        <vendor>Dele Olajide</vendor> 
        <homepage>http://code.google.com/p/red5screnshare/</homepage>
        <description>Red5 ScreenShare</description> 
        <description kind='short'>An Open Source Screen Share Java application for Adobe Flash using 
Red5</description> 
        <offline-allowed/> 
    </information>
    <security>
        <all-permissions/>
    </security> 
    <resources> 
    <j2se version='1.4+'/> 
        <jar href='screenshare.jar'/> 
    </resources> 
    <application-desc main-class='org.redfire.screen.ScreenShare'>
        <argument>localhost</argument> 
        <argument>oflaDemo</argument> 
        <argument>1935</argument> 
        <argument>screen_share</argument>       
    </application-desc> 
</jnlp> 

Thank you very much for your valuable help and congratulations on this project.

Jorge Rubiano

Original comment by ostric...@gmail.com on 21 Dec 2009 at 7:38

Attachments: