×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    http error to connect to Activ server

    Hi

    I am trying to connect to HelloWorld servlet on Nokia Activ Server thru Nokia Mobile Internet Toolkit but http error 404(Not found) is coming. The servlet is loaded and mapped properly and when I am hitting the url as per mapping i.e. http://localhost/HelloWorld it is giving me the error.

    Is there any other configuration reqd for running Activ server as a http server? Http service is setup on server as "Http Client" and toolkit is set up to connect to server thru port 9021.

    What is the root directory of Nokia Activ server ? is it wap_root? I tried to test static wml pages on this folder but no luck.

    Can anyone help me please?

    Thanks & regards

    Supriya

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    51

    RE: http error to connect to Activ server

    Hi,
    instead of using hostname in URL (e.g. http://hostname/helloworld) try to use default mappings (because you are trying to access local wap pages). If you haven't changed default mappings, you can load with Toolkit
    http://yourdomain/
    http://yourdomain/helloworld/

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    RE: http error to connect to Activ server

    hi supriya
    follow these steps
    start activ server
    open server manager
    create server core component. Lets say for ip address you have given the ip of the machine(IP) and taken the default port 3000
    now go to the servlet mappings of the server component you've added
    change the helloworld mapping to http://IP:3000/helloworld/ (where IP is the ipaddress of the wap server machine)
    now start this server component.
    Next open your toolkit(it may lie anywhere on the network)
    Open Settings-device settings-Connection- and enter your gateway address(same as IP) select the port 9200. Let all other settings of your toolkit be default.
    Now simply access the helloworld servlet by typing in the url http://IP:3000/helloworld/
    It will work!! All the best

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •