F
Farrukh K. Muhammad via JavaKB.com
Hi,
I have been facing a problem, when installing/downloading the MIDlet-suite.
The descriptor attribute MIDlet-Install-Notify returns "906 invalid
descriptor" but the installation fails near the end of the progress bar (if
descriptor is invalide then the download should be cancelled).
the contents of JAD file are as follows
MIDlet-1: myMidlet, /icon.png, myMidlet
MIDlet-Icon: /icon.png
MIDlet-Jar-Size: 80159
MIDlet-Name: myMidlet
MIDlet-Vendor: Unknown
MIDlet-Jar-URL: http://url/NokiaSeries60/myMidlet.jar
MIDlet-Install-Notify: http://url:8380/installstatus?uId=5187423677150000
MIDlet-Version: 2.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0
ImageEnabled: 1
uId: 5187423677150000
Server-Request: http://url:8380
appId: 6
mModel: Nokia6600
Some of the unknown attributes are used by the midlet (e.g. "Server-
Request" = connecting to a remote server for downloading data, uId for
authentication etc) and are inserted into the JAD file at run time (by the
server) . The link to the application is sent to the user via WAP Push SI
message.
Now when the user opens the link in the message a request is made to the
server and the above file is generated. The installation begins as normal,
and starts asking installation specific choices (install myMIdlet? etc).
After allowing the midlet to be installed, the progress bar starts filling
up untill its almost finished, but near the end the mobile displays a
message "Unable to install. Invalid file!". On the other hand the Server
recieves "906 invalid descriptor" status report.
Now I assume that the problem is connected to the Manifest file inside the
MIDlet jar file. Coz when the server generates the attributes in the JAD
file, inconsistancy occurs between Manifest file and the Descriptor. The
resources found by googling state that it is not manditory except for
MIDlet-Name, MIDlet-Vendor, and MIDlet-Version attributes to be identical
which is the case.
I am deeply in need of help, please help me if any one knows what is the
reason this problem is occuring.
BTW the MIDlet-JAR-URL, and MIDlet-Install-Notify attributes are also set
by the server at run time.
please mail me at strategy[dot]vs[dot]logic[at]gmail[dot]com
thanking in anticipation
I have been facing a problem, when installing/downloading the MIDlet-suite.
The descriptor attribute MIDlet-Install-Notify returns "906 invalid
descriptor" but the installation fails near the end of the progress bar (if
descriptor is invalide then the download should be cancelled).
the contents of JAD file are as follows
MIDlet-1: myMidlet, /icon.png, myMidlet
MIDlet-Icon: /icon.png
MIDlet-Jar-Size: 80159
MIDlet-Name: myMidlet
MIDlet-Vendor: Unknown
MIDlet-Jar-URL: http://url/NokiaSeries60/myMidlet.jar
MIDlet-Install-Notify: http://url:8380/installstatus?uId=5187423677150000
MIDlet-Version: 2.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0
ImageEnabled: 1
uId: 5187423677150000
Server-Request: http://url:8380
appId: 6
mModel: Nokia6600
Some of the unknown attributes are used by the midlet (e.g. "Server-
Request" = connecting to a remote server for downloading data, uId for
authentication etc) and are inserted into the JAD file at run time (by the
server) . The link to the application is sent to the user via WAP Push SI
message.
Now when the user opens the link in the message a request is made to the
server and the above file is generated. The installation begins as normal,
and starts asking installation specific choices (install myMIdlet? etc).
After allowing the midlet to be installed, the progress bar starts filling
up untill its almost finished, but near the end the mobile displays a
message "Unable to install. Invalid file!". On the other hand the Server
recieves "906 invalid descriptor" status report.
Now I assume that the problem is connected to the Manifest file inside the
MIDlet jar file. Coz when the server generates the attributes in the JAD
file, inconsistancy occurs between Manifest file and the Descriptor. The
resources found by googling state that it is not manditory except for
MIDlet-Name, MIDlet-Vendor, and MIDlet-Version attributes to be identical
which is the case.
I am deeply in need of help, please help me if any one knows what is the
reason this problem is occuring.
BTW the MIDlet-JAR-URL, and MIDlet-Install-Notify attributes are also set
by the server at run time.
please mail me at strategy[dot]vs[dot]logic[at]gmail[dot]com
thanking in anticipation