Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Registered User doronguy's Avatar
    Join Date
    Dec 2006
    Posts
    17
    when downloading app via wap, throw "file size too big" which is not true, and then when striping the code sign it works.

    i have Verisign Cert.

    any clue ?? should i use some other cert or properties ??


    Guy.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Why do you say that the file size is not too big?
    What is the size of your JAR file and what is the size of your JAD file?

    Are you using a lot of JAD attributes inside the JAD file (note that also the JAD file can be too long)?

    Hartti

  3. #3
    Registered User doronguy's Avatar
    Join Date
    Dec 2006
    Posts
    17
    Thanks for the replay Hartti,

    Well because it shows the file size on the screen before downloading
    and it less then the jar MAX size spec ... and i use only 3 custom attributes
    except the attributes of the code signing ...

    Guy.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    What is the size of the JAD file in question?

    Hartti

  5. #5
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi Guy,

    "when downloading app via wap, throw "file size too big" which is not true"
    Besides Hartti's question, are you able to download and install other apps? Are you sure you have enough free memory, maybe the AMS/JAM is getting starved, but I agree that it is strange to be happening in 3 different devices... I do not know what the problem can be...

    Best,
    Juarez Alvares Barbosa Junior - Brazil

  6. #6
    Registered User doronguy's Avatar
    Join Date
    Dec 2006
    Posts
    17
    the size of the jad file is 5k .... when im not signing the app it works fine.

  7. #7
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi Guy,

    May you provide your JAD content here for analysis?

    Br,
    Juarez Alvares Barbosa Junior - Brazil

  8. #8
    Registered User loubserj's Avatar
    Join Date
    Mar 2003
    Posts
    3
    I have found through experimentation on the Nokia 6230i that as soon as the .jad file is bigger than 5000 bytes, the application does not work anymore.

    For example, it is possible to download it via bluetooth, but when trying to launch it, it is shown in gray in the Collection folder and an 'Invalid application' error message is displayed when trying to launch it, also when downloading it via WAP the following error message is displayed: File too large

    So it seems sounds as if your problem is simply that the .jad file is just too big(I presume the same limit applies to the Nokia 6230 and 6021)

  9. #9
    Regular Contributor nicenouman's Avatar
    Join Date
    Aug 2006
    Location
    Rawalpindi, Pakistan
    Posts
    486
    loubserj i tested your theory and you are write. but i wonder what u want to place in ur jad file that its size goes till 5000 bytes. i am using my application on nokia 6230i and it only has a jad file of 200 bytes.
    Regards
    Nouman

  10. #10
    Registered User doronguy's Avatar
    Join Date
    Dec 2006
    Posts
    17
    MIDlet-1: Flapper,/FlapperPack/icon.png,FlapperPack.Flapper
    MIDlet-Certificate-1-1: MIIEsDCCA5igAwIBAgIQJGWh6RqgxqiAdV6S7dvtyjANBgkqhkiG9w0BAQUFADCBtDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykwNDEuMCwGA1UEAxMlVmVyaVNpZ24gQ2xhc3MgMyBDb2RlIFNpZ25pbmcgMjAwNCBDQTAeFw0wNzA0MDYwMDAwMDBaFw0wODA0MDYyMzU5NTlaMHQxCzAJBgNVBAYTAklMMQ4wDAYDVQQIEwVTb3V0aDEQMA4GA1UEChQHRGF0ZUFpcjExMC8GA1UECxMoRGlnaXRhbCBJRCBDbGFzcyAzIC0gSmF2YSBPYmplY3QgU2lnbmluZzEQMA4GA1UEAxQHRGF0ZUFpcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAzqKwUjKNfyk7eEUoaCkAz06MG6/Rhc82vJROka8s42DZKvJFNJjOa59idWDfzhO1I9ip+xlEnpiRXI45AUzjDq4BlAww7PeE2f6efMfI1aoLvXqDExmfHdrzWi/h/n200UNI4borS7TUU5jfRQO/LJizTPvx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dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k
    MIDlet-Icon: /FlapperPack/icon.png
    MIDlet-Jar-RSA-SHA1: s88yYI4pJeVnWdiD5LXoU4KdgOn9Gs7U7aF2zzAV3qO7UfN1d782abErqDRuAhkgKciRLlGAp716GHUnS352CvBb44Ym2sk1WWg3C9DdYj4ksxnSNGVw63DqT9zySYN+UOygQzQlxofEui6lzV9wdwKXRe0xQw6y0P5+1xMPz8Q=
    MIDlet-Jar-Size: 72443
    MIDlet-Jar-URL: Flapper.jar
    MIDlet-Name: Flapper
    MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client, javax.microedition.io.Connector.bluetooth.server, javax.microedition.io.Connector.http
    MIDlet-Vendor: Flapper.co.il
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    UserID: 49a8c5d1-9350-4d89-b221-0dc1beb846dc

  11. #11
    Registered User loubserj's Avatar
    Join Date
    Mar 2003
    Posts
    3
    As soon as a MIDlet is signed (especially when you have a certificate that is chained) it is quite easy to get quite near to the 5000 bytes barrier.
    Furthermore the MIDlet-Permissions: (or MIDlet-Permissions-Opt) also MUST be present when a MIDlet is signed, taking up further space.

  12. #12
    Regular Contributor nicenouman's Avatar
    Join Date
    Aug 2006
    Location
    Rawalpindi, Pakistan
    Posts
    486
    so the main size of the jad file increases due to sigining. hmmmm i was thinking about getting my application signed and it is being used on nokia 6230i, now i need to rethink.
    thanx for sharing the info.
    Regards
    Nouman

  13. #13
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,892
    doronguy, what happens after removing (only) the ‘MIDlet-Certificate-1-3’ line?

  14. #14
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Note also that the 5KB is mentioned in the JTWI specification as part of the standard size application and hence it is likely used as a maximum size for JAD on a number of phones.

    Hartti

  15. #15
    Registered User doronguy's Avatar
    Join Date
    Dec 2006
    Posts
    17
    Hi traud, well removing this line works !!!!!! can you give any explanation ?

    any way thanks a lot !!!!!!

Page 1 of 2 12 LastLast

Similar Threads

  1. MIDlet signing with Thawte cert for 6600
    By kersing in forum Mobile Java General
    Replies: 3
    Last Post: 2008-03-07, 05:41
  2. Sign Code with Code Signing Cert
    By marquix in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-01-09, 16:29
  3. Self signed cert for SSL
    By pikzel in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-10-19, 13:21
  4. Prob with Httpsconnection on Nokia communicator 9500
    By veena_venkatesh1 in forum General Development Questions
    Replies: 0
    Last Post: 2006-04-04, 07:37
  5. Root cert / code signing cert
    By lpinguin in forum Mobile Java General
    Replies: 1
    Last Post: 2005-12-14, 16:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved