Friday, April 17, 2009

SAMSUNG 手机安装 MIDlet 出现“内容不匹配”

昨天通过 OTA 方式从 Apache 服务器上在一部 SAMSUNG SGH-L760 上安装 MIDlet,下载完 JAD 确认安装,开始下载 JAR 之前,手机报错说“内容不匹配 (Content mismatch)”。同样的 JAD 和 JAR 在另外一个主机上就能成功下载安装,而且这一组 JAD 和 JAR 在同服务器上另外一个 HTTP 服务应用上也能成功安装,一时觉得纳闷。

开始怀疑是端口问题,因为出现安装错误的 Apache 服务器是运行在 82 端口上的。但是同样是从这个 Apache 服务,另外一部 SonyEricsson K610i 就能正常下载安装,而且如果是端口问题,没道理 JAD 能下载而 JAR 不能。

然后开始怀疑是 JAR 文件的 Content-Type 问题,因为在确认安装的界面上,有显示应用类型是 application/vnd.sun.j2me.java-archive。打开 Apache 的配置文件 /etc/httpd/conf/httpd.conf,发现没有定义 .jad.jar 文件的语句,于是添加如下两行:
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.sun.j2me.java-archive .jar
然后重启 Apache 服务,问题解决。MIDlet 成功在 SAMSUNG SGH-L760 上安装了。

15 comments:

Coach Factory said...

ferragamo shoes, supra shoes, abercrombie and fitch, ray ban pas cher, wedding dresses, nfl jerseys, reebok outlet, hermes, juicy couture outlet, air max, lululemon, p90x, ghd, timberland, mulberry, lancel, hogan, new balance shoes, birkin bag, mont blanc, asics, nike air max, ugg boots, soccer jerseys, hollister, rolex watches, north face outlet, beats by dre, montre pas cher, nike free, louis vuitton, ugg boots, herve leger, chi flat iron, vans, ralph lauren, oakley pas cher, jimmy choo, insanity, converse shoes, louis vuitton, karen millen, celine handbags, bottega veneta, marc jacobs, soccer shoes, mcm handbags, yoga pants, burberry, valentino shoes

Coach Factory said...

oakley outlet, moncler outlet, oakley vault, rayban, ray-ban, canada goose outlet, oakley vault, oakley sunglasses cheap, cheap sunglasses, cheap oakley, ugg boots, ugg, ray ban, ralph lauren, oakley vault, ray ban outlet, raybans, ray ban, cheap sunglasses, ray ban sunglasses outlet, louboutin, oakley, cheap sunglasses, canada goose, canada goose, canada goose, cheap oakley sunglasses, cheap oakley sunglasses, ray bans, oakley sunglasses outlet, oakley sunglasses cheap, oakley sunglasses outlet, discount oakley sunglasses, ray ban, ray bans, rayban, cheap oakley sunglasses, tn pas cher, ray ban outlet, oakley outlet, oakley outlet, moncler, oakley sunglasses outlet, canada goose, gucci, moncler, moncler, canada goose outlet, oakley sunglasses cheap

Coach Factory said...

coach factory, oakley sunglasses, polo ralph lauren outlet, kate spade outlet, michael kors, ray ban sunglasses, michael kors outlet, louboutin, ray ban, longchamp, louis vuitton handbags, air jordan, louboutin, prada handbags, gucci outlet, oakley sunglasses, prada outlet, coach outlet store, nike shoes, louis vuitton, polo ralph lauren, air max, michael kors outlet, louboutin, michael kors outlet, toms shoes, tory burch outlet, burberry outlet online, tiffany and co, air max, jordan shoes, nike air max, coach outlet, true religion jeans, oakley sunglasses, ray ban sunglasses, burberry outlet online, nike free, michael kors, true religion outlet, louis vuitton outlet online, true religion, chanel handbags, polo ralph lauren outlet, coach purses, nike air max, nike free, ralph lauren, longchamp outlet

Anonymous said...

The gratіtude of every home in оur Island, іn our Empire,
and indeed throughout the world, except in the abodes of the
guilty, goes out to the British airmen wɦo, undaunted bу odds,
սnwearied in their constant challenge and mortal danger, are turning the tide of the world war by their prowess and by their devotion. Never in the fielԀ of human cοnflict
was so much owed by sօ many to so few.

Look at my webpage - scientology

Hua Cai said...

cheap nfl jerseys, http://www.cheapnfljerseys.org/
louis vuitton handbags, http://www.louisvuittonhandbag.us/
cheap mlb jerseys, http://www.cheapmlbjerseys.us.com/
nike free 5, http://www.nikefree5.us/
air jordan shoes, http://www.airjordanshoes.us.org/
tiffany outlet, http://www.tiffany-outlet.us.com/
cheap mlb jerseys, http://www.cheapmlbjerseys.net/
oakley, http://www.occhialioakleyoutlets.it/
tory burch outlet, http://www.toryburchoutletonline.in.net/
nba jerseys, http://www.nbajerseys.us.com/
chanel handbags, http://www.chanelhandbags-outlet.us.com/
asics, http://www.asicsisrael.com/
louis vuitton outlet, http://www.louisvuittonoutletstore.name/
hermes belt, http://www.hermesbelts.us/
michael kors factory outlet, http://www.michaelkorsfactoryoutlets.in.net/
chanel outlet, http://www.chaneloutletstore.us.com/
ray ban sunglasses, http://www.ray-bansunglassess.in.net/
basketball shoes, http://www.basketballshoes.us.com/
michael kors handbags, http://www.michaelkorshandbags.in.net/
nike roshe, http://www.nikerosherunshoes.co.uk/
ray ban sunglasses, http://www.raybansunglass.com.au/
air max 2014, http://www.airmax2014.net/
christian louboutin, http://www.scarpelouboutin.it/
north face jackets, http://www.thenorthfaces.in.net/
coach outlet store, http://www.coach-outlet-store.us.com/
2015929caihuali

oakleyses said...

oakley sunglasses, longchamp outlet, ugg boots, chanel handbags, nike air max, longchamp, christian louboutin outlet, michael kors outlet, oakley sunglasses, tiffany and co, replica watches, tory burch outlet, nike air max, ray ban sunglasses, michael kors outlet, louboutin shoes, jordan shoes, louis vuitton outlet, louis vuitton, ray ban sunglasses, longchamp outlet, polo ralph lauren outlet, replica watches, kate spade outlet, oakley sunglasses, polo ralph lauren outlet, cheap oakley sunglasses, ugg boots, nike free, tiffany jewelry, michael kors outlet, uggs on sale, louis vuitton outlet, michael kors, oakley sunglasses, louboutin, louis vuitton, michael kors outlet, ray ban sunglasses, prada handbags, louis vuitton, burberry, burberry outlet online, gucci outlet

oakleyses said...

nike blazer, michael kors, nike free run uk, nike air max, true religion jeans, true religion jeans, air jordan pas cher, nike air max, ralph lauren uk, timberland, air max, nike roshe, tn pas cher, louboutin pas cher, true religion outlet, vans pas cher, coach outlet, hermes, ralph lauren pas cher, nike free, coach purses, michael kors, oakley pas cher, mulberry, hollister pas cher, lacoste pas cher, new balance pas cher, ray ban pas cher, vanessa bruno, burberry, hollister, michael kors, kate spade handbags, coach outlet, abercrombie and fitch, lululemon, coach factory outlet, nike roshe run, north face, nike air max, ray ban uk, michael kors, true religion jeans, converse pas cher, north face, air force, hogan, sac longchamp, longchamp pas cher, sac guess

oakleyses said...

ferragamo shoes, iphone 6s plus cases, babyliss, longchamp, reebok shoes, nike trainers, asics running shoes, oakley, iphone 5s cases, celine handbags, hollister, nfl jerseys, jimmy choo shoes, birkin bag, iphone 6s cases, iphone cases, mcm handbags, bottega veneta, giuseppe zanotti, iphone 6 plus cases, abercrombie and fitch, p90x workout, beats by dre, herve leger, north face outlet, instyler, louboutin, soccer jerseys, lululemon, nike roshe, s5 cases, timberland boots, mac cosmetics, soccer shoes, valentino shoes, insanity workout, vans shoes, hollister, ralph lauren, wedding dresses, ipad cases, chi flat iron, north face outlet, iphone 6 cases, nike air max, ghd, mont blanc, baseball bats, new balance, nike huarache

oakleyses said...

ugg pas cher, vans, moncler, moncler, canada goose, louis vuitton, ugg boots uk, canada goose, toms shoes, doudoune canada goose, moncler, louis vuitton, louis vuitton, ugg australia, juicy couture outlet, moncler, supra shoes, doke gabbana outlet, gucci, karen millen, moncler outlet, hollister, moncler, hollister, canada goose, louis vuitton, ray ban, marc jacobs, pandora jewelry, michael kors outlet online, moncler, swarovski crystal, pandora jewelry, wedding dresses, thomas sabo, moncler, bottes ugg, sac louis vuitton pas cher, nike air max, barbour, barbour jackets, pandora charms, canada goose outlet, canada goose uk, michael kors outlet, converse outlet, links of london, canada goose outlet, pandora charms, canada goose

mmjiaxin said...

ferragamo shoes
michael kors outlet
rolex watches outlet
tory burch outlet online
michael kors handbags
coach outlet store
mac cosmetics
michael kors outlet online
wellensteyn outlet
michael kors outlet
canada goose outelt
air max 2014
ray ban,rayban,occhiali ray ban,ray-ban,ray ban occhiali,ray ban sunglasses
woolrich outlet store
fred perry polo shirts
michael kors outlet
tiffany outlet
canada goose jackets
oakley outlet store
mizuno running shoes
mm1205

chenlili said...

chenlili20160629
retro 11
timberland outlet
louis vuitton handbags
longchamp handbags
cheap jordans
nike huarache
nike roshe run
louis vuitton outlet
coach factory outlet online
christian louboutin shoes
fitflop sandals
coach factory outlet
louis vuitton purses
nike outlet
ralph lauren outlet
polo ralph lauren
burberry bags
coach factory outlet online
nfl jerseys wholesale
louis vuitton outlet online
celine bags
true religion sale
louis vuitton purses
ralph lauren polo
true religion outlet
kobe 9
tory burch boots
coach factory outlet
adidas superstar
adidas nmd
nike free run 2
louis vuitton outlet
nike outlet store
air jordan 8
adidas running shoes
michael kors outlet clearance
copy watches
tory burch outlet online
coach outlet store online clearances

Gege Dai said...

jianbin0701
michael kors outlet
mcm outlet
michael kors outlet online
hermes outlet
nike air max
reebok shoes
michael kors outlet
replica watches
rolex watches
fitflops sale clearance
coach outlet online
coach outlet online
ferragamo outlet
camisetas futbol baratas
nike uk store
mulberry bags
louis vuitton neverfull sale
oakley sunglasses
mulberry handbags sale
michael kors uk outlet
tory burch outlet
louis vuitton outlet online
michael kors outlet
cheap mlb jerseys
soccer jerseys wholesale
michael kors uk
coach handbags outlet
louboutin pas cher
adidas uk store
toms outlet
lacoste shirts
oakley sunglasses uk
tory burch outlet
chrome hearts outlet

Qinan Chen said...

valentino shoes on sale
fitflops
true religion outlet
pandora charms
pandora charms
nike air max
michael kors purses
rolex submariner
nike air force white
versace shoes
tiffany and co
ray bans
cheap ugg sale
oakley sunglasses
coach outlet
kate spade handbags
adidas superstar
hollister sale
polo ralph lauren uk
moncler outlet store
mizuno running shoes
discount oakley sunglasses
prada outlet
fitflop uk
polo ralph lauren
zhenwei20160721

Meiqing Xu said...

michael kors outlet clearance
yeezy boost 350
jordan uk
wireless beats headphones
coach factory outlet online
cheap nike shoes
nike outlet store
nike blazer low pas cher
longchamp bag
eltics jerseys
20170310huazhen

shengda xu said...

michael kors outlet
ralph lauren uk
true religion
louboutin
hermes birkin
michael kors handbags
oakley sunglasses
coach factory outlet
michael kors handbags
swarovski crystal
xushengda0609