FirstMidletServlet with http connection error

Ok so im quite new to midlets. Im trying to run the FirstMidletServlet which connects to a servlet using a tomcat server.
It builds fine and runs ok until i am prompted to us airtime in the emulator. Once i click ok it just comes up with "Error" absolutetly nothing else not in the console in the wireless toolkit or in tomcat server console window.
The servlet executes fine in the browser window so i know its not that.
Any ideas why? Heres the code below
Im running it on tomcat 5.5 and jdk1.5.0_14
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* An example MIDlet to invoke a CGI script.
public class FirstMidletServlet extends MIDlet {
    private Display display;
    String url = "http://localhost/Servlet/HelloServlet";
    public FirstMidletServlet() {
       display = Display.getDisplay(this);
     * Initialization. Invoked when we activate the MIDlet.
    public void startApp() {
     try {
            invokeServlet(url);
     } catch (IOException e) {
         System.out.println("IOException " + e);
         e.printStackTrace();
     * Pause, discontinue ....
    public void pauseApp() {
     * Destroy must cleanup everything.
    public void destroyApp(boolean unconditional) {
     * Prepare connection and streams then invoke servlet.
     void invokeServlet(String url) throws IOException {
        HttpConnection c = null;
        InputStream is = null;
        StringBuffer b = new StringBuffer();
        TextBox t = null;
        try {
          c = (HttpConnection)Connector.open(url);
          c.setRequestMethod(HttpConnection.GET);
          c.setRequestProperty("IF-Modified-Since", "20 Jan 2001 16:19:14 GMT");
          c.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0");
          c.setRequestProperty("Content-Language", "en-CA");
          is = c.openDataInputStream();
          int ch;
          while ((ch = is.read()) != -1) {
            b.append((char) ch);
            //System.out.println((char)ch);
          t = new TextBox("First Servlet", b.toString(), 1024, 0);
        } finally {
           if(is!= null) {
              is.close();
           if(c != null) {
              c.close();
        display.setCurrent(t);
    }    

what do you mean, "prompted to us airtime in the emulator"? I don't see anything related to that sentence in the code you posted. Is there more code you aren't showing us? Where does it say "Error" at?
It promts you in the wireless toolkit that you are about to connect to an external connection. so you click yes then it trys to connect to servlet and get the "error" thats all it says on the wireless toolkit display!

Similar Messages

  • Every time i try and get on the apps it comes up with server connection error

    every time i try and get on to the apps it keeps comeing up with server  connection error -1

    Hi,
    Please refer the link below to troubleshoot the issue
    http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Web-Services-problem-Server-connection-​...
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Errors with HTTPS Connection to external server

    I am trying to establish a HTTPS connection to an external web site in transaction SM59,  but I get “ICM_HTTP_CONNECTION_FAILED” errors.  I get the same errors from a bespoke ABAP program.
    I know the request is getting to the web site, but the response is not getting back into SAP. 
    This is not firewall related.
    I have installed and configured the SAPCRYPTOLIB software for SSL support and entered the necessary instance profile parameters.
    I have configured STRUST.
    SM59 is setup for type G (HTTP Connection to Ext. Server) and port no. 8443
    I have started the HTTPS service in SMICM
    I have noticed an odd entry in the SCICM trace file,  but don’t know how to fix.
    <i>ERROR => Connection request from (-1/65535/0) to host: mms-sap.sapmms.com, service: 8000 failed (NIECONN_PENDING)</i>
    Does anyone have any suggestions?

    Thanks for your comments.
    I've tried everything in SM59. 
    SAP refers to both protocols as HTTP. 
    I think the error is with the response coming back into SAP.  SAP doesn't know what to do.  It might be DNS related or I might need to configure the ICM somewhere.  Oddly the response comes back into sap on port 8000 (which is HTTP).  It went out on port 8443 (which is HTTPS).

  • Channel login error with HTTPS connection

    Hi!
    I have developed a Flex application which relies on remote object invocations to BlazeDS. I have applied custom authentication to the AMF channel, so login is required to invoke remote objects over the channel.
    Application worked perfectly in development environment but at production environment I cannot get channel sucessfully logged in. I have debugged application and no response is obtained from server after channel.login() invocation. Backend resides on Apache Tomcat that listens on port 80. Server is fronted by a Proxy Server that sets HTTPS protocol (https://domain:80/context is set at browser URL although I request http://domain:80/context).
    At development environment requests where made with HTTP protocol so I wonder if this issue is related with the HTTPS protocol present in the new server.
    Do I need to configure my channels to use secure (HTTPS) communications? Why am I not getting any error response from channel login operation?
    I reviewed server logs and It seems login AMF invocation are been tracked but I cannot get any response.
    Thank you in advance.

    Thank you Alex.
    I've set this configuration in services-config.xml. First I tried using SecureAMFEndpoint but then I got an exception on Server that said a secure destination was needed (as it was secured) but was not receiving a secured request. I saw a post in a forum that said AMFEndpoint must be used instead of SecureAMFEndpoint when SSL is applied to a proxy that redirects request to Tomcat, not to Tomcat itself, and this is my case.
    <services-config>
        <services>
            <service-include file-path="proxy-config.xml" />
            <default-channels>
               <channel ref="amf-channel"/>
            </default-channels>
        </services>
        <channels>
            <channel-definition id="amf-channel" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint
                    uri="https://{server.name}:{server.port}/{context.root}/messagebroker/amf"
                    class="flex.messaging.endpoints.AMFEndpoint" />
                <properties>
                    <add-no-cache-headers>false</add-no-cache-headers>
                </properties>
            </channel-definition>
    </services-config>
    After setting this, channel is succesfully logged in and a remote invocation that is executed inmediatly after channel loggin is completed works OK. But when later I call another remote objects, I get request timeout errors and server is not reached.
    Any idea of the issue?

  • HTTP connectivity error while using Blackberry MDS and JDE 5.0.0

    Hello,
    I am using BB MDS simulator 4.1.2 and BB JDE 5.0.0 for testing sample Oracle ADF Mobile client apps that I have developed.
    My app tries to access webservices via HTTP.
    Here is where I am encountering a HTTP connectivity issue.
    1. For instance, while trying to test HTTP using Blackberry browser, I see the error : "Unknown host mobile.blackberry.com:80"
    2. The sample I tried to run to test webservices - accepts a word from the user and gets it translated in to a desired language, using a webservice provided on the internet.
    Here, I have tried to translate the word 'madam' from English to French.
    I have encountered a HTTP/1.0 400 Bad Request.
    Kindly have a look at the MDS Trace as below (related entries in bold) and suggest if I am missing something from the configuration perspective.
    PS : I have tried various options from the blackberry forums but they were not very helpful.
    <2010-05-24 17:48:16.000 IST>:[215]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Device connections: AVG latency (msecs)0>
    <2010-05-24 17:48:16.000 IST>:[216]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedReceivingQueue, DEVICEPIN:CONNECT
    IONID = 2100000a:771975383, ReceivingQueueSize = 0>
    <2010-05-24 17:48:16.343 IST>:[217]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 36110347, STATE = DE
    LIVERED>
    <2010-05-24 17:48:19.046 IST>:[218]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 2100000
    a>
    <2010-05-24 17:49:57.437 IST>:[219]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Receiving, TAG = 371769629, DEVICEPIN =
    2100000a, VERSION = 16, CONNECTIONID = 771975384, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = httpc, PR
    OTOCOL = TCP, PARAMETERS = [www.webservicex.net:80], SIZE = 121>
    <2010-05-24 17:49:57.437 IST>:[220]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedReceivingQueue, DEVICEPIN:CONNECT
    IONID = 2100000a:771975384, ReceivingQueueSize = 1>
    <2010-05-24 17:49:57.437 IST>:[221]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = StartExecuting, TAG = 371769629, DEVICEP
    IN = 2100000a, VERSION = 16, CONNECTIONID = 771975384, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = http
    c, PROTOCOL = TCP, PARAMETERS = [www.webservicex.net:80], SIZE = 121>
    <2010-05-24 17:49:57.437 IST>:[222]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = EndExecuting, TAG = 371769629, DEVICEPIN
    = 2100000a, VERSION = 16, CONNECTIONID = 771975384, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = httpc,
    PROTOCOL = TCP, PARAMETERS = [www.webservicex.net:80], SIZE = 121>
    <2010-05-24 17:49:57.437 IST>:[223]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Available threads in DefaultJobPool = 9 r
    unning JobRunner: DefaultJobRunner-3>
    <2010-05-24 17:49:57.453 IST>:[224]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HTTP Thread: DefaultJobRunner-3 started>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION =>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Transmission Line Section]:>
    *<2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI*
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = GET /TranslateService.asmx/Translate?LanguageMode=English
    TOFrench&Text=madam HTTP/1.1>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Headers Section]: 2 headers>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = x-rim-conttime:10000>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Host:www.webservicex.net>
    <2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Parameters Section]: 2 parameters>
    *<2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI*
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = LanguageMode=EnglishTOFrench>
    *<2010-05-24 17:49:57.453 IST>:[225]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromDevice, DEVI*
    CEPIN = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Text=madam>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION =>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Transmission Line Section]:>
    *<2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN*
    *= 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = GET /TranslateService.asmx/Translate?LanguageMode=EnglishTOFren*
    ch&Text=madam HTTP/1.1>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Headers Section]: 6 headers>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Connection:close>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Via:MDS_4.1.2.17>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Accept:*/*>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = x-rim-original-accept:*/*>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = x-rim-conttime:10000>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Host:www.webservicex.net>
    <2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Parameters Section]: 2 parameters>
    *<2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN*
    *= 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = LanguageMode=EnglishTOFrench>*
    *<2010-05-24 17:49:57.453 IST>:[226]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToServer, DEVICEPIN*
    *= 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Text=madam>*
    <2010-05-24 17:49:57.515 IST>:[227]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Statistics save task started>
    <2010-05-24 17:49:57.625 IST>:[228]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Statistics save task finished -- number o
    f rows inserted:5>
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION =>
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Transmission Line Section]:>
    *<2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN*
    *= 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = HTTP/1.0 400 Bad Request>*
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Headers Section]: 2 headers>
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Content-Type:text/plain>
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = Content-Length:35>
    <2010-05-24 17:50:18.453 IST>:[229]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN
    = 2100000a, CONNECTIONID = 771975384, HTTPTRANSMISSION = [Parameters Section]: 0 parameters>
    <2010-05-24 17:50:18.468 IST>:[230]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedSendingQueue, DEVICEPIN = 2100000
    a>
    <2010-05-24 17:50:18.468 IST>:[231]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HTTP Thread: DefaultJobRunner-3 stopping>
    <2010-05-24 17:50:18.468 IST>:[234]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 36110349, DEVICEPIN = 210
    0000a, VERSION = 16, CONNECTIONID = 771975384, SEQUENCE = 0, TYPE = DATA, SIZE = 48>
    <2010-05-24 17:50:18.468 IST>:[235]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HTTP Thread: DefaultJobRunner-3 stopped>
    <2010-05-24 17:50:18.484 IST>:[236]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Finished JobRunner: DefaultJobRunner-3, a
    vailable threads in DefaultJobPool = 10, time spent = 21047ms>
    <2010-05-24 17:50:18.500 IST>:[239]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 36110350, DEVICEPIN = 210
    0000a, VERSION = 16, CONNECTIONID = 771975384, SEQUENCE = 1, TYPE = DISCONNECT-ORDER, SIZE = 0>
    <2010-05-24 17:50:18.500 IST>:[240]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Device connections: AVG latency (msecs)32>
    <2010-05-24 17:50:18.500 IST>:[241]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HTTP Thread: ConnectionsInputStreamesReader0-Def
    aultJobRunner-3 stopping>
    <2010-05-24 17:50:18.500 IST>:[242]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, HTTP Thread: ConnectionsInputStreamesReader0-Def
    aultJobRunner-3 stopped>
    <2010-05-24 17:50:18.500 IST>:[243]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedReceivingQueue, DEVICEPIN:CONNECT
    IONID = 2100000a:771975384, ReceivingQueueSize = 0>
    <2010-05-24 17:50:18.531 IST>:[244]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 36110349, STATE = DE
    LIVERED>
    <2010-05-24 17:50:18.562 IST>:[245]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 36110350, STATE = DE
    LIVERED>
    <2010-05-24 17:50:19.046 IST>:[246]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 2100000
    a>

    Hi, there:
    A couple of things to try and check:
    - Does your network connection goes through proxy server? If you are behind a proxy server, then you would need to set up proxy server in MDS by open the file <MDS simulator install>/config/rimpublic.property, go to the [HTTP Handler] section, and add the following line:
    application.handler.http.proxyEnabled = true
    application.handler.http.proxyHost=<your proxy server host name>
    application.handler.http.proxyPort=<your proxy server port>
    - Try BlackBerry MDS simulator that came with JDE 5.0. MDS 4.1.2 should still work with 5.0 device simulators, but it's worth a shot
    Can you hit the web service from the browser in your Blackberry simulator? Feel free to directly contact me at [email protected] - if necessary we can also pull in BlackBerry/RIM resources to help diagnose this.
    Thanks,
    Joe Huang

  • EPrint problem with CP1525nw - connection error

    I just installed a CP1525nw in our home network.  It's wired, and we can print and access the printer's web page from every computer - no problems with local printing.
    However, I'm not able to successfully complete the ePrint setup. When printing the information sheet using the control panel, I quickly get the message "Connection Error, Check Connection", and it asks me to hit 'ok' to return to the main menu.  
    I am able to turn ePrint on and off, as well as enable and disable ePrint, both from the printer's webpage as well as the front LED menu.  Each time I toggle the latter, I get a new email address.  This successfully displays in the printer's LED window, so I know the printer is able to connect to the internet.  
    When I manually go to hp's ePrint website, and try to register my printer using the email address, it fails - unrecognized.
    I'm aware that in order to complete the installation, the information sheet must successfully print.  That seems to be the only thing failing.  Any thoughts?
    Here is some information about the printer and environment:
    - Apple AP Extreme
    - Printer directly wired to AP
    - IP: 10.0.1.17, DNS 10.0.1.1 (router)
    - Firmware: 20101125
    Thanks again.

    Everything is now working just fine.  I wish I could say that I know what changed, but it must be magic.  
    This morning, after letting the ePrint stuff rest for a few days, I removed the service (using the web server), cycled power on the printer, added the ePrint service to the printer, and now everything is just fine.  I'm able to print from our iPad no problem.  
    Seems hp fixed something, just not sure what.

  • Exchange 2013 CU5 - Outlook Web Access - Error 9646 with HTTP - No error with HTTPS

    Hello everyone
    i have a strange issue which i actually do not have an idea about what is going wrong.
    - Exchange 2013 CU5
    - SSL Offloading enabled - Virtual directories configured accordingly
    When a user logs in to OWA via HTTP - after a while he sees the inbox but does not see any mail details.
    He only sees "Error: Your request can't be completed right now. Please try again later."
    After a while i also get an eventlog "9646" with too many open OWA sessions for that user.
    Regardless which limit i set in the registry for this - the error does come back - even with 512 sessions allowed.
    Working with HTTPS instead of HTTP then EVERYTHING works fine ... ?
    Any idea on this?
    Actually i am totally lost ...
    Best regards
    Jörg
    Ihr zertifizierter VMware Partner Enterprise Solution Provider, IBM Advanced Partner, Datacore Partner, Microsoft Silver Partner / Solution Provider und Microsoft Small Business Partner. HEGO Informationstechnologie GmbH Telegrafenstrasse 8 D 42929 Wermelskirchen
    Geschäftsführer: Jörg Hermanns, Ralf Gogolin Amtsgericht Köln HRB 36509 Fon: +49 (0) 21 96 / 8 82 97 - 0 Fax: +49 (0) 21 96 / 8 82 97 - 23 Web: www.hego-it.com

    Hi,
    Please confirm if the following features are added in your server manager:
    •.NET framework 4.5 -> WCF Services -> HTTP Activation
    •Windows process activation service -> Process model
    •Windows process activation service -> Configuration APIs
    If not, please add these features. Then ran IISReset \noforce from a Command Prompt window to restart IIS service. Also recycle Application Pools in IIS manager.
    For more information about the IIS Prerequisites for Exchange 2013, please check the windows feature listed in the following article:
    http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx
    Regards,
    Winnie Liang
    TechNet Community Support

  • Configure ADF with HTTPS connections

    Hello.
    I am trying to deploy an ADF application with the protocol https.
    When I write the url:
    https://[my_domain]/[my_application]
    The request is done, but the adf controller answers suddenly with the url i sent, but it writes instead of https http, and adds in the end of the url a lot of get parameters like the next sample:
    http://[my_domain]/[my_application]/faces/[my_wellcomefile]?_afrLoop=2328230397945919&Adf-Window-Id=w0&_afrWindowMode=0&_adf.ctrl-state=14g97quz_327&_afrRedirect=2328230626510965
    I don`t mind the get parameters, I suppose that they are needed for adf to work. But the problem is that I need the request to connect with https, not with http, because my apache has only opened the port 8080.
    Please, anyone can tell me how to configure adf to disable this redirection, or to configure the redirection to point to:
    If the request comes from http -> redirect to http
    if the request comes from https -> redirect to https.
    Regards

    Thanks Chris,
    But I don`t think the problem is related with WebLogic Server. The weblogic is already with a ssl connection configured and working. In fact, after the redirection to the second url:
    http://[my_domain]/[my_application]/faces/[my_wellcomefile]?_afrLoop=2328230397945919&Adf-Window-Id=w0&_afrWindowMode=0&_adf.ctrl-state=14g97quz_327&_afrRedirect=2328230626510965
    if copy and paste this url but changing the protocol https:
    https://[my_domain]/[my_application]/faces/[my_wellcomefile]?_afrLoop=2328230397945919&Adf-Window-Id=w0&_afrWindowMode=0&_adf.ctrl-state=14g97quz_327&_afrRedirect=2328230626510965
    it works! So, summarizing, the problem is in the first redirection made in a transparent way for me.
    Refering to the post of Frank Niphus:
    Switching Http/Https in ADF
    you can understand my problem and we can see a workaround, but I want all the requests to go to https, not only some of them like is done in this post.
    Regards

  • New time capsule stops working with http connections

    I have the latest 2TB Time Capsule. I've been getting a weird issue where my I can no longer can do http connections (i.e. browse the internet) but I can still use other internet capable services like Skype or Steam. It seems that traffic through port 80 just seems to stop working. All of my devices on my network experience the issue. I have even exchanged Time Capsules but the issue still presists.
    Does anyone have any ideas?

    Here's a traceroute when things work:
    traceroute 8.8.8.8
    traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
    1  192.168.1.1 (192.168.1.1)  3.637 ms  1.030 ms  0.924 ms
    2  69.254.248.1 (69.254.248.1)  10.644 ms  10.237 ms  10.590 ms
    3  te-7-1-ur02.olathe.ks.indepen.comcast.net (68.87.234.209)  10.453 ms  10.177 ms  10.519 ms
    4  te-4-4-ar02.independence.mo.indepen.comcast.net (68.87.234.5)  10.464 ms  11.360 ms  13.087 ms
    5  68.87.234.29 (68.87.234.29)  11.762 ms  12.583 ms  13.066 ms
    6  be-20-702-cr01.sanjose.ca.ibone.comcast.net (68.86.89.37)  28.948 ms  21.847 ms  24.969 ms
    7  he-0-11-0-0-pe04.350ecermak.il.ibone.comcast.net (68.86.83.58)  22.267 ms  22.081 ms  21.251 ms
    8  * * *
    9  * * *
    10  72.14.237.110 (72.14.237.110)  26.647 ms
        72.14.237.108 (72.14.237.108)  25.617 ms
        72.14.237.110 (72.14.237.110)  53.230 ms
    11  72.14.232.141 (72.14.232.141)  33.403 ms  33.622 ms
        209.85.248.228 (209.85.248.228)  34.010 ms
    12  216.239.46.193 (216.239.46.193)  33.824 ms  33.433 ms  34.014 ms
    13  * * *
    14  google-public-dns-a.google.com (8.8.8.8)  37.414 ms  34.587 ms  34.306 ms
    Here's the output when it doesn't:
    traceroute 8.8.8.8
    traceroute: unknown host 8.8.8.8
    I just changed my DNS. I'll report back in a day to say if it fixed anything.

  • Save XML with HTTP connection

    Hello,
    I have an XML file and I need to save it in a HTTP patch.
    The transformation code it's working and I created an HTTP connection(SM59) that is working as well. I'm never did that before but I guess that I'm open the connection on my ABAP code, since it ask for user and password to login, but I have no idea how to save something in there.
    Follow the code:
    data: client      type ref to if_http_client.
    data: request     type ref to if_http_request.
    cl_http_client=>create_by_destination(
                     exporting destination = http_dest
                     importing client = client ).
       call method client->request->set_method(
         if_http_request=>co_request_method_get ).
    * set protocol version
       client->request->set_version(
            if_http_request=>co_protocol_version_1_0 ).
    * content type
       call method client->request->if_http_entity~set_content_type
         exporting
           content_type = 'multipart/form-data'.
    *** Send HTTP request
       call method client->send
         exceptions
           http_communication_failure = 1
           http_invalid_state         = 2
           http_processing_failed     = 3
           http_invalid_timeout       = 4
           others                     = 5.
       if sy-subrc <> 0.
         raise connection_error.
       endif.
    *** Get GTTP response
       call method client->receive
         exceptions
           http_communication_failure = 1
           http_invalid_state         = 2
           http_processing_failed     = 3
           others                     = 4.
       if rc = 0.
    *** Read HTTP RETURN CODE
         client->response->get_status( importing code = http_rc ).
         if http_rc <> 200.
           """KO
         else. "status 200 ->>OK
           clear: xml_xstring.
           xml_xstring = client->response->get_data( ).
         endif.
       endif.
    * VERY IMPORTANT: close your connection
       client->close( ).
       call function 'SRTUTIL_HELPER_XML_SHOW'
         exporting
           xdoc = xml_xstring
           html = abap_false.
    Thanks,
    Andréa

    Hello Andrea,
    Did you try using IF_HTTP_CLIENT~AUTHENTICATE method of class CL_HTTP_CLIENT.

  • Can't connect Windows 8.1 Enperprise to Windows Server 2012 Essentials. Get a Digest Login page and then a Blank with HTTP 404 Error page. Need help!

    Hi,
    I have make a new and clean install of Windows Server 2012 R2 Essentials on my office network server and then i made a new and clean install of Windows 8.1 Enterprise version on one of my office desktops.
    After all VPN and Anywhere Access where setup on the server i when to a PC that is inside my office network and browse on Internet Explorer to the URL to connect this PC to the server and make it part of the domain.
    But when i browse to the http://MYSERVERNAME/connect im not getting the Windows Server page with the option to download the windows connector. Instead i get a login pop-up saying "iexplore" and "digest". I try to create a user on the server
    and use that user login details on this login box, but even then, the only thing i get is a blank page saying a HTTP Error 404.
    So can someone please help me on this? Any advice on how to solve this problem in order to show the normal Windows Server connect page? 
    Thanks

    Hi,
    Based on your description, please refer to following operations and troubleshoot this issue. Then check if
    can help us to narrow down the cause of this issue.
    Please type
    http://server-IP-address/connect in IE. Then check if encounter the same issue.
    On the Windows Server 2012 R2 Essentials, please open Internet Information Services (IIS) Manager. Navigate to Sites, then right click Default Web Site and select
    Edit Bindings… In Site Bindings, select Port 80 and click “Edit…” button. Would you please provide a screenshot of the Edit Site Binding (Port 80) that you can see?
    Then please click
    Connect which in the list of Default Web Site. In the mid panel, select
    .NET Authorization Rules and double click it. Then please check if all users were allowed.
    By the way, would you please provide a screenshot of the login page when you browser
    http://servername/connect? It may help me to understand this issue clearly.
    Meanwhile, please logon a problematic client computer and navigate to the path: C:\ProgramData\Microsoft\Windows
    Server\Logs folder. Then check if there is Computerconnector log file. If there is, please check it if can find some clues. (Please note: the log file is a hidden file. Please open Control Panel, select Folder Options, select View tab and check Show hidden
    files, folders and drives. Then you will be able to find the log file.)
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • SOAP with HTTPS Connection

    Hi All,
    For a requirement, I need to connect the PI with 3rd party Web server system for both inbound and outbound interfaces.
    Currently, I am with SAP PI 7.31 single stack system. I was communicated as HTTPS without client Authentication option need to use.
    As I read in some of the discussion, there is no need of using exchange certifications if HTTPS without client Authentication was selected.
    My Basis team confirmed, we have installed the certificates in PI machine. I didn't see any option of selecting the certificate in the sender SOAP communication channel. we have already shared the SOAP URL(https://..... :HTTPS enabled port/.....) of the particular interface to web server team to trigger data. But in SOAP receiver channel, I have given the https:// based URL of the web server system along with the selection of HTTPS without client Authentication option.
    When I pinged the Receiver Communication Channel, getting error as below.
    What is the exact difference between the 1. HTTPS without client authentication
                                                                2. HTTPS with client authentication.
    Can anybody explain the above questions in detail, particularly about the 1st once.
    Regards,
    Raj kumar.

    Hi Harish,
    Thanks for your reply.
    Second link gave me the clarity on the with & without client authentication. Now I am clear about the Sender Soap Channel. Confirm me, I don't have to select any option, other than providing the https://... based URL of the webservice system at receiver SOAP Channel, right?.( If my requirement is https without client authentification)
    Interface flow for my requirement will be
    ECC --> PI --> Webservice system ( Do I need to choose any option?)
    Webservice system --> PI ----> ECC.(Clear about this flow)
    If no certificates are involved for without client authentication process, how much extent it will be secure by providing security at transport level only ?
    Thanks,
    Phaniraj.

  • Firewall HTTP connection Error

    We have a small java software product that communicates with a web server using HTTP calls. Recently we have added a firewall with a transparent Proxy. Since the firewall was installed the application is no longer able to make the connections to the web server.
    We have tried to communicating using the Web Address and IP address, also tried setting the HTTP Proxy to the Web Address and/or IP Address (socksProxyHost etc...). And on all of these tests the app got the same error -
    [2003.07.23 07:45:12 MDT] java.net.SocketException: Reply from SOCKS server has bad version 60 at java.net.PlainSocketImpl.getSOCKSReply(Unknown Source) at java.net.PlainSocketImpl.doSOCKSConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket. (Unknown Source) at java.net.Socket. (Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient. (Unknown Source) at sun.net.www.http.HttpClient. (Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at sf.server.dj.a(dj.java:429) at sf.server.dj.a(dj.java:419) at sf.server.dj.a(dj.java:206) at sf.server.dj.a(dj.java:174) at sf.server.cz.j(cz.java:305) at sf.server.cy.h(cy.java:1426) at sf.server.dl.a(dl.java:236) at sf.server.dl.run(dl.java:158) at java.lang.Thread.run(Unknown Source)
    Does anyone have an idea of why we would be getting this error, the firewall is set up to allow communication, I'm a little worried that the java may just not be compatible with the firewall Socks code. - am using JRE 1.3_02
    Any help would be appreciated
    Sincerely
    Ray

    it's not java..it's your webserver configuration
    talk with your network administration about this problem
    I'm behind a firewall myself - but my java work fine
    Only time it went down was when the system admins made changes to the webserver..and the java apps 9as well as other apps were blocked)

  • Weird problem with http connection

    hi,
    i'm trying to implement a midlet that connects the mobile to an http server. i've downloaded several midlets and also tried the method given in the MIDP2 api documentation, but i doesn't work, it can't connect.
    i tried it on several phones and some of them freeze during the Connector.open method, but the Nokia 6230i tells that i have to register to GPRS services before i can connect this way. :(
    how is it that i can't connect with my midlet but i can do it through the wap function of the phone ? how can i bypass this problem ?
    thanks.

    i went to the parameters menu and changed "GPRS connection" to "permanent" but it didn't change anything. there doesn't to be any other paramter that could help with this. :(

  • Suspended Workflow in SharePoint 2013 with HTTP 401 Error!

    I have a list workflow which starts automatically when creating an item to generate a serial number. But when any user create
    a new item, the workflow suspend with the following details, and only the users with "Full Control" permissions can make the workflow work:
    RequestorId: eda26c74-95ef-2733-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow
    instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["88"],"SPRequestGuid":["eda26c74-95ef-2733-87b9-028d0512861d"],"request-id":["eda26c74-95ef-2733-87b9-028d0512861d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0,
    private"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM","Basic realm=\"sp.contoso.com\""],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Sun, 27 Apr 2014 11:13:07 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    Hi AmrHanmam,
    According to your description, my understanding is that SharePoint 2013 workflow suspend with 401 error.
    For resolving your issue , please do as the followings:
    Be sure User profile synchronization is started.
    The user by whom you are logged is available in User Profile list.
    Final step full synchronization of User Profile Application.
    Here is a similar post for your reference:
    http://social.technet.microsoft.com/Forums/en-US/8671e31e-fde2-454c-aba4-0fc6484dd873/sharepoint-2013-workflow-suspend-with-401-error?forum=sharepointcustomization
    In addition, there is another reason for this issue, please take a look at:
    http://support.microsoft.com/kb/2839070/en-us
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for