Applet works on local Apache, not over the web

I have tried the following applet (where ShowMultiApplet() writes a standard applet tag - that works on local but again, not on the server):
index.html
<html>
<head>
  <title>Test Applet</title>
     <script src="js/app.js" type="text/javascript"></script>
</head>
<body>
  <center>
  <script type="text/javascript">ShowMultiApplet();</script>
  </center>
</body>
</html>On my local Apache2.2 with complete success. However, when I upload the same files onto a web server I get:
java.lang.NoClassDefFoundError at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
I have tried org.jdesktop.layout structure in an external jar (using archive="lib/swing-layout-1.0.jar") and, most recently, in the same jar as the applet. Nothing works! :(
What processes are different between the local apache and the web server and why does it only affect the layout classes, not my own? Is it a recurring problem with swing-layout?
Any help is good help! :)
Message was edited by:
javaMunkey

Exception in thread "Thread-3" java.lang.NoClassDefFoundError
     at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1257)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
     at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800)
     at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
     at java.awt.Container.layout(Unknown Source)
     at java.awt.Container.doLayout(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validate(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)
     at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
java.lang.NoClassDefFoundError
     at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1257)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
     at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
     at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800)
     at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
     at java.awt.Container.layout(Unknown Source)
     at java.awt.Container.doLayout(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validate(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.suspendPainting(Unknown Source)
     at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)

Similar Messages

  • Transmitting with JMStudio works on LAN but not over the web!

    I've been reading all kinds of posts related to this problem.. it was asked many times but noone has given the answer.
    The transmitter has to put the receivers ip and some port.
    The receiver has to open rtp session with the transmitter's ip and the same port.
    On a LAN it works, but over the internet it doesn't (the receiver keeps "waiting for data").
    The two computers I used for trying that, are on no LAN's.. they are assigned a unique ip by the isp (two simple broadband or dial-up connections with single computers).
    Why doesn't it work?
    (The ip's I used are (for example) the ones that appear in whatsmyipaddress.com and i'm behind no proxy)

    I've been reading all kinds of posts related to this problem.. it was asked many times but noone has given the answer.
    The transmitter has to put the receivers ip and some port.
    The receiver has to open rtp session with the transmitter's ip and the same port.
    On a LAN it works, but over the internet it doesn't (the receiver keeps "waiting for data").
    The two computers I used for trying that, are on no LAN's.. they are assigned a unique ip by the isp (two simple broadband or dial-up connections with single computers).
    Why doesn't it work?
    (The ip's I used are (for example) the ones that appear in whatsmyipaddress.com and i'm behind no proxy)

  • Applet working on local but not online

    my applet working on local machine fine
    but when i upload applet on my website
    and access by my machine only interface
    show and when i click the button of applet
    no result produce....
    thankx

    It is only possible if you missed something for code or codebase attribute of Applet tag, I mean values for these attributes are fine for your local machine but not with the server you are using.

  • Log4j works in local tomcat, not in the remote one.

    hi,
    actually i have this in log4j.properties:
    log4j.appender.R.File=${catalina.home}/log/logging.logand it works in local tomcat but it doesn't on remote one.
    I have to get it to work on a remote server. I doesn't know where catalina.home is set on the remote server and i don't have a shell to check it out.
    I can only see the WEB-INF dir under public_html directory.
    I tried already:
    log4j.appender.R.File=/public_html/logging.logbut no luck. No files created.
    Is there a way to point to WEB-INF dir, that is the only dir of tomcat i can see in the remote ftp?
    Something like ${WEB-INF} ?
    Thanks in advance.

    we ran into a similar problem at work yesterday with no logging appearing when adding a log4j config file to an application but logging appearing in the server config when it wasn't there.
    Answer: the app server (JBoss in this case) uses log4j itself and the 2 config files were in conflict so nothing was logged at all.
    Removing the application specific config cured the problem.
    You probably have something similar going on, with the remote server having its own log4j logging already in place and conflicting with yours.
    You might have to switch to another logging system or get in contact with the server admins and have them set things up so the server generates your logs where you can access them.

  • After updating to CP 8.0.1 content play locally, but not on the web

    After updating to CP 8.0.1 I have the problem - published HTML 5 content work locally on comupter ok, but when is uploaded to web (at the same place as older version of the same content), it plays preloader only - forever.... Hundred times I check when links are correct, remove and upload content, remove and create new folder, republish and again upload and nothing happens...
    Win 7 Pro, CP 8.0.1, Google Chrome v.37.0.2062.124 m and also tried v.38.0.2125.104 m
    IE also not play this content.
    Please any help.
    Yarik

    Hi,
    Can you please share the published content(Zip of all the published files also with the "Cptx" file) with us to investigate the issue. You can share with the mail to [email protected] or through dropbox.
    Thanks
    Devraj

  • I have a comment.  I am very upset with Photoshop and all your tutorials regarding the quick select tool.  I have watched many tutorials and read instructions until I am blue in the face.  This tool does not work.  It is all over the place and all of your

    I have a comment.  I am very upset with Photoshop and all your tutorials regarding the quick select tool.  I have watched many tutorials and read instructions until I am blue in the face.  This tool does not work.  It is all over the place and all of your tutorials make it look so simple.  How can you advertise this as a viable tool when it just doesn't work?

    It is all over the place and all of your tutorials make it look so simple.
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by.
    How can you advertise this as a viable tool when it just doesn't work?
    Concluding something does not work because you fail at using it is not necessarily always justified.
    The Quick Selection Tool certainly has limitations, but your post seems to be more about venting than trouble-shooting – otherwise you might have posted an image where you failed to get an expected result.

  • Slideshow works on local but not remote server?

    Slideshow works on local but not remote server? The site is patriceclarkson.com.

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • Applet works in appletviewer but not in IE - Applet notinited

    Hi, i have written a simple applet which uses swing components, ie swing labels and buttons. The buttons and labels also have icons with the text. The icons are in a folder called "icons" inside the same folder that the class is in. Everything works fine in the appletviewer, the icons are all displayed correctly, however when i try to open it through Internet Explorer i get this error in the java console window:
    Java(TM) Plug-in: Version 1.4.0
    Using JRE version 1.4.0 Java HotSpot(TM) Client VM
    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
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    java.security.AccessControlException: access denied (java.io.FilePermission icons/world.jpg read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
         at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
         at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:408)
         at sun.awt.SunToolkit.getImage(SunToolkit.java:422)
         at javax.swing.ImageIcon.<init>(ImageIcon.java:81)
         at javax.swing.ImageIcon.<init>(ImageIcon.java:107)
         at atm.init(atm.java:23)
         at sun.applet.AppletPanel.run(AppletPanel.java:341)
         at java.lang.Thread.run(Thread.java:536)
    Can anyone help me with this problem? I desperately need this applet working in the browser and not just the appletviewer.
    Many thanks in advance,
    Adrian

    Hi, i don't think it is a problem with the security settings, the problem definately lies in these lines
    inside the init method:
         Icon worldIcon = new ImageIcon(getDocumentBase(),"icons/world.jpg");
         JLabel myIconLbl = new JLabel("My Icon and Label", worldIcon, SwingConstants.CENTER);     
    add(myIconLbl);
    If i take the ' getDocumentBase() ' part out of the first line, the applet compiles and the worldIcon is correctly displayed in the appletviewer but not in Internet Explorer (the problem i orriginally sited).
    However by leaving the getDocumentBase() line in the code, the applet correctly compiles but does not show the icons at all in either appletviewer or IE!!
    Any suggestions?
    Adrian

  • Password works for login but not for the Adobe CC Desktop application

    Password works for login but not for the Adobe CC Desktop application

    Please refer to http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    ou can try deleting OPM.DB from steps below and try again.
    Mac OS: You can locate the OPM.db file in the \User\\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion. - http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-f iles.html
    Windows: You can locate the OPM.db file in the :\Users\\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7. -http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-ex tensions.html
    3) update to the latest version of the Creative Cloud app.
    Also we would like few more details:
    When has this issue started occurring, was this after installation of any specific adobe product.
    On which platform are you seeing this.
    Also we would like to know if after above steps this issue occurs ever again in future.
    You can refer to http://forums.adobe.com/thread/1239510
    Regards,
    Rajshree

  • Error:This page contains content of "application/x-java-applet" type. You do not have the plug-in required to view this content.

    Hi....i m using Mac OS x 10.5.8 with safari Version 5.0.2 (5533.18.5). I just updated the Java version to Java 6 and now m getting below error:
    This page contains content of “application/x-java-applet” type. You do not have the plug-in required to view this content.
    Please help me out on this....

    I am also having a problem with this. My website is hosted through "www.onlinepictureproof.com" and now that my laptop is back from repair with OS X 10.6.8 I am unable to upload my photos to my work website. It says "a plug-in is needed to display this content. Install plug-in" and then a window pops up that says "no suitable plug-ins were found".  Below that is "unknown plug-in (application/x-java-applet)" with a link to "manual install" which takes me to "http://www.oracle.com/technetwork/java/index-jsp-141438.html#download" which just leaves me lost. I've tried downloading the "JRE" but I have zero idea what that means or if Im downloading the proper thing. Once I click on the "download JRE" it brings me to a download page where there are WAY too many items for me to choose from to download, when I have no idea what I need or why I need it. please help, this is driving me insane. I actually preferred my constantly crashing laptop to the state its in now, "like brand new" back from apple repair...I have already updated everything that is promted through "Software Updates".
    "OnlinePictureProof.com" only directs me to apple support.
    Thank you for any help you can offer!
    Sheila

  • Applet security -- accessing files over the Web.

    I guess the topic pretty much sums up my question..
    I have an applet and I want to read a file from over the web.
    After creating a URL, I try to retrieve an inputstream by calling openStream() but I get all the java.security.AccessControlException: access denied rubbish..
    How do I get it working ?

    The applet can only read data from the server where it is saved. For security purposes applets have limited capabilities. They can't write data to a remote hard drive or read data from remote machines. A way around this is to create a "trusted applet". Basically what it does is informs any machine you are trying to access that you wrote this applet and are responsible for any negative outcome. There is a tutorial provided by Sun that can explain this better than I can. Here is the link:
    http://java.sun.com/security/signExample/index.html
    Good luck.

  • My home button is not working but apple will not honor the limited warranty

    My home button on my ipod touch is not working but Apple will not honor the limited warranty because the corner glass is craked.  I have been using it cracked for months.  What is my legal recourse.  I think it is unfair!!!!!!

    tracy252 wrote:
    My home button on my ipod touch is not working but Apple will not honor the limited warranty because the corner glass is craked.  I have been using it cracked for months.  What is my legal recourse.  I think it is unfair!!!!!!
    Hire a lawyer.

  • My iphone 4s is working but I can not see the screen.

    my iphone 4s is working but I can not see the screen. What is going on?

    Possibly backlight died, if you look at it closely in bright light can you see a "Shadow" of the screen image?
    First, back up your phone
    http://support.apple.com/kb/HT1766
    Then, restore the OS from scratch
    http://support.apple.com/kb/HT1414
    If that doesn't work, you'll need to have the phone serviced
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne

  • I have CD version of Adobe Photoshop Element 9. I have CD version of Adobe Photoshop Element 9. I have purchased the new Macbook which does not have DVD drive. Can I download this software over the web and install using the Serial Number I have. Thanks,

    I have CD version of Adobe Photoshop Element 9. I have CD version of Adobe Photoshop Element 9. I have purchased the new Macbook which does not have DVD drive. Can I download this software over the web and install using the Serial Number I have. Thanks,@

    yes,
    Downloads available:
    Suites and Programs:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT201335 I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    Welcome to the Apple community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

Maybe you are looking for