Why does applet send individual class requests?

I have a jnlp applet that takes too long to load. It's signed war file is about 16 Mb size. Server access log shows the jar files are loaded successfully, relatively quickly followed by a ton of http GET requests for individual class files. These resource requests are not successful and returns with http response 404 - like the following:
"GET /examples/lib/org/apache/log4j/Logger.class HTTP/1.1" 404 1069
Weird thing is, the applet runs fine. above 'missing' resources are referenced and used just fine and there are no 'ClassNotFound' exception anywhere.
Is this a class loader issue where the browser loader first looks for the class file on server before peering into the jars it has already loaded? or any other thing I am possibly overlooking?
browser VM: jdk1.6.0_10; server vm: jdk1.6.0_03.
Appreciate your help.
Parag
Edited by: pgokhale on Apr 14, 2008 2:20 AM

I have a jnlp applet that takes too long to load. It's signed war file is about 16 Mb size. Server access log shows the jar files are loaded successfully, relatively quickly followed by a ton of http GET requests for individual class files. These resource requests are not successful and returns with http response 404 - like the following:
"GET /examples/lib/org/apache/log4j/Logger.class HTTP/1.1" 404 1069
Weird thing is, the applet runs fine. above 'missing' resources are referenced and used just fine and there are no 'ClassNotFound' exception anywhere.
Is this a class loader issue where the browser loader first looks for the class file on server before peering into the jars it has already loaded? or any other thing I am possibly overlooking?
browser VM: jdk1.6.0_10; server vm: jdk1.6.0_03.
Appreciate your help.
Parag
Edited by: pgokhale on Apr 14, 2008 2:20 AM

Similar Messages

  • Why is U51 blocking individual class files not in jars but U45 accepted them?

    Let me answer the "why do you need individual class files?" question first. We have a rather large applet based application with a current client-side minimum jar download size of 1.8 MB. If we put ALL of our class files into jars, that size will probably double. Most users only use a small portion of the class files for their particular tasks. Which of the class files they use depends upon the tasks they perform. Having ALL users download ALL the classes, albeit compressed in jars, is extremely time consuming and a major problem after application updates due to the large number of users and the network load it would cause.
    Jar file manifest:
    Permissions: all-permissions
    Codebase: *
    Application-Name: MyApplication
    Application-Library-Allowable-Codebase: *
    Caller-Allowable-Codebase: *
    Trusted-Library: true
    We have 11 directories with one containing the applet and main client application code. The other 10 directories contain class files relating to the various sub-applications in the system. The system has a third-party runtime jar file, too.
    We have a private network and servers for our business so the exposure is small. This is a screen-scraping, reformattring application that does no real data processing so doesn't need the same security as a true data processing application. Since we are not open to the Internet and of limited security risk, we chose to keep a more simplified structure.
    This all worked under 1.7.0_45. I read the security guide and it was my understanding that these attributes in the manifest would also work for U51. Apparently not. Looking at the guides, now, it appears they have been changed sometime last year regarding mixed-code to mean jars with certificates and jars without certificates. The support for individual class files appears to have been removed. If this is true, then there should have been a beta of the U51 code because the rules seem to have been changed since the last release or there is a new bug.

    This is exactly my same problem. My app (and applet) is about 5 MB if I consider all the classes and libraries used by the app. (I mean 5MB is the size of the jar file). I can't ask customers to download 5 MB every time they want to access the program.
    We need java ask code signing for the principal applet but then we must have the possibility to run single class files as needed.
    Help us all please.
    Thanks Paolo

  • Why does itunes send me an error message that says to verify my network setting when I try to download updates?

    Why does Itunes send me an error message that says to verify network settings when I try to download updates?

    Disable ALL security software (firewall, antivirus/spyware, etc) when updating.

  • Why does Mail send two copies of my emails?

    Why does Mail send two copies of my emails?
    Thank you.

    I'm experiencing this issue also. Just one user where I work, Mail in 10.9.3 and Office 365. In-house users only receiving duplicate messages, i.e. the same message twice. Any idea why or how to fix this?

  • I need help why does i send to this friend there is a redbox + x

    i need help why does i send to this friend there is a redbox + x , but i send to other friend there is no problem. for anorid samung s3 phone

    Are you sure you have the right pin for your other friend? Try deleting the contact and re-adding them. Also, BBM has to be approved in the countries of both parties.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Why does Adobe send me an email every month saying my account will automatically expire then bill me anyway using expired credit card information?

    Why does Adobe send me an email every month saying my account will automatically expire then bill me anyway using expired credit card information?

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Why does Mozilla send two e-mail every time I send an e-mail?

    Every time I send an e-mail, I see two of the same e-mail in my sent box. Why?
    Also why does Mozilla delete my e-mails off the main server automatically? I like to do it manually.

    Is it really sending it twice or are you just seeing it two times in the sent folder? Some providers like gmail place a copy in your sent folder already so you need to go into Thunderbird settings and tell it not to do it again. Then you will only see if it once in the folder.

  • Why does ADF generate referenced classes (FK) as Accessor not as Attribute?

    Question is simple when ADF generates Entity classes, it does not generate referenced object as Accessor, not as Attribute and this causes problems on SelectOneChoice.
    Is it normal?
    Child Class : { id, name, parentObject } (ID and Name is generated as Attribute, parentObject is generated as Accessor)
    Parent Class : {id, name}
    When I create ADF Form for Child class, it only creates form for ID and NAME attributes, and ignores parentObject attribute. When I add selectOneChoice manually for selecting parentObject of child class, it does not update Child Class with mergeChild() action. Simply ignores?

    There have been requests on this and currently this is not supported. (check this thread http://forums.adobe.com/message/2267567#2267567)
    you can vote for the bugs for this to be supported in a later build / release.
    https://bugs.adobe.com/jira/browse/FB-23156
    https://bugs.adobe.com/jira/browse/LCDS-971 
    Thanks
    -Sunil

  • Why does HTTP sends a LVWSAuthSvc Get?

    I am exploring the possibilities of the new HTTP protocol implementation in LabVIEW 2010.
    Doing some debugging with Microsoft network monitor that with every HTTP Init a HTTP Get is sent with the following content:
    GET /LVWSAuthSvc/GetAggregateUserPermissions?username= HTTP/1.1..Host: api.imgur.com..Accept: */*....
    This is quite strange to me, or am I missing something?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

    Hello,
    If I understand correctly  uit what that message means and wrote it below.
    Initial Request Line
    The initial line is different for the request than for the response. A
    request line has three parts, separated by spaces: a method name, the
    local path of the requested resource, and the version of HTTP being used. A
    typical request line is:
    GET /path/to/file/index.html HTTP/1.0
    Notes:
    GET is the most common HTTP method; it says "give me this resource".
    Other methods include POST and HEAD-- more on those later. Method names are always uppercase.
    The path is the part of the URL after the host name, also called the
    request URI(a URI is like a URL, but more general).
    The HTTP version always takes the form "HTTP/x.x", uppercase.
     I think that the links below would be useful too.
    http://forums.ni.com/t5/LabVIEW/How-do-I-send-an-HTTP-request-to-a-web-server-using-the-TCP/m-p/2286...
    http://www.jmarshall.com/easy/http/
    http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
    Regards

  • Why does iCloud send emails from my other accounts?

    I send emails from my gmail or sbcglobal account and then can't find them. in some cases the recipient does not get them.
    in other cases the person swears they responded but i did not get the email.
    yesterday I hit the "iCloud" email by mistake and discovered that iCloud is sending them from a .me address!
    how do I disable this???
    and, why does this happen in the first place?
    thanks.

    hi! thanks for your reply, pvonk, but I am not sending from the .me address, I am selecting the gmail or sbcglobal address from my options - but .me is sending it instead! it is defaulting to the .me address regardless of what i pick. I find this disturbing. is it something Apple is doing? thanks for any insight.

  • How does Flash send outgoing HTTP request to server?

    Hello everyone,
    I would like to know how Flash sends outgoing HTTP requests.
    I would like to know when from the inside of a Flash SWF file
    request for another SWF or FLV file is made; how the Flash sends
    this request to server.
    Thank you very much and have a great day,
    Khoramdin

    Hello everyone,
    I would like to know how Flash sends outgoing HTTP requests.
    I would like to know when from the inside of a Flash SWF file
    request for another SWF or FLV file is made; how the Flash sends
    this request to server.
    Thank you very much and have a great day,
    Khoramdin

  • Why does File send link not work? Even right clicking on my mouse doesn't work. Is there a fix for this?

    Why can I no longer send links to websites? Clicking File>Send Link doesn't work nor does right clicking on the mouse. Both worked prior to Firefox 6. I also can't send emails to websites that don't spell out their address but instead say "to send an email click here". Everything works fine in Chrome and Safari but not in Firefox.

    OK well after first reverting to an older version of firefox to get my right click menu options back I have since discovered one way that works but at a cost.
    By using the addon menu-editor it is possible to move the EMAIL LINK button from the file menu to the (Main Context Menu) ie the "right click menu" BUT you will loose the file menu button as there is no way to clone the button and only move a copy. Bunch of clowns that decided to do this I really don't know what they were thinking. Very VERY stupid move.
    Here is a link to the only option that works https://addons.mozilla.org/en-US/firefox/addon/menu-editor/
    Can you fellows/chaps <!--buggers--> at least provide a clone and move option in the menu-editor?

  • Why does Flash generate invalid class names for library items?

    I imported a bunch of bitmaps (PNGs).  The library symbol names all included the full file name and its extension.  When I check "export for actionscript" it generates a class name based on the symbol name, and it includes the ".png", even though that's invalid in a class name.
    When I select multiple bitmaps and choose properties and export for actionscript, it has a note saying that classnames will be automatically generated for all items, but it does the same thing... including the ".png" in all the class names.  Is this a problem?  Wouldn't it save time if Flash would automatically strip the file extension from the instance name of bitmap library symbols when generating class names?

    Thank you Nipun.  That is exactly the behavior I would expect, and I can confirm that in the trial of Flash CC it generates valid class names by removing the file extension.  For example, a file named "3ball.test.png" will receive an auto-generated class name of "_3ball_test", so it really does ensure the class name is valid (meeting AS3 class name syntax)
    kglad, what I'm saying is that an image file name like "ball.png" is not a valid "class name", because it contains a period, which is reserved as a package delimiter.  I know the runtime can handle it as a valid "fully-qualified class name", but it's misleading because it's actually creating a class named "png" in package "ball", BUT it's understood that the auto-generated name is not supposed to be specifying any package, hence the misleading specification.  The class would have to be instantiated like this: "import ball.png; var bd:BitmapData = new png();" or "import ball.*; var bd:BitmapData = new png();"  You would also then have to import every single class individually and always use their fully qualified names, because you'd technically have a bunch of classes all named "png" inside a hundred different packages.  It's just not acceptable.
    The other problem that occurred in CS6 is if you loaded a bunch of files whose names started with numbers, then when you select them all, choose properties, and use the batch properties window to export them for actionscript, I noticed that such images would be auto-assigned generic names like "Class4" as it would realize the default auto-generated class name would be invalid.  This problem has been fixed beautifully in Flash CC.
    Nipun, it would actually be very helpful to have a little more control over the class naming conventions.  For example, if I wanted all my BitmapData classes to exist in an "images" folder or package, it would be helpful if in the batch properties window I could specify a package name for all the auto-generated class names.  When importing hundreds of images, it's very tedius to have to edit them individually and I don't always have time to write a JSFL script.  There's room in that window to add a text field for a package name.  Thanks!

  • Why does the Send button disappear on iCal invites?

    Just to premise this post with the fact that this is from our networked work server, all running Macs on 10.6.7 and using iCal 4.0.4. I'm writing this on behalf of a colleague.
    When she goes to send invites to events like Board/Committee meetings in iCal, the "Send" button often disappears. The title is there, there's a day/time and location, and the contacts are pulled from her Mail/Address Book contacts. Sometimes the send button stays as it should, and other times it disappears after a few seconds, with no way to bring it back up. So sometimes she tries to add a group of contacts and immediately hit Send before it disappears - but this often leads to typos or mistakes due to her rush.
    Although I've used a Mac as my primary computer for years, I've never really used iCal much, so I didn't know how to help directly.
    Any reasons why the Send button would not be showing? I was thinking perhaps it was an issue with the contacts, but they come directly from her daily Mail/Address Book. I saw her go through the steps - it doesn't appear she's missing anything. Any help would be great.

    perhaps you could post a screen capture of that?
    Does it work if you hold shift while you start Thunderbird?

  • Why does it send as an imessage when my friend doesnt have an iphone anymore?

    Hello,
    So my friend used to have an iphone but then he switched to a non iphone but still uses the same number, whenever i try to send him a message it still sends as an imessage and he neevr gets it unless i keep on holding the message then send it as a text message. otherwise he will never get the message? he told me that they deactivated the number on his iphone and transferred it to his new phone. so idk why it still does that?

    Because your friend did not deactivate iMessage before getting rid of the iPhone. Your friend now has to call Apple and ask them to deactivate iMessage for the account.

Maybe you are looking for

  • Recordsets per Message not working

    I found that Recordsets per Message will split the source message into multiple messages and process them separately.  This will save my alot of time and is exactly what I need - but it does not work. I have in my sender file adapter the following pa

  • Robohelp 10 - Table of Contents TOC Column Width

    In Robohelp 10, Webhelp output, how do I change the width of the table of contents toc left navigation column? I want the column to be wider so the first toc entry isn't covered by the divider. Thanks.

  • Content copier stops and freezes

    Hi everybody! I'm having problems while restoring a backup with Content Copier from PcSuite 6.83 to my 6280 phone. It seems to stop at 23% and doesn't go on anymore. Can anyone help me?

  • Problems with EL expressions

    Hi all, Actually i have a problem. I am working with Tomcat 5.0.XX and when i create a new web app inside webapp directory and define any jsp with EL expressions, these ones don�t evaluate to theirs values. For instance, this is the code of one.jsp:

  • Is Encore included in he Adobe Premiere Pro CC full package?

    Hi...I have downloaded a trial version of Adobe Premiere Pro CC and considering getting the full package of all apps. I don't have previous versions of Premiere Pro My main concern is regarding Adobe Encore. If I purchase the full Adobe CC package in