August 2nd, 2003, 12:37 AM
Resin config wrong?
Can you guys help me to config the server (Resin 2.1.9). The Nokia 7210 emulator and N5100 SDK are able to download the jad file but not the jar file! "File format unknown" is the message I get with the N7210! I assume it's the server config that is not correct!? The URL in the jad file is correct! This is how it looks like in the config file:
<classpath id='WEB-INF/classes' source='WEB-INF/classes' compile='true'/>
<mime-mapping extension='.wml' mime-type='text/vnd.wap.wml'/>
<mime-mapping extension='.wml' mime-type='text/x-wap.wml'/>
<mime-mapping extension='.wbmp' mime-type='image/vnd.wap.wbmp'/>
<mime-mapping extension='.png' mime-type='image/vnd.wap.png'/>
<mime-mapping extension='.jad' mime-type='text/vnd.sun.j2me.app-descriptor'/>
<mime-mapping extension='.jar' mime-type='application/java'/>
<mime-mapping extension='.jar' mime-type='application/java-archive'/>
<mime-mapping extension='.jar' mime-type='application/x-java-archive'/>
What can be the problem?
Config file attached!
August 6th, 2003, 03:02 AM
i have the same problem, but i am able to download smaller files less than 20kb, testing it on an actual 7210 everything was ok. I guess there is a download limit on my gateway simulator or on the 7210 emulator itself...
if you want more details on the error message add a MIDlet-Install-Notify: attribute on the JAd file. And then point it to a script(im using php so its notify.php) and read the variable $HTTP_RAW_POST_DATA and you will see more details on the error. (like 900 Success)
August 6th, 2003, 12:17 PM