WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old August 1st, 2003, 11:37 PM
maps maps is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Gold Goast - Australia
Posts: 1 maps User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question 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:

<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!

Reply With Quote
  #2  
Old August 6th, 2003, 02:02 AM
edph edph is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: ksa
Posts: 11 edph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 25 sec
Reputation Power: 0
Send a message via Yahoo to edph
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)

Reply With Quote
  #3  
Old August 6th, 2003, 11:17 AM
ibidris2003 ibidris2003 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 249 ibidris2003 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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/

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Resin config wrong?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway