aspose file tools
The moose likes Java Micro Edition and the fly likes Nokia simulator doesn't work: bad gateway Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Nokia simulator doesn Watch "Nokia simulator doesn New topic
Author

Nokia simulator doesn't work: bad gateway

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 758
I have downloaded the simulator browser and server gateway. I install both. All settings are default . Then I try "http://wap.google.com" , it will say "502 bad gateway".

Sound like that the response header is not acceptable.

Thanks.

-----------------------------------------------

in gateway server console, I can see:
127.0.0.1 -> http://wap.google.com
127.0.0.1 <- http://wap.google.com, [502], 218ms

I found one error_responses file:
#------------------------------------------------
# Error responses created by the Nokia WAP Server
#------------------------------------------------

#-------------------------------------------
# ErrorResponseHeaders
#
# All error responses begin with the headers
#-------------------------------------------

ErrorResponseHeader1 = <?xml version=\"1.0\"?>
ErrorResponseHeader2 = <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">

#-------------------------------------------
# ErrorResponseTemplate
#
# WML deck template for error responses.
# {0} is replaced with the error text
# {1} is replaced with the WSP status code
# {2} is replaced with the HTTP status code
#-------------------------------------------

ErrorResponseTemplate = <wml><card title=\"Error\"><p><do type=\"prev\" name=\"back\"><prev/></do>{0}</p></card></wml>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Nokia simulator doesn't work: bad gateway
 
Similar Threads
Apache tomcat 503 error.
Getting from server to the phone
how to install a midlet
problem with OTA download Midlet
OTA download problem