Add on connection timed out

what is the meaning of Add on connection timed out error and how to solve this error?
Edited by: Neetu Dhami on May 30, 2008 5:36 PM

Dear
Please review Note 912572 which explains in what cases
this error you reported occurs and how to solve the issue.
please update the Connection String in your addon
code as explained in the  Note and test the connection again.
if this does not help, please check if the issue occurs on particular workstation or all. and if the error occurs, try again, will the issue gone?
Best Regards,
xiaodan an
sap business one forum team

Similar Messages

  • When starting the Add-on: Connection timed out issue

    When starting the Add-on: Connection timed out issue
    Hi,
    We have a client in SAP 2005 PL 44.
    I built the add-on for them using simple installer wizard ( I tried advanced set-up also).
    When starting the add-on, I get the message 'Connection Timed Out'.
    Add-on status is failed.
    But the add-on is actually connected. i.e, The functionality associated with the add-on is working fine.
    I had SAP 2007 before and un/reinstalled SAP 2005 in order to connect with this client.
    I had built the same add-on in a similar way for the same client for lot many times in the past, but I never got this issue.
    I tried the following:
    1) Delete SM_OBS_DLL and un/reinstall DI API
    2) un/reinstall B1DE
    Always I'm getting this error.
    Please let me know your inputs.
    Thanks.
    Geetha

    Hi Geetha,
    The timeout issue has been discussed quite a bit already on this forum. Please do a search or look at these threads:
    Timed Out Error with ADDON
    Addon Connection Timed out
    Regards
    Aravind

  • SAP 8.8 Add-On Connection Timed Out....

    Hi Experts,
    I am new to SAP 8.8.I Created a Customized Add-On by using  B1DESetup_2.1 Specifically give for the SAP 8.8.  I Installed the AddOn in the Same PC(Machine) where i Developed the Customization. It Installs fine...But when i Start the Add-On it Showing Add-On Connection TimeOut Message...(But my Code Works fine with out the AddOn Identifier....)
    Thing that i need to Share....
    1) I Doesnt give any Add-On Identifier at the time of connecting with the UI....
    2) Do we need any Add-On Identifier in before connecting to the UI API....
    //SboGuiApi.AddonIdentifier = "";
    3) I need a claritiy that in the 2007B/2005B we created the Add-On but we doest added any Addon Identifier....at that time addon Works Fine...
    4) How can i Get the Add-On Identifier...(Should i need to get it from the SAP)
    5)Because of not Giving the Addon Identifier...did i getting the Add-On Connection Timed Out....while starting the Add-On...
    Thanks in Advance,
    MadhuSudhana Rao.G

    Hi,
    Please review the SAP Note 912572 which explains in what cases this error you reported occurs and how to solve the issue.
    Wish it helps you.
    Best regards,
    Lucy Shen

  • 2004 Registering Add On Connection Timed Out

    Hi I am having a bit of trouble getting an addon to register and load successfully in SBO 2004...
    I can get the Add On to Install properly, however when I load it, I get the error :
    Add-on connection timed out
    This occurs even though the add on has successfully loaded in the background and is running.  In the Add On Manager the status of the add on is set to Failed...
    I tried setting the AddonIdentifier string before connecting in my code using the Add-on Identifier Generator (Development and Implementation strings but these did not help)
    The Helloworld sample was a good help getting thus far, but even when try to install that as an add it disconnects straight away.
    Any help much appreciated!

    Hi Frank,
    I think the problem was the fact that I was hardcoding the connection string. After I changed it to accept it through the command arguments that the SAP application passes in it seems to connect fine - below is the procedure that I use to connect, I have left the commented lines in to show you how i was trying to connect.  I am still unsure as to when to use the AddonIdentifier property however.
    I have the add-on working 85% well now, but have posted again at SAP Business One SDK any input on this post would be very appreciated!
    Thanks,
    Daniel
              private bool SingleSignOn()
                   SAPbouiCOM.SboGuiApi objGui = new SAPbouiCOM.SboGuiApi();
                   objCompany = new SAPbobsCOM.Company();
                   string strCookie;
                   string strConnection;
                   long lngConnectResult;
                   try
                        //objGui.AddonIdentifier = "4CC8B8ACE0273A61489738C94047855DE8768CDD37F64D4F11E82759A542BD515D5A6E4F50A19B939FBB0FA844FA35C7B604E771";
                        //objGui.Connect("0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056");
                        objGui.Connect(Environment.GetCommandLineArgs().GetValue(1).ToString());
                        objApplication = objGui.GetApplication(-1);
                        strCookie = objCompany.GetContextCookie();
                        strConnection = objApplication.Company.GetConnectionContext(strCookie);
                        if(objCompany.Connected)
                             objCompany.Disconnect();
                        lngConnectResult = objCompany.SetSboLoginContext(strConnection);
                        if(lngConnectResult != 0)
                             System.Windows.Forms.MessageBox.Show("Connection failed, make sure SAP Business One is running and you are logged into a Company");
                             return false;
                        lngConnectResult = objCompany.Connect();
                   catch
                        System.Windows.Forms.MessageBox.Show("Connection failed, make sure SAP Business One is running and you are logged into a Company");
                        return false;
                   return true;

  • SP01: Add-on connection timed out.

    I have upgraded an existing add-on to SP01. It runs fine in development mode and it installs correctly using and installer and Add-on Administration.
    When it tries to execute in production mode it gives the error: "Add-on connection timed out" after only about 12 seconds.
    I have checked the sapbobscom2005.dll and it is the correct version and special build.
    Any suggestions on how to resolve this are greatly appreciated.
    Mel

    Hi Mel,
    This behavior is not new in SP01 to my best knowledge!
    I remember having found the same behavior back in 2004...
    What you need to do is to first connect to UI API + afterwards eventually do some more initializations!
    HTH,
    Frank

  • Add-on connection timed out Error

    Hi all,
          I have created an add on following sdk help. (ie; a blanket project). The add - on installs properly but while runnig it gives connection timed out error. I have found a lot of similar threads in the form. but all of them uses B1DE. And the B1DE is not getting installed properly in my system . the installation of B1DE completes sucessfully but i dont find any SAP templates in my Visual studio 2005. I suppose its a B1DE version problem since while installing it is asking for vsual basic .net 2003 path where as I have oly VS 2005. From where do I get B1DE versionfor VS 2005 ?
    Regards,
    Priya

    Priya,
    You download B1DE from the same area as you download the B1DE for VS 2003.
    https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
    You need to download B1DE for VS 2005.
    Eddy

  • Error: Network Connection Timed Out

    I am beyond ****** off at the moment. My iTunes was working perfectly until two weeks ago, and now it insists my Network Connection Timed Out when I try to access the store or update podcasts.
    It can't be my internet connection, because as you can see, I'm able to access the internet. For some reason it's this specific copy of iTunes (7.5), because the iT7 downstairs works perfectly. Of course, since Apple are so fecking stingy, I can't add a few files from there without wiping everything off my iPod.
    So here's the run-down:
    I'm using a Dell Inspiron 8600, Windows XP, browsing with Firefox and attempting to load the latest podcasts onto my iPod Shuffle. I don't give a toss about downloading songs, I just want to update my podcasts without having to search the net for the source file.
    I ran the Network Diagnostics and it insists the Conneciton to iTunes failed, suggesting I adjust my cable (i don't have one - it's wireless) or flush my dns settings (which i've done several times).
    I found a thread on these forums from March and tried every solution:
    - uninstalling and reinstalling itunes... doesn't work.
    - opening Internet Explorer 7, then opening iTunes... doesn't work.
    - searching for a host file and removing the phobos apple line... doesn't work. The phobos line wasn't there
    - using itunes 7... doesn't work.
    - flushing my dns... doesn't work.
    - turning off my firewall.... doesn't work.
    - avoiding clashes with mcafee or zone alarm... doesn't work, cos i don't use those
    I think it's appalling that I've tried all this, and i'm still no closer to knowing what the problem is, and that Apple failed to respond to any of the other people's problems in the earlier thread. And that i spent about ten minutes signing up to this fecking forum just to ask for help. Surely support should be readily available to anyone!
    Can anybody help me? In the other thread, people found alternative sites for buying music, but has anyone got an alternative, ipod-compatible podcasting program?

    I have this same problem. Here's what I can add to this discussion - iTunes accessed the iTunes store a day or two ago. I have a home network and can access the internet from all of the networked PCs. I can access the iTunes store from all of the networked PCs using Internet Explorer. I can access the iTunes store from my laptop iTunes. I can not access the iTunes store from my workstation PC. I get the same "network connection timed out" message. I downloaded and installed a new (same version) of iTunes on the workstation PC. both the laptop and the workstation are running the same OS (Windows XP SP2), both are Dell computers, both are accessing the internet via a wired connection to the same switch and the same router. All other internet connections work fine.
    What's different? In the last couple of days my Workstation lost access to a network printer. I worked with HP for over an hour to re-establish network connection to that printer with no success. I have access to the same networked printer from my laptop.
    The IP address for the network printer is identical to what it was when it was installed - HP suggests looking for a change to the IP address. I made no changes to the workstation PC, the home network or the router, ISP, or internet connection.
    But, it seems to me that the loss of access to the HP networked printer and the inability of iTunes to access the iTunes store are related.
    I also called Apple and attempted to get technical support. I own 4 iPods with 104 Gbs of storage on them, I own 1900 CDs and iTunes has 36.5 days of music loaded into it.
    I purchased Apple Care on all of the iPods - it's expired and they never warned me. They want to charge me $29 to fix this problem - even though I no longer can purchase music via the iTunes Store, so I need to pay $29 in order to gain access to the iTunes store to spend more money with Apple?! Not a smart business decision. I own a few other PC based music programs and more than willing to transfer all of it out of iTunes and into one of the other products. I'll sell all the iPods on eBay and purchase other MP3 players if I must.
    But, I suspect the problem is (1) Apple doesn't have a documented answer to this problem, (2) the level 1 techs that answer the support phone are clueless - they just e-mailed me the same article from the Apple website that I told them I read and does not apply to my problem, and obviously does not resolve my problem. (3) Apple is not setup to resolve this type of problem with their level 1 support, and they can't escalate the problem without charging us.
    I'll try again on Monday, may even purchase Apple Care first and then use that. The Apple Care Tech Support is typically better than the free level 1 call in support.
    Suggestions, comments, etc. are all appreciated.
    nlc
    <SCRIPT language=JavaScript>
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    function SymOnUnload()
    window.open = SymWinOpen;
    if(SymRealOnUnload != null)
    SymRealOnUnload();
    function SymOnLoad()
    if(SymRealOnLoad != null)
    SymRealOnLoad();
    window.open = SymRealWinOpen;
    SymRealOnUnload = window.onunload;
    window.onunload = SymOnUnload;
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    //-->
    </SCRIPT>

  • Getting error  connection timed out while invoking webservice from bpel.

    Hi,
    I am trying to call a secure webservice developed in .Net having extension .svc from the bpel service and in response i am getting error
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect</summary>
    I am able to call this web service from the java programme using HTTPClient by setting the username/password and soapaction in http Header but not from the BPEL process. This .Net service is synchronous in nature. I also set the proxy in opmn.xml but didn't got any success.
    Please reply me ASAP. Need urgent help.
    Thanks.

    Are you working on 11g ? if this is 11g
    How are you invoking the webservice ...does it have any authentication..
    If the webservice which you are invoking has basic http authentication...
    1. In the composite.xml file, right click on the reference and configure WS policies. In security tab, add a security policy named"oracle/wss_http_token_client_policy"
    2. Add two binding properties for the reference
    (i) oracle.webservices.auth.username
    (ii) oracle.webservices.auth.password
    and provide the username and password for those two properties...
    Just try this out...
    Thanks,
    N

  • Upgrading to 4.2 iphone and ipad error "network connection timed out"

    When trying to upgrade both ipad and iphone to 4.2 the download runs then stops with error message "network connection timed out" and says try again later. I have downloaded movies that take over an hour so I know it is not just time. I have trying turning off firewall and virus as well as empting cache and still no results. really believe it has something to do with windows 7 settings. any ideas?

    I was having the same problem and after several weeks of technical support they basically gave-up and suggested I try installing Kaspersky KIS 2012 (not yet released, but available on their ftp download site as a "current version"). 
    Anyway, I installed it and now I can update my iOS on my iPhone and iPad.  Voilla!  However, Kaspersky claim that this is not a common problem.  Yeah, right! 
    If you want to upgrade to KIS v12 (2012) or KAV v12 (2012), then here is how:
    1) Download v12 (2012) from the ftp site here:
    ftp://ftp2.kasperskyftp.com/consumer-products/Current_Versions/KIS2012/
    2) Disconnect from Internet (doh!)
    3) Stop Kaspersky (right click on the "K" in the tool tray and select "Exit")
    4) Uninstall Kaspersky from the Control Panel (Programs / Add-Delete Programs)
    5) Reboot after uninstalling old version
    6) After rebooting, install KIS/KAV v12 (2012)
    7) When it prompts for install key, re-connect to the Internet and enter the key code (usually on the back of the envelope the original installation disk is in).  The key code for earlier versions should work (at least it did for code with KIS 2010, two versions earlier).
    8) Reboot when done
    Finally, if this works for you (or anyone else), please post here, since Kaspersky seems to think it is very rare case that it worked for me... ha! 

  • Losing Airport/ Get message "connection timed out" when try to re-connect

    This has happened several times over the past few days. First time, trying to re-connect, it didn't see my network name. Then re-entered name, selected/joined, password shows up, but connection times out. Tonight, it saw my name, password showed up, but wouldn't connect, not matter what, with message "connection timed out."
    Both times the only thing that worked was a re-start. Tonight, even after a re-start, got "connection timed out" message at first, but was able to get back on by clicking on the icon. I see the following logs.
    Error: airportd MIG failed = -6 ((null)) (port = 26123)
    Macintosh-3 Apple80211Agent[91]: Error joining .......: Connection timeout (-6 timeout connecting)
    Macintosh-3 airportd[673]: Error: Apple80211Associate() failed -6
    Until this happens, the connection is solid, usually with 54 mbs. I've googled around for these logs, but haven't seen anything conclusive. Any ideas? Thanks.

    Don't mean to add to the possible confusion here, but most newer routers (Apple included) allow their users to "hide" their network, so it's also very possible and likely in an apartment situation that you can pick up interference from a network that you or Air Radar cannot "see".
    So, trying to find the "right" channel becomes a bit more of guessing game.
    Understand that you need "g" for your devices. For the future though, you might watch the Air Radar screen for channels in the 36-48 and 149-161 range to see how much less activity is going on there.

  • Connection refused to host: connection timed out

    I have been struggling with this problem a couple of days now so I really hope someone can help me. I am trying to get rmi to work in a NAT environment. We use a firewall, so I have opened port 1099 and 2020 which I use as a fixed port for communication (just to be sure it is not a firewall thing); I use the following code:
    //server
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public String getMessage() {
    return "you have successfully connected to the server";
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String port = args[0];
    try {
    RMISocketFactory.setSocketFactory(new FixedPortRMISocketFactory(Integer.parseInt(port)));
    } catch (IOException e) {
    e.printStackTrace();
    LocateRegistry.createRegistry( 1099 );
    catch (RemoteException e1) {
    e1.printStackTrace();
    String name = "rmi://localhost/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    while(true); //stay alive
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " + e.getMessage());
    e.printStackTrace();
    public Socket createSocket(String host, int port)
    throws IOException {
    System.out.println("creating socket to host : " + host + " on port " + port);
    return new Socket(host, port);
    * Create a server socket on the specified port (port 0 indicates
    * an anonymous port) and writes out some debugging info
    * @param port the port number
    * @return the server socket on the specified port
    * @exception IOException if an I/O error occurs during server socket
    * creation
    * @since JDK1.1
    public ServerSocket createServerSocket(int port)
    throws IOException {
    port = (port == 0 ? portnumber : port);
    System.out.println("creating ServerSocket on port " + port);
    return new ServerSocket(port);
    //client
    public class ComputePi {
    public static void main(String args[]) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    try {
    String name = "rmi://" + args[0] + "/Compute";
    Compute comp = (Compute) Naming.lookup(name);
    System.out.println("connected to server");
    System.out.println(comp.getMessage());
    } catch (Exception e) {
    System.err.println("ComputePi exception: " + e.getMessage());
    e.printStackTrace();
    I start the client with:
    java -Djava.security.policy=policy.all -jar client.jar 194.2.4.6:1099
    I start the server with:
    java -Djava.rmi.server.codebase="file:/C:\RMI\\server.jar" -Djava.rmi.server.hostname="194.2.4.6" -Djava.security.policy=policy.all -jar server.jar 2020
    As you can see I set the "-Djava.rmi.server.hostname" property which should be a solution to the NAT problem. However I keep getting the following exception!!??!!:
    ComputePi exception: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: 194.2.4.6; nested exception is:
         java.net.ConnectException: Connection timed out: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at java.rmi.Naming.lookup(Unknown Source)
         at client.ComputePi.main(ComputePi.java:14)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
         ... 7 more
    Can anyone help me with this, please??????
    kind regards,
    Christiaan

    Yes, i can ping it from the client.
    I have also noticed that when i run my server with the option -Djava.rmi.server.hostname=IP the applications stops automatically after a few minuts...
    I'm not using nothing about codebase. I have the stub and skel classes in server and client machines..
    I add the complete exception:
    Client exception: java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    java.rmi.ConnectException: Connection refused to host: external_IP; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
    at example.hello.Server_Stub.sayHello(Unknown Source)
    at example.hello.Client.main(Client.java:55)
    Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
    ... 5 more

  • Connection timed out when try to connect orb through iiop

    I have been trying to test a very basic corba example in weblogic 11g, it narrows an orb sucessfully with naming service, but I got connection timed out error when trying to call a function in the orb. My weblogic and my source code are on the same machine and I connect it with browser(coz it is a web application), so I doubt if it is firewall issues, but I could be wrong. I appericate so much if anyone can help.
    Here is the error message I got, you can see I listed all the objects in the naming service and I am able to locate Hello object:
    >
    Context: weblogic
    Object: Hello
    Context: javax
    Obtained a handle on server object: oraclecorba._HelloStub:Delegate(532227) [weblogic.iiop.IOR[IDL:oraclecorba/Hello:1.0] @xx.x.xx.xxx:xxxx, <0, null>]
    org.omg.CORBA.COMM_FAILURE: Connection timed out vmcid: 0x0 minor code: 0 completed: No
    at weblogic.iiop.Utils.mapToCORBAException(Utils.java:885)
    at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:311)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
    at oraclecorba._HelloStub.sayHello(_HelloStub.java:18)
    at oracle.demo.corba.MyJSPHelper.jspSayHello(MyJSPHelper.java:71)
    at jsp_servlet._pages.__corbajsp._jspService(__corbajsp.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:342)
    at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:79)
    at weblogic.socket.BaseAbstractMuxableSocket.createSocket(BaseAbstractMuxableSocket.java:133)
    at weblogic.iiop.MuxableSocketIIOP.newSocket(MuxableSocketIIOP.java:266)
    at weblogic.iiop.MuxableSocketIIOP.createSocket(MuxableSocketIIOP.java:253)
    at weblogic.socket.BaseAbstractMuxableSocket.connect(BaseAbstractMuxableSocket.java:106)
    at weblogic.iiop.MuxableSocketIIOP.connect(MuxableSocketIIOP.java:238)
    at weblogic.iiop.MuxableSocketIIOP.createConnection(MuxableSocketIIOP.java:222)
    at weblogic.iiop.EndPointManager.createEndPoint(EndPointManager.java:464)
    at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:239)
    at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:256)
    at weblogic.iiop.IIOPRemoteRef.locateIORForRequest(IIOPRemoteRef.java:383)
    at weblogic.corba.idl.RemoteDelegateImpl.getInvocationIOR(RemoteDelegateImpl.java:535)
    at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:256)
    ... 19 more
    >
    Here are my source code
    Server side
    package oracle.demo.corba;
    import oraclecorba.Hello;
    import oraclecorba.HelloHelper;
    import org.omg.CORBA.ORB;
    import org.omg.CosNaming.Binding;
    import org.omg.CosNaming.BindingIteratorHolder;
    import org.omg.CosNaming.BindingListHolder;
    import org.omg.CosNaming.BindingType;
    import org.omg.CosNaming.NameComponent;
    import org.omg.CosNaming.NamingContext;
    import org.omg.CosNaming.NamingContextExt;
    import org.omg.CosNaming.NamingContextExtHelper;
    import org.omg.CosNaming.NamingContextPackage.NotFound;
    import org.omg.PortableServer.POA;
    import org.omg.PortableServer.POAHelper;
    import weblogic.common.T3ServicesDef;
    public class ORBStartup{
         private T3ServicesDef t3servicesdef;
         public void setServices(T3ServicesDef t3servicesdef)
            this.t3servicesdef = t3servicesdef;
         public static void main(String[] args)
            throws Exception
             try{
                  args = new String[4];
                  args[0] = "-ORBInitialHost";
                  args[1] = "some_address";
                  args[2] = "-ORBInitialPort";
                  args[3] = "8056";
                  System.out.println("...............startup...........");
                   // Create a new object request broker
                   ORB orb = ORB.init( args, null );
                   // get the root POA
                   POA rootpoa = POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
                   // Activate PersistentPOA's POAManager, Without this
                   // All calls to Persistent Server will hang because POAManager
                   // will be in the 'HOLD' state.
                   rootpoa.the_POAManager().activate();
                // instantiate the servant
                   CorbaHelloImpl helloImpl = new CorbaHelloImpl();
                   helloImpl.setORB(orb);
                   org.omg.CORBA.Object helloObj = rootpoa.servant_to_reference(helloImpl);
                   Hello HelloRef = HelloHelper.narrow(helloObj);
               //  Resolve RootNaming context and bind a name for the servant.
                 // NOTE: If the Server is persistent in nature then using Persistent
                 // Name Service is a good choice. Even if ORBD is restarted the Name
                 // Bindings will be intact. To use Persistent Name Service use
                 // 'NameService' as the key for resolve_initial_references() when
                 // ORBD is running.
                   org.omg.CORBA.Object ncObj = orb.resolve_initial_references("NameService");
                   //This line works ONLY for INS(jdk 14 naming service)
                   // Since we have only an object reference, we must
                   // cast it to a NamingContext. We use a helper
                  // class for this purpose
                   NamingContextExt ncRef = NamingContextExtHelper.narrow( ncObj );
                   String name = "Hello";
                   NameComponent path[] = ncRef.to_name( name );
                   try {
                        ncRef.rebind( path, HelloRef );
                   } catch( org.omg.CosNaming.NamingContextPackage.NotFound nf ) {
                        NameComponent[] tmpName = new NameComponent[path.length-1];
                        for (int i=0; i < path.length-1; i++) { tmpName[i] = path; }
                        createContextPath(ncRef, tmpName);
                        ncRef.bind(path, HelloRef);
         BindingListHolder bl = new BindingListHolder();
         BindingIteratorHolder blIt= new BindingIteratorHolder();
         ncRef.list(1000, bl, blIt);
         Binding bindings[] = bl.value;
         for (int i=0; i < bindings.length; i++) {
         int lastIx = bindings[i].binding_name.length-1;
         // check to see if this is a naming context
         if (bindings[i].binding_type == BindingType.ncontext) {
         System.err.println( "Context: " +
         bindings[i].binding_name[lastIx].id);
         } else {
         System.err.println("Object: " +
         bindings[i].binding_name[lastIx].id);
                   System.out.println( name + " for INS ready and waiting ...");
                   // the server is now ready to receive the client request
                   orb.run();
              } catch (Exception e) {
                   System.err.println("ERROR: " + e);
                   //e.printStackTrace(System.out);
                   throw e;
              System.out.println("HelloServer Exiting ...");
    public static void createContextPath(NamingContext nc, NameComponent[] name)
         throws org.omg.CORBA.UserException {
         try {
              nc.bind_new_context(name);
         } catch (NotFound nf) {
              for( int len = name.length - nf.rest_of_name.length + 1;
                   len <= name.length; len++ )
                   NameComponent[] tmpName = new NameComponent[len];
                   for (int i=0; i < len; i++) { tmpName[i] = name[i]; }
                   nc.bind_new_context(tmpName);
    Client side:
    package oracle.demo.corba;
    import oraclecorba.Hello;
    import oraclecorba.HelloHelper;
    import org.omg.CORBA.ORB;
    import org.omg.CosNaming.Binding;
    import org.omg.CosNaming.BindingIteratorHolder;
    import org.omg.CosNaming.BindingListHolder;
    import org.omg.CosNaming.BindingType;
    import org.omg.CosNaming.NamingContextExt;
    import org.omg.CosNaming.NamingContextExtHelper;
    public class MyJSPHelper
         public static String jspSayHello(String in)
              String rc = "";
              try
                   ORB orb = ORB.init();
                   // get the root naming context
                   org.omg.CORBA.Object objRef;
                   objRef = orb.resolve_initial_references("NameService");
                   // Use NamingContextExt instead of NamingContext. This is
                   // part of the Interoperable naming Service.
                   NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
                   /*for(int i =0; i<orb.list_initial_services().length; i++)
                        rc += orb.list_initial_services()+": ";
                        System.err.println(orb.list_initial_services()[i]);
         BindingListHolder bl = new BindingListHolder();
         BindingIteratorHolder blIt= new BindingIteratorHolder();
         ncRef.list(1000, bl, blIt);
         Binding bindings[] = bl.value;
         for (int i=0; i < bindings.length; i++) {
         int lastIx = bindings[i].binding_name.length-1;
         // check to see if this is a naming context
         if (bindings[i].binding_type == BindingType.ncontext) {
         System.err.println( "Context: " +
         bindings[i].binding_name[lastIx].id);
         } else {
         System.err.println("Object: " +
         bindings[i].binding_name[lastIx].id);
                   // resolve the Object Reference in Naming
                   String name = "Hello";
                   Hello helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));
                   System.err.println("Obtained a handle on server object: " + helloImpl);
    //Hello helloImpl = HelloHelper.narrow(orb.string_to_object("corbaname:iiop:some_address:8056#Hello")); also tried that, but got the same problem
                   rc = helloImpl.sayHello(in); //<----failed here
              catch(Exception e)
                   // TODO Auto-generated catch block
                   rc += e.toString();
                   e.printStackTrace();
              return rc;
    Edited by: user8904224 on 27/04/2010 23:06

    Don't mean to add to the possible confusion here, but most newer routers (Apple included) allow their users to "hide" their network, so it's also very possible and likely in an apartment situation that you can pick up interference from a network that you or Air Radar cannot "see".
    So, trying to find the "right" channel becomes a bit more of guessing game.
    Understand that you need "g" for your devices. For the future though, you might watch the Air Radar screen for channels in the 36-48 and 149-161 range to see how much less activity is going on there.

  • Connection timed out: connect at com.sun.mail.imap.IMAPStore.protocolConne

    Hi ,
    Recently, my team need to work with javamail. Here I got a problem: when I run the application in my personal home network , it goes on very well. When I run the program in my company env, it gives error info:
    Exception in thread "main" javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1706)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)
    at javax.mail.Service.connect(Service.java:313)
    The resource is :
    import java.security.Security;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    *Use Gmail
    public class GmailSender {
    public static void main(String[] args) throws AddressException, MessagingException {
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
    // Get a Properties object
    Properties props = System.getProperties();
    //Add proxy for GmailSender
    //especially here, I am not sure whether the proxy really works. In home network, it needn't proxy to run successfully.
    // props.setProperty("proxySet","true");
    // props.setProperty("socksProxyHost","148.87.19.20"); // This IP address is our proxy server address
    // props.setProperty("socksProxyPort","80");
    props.setProperty("mail.smtp.host", "smtp.gmail.com");
    props.setProperty("mail.smtp.socketFactory.class", SSL_FACTORY);
    props.setProperty("mail.smtp.socketFactory.fallback", "false");
    props.setProperty("mail.smtp.port", "465");
    props.setProperty("mail.smtp.socketFactory.port", "465");
    props.put("mail.smtp.auth", "true");
    final String username = "XXX";
    final String password = "XXX";
    Session session = Session.getDefaultInstance(props, new Authenticator(){
    protected PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(username, password);
    // -- Create a new message --
    Message msg = new MimeMessage(session);
    // -- Set the FROM and TO fields --
    msg.setFrom(new InternetAddress(username + "@gmail.com"));
    msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse("[email protected]",false));
    msg.setSubject("Hello");
    msg.setText("How are you");
    msg.setSentDate(new Date());
    Transport.send(msg);
    System.out.println("Message sent.");
    Will you please help me to review my code and give me some suggestions ?

    No point looking at the code. The error message says the code can't connect to the server you are trying to connect to, so presumably there's a firewall or something like that preventing the connection. Talk to your network people.

  • Nokia Internet Radio Error: Connection Timed Out. ...

    Hi,
    I'm having an issue with the Nokia Internet Radio application on the Nokia N95. The app launches ok but if I try and browse the station directory or perform a search I get the error 'Connection Timed Out. Try Again' This happens almost instantly i.e. it doesn't look like it's even trying to connect. If I go to the shoutcast site and click on the 'Tune In' button next to a station the Internet radio app launches and I get an error saying 'General: System Error' and the application closes then goes back to the browser and a message saying 'Web: No Gateway Reply' The application worked fine up until recently. I upgraded to FW V 21.0.016 and hasn't worked since so it may be that this has caused the problem. I've removed and re-downloaded \ re-installed the software but still get the same issue. Web browsing works fine, so I know my internet settings are fine, and the old open-source version of the radio player even works so it's just an issue with this app. Any advice on how to fix it would be much appreciated. Thanks.

    I had the same problem and I fixed it.  For me, it was because I am on the Rogers network in Canada.  Regardless of where you are many cellular neworks use firewalls and something called NAT (Network Address Translation).  Nokia should really make people aware of this because probably 50% of people around the world have this problem.  The solution for me was to use Rogers VPN or Public IP to access the internet.  Rogers blocks access to this internet connection so you have to add the service to your account for $10 per month but I have heard that other carriers like FIDO have not blocked access to it.
    On the Nokia n79 this requires creating a new access point under TOOLS>SETTINGS>CONNECTIONS>DESTINATIONS.  Add a new access point with the following settings:
    Connection Name: Rogers VPN (or whatever you want to call it)
    Data Bearer: Packet Data
    Access Point Name: vpn.com
    User Name: wapuser1
    Prompt Password: No
    Password: wapuser
    Authenticaiton: Normal
    Homepage: None
    Use Access Point: After Confirmation (or change if you want something else)
    That's it. When you load the internet radio Application and it lists your options select "Rogers VPN".  If you don't see it in the list, press the soft button for Options then "Select Access Point" and you will see the full list.  If you want the VPN to be the first thing you see you can change the priority under destination settings.  Just select the VPN and press "Organize" then "Change priority". 

  • Connection Timed Out when Submitting Podcast

    I am getting really frustrated. A few days ago I submitted a feed to add a podcast to the iTunes catalog. I had checked the feed already to make sure it validated. iTunes accepted it as a valid feed and said I would get an email shortly confirming the submission. SO yesterday, not having received the email, I contacted support (online - no phone support) - and they say that the feed did not validate. Told me to run it through feedvalidator. WHICH I DID ALREADY and did again- it validates. I am able to subscribe to it even in iTunes. So I attempted to resubmit - got a "connection to thr server timed out" message. I have attempted to create feeds using several online utilities, changing where I host the feed, etc, and no matter what, I get a connection timed out message. They won't talk to me on the phone. AND I AM GETTING SO TICKED OFF! Is this Apple's servers going down?

    Please check the hosts file for the new IP,
    Also cehck the Agnet service login for wheter the user has the privledges to do a FTP access to the server or also connect to the server
    Reshma

Maybe you are looking for