|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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:
<web-app id='/'> <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'/> ...... ...... </web-app> What can be the problem? Config file attached! Thanks! ![]() |
|
#2
|
|||
|
|||
|
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) |
|
#3
|
|||
|
|||
|
Hi,
I also use Resin, but have no idea how to setup an emulator. You are obviously much further in this area. Can you give me some pointers? http://galileo.spaceports.com/~ibidris/ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Resin config wrong? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|