Is setting up of proxy needed for connection?

Hi, I'm trying to establish a dialup connection through the return channel of an emulator. The modem did dial up, but the connection is never established since the ConnectionEstablishedEvent is never received after the modem finishes dialing.
The connection must have hang there although the application is still able to run since connecting is asynchronous. I can�t disconnect it although I can release the resource. When I rerun the application again, the ConnectionFailedEvent is thrown. I�ve to restart the computer or reinstall the modem in order for the computer to detect the modem.
I was thinking this might be due to the fact that I did not put in proxy settings. Does the return channel API allow me to put in both the proxy�s IP address and port number?
Thks to any help offered.
Here is some of the code:
      rcm = RCInterfaceManager.getInstance();     
      interfaces = rcm.getInterfaces();
      if (interfaces[0] instanceof ConnectionRCInterface)
        myInterface = (ConnectionRCInterface)interfaces[0];
          myInterface.reserve(this,null);
          InetAddress[] netAddGrp = new InetAddress[2];        
          InetAddress netAdd = InetAddress.getByName("203.117.33.19");         
          netAddGrp[0] = netAdd;
          netAdd = InetAddress.getByName("203.117.33.18");         
          netAddGrp[1] = netAdd;
           ConnectionParameters myConnectionParameters;         
           myConnectionParameters = new ConnectionParameters("68259777",canbeen","123", netAddGrp);
          myInterface.setTarget(myConnectionParameters);
          myInterface.connect();
   }

I've solve the problem. It either lies with the emulator or that the emulator is incompatible with my Windows 2000. When I tried my code with Xletview, it works perfectly.

Similar Messages

  • Authentication is required to set the network proxy used for downloading packages

    hello all,
    we bought a Sun X3-2 and our reseller installed OL6.5 and SRS 5.4.2. When user logs in, a window occurs regularly, displaying this message.
    Authentication is required to set the network proxy used for downloading packages
    After click on Cancel, the window re-appears then minutes after. It seems that it is related to polkit:
    /usr/libexec/polkit-gnome-authentication-agent-1
    Can i stop this service? Are there any hints to tune Oracle Linux when using sunrays? users don't need to update packages because the server is managed.
    thanks in advance for help,
    gerard

    i'm not fully agree with you, this problem arises because i'm using sunray. But you're right, i found the solution when searching on the net, not in oracle forums.
    The solution is to create
    .config/autostart/*.desktop
    with:
    X-GNOME-Autostart-enabled=false
    it seems ok, even if i have other problems, for instance, firefox and thunderbird crashing regularly, even if i'm up to date with packages (uln too).
    In the past, i used to use sunrays with solaris 10, it existed a document to tune gnome when using sunrays, i don't find the same thing with oracle linux.
    thanks for your reply,
    gerard

  • What User authorization objects needed for connecting to SAP from xMII?

    We eneter a SAP user and password for connecting to SAP from xMII to retrieve the metadata of the incoming IDocs.
    When I specify a user with SAP_ALL user profiles, the IDocs are received properly in xMII. If I specify a user with privileges to run only certain transactions, IDocs are not received in xMII.
    What user authorization objects are needed for this user to connect to SAP from xMII?
    Thanks,
    Sara

    Sam,
    I turned on the SAP System trace for this user and figured out the following auth. objects are required for receiving IDocs in xMII:
    C_TCLA_BKA
    S_RFC
    S_CTS_ADMI
    B_ALE_MAST
    S_IDOCDEFT
    The following auth. object is required for making JCO call to SAP from xMII:
    C_AFRU_AWK
    Thanks,
    Sara

  • Which files are needed for connection to database in 11gR2?

    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?

    881656 wrote:
    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?sqlnet.ora is used to configure the actions of sqlnet on whatever machine. Some of the config parms available to it apply only to the server side, some apply only to the client side, some apply to both.
    tnsnames.ora is used by client processes to resolve a connect alias to a specicific host, port, and service. It is used ONLY by the client side of tns. You see it on host machines because those machines can also run client processes.
    host file. Oracle doesn't know what this file is. Oracle doesn't give a flying fig about this file. It is used by the standard network software in the OS to resolve a name to an IP address. The only reason you even see it discussed in the Oracle world is because Oracle TNS sits on top of the standard OSI network stack, and uses it. Thus, if your tnsnames file has an entry like:
    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = houston)
    #==========tns will never know or care where vmlnx01 is. The request will be packaged and sent to the standard network stack with a request to "route this package to vmlnx01, wherever that is.". The OS network stack will then resolve 'vmlnx01' to an ip address, by one of several possible methods. ONE of those methods is to look it up in the local hosts file.

  • Cable needed for connection?

    Quick question - what cable do I need for the apple tv for a Visio HD TV?

    captfred wrote:
    HDMI works as well as "composite" video.
    appletv does not support composite at all.
    i'm sure you meant component.

  • How do I set up a proxy server for webmail services to assist in migrating from NMS 4.15p6 on NT to iMS 5.1 on HP-UX.

    I want to have minimal if no downtime at all when moving the message store. iPlanet support hinted at an "unsupported" proxy server solution, and would give no further information. I am running the MMP with 5.1 and that supports IMAP and POP migration, but I need support for webmail services as well to complete the migration from NT to UNIX with minimal distruption of thousands of users. I am using the MoveUser utility to move the message store in hopes that will clear up some store corruption we have been seeing.

    To get this in a 'supported' fashion you might want to wait until the iMS 5.2 release. iPlanet has said this release would include a webmail proxy/mmp server to do exactly what you desire.
    A proxy server would not be a solution to your problem as it would have to have access and knowledge to the users mailhost attribute to determine to which host to route the webmail connection. The webmail proxy/mmp will have this functionality.
    You might want to contact your iPlanet rep about this product and maybe you could get a copy of it as part of a beta program. I know iPlanet is always looking for oppourtunities for feedback like this.
    -Chris

  • How can I set a different proxy server for different networks in user.js

    I need to automatically set the proxy configuration depending on the network I am connected to. Can this be done through the user.js?
    Simple logic would be:-
    if IP=10.20.30.0 use proxy A
    if IP=172.18.19.0 use proxy B
    else DIRECT
    Thanks
    Leon

    No, you can't do it that way.<br />
    You could create a set of files user.js and use a bat or cmd file to copy the file with the proxy setting that you want to use to user.js and then start Firefox.
    <pre><nowiki>cd <path to profile folder>
    delete user.js
    copy user-proxy1.js user.js
    start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
    </nowiki></pre>
    You can also use an extension.
    *FoxyProxy: https://addons.mozilla.org/firefox/addon/2464
    *QuickProxy: https://addons.mozilla.org/firefox/addon/1557
    *SwitchProxy: https://addons.mozilla.org/firefox/addon/125

  • Proxy Application for connection AND surfing

    Does anyone have any recommendations for a proxy application that disguises your connection AND your surfing?
    Thanks

    I'm not aware of any, but you might try something like...
    http://www.the-cloak.com/login.html
    http://anon.inf.tu-dresden.de/index_en.html

  • OS10.4.8 absolutely needed for connecting classic?

    I have an eMac running Panther and just bought an iPod classic. To my dismay, I get an error message when I connect the classic to my Mac, saying this iPod needs OS version 10.4.8. Is there a workaround for this, other than coughing up 150 bucks to buy a copy of Tiger? I really don't need Tiger for anything else and I'm planning on replacing the eMac with a Leopard machine sometime in 09. This makes buying Tiger now even more painful. Any ideas appreciated.

    Just as an update: thanks to the help of some smart individuals on this board (first and foremost "srojtas" who came up with a workaround to install Leopard on a sub-spec machine), I am now running OS10.5.6 on my 800MHz eMac and the iPod connects just fine.
    Andrew
    Here is the full story if anyone is interested:
    http://discussions.apple.com/thread.jspa?threadID=1837953

  • Example needed for connecting to 3 Informix databases

    I'm attempting to connect and use 2 different informix databases within the same app.
    Connection 1 (Sql selects records where status = 'pending'
    Connection 2 (Results from connection 1 are passed to a stored procedure
    Connection 3 (Updates Database used in con1 with return values from con2
    I'm able to successfully code connection 1 but I'm totally confused on the others.
    How do you switch back and forth between each connection?
    Thanks in advance
    Steve

    all you need to do is make 2 connections:
    //setup code
    Connection conn1 = DriverManager.getConnection(url, user, pass);
    Connection conn2 = DriverManager.getConnection(url2, user2, pass2);I have made a couple of classes that can simplifiy this. e.g. the entire code consists of
    dbConnection oc = new OracleConnection();
    dbConnection pc = new PostgresqlConnection();
    oc.createConnection("prodops");
    pc.createConnection("test");I havn't made an informix class, but they are simple to do. Give me your email address if you want the classes.
    Pete

  • Help needed for Connection Pooling

    I want to know about connection pooling in java.Can anyone suggest a best tutorial or link to learn this.

    http://java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
    http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html
    or better Google it.

  • Which cable i need for sony handy cam dcr-hc85e connecting iMac intel processor

    Which cable in the Applestore i need for connecting my sony handycam DCR-HC85E to Imac with intelprocessor

    You would need this one.

  • Requirements for JDBC Driver needed for SOA 8 }connection pool

    Hi,
    I have an AS400 jdbc driver. This driver is JDBC API version 2.x. Also is a Driver Type 4.
    What are the requirements of a JDBC Driver needed for connection pool in SOA 8?
    Thanks.
    Lorenzo Jimenez

    You can use pretty much any jdbc driver, including type 2 and type 4.
    You need to make sure your shared libraries needed by the driver are available to the appserver when you boot.
    Other than that, it is no different than configuring any other driver.

  • JRE ignores proxy setting for connections to non-standard web ports

    Hi,
    I've noticed that JRE would not use the proxy settings if the application tries to connect to a web address on a non standard http port. If port 80, 443, 8080 etc is used, the proxy is used but if it's something like 32938 it's not. Is there anyway to disable this behaviour and just have the proxy used for all HTTP traffic, regardless of destination port. Below a trace snippet that shows the behaviour.
    guistyle/1049  (signed jarfile)
    Browser Java version 1.7.0_67
    in Explorer 5 +
    on NT-based Windows
    network: Connecting https://www.123.com/guistyle/*JEMSEC11424340585918 with proxy=HTTP @ /10.10.12.11:3128
    Using port: 43856
    network: Connecting http://www.123.com:43856/ with proxy=DIRECT
    Socket connection failed: java.net.ConnectException: Connection timed out: connect
    Attempting tunneled connection
    network: Connecting http://www.123.com:80/*TGD=CS/*EVENT=*JEMTUNNEL/1353036962/response.txt with proxy=HTTP @ /10.10.12.11:3128
    TNLRCV unknown block start=null
    network: Connecting http://www.123.com:80/*TGD=CS/*EVENT=*JEMTUNNEL/1353036962/response.txt with proxy=HTTP @ /10.10.12.11:3128
    network: Connecting http://www.123.com:80/*TGD=CS/*EVENT=*JEMTUNNEL/1353036962/response.txt with proxy=HTTP @ /10.10.12.11:3128
    TNLRCV unknown block start=null
    Receive failed
    Unable to make TCP/IP connection
    End guistyle (startup failed)
    basic: Applet initialized
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet made visible
    basic: Applet started
    basic: Told clients applet is started

    Hi,
    I still get the same error:
    [12/Nov/2007:14:34:50] failure (16473) rsdts.mycomp.com: for host i78473.mycomp.com trying to GET http:/lidip/, service-http reports: HTTP7765: error reading response header (Server closed connection)
    And:
    Bad Gateway
    Processing of this request was delegated to a server that is not functioning properly.
    I don't get any logs on the other side...

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

Maybe you are looking for