wjhk.jupload2.JUploadApplet not found

Help
2009-02-18
2012-09-21
  • Andreas Kansok

    Andreas Kansok - 2009-02-18

    Hello,
    on two computers I receive the message below.
    On one is installed Java 6 Update 11, on the other 6 upd 10; fresh and only installed, because these are new computers. On both WinXPSP3 and Firefox 3.0.6 is installed, no proxy set or needed, cache cleared.
    In InternetExplorer 6 it works.
    Same problem was with version 4.0 and now again with 4.1

    On other computers it works with both browsers.

    Any idea what to do?

    Complete error message from java console is:

    Loading: Klasse wjhk.jupload2.JUploadApplet not found
    java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://192.240.11.67/phfoto/mod_upload/wjhk/jupload2/JUploadApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
    Exception: java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet

     
    • Andreas Kansok

      Andreas Kansok - 2009-03-04
      • OS: Windows XP with SP3.
      • Firefox plugins: Nothing special, Adobe Acrobat + Flash, Microsoft WPF, DRM, MediaPlayer and - of course Java SE6.
      • Java version & conf (network part, applet java runtime, any advanced configuration point...),
        Build 1.6.0_Update 11 and on the other 1.6.0 update 12 (your picture mode demo works on both maschines) Save temporary files is disabled.
        All other settings are default values.

      • Any local firewall: The one comming with WinXP

      • Any special network or sub-network configuration: Nothing special. Perhaps network with 192.240.11.0
        But, if there is such a basic network problem, it wont work in IE6

      I can only check 'my computers'. Some days ago I received a message from another user. He uses your tool in a completely different enviroment. His webserver is online, not like my one in local network.

      While I collect all data, I found the solution:
      In Java-control panel under 'Advanced'
      - Java-Plugin-In
      |_ Java-Plugin-In der nächsten Generation aktivieren (erfordert Neustart des Browsers)
      In English something like 'Use next generation of plugin (needs restart of browser)'

      No idea what it means, but after I disabled this, it works again.

      --
      Thanks a lot for help,
      Andreas.

       
    • Etienne

      Etienne - 2009-02-18

      Hi,

      You're using the jar file alone, not within the Coppermine plugin that also exists, right ?

      What jar file are you using ? I think your applet tag doesn't use tje proper jar file:
      - On the wrong place
      - Or the wrong jar file. Are you using the wjhk.jupload.jar file, that is in the wwwroot folder of the distribution ?

      Etienne

       
    • Andreas Kansok

      Andreas Kansok - 2009-02-18

      Yes, I' using wjhk.jupload.jar from wwwroot without other plugins.

      In InternetExplorer it works on the same two computers. So the applet tag or path attributes cant be completely wrong ...

      --
      Thanks for fast answer,
      Andreas.

       
    • Etienne

      Etienne - 2009-02-18

      Hum, hum,

      I wrote my first comment too quickly. If it works with IE 6, it's not that simple.

      For me, it works on XP SP3, Firefox 3.0.6, Java 1.5 and 1.6 (last ones)

      Can you precise:
      1) Does it work with the same firefox, on another computers ?
      2) How exactly do you call the applet ?

      Etienne

       
    • Andreas Kansok

      Andreas Kansok - 2009-02-18

      Yes, it works on other Firefox's (version 2.x and 3.x) on other computers.

      I think there is a security setting or something (perhaps outside your famous tool).
      I disabled antivirus, but didn't help yet.

      Server, where it is hosted, is a Windows2003 with Apache2.2.

      Here comes the code I use.

      <APPLET
      CODE = "wjhk.jupload2.JUploadApplet"
      ARCHIVE = "lib/wjhk.jupload.jar"
      WIDTH = "640"
      HEIGHT = "400"
      MAYSCRIPT
      >
      <PARAM NAME = "postURL" VALUE = "http://192.240.11.67/phfoto/mod_upload/fotoupload_exec.php">
      <PARAM NAME = "uploadPolicy" VALUE = "PictureUploadPolicy">
      <PARAM NAME = "serverProtocol" VALUE = "HTTP/1.1"/>
      <PARAM NAME = "nbFilesPerRequest" VALUE = "1">
      <PARAM NAME = "lang" VALUE = "de">
      <PARAM NAME = "lookAndFeel" VALUE = "system">
      <PARAM NAME = "maxPicHeight" VALUE = "900">
      <PARAM NAME = "maxPicWidth" VALUE = "900">
      <PARAM NAME = "debugLevel" VALUE = "00">
      <PARAM NAME = "stringUploadSuccess" VALUE = "OK">
      <PARAM NAME = "urlToSendErrorTo" VALUE = "posthamster@localdomain">
      <PARAM NAME = "highQualityPreview" VALUE = "false">
      <PARAM NAME = "maxChunkSize" VALUE = "16777216">
      <PARAM NAME = "maxFileSize" VALUE = "16777216">
      <PARAM NAME = "showStatusBar" VALUE = "false">
      <PARAM NAME = "showLogWindow" VALUE = "false">
      <PARAM NAME = "fileChooserIconFromFileContent" VALUE = "-1">
      <PARAM NAME = "allowedFileExtensions" VALUE= "jpg/jpeg/gif/bmp/tiff/png">
      <PARAM NAME = "afterUploadURL" VALUE = "javascript:fuPreview.location.reload();">
      Java 1.4 or higher plugin required.
      </APPLET>

      --
      Thanks for help.
      Andreas.

       
    • Etienne

      Etienne - 2009-02-18

      I recently had troubles with Java applets. To solve them, I changed parameters in the java configuration panel: I unchecked the 'store temporary files' (or something like that), on the first page of the configuration panel.

      I had such an error in the console. The applet displayed, after some 10 or 20 seconds.

      Etienne

       
    • Andreas Kansok

      Andreas Kansok - 2009-02-18

      So I tried too. Cleared also all temporary data in browser and Java configuration.
      But didn't help :-(
      I received nothing then the exception also after 60sec; not at all the securitty/certificate warning message.

      Strange thing ...

      I'll try another network switch, perhaps there is the problem.
      Because it works under Win98 on the same computers with a 10MBit hub.

      Or one moment: WinXP and its Java are installed on D:\ Perhaps there is a conflict between the versions on C:\ (Win98, JRE1.5) and XP?

      In Java configuration only about D:\Programme... is to read.

      ...

      [Some minutes later] I added the C:\Java installation via configuration panel
      But: It works fine in IE and some exception in Firefox.

      Perhaps a bug in a special Firefox version?

      --
      Helpless greetings.
      Andreas.

       
    • Etienne

      Etienne - 2009-02-20

      I don't think it's related to a version of firefox, or even to firefox: AFAIR, it was the same with IE.

      Did you uncheck the check box: store temporary files?

      etienne

       
      • Andreas Kansok

        Andreas Kansok - 2009-03-03

        Yes, I unchecked.

        I received now some message from completely other installations of your tool and enviroment (PHP4-scripts). And they also don't work with Firefox3.06. Perhaps its an special build of it, which dont work.

        The other installations make use of an older version of jupload, another (sure not changed) enviroment.
        In IE it works, in Firefox not :-(

        Seems I'm the only one who has this problem.

        Suddenly problem appears, perhaps it dispears with next Firefox-Update.

         
    • Etienne

      Etienne - 2009-03-03

      Hum, hum,

      I guess we'll have to dig in boring details.

      Can you precise the configuration that doesn't work:
      - OS
      - Firefox plugins
      - Any local firewall
      - Java version & conf (network part, applet java runtime, any advanced configuration point...),
      - Any special network or sub-network configuration ?

      Can you also try with other applet, that could be find in the net (and on your local network) ?

      Etienne

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks