Requested protocol does not exist.

Hello,
I've compiled one the the connection demo's I've found (included below)
I'm running it through kvm instead of the phone emulator.
When running I get a:
javax.microedition.io.ConnectionNotFoundException: The requested protocol does not exist http://java.sun.com
I have tried connections with different protocols and get the same error.
Are no protocols implemented with the kvm that comes precompiled? If so, how do I get them to work?
Regards
Ken
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;
public class hello
public static void main(String args[])
          HttpConnection hc = null;
          InputStream is = null;
          try
               System.out.println("getting connection");
               hc = (HttpConnection)Connector.open("http://java.sun.com");
               System.out.println("opening input stream");
               is = hc.openInputStream();
               int ch;
               Check the Content-Length first
               long len = hc.getLength();
               if(len!=-1)
                    for(int i = 0;i<len;i++)
                         if((ch = is.read())!= -1)
                              System.out.print((char) ch);
               else
                    if the content-length is not available
                    while ((ch = is.read()) != -1)
                         System.out.print((char) ch);
               is.close();
               hc.close();
          catch(Throwable e)
               System.out.println("***PROBLEM***" + e);

CLDC by default does not support HTTP. That is a requirement of MIDP. However, there may be different CLDC runtimes available from where you got that one which may expose HTTP (but not the HttpConneciton class). When you're looking for the smallest example runtime, you just ship what's required. In the case of CLDC where various vendors are competing on size, you don't add anything optional. However, you usually have another drop available with some 'useful' features. One of them being http.

Similar Messages

  • Why is there the error "The requested protocol does not exist comm:0" ?

    Hi all,
    I want to read data from a USB serial port of the mobile phone ( Alcatel OT-806D ). The cable connects the phone and the computer. The system running in the PC is Windows XP. I launch a java j2se program which writes a number to the usb serial port. And in my midlet I run a j2me which will read on the usb port. The problem is that the output displayed in the item on my midlet is "The requested protocol does not exist comm:0". So why there is this error , and how to correct it ?
    Thank you very much

    only protocol required to be suppoted by a j2me mobile device is http://: some vendors to implement more protcols like socket:// but this depends on the vendor...

  • Content file download failed. Reason: HTTP status 404: The requested URL does not exist on the server.

    Hi,
    I am getting this error in most of our WSUS servers.
    Content file download failed.
    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
     After few minutes, getting below error as well. But i could see the synchronization has completed successfully.
    Log Name:      Application
    Source:        Windows Server Update Services
    Date:          12/19/2014 4:45:55 PM
    Event ID:      10032
    Task Category: 7
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ******
    Description:
    The server is failing to download some updates.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Server Update Services" />
        <EventID Qualifiers="0">10032</EventID>
        <Level>2</Level>
        <Task>7</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-12-19T08:45:55.000000000Z" />
        <EventRecordID>496887</EventRecordID>
        <Channel>Application</Channel>
        <Computer>*****</Computer>
         <Data>The server is failing to download some updates.</Data>
    This error is happening everyday. Please advise for a fix.

    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
    Source:        Windows Server Update Services
    Description:
    The server is failing to download some updates.
    This error is happening everyday. Please advise for a fix.
    If this is happening on an UPSTREAM server it is because you have approved updates that are no longer available from Microsoft. Almost always this involves approvals of *EXPIRED* updates (which have been pulled from the catalog and cannot be downloaded).
    If this is happening on a DOWNSTREAM server it's because something/someone deleted the files from the upstream server. It can also happen if the entire upstream ~\WSUSContent folder has gone amuk.
    For an upstream server, find the expired updates, remove the approvals, cancel the downloads, and then decline the updates.
    For a downstream server, figure out what the affected updates are and fix the upstream server.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • The requested resource does not exist - EAR - Jsp

    Hy!
    Following a tutorial I'm trying to create a small application in the Developer Studio.
    I created a Table, an EJB-Project with an Entity Bean and a Stateless Session Bean, a Web-Project with a JSP-File and an EAR which I deployed. Now the JSP form should be available at http://[server-name]:50000/employee/view.
    But I get:
    404   Not Found - SAP J2EE Engine/6.40
    The requested resource does not exist.
    Details:     Go to main page of this application!
    "main page" is a link which refers to http://localhost:50000/index.html which is the SAP Engine Start Page.
    This is my first experience with sap netweaver. So I don't know where I should start to search for the problem or how to solve it.
    In the web.xml of the WebProject there is the following code for the servlet mapping:
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>/NewEmployee.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <url-pattern>/view</url-pattern>
    </servlet-mapping>
    This is the code in the application.xml of the ear which should make it possible to access the webproject under .../employee.
    <module>
         <web>
              <web-uri>EmployeeWeb.war</web-uri>
              <context-root>employee</context-root>
         </web>
    </module>
    Best Regards,
    Carina

    Hy!
    I tried several changes and found out, I just had to remove the ' / ' bevor NewEmployee.jsp in the jsp-file - tag.
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>NewEmployee.jsp</jsp-file>
    </servlet>
    Now it works and I'm able to test the jsp. There's a form and after a submit a jndi-lookup is performed.
    Object ref=jndiContext.lookup("java:comp/ev/ejb/EmployeeService");
    It seems the EJB reference in the web.xml:
             <ejb-ref>
              <ejb-ref-name>ejb/EmployeeService</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <home>com.sap.bsp.EmployeeServicesHome</home>
              <remote>com.sap.bsp.EmployeeServices</remote>
              <ejb-link>EmployeeEjb.jar#EmployeeServicesBean</ejb-link>
         </ejb-ref>
    doesn't work, because I get:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/ev/ejb/EmployeeService.
    Looking forward to a hint
    Best regards,
    Carina

  • [nQSError: 59014] The  requested column does not exist in this table.

    Hi
    As you know this error has been discussed in other threads.. the difference in mine is that not only the time series measures but all the columns are giving me the error...none of the columns are being displayed... The rpd has no consistency errors. can anyone suggest what may be going on?
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT column1 saw_0 FROM Paint3 ORDER BY saw_0
    Thank you
    mm58

    I guess you have the column in RPD, and it is available for queries.
    are you using any time measures? if so check you chronological keys.

  • The requested column does not exist in this table

    Hi All,
    I am getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT "Customers - Dim".CITY FROM MVDEMO ORDER BY 1
    When I tried viewing data online I am able to view the data in the physical Layer. Also I tried connecting thru ODBC Client and issued the same SQL (above) and it returns the data.
    I am using Oralce BIEE 10.1.3.2.1 version.
    Please let me know if any faced this kinda issue and how to resolve this.
    Thank you.

    Check your column mapping in the BMM layer in your Customers - Dim logical table. Does the CITY column point to a physical table column?

  • [Solved] The requested object does not exist. (Exception from HRESULT: 0x80010114)

    I have a 8 node cluster with Hyper-V, which will be 10 nodes when it's finally done.
    Recently I've been try to add nodes and though that went fine, after about a week I could not open the Failover Cluster Manager anymore.
    After some checking I found out that the latest added node was giving problems.
    VM's on the node still run and function properly, but most Powershell commands result in a "The requested object does not exist. (Exception from HRESULT: 0x80010114)".
    I can suspend the node with Suspend-ClusterNode, but draining roles was unsuccesful in one case.
    In the other there were no VM's on the node so suspending went fine.
    What I did find out was that when I tried to ping the node from another, proper functioning node, it took a while before the pinging started. It felt like the interface had to come back online on the problem node.
    After that, I could add the cluster to the Failover Cluster Manager. However, Powershell commands still give a 0x80010114 error or a CIM error for when I use Get-NetAdapter.
    A reboot resolves the problem, but only for about a week.
    I know there is a topic with the same title already, but the wbemtest en rollup update "answer" is totally unclear to me why I should change something with wbemtest, or why to install updates that to me have nothing to do with this problem.
    Before I did the ping test from a functioning node I pinged my DC and another node from the problem node just fine.
    No waiting at all.
    The cluster has three networks. Management (host only), Live Migration and iSCSI (also a VMSwitch for certain VM's).
    I have no idea where to look. Evenviewer doesn't give me anything I can work with that I can find...

    Hi,
    Are you using the HP servers? It seems is the HP Nic team service was causing the issue, please try to
     disabled the HP NIC team service from services and restarted the WMI service.
    The related third party information:
    Advisory: (Revision) HP ProLiant Servers - Systems Running Microsoft Windows Server 2012 or 2012 R2 May Experience a Memory Leak Up To 5 Mb/ Hour for Some NIC Teaming Configurations
    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_ba847bafb2a2d782fcbb0710b053ce01=wsrp-navigationalState%3DdocId%253Demr_na-c04209163-2%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.tpst=ba847bafb2a2d782fcbb0710b053ce01&ac.admitted=1401176219136.876444892.199480143
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error :-The requested resource does not exist while opening the adobe form

    hello Experts,
    We are in Portal implementation face with ECC6 EHP4 and Portal EHP1
    We have developed adobe  form using HCM forms and processes and done the required configuration in SPRO
    When we are trying to open the form from ESS we are getting below error
    404 not found
    The requested resource does not exist.
    Please look into this issue and let us know any thing we are missing
    Sincerely
    Paresh

    is ADS working correctly?
    1.  Use transaction SA38 to execute the program FP_TEST_00.
           Detailed information about this test program and about how you
           should then proceed is given in the Adobe Document Services
           Configuration Guide in the Help Portal under:
           http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a4
           94facfdc09a359b1/frameset.htm -> Adobe Document Services
           Configuration Guide -> Configuring the Web Service -> Securing
           Access to the Web Service ->Configuration Check -> Configuration
           Check for PDF-Based Forms in ABAP
           -  If the FP_TEST_00 form is displayed in the print preview, the
              ADS configuration is correct.
              -> If you use scenarios with an interactive PDF, proceed with
              point 5. Otherwise, proceed with the test under point 6.
           -  If the system displays an error message instead of a form, the
              configuration of ADS is incorrect.
              -> Carry out the additional tests from point 2 onwards.
    2.  Use transaction SA38 to execute the program FP_PDF_TEST_00.
        This enables you to check the RFC connection to ADS  (see the
        reference to the documentation given above).
           -  If the system displays the version number of ADS, the
              configuration of the RFC connection is correct.
    read the note 944221
    Please paste the whole error? Is any dump in ST22

  • CRM Upgrade from 7.0 to EhP1 Error - The requested resource does not exist

    Hello All,
    We have recently upgrade our pilot system in CRM from CRM 7.0 to Ehp1. The upgrade was successful.
    However, when I login into the WebUI, I get an error message as follows:
    404 Not Found
    The requested resource does not exist
    Details: Go to main page of this application
    I got in touch with the Basis team and tried to activate some services through SICF that were deactivated because of the upgrade. But we still encounter the above error everytime I tried logging into WebUI.
    I kindly request to provide some pointers towards the resolution of the same.
    Thanks and regards,
    VSK.

    Hi,
    please try to activate all SICF services under sap->bc->bsp.
    If needed deactivate them and activate afterwards again to be sure all services are active.
    Good luck
    Kind regards
    Manfred

  • Input File repository server Error: The requested directory does not exist.

    Hi,
    Getting following error "The requested directory does not exist." for Input and Out put file repository server.
    The specfied directory exists and the user has local administrative privelges with full control of the IFRS and OFRS location.
    The location was earlier working and after trying to implement Windows AD the things stopped. Have tried reverting the things but the following issue still persists.
    Thanks,
    Manpreet

    @Siva,
    I am not using the defacult FRS, I have specfied a specfic location on which the user has full control.
    this was working prior to the Windows AD setup tried by me.

  • Comm Channel - "requested resource does not exist"

    Good day,
    Can someone help me with this error I get. We have a file to file scenario and everything works fine but the file never gets created on the receiver side, all messages says successful but in the comm channel monitor for the receiver adapter I get "Message processing completed successfully" but if I click on the message ID it say's " The requested resource does not exist." [Screen Print|http://www.photostand.co.za/images/t6432okl1tu6wzubwymj.gif]
    Thanks,
    Jan

    Hi Jan,
    Are you able to process messages from other interfaces? If not then there is an issue with the post installation. Please Check the SAP Note: 817920
    If you are not able to process messages only for this interface then there might be a configuration issue..
    Follow the link provided by the other SDNer. Please check and let us know the results.
    Thanks,

  • Requested query does not exist on the current server.

    Hi All,
    I am facing a problem in BI 7.0 related to query view.I am able to create a view on a query and can successfully save it .But when I am trying to open it using Bex Analyzer, it throws an error that query does not exist on the current server.
    Please find the steps below which I did to create a query view in BI 7.0.
    1.Executed query and then clicked on save from the tool bar.It asks me to save as workbook or save as view.I clicked on save as view and gave some name to view.It saved successfully.
    2.Now when in Bex I am trying to open the view , it gives the message 'The requested query does not exist on the current server'.
    Please help me in solving the issue.
    Regards,
    Phani.

    Hi,
    I am facing the same problem, though some others of my views can be opened.
    We had an upgrade of the system to Support Package stack 13. Maybe this caused problems.
    My BEx Analyzer Version is:
    Support Package 14, Patch 3, Revision 811
    Philipp

  • 404 Not Found, the requested resource does not exist

    Hi gurus,
    We're faciing an issue where when we submit data back to the SRM shopping cart from the MDM catalog UI, we intermittently get a "404 Not Found, the request resource does not exist" error page.
    Below is the HTTP trace upon item checkout:
    POST     200     text/html; charset=UTF-8     https://server/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?sap-wd-cltwndid=0cf753a3797111dfa7c662676002500a&sap-wd-appwndid=0cf753a4797111df966b62676002500a&sap-wd-norefresh=X
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js?7.0103.20091012142306
    GET     404     text/html     https://server/webdynpro/resources/sap.com/tcmdmsrmcat~uisearch/Components/com.sap.mdm.srmcat.uisearch.master.Master/ProductForm30703.html
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/blank.html?7.0103.20091012142306
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/backprevention.html
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/backdummy.html
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js
    The page https://server/webdynpro/resources/sap.com/tcmdmsrmcat~uisearch/Components/com.sap.mdm.srmcat.uisearch.master.Master/ProductForm30703.html is where the 404 error is being generated. And this error is also intermittent, so some time, the page will load with GET 200, but other times, it will show GET 404.
    Does anyone know what this ProductForm#####.html does? The ##### is a numerical value that seems to be incrementing on every catalog submission back to SRM shopping cart.
    MDM build 03.69
    Thanks.

    Sudhanshu appreciate your quick responses and the intermittent error is what's troubling me as well.
    Let me run through the SRM SC scenario for example:
    1. In shopping cart professional > Add Item > SRMMDM Catalog
    2. In the SRM-MDM catalog > Add an item to cart > Checkout
    3. After checkout, is where the intermittent error comes. Sometimes, the ProductForm.html is generated without a problem, and the product data is returned to the SRM SC in line 1.
    4. When we're back in the SRM SC professional > Add Item > SRMMDM Catalog  to punchout to the catalog again.
    5. Again, in the SRM-MDM catalog > Add an item to cart > Checkout
    6. Boom...the ProductForm.html page generates a 404 error.
    The scenario is similar from SUS to MDM, where for example, the first (or second or third) MDM punch out works, then all of a sudden, the 404 error is generated and it's always at the ProductForm.html where the 404 code is given.  I have yet to find a pattern to see what triggers this 404 error. Sometimes the first MDM punchout will generate this 404 error. Sometimes it will work up to 4 or 5 punchouts before the 404 error is generated.
    I'm have our BASIS team do a thorough analysis at the portal level to look for errors and still waiting for SAP's response.
    Another interesting thing is that this ONLY  happens in our dev box. In our QA box, we don't see such a behavior.
    Thanks for your time!

  • GCWebservice not found (The requested resource does not exist)

    Dear expert,
    According to the following link, there is a standard web service allowing the update of xml file into portal :
    http://help.sap.com/saphelp_banking60/helpdata/de/45/485c1a5b875b3ee10000000a1553f6/frameset.htm
    The problem is that I get the message "  The requested resource does not exist." when I launch the URL http://<server>:<port>/GCWebservice/Config1?wsdl (where <server> and <port> are the server and port number for my portal).
    Please do you know how to assist on this topic ? do you know how we can access to the GCWebservice and eventually download it to the portal ?
    Thanks and regards

    Hi all ,
    Thanks for the replies .
    Shravan ,
    I pinged my XI and is working . we have already added 
    the IP Address and the host name , but the same error
    is coming .
    Anirban,
    Checked all the necessary services again as suggested
    by  you .
    Andreas ,
    > is to set the abap profile parameter
           LOCALHOSTFULL to the fqhn.
    Can you please let me know where to set the abap
    profile parameter "LOCALHOSTFULL" as suggested by you .
    Thanks
    Shikha

  • Problem in WAD (The requested query / does not exist on the current server)

    Dear Guru's
    When i execute a Web Application in WAD in the selection screen suppose if i give Key product  as 86000 then check and execute i get correct data. Then if i come to  backpage (Selection screen again using backspace) and change Key product  as 86022  then check and execute then i get following error
    The requested query / does not exist on the current server
    System error in program CL_RSR_OLAP_VAR and form BAD STATE (see long text)
    Can any one please provide me some good solution...
    We are using BI 7.0 sp 16, But i am executing this Wed Application in 3.1WAD.
    Thanks and Regards,
    kalyan

    Dear Jai,
    Issue is in WAD selection screen for first product valuse every thing if fine, when i go back and change product value and then CHECK and EXECUTE the following error comes.
    The requested query / does not exist on the current server
    System error in program CL_RSR_OLAP_VAR and form BAD STATE (see long text)
    Any one have any idea plssssssssssssssssssssssssssssssssssss..........
    dude's some soln.....
    Thanks and Regards,
    Dev
    Edited by: Srinivas dev on Jul 4, 2008 2:45 PM

Maybe you are looking for

  • DVD drive problems.

    I have a Rev. A 17" G5 iMac with 1 Gig memory running OS 10.4.5. In the past few weeks my internal DVD drive, a Matshita UJ-825 has started acting flakey. I keep getting a different error message each time I try to record a disc; e.g.: "Unable to bur

  • Can I work from home?

    Hi I have a Mac at home and a fast internet connection. We have a LAN at work where my (work) Mac and a file server plus a couple of digital printer reside. Where do I start to access the LAN from home? Are there any tutorials/advice resources on the

  • Normal operating temperature - A31 2.0Ghz

    I do not understand how designers ever thought that a machine that is only 80cm away from your ears can have a fan that it audible. Nevertheless I am trying to use Thinkpad Fan Control (v0.18) to minimise my fan activity. Removing the battery or sett

  • How do I get some action over my connection speed

     I recently joined the infinity club. The checker for my line says expected Download speed 19.6, upload 5. I have not got anywhere near that speed. Yesterday I noted BT Openreach on our street at my meighbours. After they left I spoke with my neighbo

  • Need event or BADI for Campaign in UI.

    Hi guys,    when i am creating campaign in UI i am not getting any events in  SAP GUI.The problem is i need to trigger workflow for the campaign created in UI.I also searched for BADIS for it.But in UI i couldn't trace any BADIS which run during savi