Connect failed using javamail

hi all,
i am trying to read email using javamail. But it always give an error result as below :
javax.mail.MessagingException: Connect failed;
nested exception is:
     java.net.ConnectException: Connection timed out: connect
     at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:161)
     at javax.mail.Service.connect(Service.java:288)
     at javax.mail.Service.connect(Service.java:169)
     at email.retrieveemail1.receive(retrieveemail1.java:48)
     at email.retrieveemail1.main(retrieveemail1.java:22)
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.SocksSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233)
     at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
     at com.sun.mail.pop3.Protocol.<init>(Protocol.java:94)
     at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:214)
     at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:157)
     ... 4 more
i am using fastmail and using this pop3 address : mail.messagingengine.com
is there any possibility that this problem related with proxy server? or i just put a wrong pop3 address?
any advice will be appreciated....
thx in advance.
Edited by: inair on Feb 12, 2008 2:38 AM

Oracle is not completely up... or is still in shutdown mode.
start it manually with :
sqlplus / as sysdba
shutdown imemdiate;
startup;
exit;
now, restart SAP.

Similar Messages

  • Ftp connection failed using iWeb

    i am trying to publish my website using iweb 3.0.4. everytime i test my ftp server i keep getting connection failed. i know for a fact that my username and password, and all related ftp server settings are correct. my webhost is godaddy and have quadrouple checked my username and passwork are correct.
    i have another site also hosted by godaddy and published with iweb, and i have repeated exactly in the same way, but continue to get 'testing failed... please verify settings...' window, and therefore cant publish. very frustrated - any thoughts please? thanks much, c

    Try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    OT

  • "Connection failed" using smb to Win 7 64-bit shared folder

    Hi,
    I am a new Mac user and was unable to find any suggestion for a solution to the problem I am experiencing.
    I use a folder on my PC to store video files. It is shared and the Mac connects to the address smb://biblioteket. This usually works fine, but sometimes I get a "Connection failed" error message. I connect through a gigbit wired ethernet connection.
    Some other characteristics:
    - If I restart my PC and reconnect, it works again - every time.
    - I can connect to the PC using Teamviewer even if I get the error message, meaning there is a connection between the computers.
    - The error will always show up if I try to copy large files from my Mac to the shared folder on the PC. I get a error message during file copying, after that the mounted drive is inaccessible and the "Connection failed" error message appears.
    Any suggestions?

    Hi,
    So I did what I always do to get the error message. I moved about 25 files from the Mac to the PC. Total size was about 5 gb. About half way through, I get the following error message:
    The Finder can’t complete the operation because some data in “(filename(.avi” can’t be read or written.
    (Error code -36).
    So I retry, but this time the mounted drive has disconnected and get the following error msg:
    The operation can’t be completed because an unexpected error occurred (error code -41).
    This happened with a new user (administrator). Any ideas? Thanks in advance.

  • Applet to servlet connection failed using plugin 1.3

    Hi,
    I tried to send a serialized object from an Applet to a Servlet. It worked well until I installed the Java plugin version 1.3.
    Now I can open the Connection, create an ObjectOutputStream and write the object but nothing happens then. The Servlet doesn't start working.
    I don't receive an exception or error message, neither in Tomcat or Apache log-file nor in the plug-in console.
    here is my code example:
    String location = " http://localhost/com/spes/test/TestUploadSoundServlet";
    URL servlet = new URL( location );
    URLConnection servletConnection = servlet.openConnection();
    // inform the connection that we will send output and accept input
    servletConnection.setDoInput(true);
    servletConnection.setDoOutput(true);
    // Don't use a cached version of URLconnection.
    servletConnection.setUseCaches (false);
    servletConnection.setDefaultUseCaches (false);
    // Specify the content type that we will send binary data
    servletConnection.setRequestProperty ("Content-Type", "application/octet-stream");
    ObjectOutputStream out = new ObjectOutputStream(servletConnection.getOutputStream());
    out.writeObject(soundClass);
    out.flush();
    out.close();
    Is there anything wrong in the code above?
    thanks for help...
    mfg maze

    since the Apache server is listening on port 80 I thought it is not necessary to use the port number. I tried now with the new URL:
    String location = " http://localhost:80/com/spes/test/TestUploadSoundServlet";but it still doesn't work.
    thanks for your help

  • Using javamail with dial-up connection and LAN

    Hello,
    I'm using javamail on Windows XP (including service pack 2). When I connect to a mail server on the network, everything is OK. When I connect to a mail server using a dial-up connection, everything is OK. But when I try to connect to a mail server for which I need the dial-up connection and I also have a network connection to my LAN, the connect to the mailserver failed. It looks like JavaMail is searching the mail server on my LAN instead of on the dial-up connection. Does anybody know if I can configure JavaMail to search on the dial-up connection? Does anybody know if this problem will also occur on systems where I have multiple network cards?
    Regards,
    Marco

    No Prob!
    Enjoy Surfing!

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • When trying to use sharing, I get Connection Failed

    When trying to use my OSX 10.75 laptop to access files on my OSX 10.6.8 laptop it says "Connection Failed". In the console, it says:
         Finder: SharePointBrowser::handleEnumerateCallBack returned -6600
    File sharing is turned on in the target computer. I have a user account setup for file sharing. That user account has read/write access setup.
    I have tried to turn off sharing and turn it back on.
    I have tried to remove the shared folders, make new folders and then share those new folders.
    I have tried both guest access as well as access with a specific user account.
    Nothing works. I get the error message above no matter what I do.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • We are receiving a "Secure Connection Failed" error message when using Firefox Version 37.01. What is the remedy?

    We have multiple websites that do not launch now as a result of the recent upgrade from Firefox version 36.04 to version 37.01. We received "Secure Connection Failed" error messages which indicate that the connection was interrupted while the page was loading, and that the page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please explain why this is happening, and if a fix will be issued soon by Mozilla, as everything was operating normally prior to the most recent Firefox upgrade. Alternatively, please identify browser settings that can/should be changed in order for Firefox to access these basic Internet sites (that are completely accessible using other browsers such as IE and Google Chrome). Thank you.

    ''rahuldecoded [[#answer-718441|said]]''
    <blockquote>
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message
    </blockquote>
    FYI, I work with the original poster. I looked at the suggestions on that page but none were the issue. Then I found this thread:
    https://support.mozilla.org/en-US/questions/1056488
    And that appears to be the problem we and others are having.

  • I don't know much about computers, so please be patient. I started using Airport and I recently noticed a "network" option right below "Macintosh HD". When I click on "network" it shows "b67446000000" with a computer monitor icon and "connection fail

    I don't know much about computers, so please be patient. I started using Airport and I recently noticed a "network" option right below "Macintosh HD". When I click on "network" it shows "b67446000000" with a computer monitor icon and "connection failed". When I right click on this and select "Get more info" it displays nothing, just the spinning wheel. When I select "Connect As" it asked for my password to connect to "Server b67446000000". This may have been on my computer since I got it, I never paid much attention. Is this part of the operating system or has someone hijacked my computer? Why would I need a server...it's just me and my one computer? Maybe someone has hacked in through Airport? Any help will be greatly appreciated. Thanks!

    Is your airport a Time Capsule.. if so it is able to serve files on the network.
    The number is the MAC address of the network in the router.
    Please reset the apple router whatever is and redo the setup.. this time give it a simple name.. eg TCgenX where X is the actual gen of the unit and give it a simple wireless name.. TCwifi and a simple password with 8-20 characters mix of upper and lower case and numbers.
    Perhaps even better give me a screenshot from the computer of the airport utility showing me the Airport with its MAC address.

  • HT4157 I am trying to use my cellular data on iPad and states connection failed. What do I need to do?

    I am trying to use cellular data and states connection failed. What do I need to do to fix this?
    Thanks

    Hi there April3939,
    You may find the troubleshooting steps in the article below helpful.
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    -Griff W. 

  • Hello I recently downloaded an app on my iphone 4s - Remote mouse- so i can control my laptop that is connected to my tv, it used to work fine and now the connection fails, I downloaded another app and the same problem occurs, its not the firewall

    Hello I recently downloaded an app on my iphone 4s - Remote mouse- so i can control my laptop that is connected to my tv, it used to work fine and now the connection fails, I downloaded another app and the same problem occurs, its not the firewall and both phone and laptop are conected to the same wifi, i also tried to connect it manually with the ip address and still no connection, can you help??

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Then reset: hold down the home button along with the sleep/wake button until you see the apple, then let go.(No data loss) Try it again.

  • RFC connection failed - When using code created by "GENERATE PHP" button

    Hi All,
    I can use the saprfc_test.php to login, call a BAPI and return data from SAP. But on the same BAPI screen if I click the generate php button and copy the new .php file into my /htdocs/saprfc folder and execute it the browser it returns with "RFC connection failed"
    I am totally stuck, please can anybody help?
    Rob.

    I needed to specify "MSHOST"=>"",    Its strange that this was not neccessary for interactive scripts but the problem is solved

  • Screen Sharing Connection failed when using dock shortcut

    I have 10.10.2 installed on this computer - just updated - and 10.10.1 installed on a couple others (in the process of upgrading) as well as older versions installed on some older computers.
    I have Screen Sharing in the Dock and when I right click on it I get a list of recently connected computers. Until recently this generally worked for making the connection to that remote computer. Sometimes there were minor issues such as systems showing up which are no longer on my network - or showing up with an obsolete name. The big issue is that lately systems are showing up with a .vncloc extension and even when they don't it is hit or miss as to wether or not using the shortcut will make the connection.
    I get an error message that says: Connection failed to "ComputerName".
    Please make sure that Screen Sharing (in the Sharing section of System Preferences) is enabled on the computer to which you are attempting to connect. Also make sure your network connection is working properly.
    In every case - after I see that message if I open a Finder folder - and navigate to the other system and click on Screen Sharing in the Finder window it will connect - and I can do this repeatedly. Every so often the shortcut will work but mostly it does not.
    I have looked for ways to clear that recent items list without success.
    I have cleared the keychain access to the remote computers and reset without success.
    I don't recall seeing this behavior prior to the first 10.10.x system being on my network.
    I have not (yet) tried - turning off screen sharing on ALL systems throughout the network then turing them all back on.
    Not sure if this is a I am using a single iTunes/iCloud account for many of the systems - but also have one permanent and several guest machines that have their own iCloud account.

    Hi Matt Wolanski,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like you are having intermittant trouble with screen sharing. It looks like you have already done some troubleshooting. I would recommend that you read this article, there are several things you can check that may be able to help the issue.
    OS X Yosemite: If you can’t share computer screens
    Cheers,
    Mario

  • Why with Firefox 33.0 do I get "secure connection failed" when I bring up my banking site, but it doesn't happen using Firefox 32.0.3?

    The website comes up fine but "secure connection failed" shows in the space where I'm supposed to put my account number. (I'm prevented from putting my account number in that field.) This computer is running Win 7 Pro. The older version of Firefox on another computer with Win XP has no such problem with the website, nor does the IE browser on this computer.

    One possibility is: Some users had problems with secure sites starting in Firefox 31 related to the new PKIX security component, and worked around it by disabling it. Starting in Firefox 33, it can no longer be disabled, and that setting is ignored.
    Are you comfortable posting the address of the login page so others could see whether they have the same experience with the form?

  • I keep getting a secure connection failed error when tryin to open a site I have used for the past 3 years with no problems...It's for my college, HELP!

    Secure Connection Failed
    The connection to the server was reset while the page was loading.
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

    Some security coding was remove as unsafe.
    Please provide a link to a public page.

Maybe you are looking for

  • I too have ADOBE flash player 11 install problems.

    Hi folks. Yes, I have seen the other posts. I can't get it installed. I have a version but not the latest. Sorry I don't know the version I have installed, but it would be about 7 or 8. I've read other people's posts who have had their problem/s reso

  • Soap envelope with two root elements

    I have a wsdl with a message like: <message> <RootElement1Part> <RootElement2Part> <message> Using jdeveloper 10.1.3.4 to crete my bpel, i have tried to assign both and only the one i need but the following happens: 1) If i try to assign both, only o

  • Unable to import Thesaurus in SharePoint 2013 - Failed to start the flow

    I am having issue with importing Thesaurus into SharePoint 2013. I have tried with seed file on local and remote server without success. On ULS stack, it lists  "Cannot start flow. The admin service is unavailable". But if I retrieve status of search

  • Is there any block in the Labview similar to that of clock block available in Matlab ?

    Hi guys, i have generated a pulse in the matlab using the embedded block having some code in it and it takes the clock as one of it's input as shown in the figure. Now i want to do the same in the Labview, but here i need a block which is exactly sim

  • Problem with AV DWH refresh and purge process

    We are working on a POC for a client and our env is Oracle Linux, Oracle 11g as Source with SYS.AUD$ auditing, Audit vault 10.2.3.1 and Agent all configured in a single server as of now. The problem I am facing is 1) The load process is really weard