User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Java on remote server

  1. #1
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java on remote server

    Hi,

    I have made a stand-alone internet java applet and if the file is on my computer and I run the html it works, but if I put it on the remote server it doesen't work. Does enyone know what the problem could be?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Java on remote server

    It could be one of the following things:

    - Did you upload both the .html file and the .jar file?
    - Have you made sure that the path to the .jar file specified in the .html file is correct?
    - Is your server setup to be case-sensitive, which means there would be a difference when trying to reach "yourfile.jar" or "YOURFILE.jar"
    - Lastly, the loading time, when running your file on the server could be quite long, say if you file is above 5mb?

    If you have a link to you html file online, you could post it, and we could take a look?


  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    It could also be that your web host disallows .jar files. You can test this by attempting to download the .jar file itself instead of using the .html file.

  4. #4
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    - Did you upload both the .html file and the .jar file?
    - Have you made sure that the path to the .jar file specified in the .html file is correct?
    - Is your server setup to be case-sensitive, which means there would be a difference when trying to reach "yourfile.jar" or "YOURFILE.jar"
    - Lastly, the loading time, when running your file on the server could be quite long, say if you file is above 5mb?
    I bealive that all of this was done. The thing is, that I allready uploaded some other .jar files and that they ware working OK. I noticed that I had the same problem in an aplication where I used teh Cursor object. When I used the cursor object the application would display if uploaded from the computer, but not from the server, and when I removed the cursor object it would aslo normaly display from the server. In this case I am not using the coursor object, and the application is very simple although quite big (5,9 mb, but I have a fast conection and was waiting for a long time) so I don't know what the problem coud be.

    You can check it out on here.

  5. #5
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    It could be that the Cursor Object is not supported in Java, if that is the only application not working right.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    I agree, you are probably using an object which is not supported in Java.

    I would have expected it to tell you when you built it to Java...

  7. #7
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    hmmmm, but how com that this same application works when runed from the computer?If the object is not suportet than shouldn't it not work in both cases, from the computer and from the server?
    In this case I am using thee objects, an active object with the race movement, an active pisture and a backdrop, so does anyone know if these are not suported in java mode?

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java on remote server

    active picture could be the problem...

  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Java on remote server

    pnekdo, you are welcome to send me the mfa file I you want to.
    If there indeed is a bug present in one of the objects I would like to isolate it and send it off to Francois.

  10. #10
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Java on remote server

    Pneko, upon removing the be active picture object I seem to be able to get it to work.

    I have no idea why it would work for you locally though, it didn't for me untill I removed that object.

    Apparently that object is not completely javafied still as I see Sarah is also having issues with it:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=156802#Post1572 73

    Tell us if removal of the active picture will solve the problem for you too?

    Also, another issue could be that your cache is full. If you keep testing a java app in firefox the cache will become full and that game will eventually not load. You need to clear the cache or work around this problem by saving the app under a different name each time you test it in the browser eg. test1.jar, test 2.jar and so forth.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. HWA Bug with remote desktop
    By Blizna in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 8th December 2011, 09:15 AM
  2. REMOTE MySQL without PHP?
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 9th September 2008, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •