Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By gimbal2

Thread: Java applet not loaded in page.Please help

  1. #1
    developerjava is offline Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    0

    Exclamation Java applet not loaded in page.Please help

    Please be informed that iam a php specialized developer. I know basic javascript coding. I'am now facing a problem where i need your help. I'am using qz java applet print plugin for printing from my application. I sourced the zip file from code.google.com/p/jzebra/ and deployed it in my server. When i open the page. The java applet is showing error.When i open java console,it is showing this error.

    Java Plug-in 10.55.2.14
    Using JRE version 1.7.0_55-b14 Java HotSpot(TM) Client VM
    User home directory = C:\Users\HP
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    What should i do now.Please help me !

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Java applet not loaded in page.Please help

    Moved to Applet section.
    The java applet is showing error
    What you have posted is the standard contents for the java console. There are no error messages shown in what you have posted.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    developerjava is offline Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    0

    Default Re: Java applet not loaded in page.Please help

    You can check this link out.qz.print demo. applet plugin is saying applet not loaded.Please do help
    Last edited by Norm; 06-20-2014 at 08:49 PM. Reason: Removed link

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Java applet not loaded in page.Please help

    Sorry, I don't go to other sites.

    Is the jar file where the html archive= points? I get this error in my download tool:
    getSaveFile: java.io.FileNotFoundException:
    http://**** removed ****/qz-print/qz-print.jar
    Last edited by Norm; 06-20-2014 at 08:49 PM. Reason: Removed link
    If you don't understand my response, don't ignore it, ask a question.

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Java applet not loaded in page.Please help

    Warning: I can download your CV with all your personal information in it from that URL. I would remove such sensitive files if you are going to be linking to it in public forum sites.

    Norm (or another moderator): please remove that link for the OP and from your quote just to be sure, if you would be so kind.
    Last edited by gimbal2; 06-20-2014 at 08:33 PM.
    Norm likes this.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  6. #6
    developerjava is offline Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    0

    Default Re: Java applet not loaded in page.Please help

    Sorry for that. Please check this error i found in java console

    cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@1cb01e3
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@2767c8
    security: Expected Main URL: http://localhost/appln_enterprise/du...t/qz-print.jar
    basic: Plugin2ClassLoader.addURL parent called for http://localhost/appln_enterprise/du...t/qz-print.jar
    network: Cache entry not found [url: http://localhost/appln_enterprise/du...t/qz-print.jar, version: null]
    network: Connecting http://localhost/appln_enterprise/du...t/qz-print.jar with proxy=DIRECT
    network: Connecting http://localhost:80/ with proxy=DIRECT
    network: Downloading resource: http://localhost/appln_enterprise/du...t/qz-print.jar
    Content-Length: 110,141
    Content-Encoding: null
    network: Wrote URL http://localhost/appln_enterprise/du...t/qz-print.jar to File C:\Users\HP\AppData\LocalLow\Sun\Java\Deployment\c ache\6.0\21\207454d5-3734a57a-temp
    security: Blacklist revocation check is enabled
    security: blacklist: created: NEED_LOAD, lastModified: 1403326548320
    security: blacklist: hasBeenModifiedSince 1403326548919 (we have 1403326548320)
    security: Trusted libraries list check is enabled
    network: CleanupThread used 752468 us
    security: blacklist: check contains ZdSgv0TeclWOZhHn36CDt+Am39WBLExSc5iWJ9wudOs=, state now NEED_LOAD
    security: blacklist: loadCache
    security: blacklist: not found in cache
    security: Trusted libraries list file not found
    cache: Create from verifier: JarSigningData{hasOnlySignedEntries=true, hasSingleCodeSource=true, hasMissingSignedEntries=false}
    network: CleanupThread used 14 us
    cache: Adding MemoryCache entry: http://localhost/appln_enterprise/du...t/qz-print.jar
    security: Trust for: http://localhost/appln_enterprise/du...t/qz-print.jar has ended: Thu Jan 01 05:30:00 IST 1970
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Loading Root CA certificates from C:\Program Files\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files\Java\jre7\lib\security\cacerts
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Loading blacklisted.certs file: C:\Users\HP\AppData\LocalLow\Sun\Java\Deployment\s ecurity\blacklisted.certs
    security: SHA-256Certificate finger print: AD70D500C32E3CE0E6AA2FAFF01ACD79C6EC0FADA58D120F1A B96892E726D90A
    security: The OCSP support is enabled
    security: The CRL support is enabled
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    network: Created version ID: 1.7.0.55
    network: Created version ID: 1.7.0.55
    network: Created version ID: 1.7.0.55
    network: Created version ID: 1.7.0.55
    basic: Dialog type is not candidate for embedding
    security: User has granted the privileges to the code for this session only
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    security: SHA-256Certificate finger print: AD70D500C32E3CE0E6AA2FAFF01ACD79C6EC0FADA58D120F1A B96892E726D90A
    security: Decision time stored for ai: Appinfo:
    type = 2
    title = QZ Print Plugin
    vendor = null
    from = http://localhost/appln_enterprise/du...t/qz-print.jar
    security = 0
    lapURL = http://localhost/appln_enterprise/du...-print//jzebra
    appArgs = ##docbase:http://localhost/appln_enterprise/dump/qz-print-free_1.8.0_src/qz-print/qz_sample.html##Parameters:{height=100, __applet_relaunched=false, java_arguments=, name=jzebra, width=100, archive=dist/qz-print.jar, code=jzebra.PrintApplet.class, baseurl=http://localhost/appln_enterprise/dump/qz-print-free_1.8.0_src/qz-print/qz_sample.html}
    network: Cache entry not found [url: http://localhost/appln_enterprise/du...ntApplet.class, version: null]
    network: Connecting http://localhost/appln_enterprise/du...ntApplet.class with proxy=DIRECT
    network: Connecting http://localhost:80/ with proxy=DIRECT
    network: Cache entry not found [url: http://localhost/appln_enterprise/du...et/class.class, version: null]
    network: Connecting http://localhost/appln_enterprise/du...et/class.class with proxy=DIRECT
    java.lang.ClassNotFoundException: jzebra.PrintApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: load: class jzebra.PrintApplet.class not found.
    java.lang.ClassNotFoundException: jzebra.PrintApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@2767c8
    security: Reset deny session certificate store
    basic: PluginMain.unregisterApplet: 3 from mananger sun.plugin2.applet.Applet2Manager@11c5c5c
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@17fe0ec
    security: Expected Main URL: http://localhost/appln_enterprise/du...t/qz-print.jar
    basic: Plugin2ClassLoader.addURL parent called for http://localhost/appln_enterprise/du...t/qz-print.jar
    security: blacklist: hasBeenModifiedSince 1403328820932 (we have 1403326548320)
    network: Cache entry found [url: http://localhost/appln_enterprise/du...t/qz-print.jar, version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://localhost/appln_enterprise/du...t/qz-print.jar
    cache: Resource http://localhost/appln_enterprise/du...t/qz-print.jar has expired.
    network: Connecting http://localhost/appln_enterprise/du...t/qz-print.jar with proxy=DIRECT
    network: ResponseCode for http://localhost/appln_enterprise/du...t/qz-print.jar : 304
    network: Encoding for http://localhost/appln_enterprise/du...t/qz-print.jar : null
    network: Disconnect connection to http://localhost/appln_enterprise/du...t/qz-print.jar
    cache: Read manifest for http://localhost/appln_enterprise/du.../qz-print.jar: read=274 full=2505
    cache: Loading full manifest for http://localhost/appln_enterprise/du...rint.jarcache: Reading Signers from 896 http://localhost/appln_enterprise/du...t/qz-print.jar | C:\Users\HP\AppData\LocalLow\Sun\Java\Deployment\c ache\6.0\21\207454d5-3734a57a.idx
    cache: Done readSigners(http://localhost/appln_enterprise/du...t/qz-print.jar)
    security: Trust for: http://localhost/appln_enterprise/du...t/qz-print.jar has ended: Thu Jan 01 05:30:00 IST 1970
    security: Validate the certificate chain using CertPath API
    network: Cache entry not found [url: http://localhost/appln_enterprise/du...ntApplet.class, version: null]
    network: Connecting http://localhost/appln_enterprise/du...ntApplet.class with proxy=DIRECT
    network: Cache entry not found [url: http://localhost/appln_enterprise/du...et/class.class, version: null]
    network: Connecting http://localhost/appln_enterprise/du...et/class.class with proxy=DIRECT
    java.lang.ClassNotFoundException: jzebra.PrintApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: load: class jzebra.PrintApplet.class not found.
    java.lang.ClassNotFoundException: jzebra.PrintApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@17fe0ec
    security: Reset deny session certificate store

  7. #7
    developerjava is offline Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    0

    Default Re: Java applet not loaded in page.Please help

    This problem has been resolved and iam successfully able to print the page. But now i need help from you Mr.Norm. In qz print plugin, we have to select the printer each and every time page refreshes.But I would like to have a default printer name in qz printer.So that i can start the printing without selecting the printer.Another thing, how can i put parameters of print in black and white or color printing in qz print plugin.Currently there are three parameters in print page. SetOrientation (), SetPaperSize (), setAutoSize.But there is no color parameter

  8. #8
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Java applet not loaded in page.Please help

    The applet tag has param tags that can be used to set defaults etc.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Capturing audio stream from a loaded applet
    By crikey in forum Advanced Java
    Replies: 0
    Last Post: 03-29-2013, 11:59 PM
  2. Applet Loaded vs Started
    By willshire8 in forum Java Applets
    Replies: 2
    Last Post: 03-17-2012, 02:07 PM
  3. calling the servelet code when the page is loaded
    By shivakumari in forum Java Servlet
    Replies: 1
    Last Post: 04-01-2009, 11:39 AM
  4. Storing image loaded in applet in mysql database
    By mrvigneshmca in forum Java Applets
    Replies: 1
    Last Post: 03-20-2009, 04:17 PM
  5. Replies: 0
    Last Post: 02-15-2008, 08:41 AM

Posting Permissions

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