Jdbc: connection timed out issue

Hi,
I've done some searching, and trying different things, but haven't been able to resolve my problem.
I'm trying to connect a java application to a mysql database on a machine running ubuntu server. The machine the java app is written and run on is ubuntu desktop.
Here is the relevant java code:
String url="jdbc:mysql://jasonServer/phototestdb"; Connection con = DriverManager.getConnection(url, p);
('p' is a Properties object containing user and pw).
I get this error:
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused // bunch of stack trace stuff...
I've tried a couple ways of connecting in the url,
String url="jdbc:mysql://jasonServer/phototestdb"; String url="jdbc:mysql://jasonServer:3306/phototestdb"; String url="jdbc:mysql://99.999.9.99/phototestdb"; (9's are my ip address, I have static ip's on wireless network) String url="jdbc:mysql://99.999.9.99:3306/phototestdb";
when I have the ip in the url, it fails immediately and gives me a connection refused error:
establishing connection com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refuse
But when I have the server name in the url, it hangs for a long time and then gives me the timeout error.
Couple other relevant notes;
I am able to ping the server from the desktop using the server name, i.e,
ping jasonServer
but not using the ip addres
I am not able to telnet in the terminal window, I type
telnet jasonServer 3306,
it says "Trying (ip address)
and it just hangs there.
This leads me to believe this isn't really a java issue (and after all that typing I'm probably on the wrong forum)
but something to do with my network.
Any ideas?
bp

solved,
I had to enter this in the server:
(found this on the mysql forum)
You simply need to do:
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON <dbname>.*
-> TO <username>@<host name>
-> IDENTIFIED BY '<password>';
where <dbname> is the name of the database you are tyring to connect to, <username> is the username of the user trying to connect to the database, <host name> the name of the host (in your case the XXX host) and <password> the password of the user.

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

  • Database connection timed out issue

    Thanks in advance for anyone that can provide some insight into this. I have a relatively simple BPEL process that is using a JDBC connection within Jdev (not using connection factories due to issues with security) that connects to an Oracle database and runs a sql statement. The first time I run the BPEL process it works fine, however if I run it again then I get the exception below. I was thinking that there was some configuration or flag that would tell the adapter to log into the database each time, but I've been unable to find it. The reason I think this is the core problem is that if I restart SOA Suite then it works, or if I undeploy the process and redeploy it works. I've tried to hang a catch all off the adapter, but with this exception it terminates the instance. I might be doing something wrong there as well so any help would be greatly appreciated. thanks again.
    Execute of operation 'DB_GetActiveLicense' failed due to: Pure SQL Exception.
    Pure SQL Execute of select Io exception: Connection timed out.
    ; nested exception is:
         ORABPEL-11633

    Thanks for your reply. Yes I'm using the database adapter and issuing a direct SQL against it. The query takes no more than 5 seconds to return, when I run it in Toad it's about a second. All result sets come over all at once with maybe 75 records. The odd thing is that when I run this BPEL on a Windows desktop it works fine every time, but when I move it to Solaris it works the one time and then throws that exception.

  • An unknown error occurred (5002) and Connection timed out issue(s)

    Next issue that I have since upgrading to Ver 8 of iTunes:
    When trying to make a purchase I get either one of two different problems/errors -- 1.) Following pop-up “Could not purchase song. An unknown error occurred (5002)” or 2.) I get a “connection timed out” pop-up stating there could be a problem with my internet/network connection.
    As far as there being an issue with my modem or internet, well...there isn’t one that I can detect. I am able to do everything else in iTunes (download samples, surf the pages, etc.) so my connection seems ok generally speaking.
    If someone could get in touch with that super-hip kid in the Mac commercials and tell him to fix all of these problems with iTunes ver 8 that would be great! Honestly, any other issues I have with Vista are typically easy to fix. iTunes is the one piece of software that seems to cause me the most issues and there is very little support from Apple. Seems sort of strange for a company who claims such stability in their products. What gives?
    Sorry for the rant...just frustrated.

    Ok, two seconds after making this post I think I fixed the problem (fingers crossed). I read on a quazi-related post that iTunes was now requiring security codes off credit cards for purchases. Personally I don't use a credit card but I went in to my account just to make sure. The 1st time I tried to access my account I got the 5002 error, the 2nd time I was able to access my account w/o any issue. I did not make any changes to my account at all (just browsed around a bit and made sure everything was ok). After exiting my account I was able to make a purchase. Hey, whatever...right? Of course on my next purchase it will probably throw up some new error. Anyway, try this if you have the same problem.

  • 500 Connection timed out issue

    Hi Experts,
    In my webdynpro JAVA application I am making a call to MDX query to get data from BW.
    If the query returns the value before 60 sec, I am able to view the data.Else I am getting error message "500 Connection timed out"
    In my application I have not set the any timeout in application property.So the application is taking the default timeout settings from the server.
    When i checked with admin team, they give the timeout settings of server as below.Still I am facing the issue of tiemout.
    Can anyone help to find the solution for this?
    Below are the error details:
    500 Connection timed out
    Error:
    -5
    Version:
    7200
    Component:
    ICM
    Date/Time:
    Wed Nov 28 01:15:28 2012
    Module:
    icxxthr_mt.c
    Line:
    4295
    Server:
    a6bwp02__75
    Error Tag:
    Detail:
    Connection to partner timed out after 60s
    Thanks in advance,
    Ram

    Hi
    Check the following settings:
    In BW system:
    Run Transaction -> SMICM From Menu Bar GOTO->Services-> Select HTTP Service-> Now select SERVICE from menu bar->Change option-> Change Max. Processing Time to your convienient.
    Since you are using WDJ:
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/frameset.htm
    From Portal:
    1. Default Timeout: This is the most used and the most common parameter used for portal component timeout.  It is set  at portal - System Administration –> System Configuration –> Service  Configuration –> Default configuration.
    Parameter is Default.component.timeout
    2. Portal Page Timeout: This parameter portal page timeout. This is applicable to browser page not to portal page object. In simpler terms, this parameters is not applicable to PCD objects like iView, workset or a page.
    This is set from portal system admnistration and the parameter is: Com.sap.portal.page.PageTimeout
    3. WebDynpro Component Timeout: This parameter controls expiry time of a webdynpro component. This parameter would override all other parameters and is configured in Visual Administrator You can locate the following parameter and configure appropriate time.
    Parameter is:   Tc~wd~dispwda – DefaultExpirationTime
    4. WebDynpro Application timeout: This parameter controls timeout of a webdynpro application inside a component. When you want to have a different timeout for application, you can use this parameter. This parameter also overrides timeout parameters set in Service Configuration.
    The parameter is: ExpirationTime
    Hope this helps. Please mention the solution.

  • JDBC connection timing out

    Hello all,
    The problem i am faced with is this. I am working on developing a program that lets me upload pictures as byte streams to a mysql database and then retrieves them in the form of a slide show. I have developed other programs that connect to mysql and update delete query etc. without any connection problems. When i go to test the code i have just written i am only able to test about 2-3 times before i get the following error. I then have to restart the mysql server and my testing pc also to regain another 2-3 testing connections. I am using InputStreams and ByteArrayOutputStreams and closing both when done with them. My other programs do not use prepared statements for queries and update but this one does(may prepared statement problem ??) but i am at a loss as it gets real old to have to reboot ever 15 minutes both pc's. Please any advice would be greatly appreciated
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection timed out: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at databasePhoto.DatabaseUtility.login(DatabaseUtility.java:45)
    at databasePhoto.Test.<init>(Test.java:24)
    at databasePhoto.Test.main(Test.java:46)
    ** END NESTED EXCEPTION **
    Last packet sent to the server was 0 ms ago.
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2621)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at databasePhoto.DatabaseUtility.login(DatabaseUtility.java:45)
    at databasePhoto.Test.<init>(Test.java:24)
    at databasePhoto.Test.main(Test.java:46)

    Disregard i have figured it out. For some reason using the ip address for the host causes me problems. I changed to the server name and it works great no probs

  • Consume external web service and experience connection timed out issue

    Hi all,
    I followed tutorial:http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_14/jdtut_11r2_14.html to consume external web service.
    At step 2,substep 4, I experience the following error:
    "DCA-40002: The WSDL document is invalid due to the following reason: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at:"http://www.webservicex.net/WeatherForecast.asmx?WSDL". Caused by : java.net.ConnectException: java.net.ConnectException: Connection timed out: connect."
    I have tried to set up proxy:Tools > Preferences->Web Browser and Proxy. But it still doesn't work. Any idea?
    Thanks in advance.
    Regards,
    weiyang
    Edited by: user13304960 on Mar 15, 2012 8:42 PM
    Edited by: user13304960 on Mar 15, 2012 8:43 PM

    Hi,
    Thanks for your reply. I have tried these 2 tutorials before. Both worked well. Publish an web service by myself, then consume it with a client. It works. But for this external wsdl published by USA weather forecast, it doesn't work. Navigate to http://www.webservicex.net/WeatherForecast.asmx?WSDL through firefox, and right response is returned. I wonder why connection timed out occurred and how to deal with it.
    Could you please share your experience with me? Thanks.
    Thanks.

  • JDBC Lookup in PI 7.1 - SELECT ? FROM DUAL and Connection timed out

    Hi,
    We have a scenarios (Idoc to JMS) with JDBC lookup. We have used graphical JDBC lookup functionality.
    We are reading country names for a given country code from SAP in an external database table. The query is so simple. That  should not take much time
    Now the actual issues is,
    When we are executing the scenario, its taking quite a long time. Almost 6 minutes to excute a mapping. Which causing high performance issue in the Porduction.
    We started the inviestigation about found some interesting stuff. Here we have used Willy Introscope for the investigation.
    1. First few messages are taking quite a long time. LIke 6 minutes per messages. As i can see in the log i am getting below error in Willy,
    I dont know why PI is executing below queury apart from real secelt query to fetch the country name. I am getting below error: Error Message: Backends|ABCD2 mydatabase01-1526 (Oracle DB)|SQL|Dynamic|Query|SELECT ? FROM DUAL: java.sql.SQLException: Io exception: Connection timed out
    2. After couple of messages, interface works very normal. I mean rest of the messages works pretty fine.
    Please let me know if you have any idea about this error. What could be the problem for the issue.
    Thank you in advnace.
    Best Regards,
    Prasad.

    Did you check how many SQL requests were executed per one message ? Do you have a log of these SQL requests ?
    I assume that the country table is quite small, so that lookup should not be an issue.
    About this:
    >Message: Backends|ABCD2 mydatabase01-1526 (Oracle DB)|SQL|Dynamic|Query|SELECT ? FROM DUAL: >java.sql.SQLException: Io exception: Connection timed out
    1. I only know SELECT * FROM DUAL, not SELECT ? FROM DUAL. Better use the former
    2. the exception means that the database server can not be reached => check your network configuration
    So I assume that there is a network (performance) problem between PI and this Oracle server. Or the Oracle Server is so overloaded that it has (sometimes) problems in processing new requests.
    CSY
    Edited by: Christian Sy on Mar 9, 2010 10:17 AM

  • I am trying to download an update for my iphone, but in the middle of the download I get an error message that says, 'There was a problem downloading the software for iphone. The network connection timed out.' Any ideas on how to resolve this issue?

    I am trying to download an update to my iphone, but in the middle of the download, I get an error message that reads, 'There was problem downloading the software for the iphone. The network connection timed out'. Any idea how to reslove this issue?

    Hi Robertfrom Denver.
    Did you try the solution given, and if yes, did it work?
    I have done several "attempted downloads, and see the full file download, typically taking 30 minutes to complete, and then something goes wrong.
    I am happy to suspend AV and FW software, but would like to know if it is a good fix or not first?
    HelenfromBroughton Astley

  • Reissue:  Connection Timed Out and Airport Admin Utility Issues

    I put this post last November, but no one seemed to have a solution to it, so I thought I would try again...
    Our lab has and Airport Extreme (802.11g). Intermittently (once a week to a couple of times a day) our airport extreme will stop allowing new connections. Here's what appears to happen. The airport still appears in the the list of networks in the airport icon in the menu bar (ie it still broadcasts SSID), but when I try to connect it whirls for a while and then says connection timed out. If I go to the Airport Admin Utility the base station doesn't appear there even though all of the rest of the ones on our network do (I should at this point, mention that we have both ethernet and WiFi layers on our network--the base station operates as an access point in bridge mode). The only solution is to power cycle the base station. A couple of extra tidbits.
    * Base station firmware is current at version 5.7.
    * We never have more than about 8 users connected to the base station.
    * This inability to connect is independent of what computer is trying to connect and even occurs with iPod touches.
    * This problem has occurred for a couple of years (multiple firmware versions).
    * I also have similar problems on a network at home that has the new Airport express/extreme N arrangement on a cable internet connection.
    * Sometimes this seems to fix itself after 30 minutes or so of just ignoring it. Other times it does not.
    * The restoration of the ability of the airport to accept connections after the power cycle is always immediate.
    * We only have 6-10 connections, less than the max supported.
    * The Airport usually continues to work for those computers that are connected to it before it stops allowing connections.
    So couple of questions:
    1) Do other people see this problem?
    2) Is this some problem with the WAN network connection impairing the ability of the base station to establish WiFi connection that eventually resets itself after something times our or resets?
    3) Any suggestions as to what to do about it?

    Two reasons I don't think that this is likely the issue. Both are based on my assumptions about how noise would affect the working of a WAP. If these assumptions are erroneous, please let me know.
    The first is that I have tried both automatic channel selection and manual channel assignment based on an unused channel that was several channels away from other WAPs. Kind of circumstantial since other devices can emit noise in the same region of the spectrum (our phones are 5.8GHz and the microwave is no where near the base station.
    The second though, is that I can stand literally a foot away from the base station with my notebook or iPod touch and still have the same problem. It would seem the the noise would have to be enormous to interfere with a device that close the the base station. Also, why would the other connected devices continue to work?
    In the interest of providing a complete picture, I would say I have thought quite a lot about whether noise is a problem. This base station is installed in a lab, with lots of electrical equipment whirring away and to make matters worse, the base station itself needed to be installed right next to (Within inches) a circuit breaker box. I winced when I did this.
    Interestingly, the thing normally does work and the signal strength & signal to noise (reported by airport utility) and transfer rates are quite good when you can connect.
    Thanks,
    Michael

  • Cannot access iTunes Store - "connection timed out" or "secure connection failed" issues.

    If you are having problems connecting to the iTunes Store to:
    (a)     activate a new iPod, iPhone or iPad; or
    (b)     re-activate an existing iPod. iPhone or iPad after upgrading the OS for the device,
    then hopefully this article will assist.
    It is assumed that have encountered the following problem. When you connect your device to your PC the device is recognised by iTunes, but the main window simply displays the name of the device (e.g. iPad). The progress bar at the top says "accessing the iTunes Store", but it stalls and eventually there is an error message saying something like "connection timed out".
    There are a number of variants of this problem, but the common thread is that your device is unable to access the iTunes Store to authenticate a new device or after upgrading the OS on an existing device.The first recaction is to check that your Internet connection is ok and that that "itunes.exe" a not being blocked by your Windows or third party firewall settings, but the problem persists.
    Having recently experienced this problem and scouring the Internet for a solution, I eventually solved it using the following approach:
    (a)     Check that you are connected to the Internet (i.e can browse the web).
    (b)     Open iTunes and choose "Run diagnostics" from the help menu and then select the "networking connectivity" option (uncheck the other options) and click "next" twice. A report will show the results with a "green" or "red" dot next to each item. You should see a "green" dot next to the first two items ("Network interfaces verified" and "Internet connection verified"). However there will probably be a "red" dot next to the third item "Secure link to iTunes Store verified". 
    The important thing to note is that a secure connection could not be established. This is an indication that your wireless security is the problem. It does not satisfy the security level expected by the iTunes Store. It seems that an unsecure connection or one using outdated encryption (such as WEP) is no longer sufficient for the iTunes Store. This may be why the problem has emerged with the most recent versions of iTunes. The now widely used wireless encryption standard WPA or WPA2 is expected.
    So you need to check your router wireless security settings and, if you have a PC that uses a wireless connection to the router, make sure its settings  match. The following is a guide bearing in mind that there are many different types of routers and Windows OS.
    Router
    TIP: If you have a wireless connection from your PC to your router, then check your PC wireless security options first to see that "WPA" or "WPA2" are available (see below) as it will be a pain to change your router settings only to discover that your PC does not have the same options.
    (a)     Most routers can be accessed using your web browser by typing in the router's address (e.g. http://192.186.1.1). If you don't know the address look at the mannual that came with your router as it will tell you how to do this.
    (b)     Once your browser displays the router interface you may be prompted for a username and password. These may be the default factory or ones that you have created previously. If the username or password has not been changed, but you don't remember of know what they are again go to the mannual that came with your router as it will have that information.
    (c)     Assuming that you are able to access your router interface, look for the "wireless" tab or menu and a sub-menu or option for the "security settings". They'll be there somewhere. Once you find the security options you can select the encryption level. As stated above, you should choose "WPA" or "WPA2". You will then be asked to create a network key which can be anything with the required number of letters and/or digits.
    (d)     Once your finished write the settings down (including the key) as you will need them for your PC if you have a wireless connection to the router. Save the changes (if prompted to do so) and re-boot your router.
    PC Wireless
    (a)     Again the appoach that you need to take will depend on your OS (XP, Vista or Windows 7), but generally speaking if you go to the "network" on your PC there will be the option to highlight it and right click or choose a "properties" item. I vaugely think this can be done in XP by right clicking the wireless icon in the taskbar and navigating to the dialogue box that shows your network. In Windows 7 you will need to go to the "Network and Sharing Center" and then choose "Manage wireless networks".
    (b)     At some point (sorry to be vauge) you will find the wireless network security options for your network. Select the same level of encrytion ("WPA" or "WPA2") and type in the same network key that you chose for your router. Save the changes and your wireless connection should come to life. If not then make sure that you have put in the correct settings before freaking out.
    Back to iTunes
    Once you are connected to your router again (wirelessly or by lan), then plug in your device and open iTunes. As before it will try to access the iTunes Store, but hopefully you won't have any problem establishing a secure connection and you'll be up and running.
    Best of luck!      

    Something is still blocking iTunes, do you have any other firewall installed?
    When you say you removed Norton, to you mean you uninstalled it. An uninstalled Norton security product can still bock iTunes as some of it is left behind.
    Several people have found that using the Norton Removal Tool to remove all traces of Norton fixes this problem.
    http://service1.symantec.com/Support/tsgeninfo.nsf/docid/2005033108162039?OpenDo cument

  • Connection Timed Out and Airport Admin Utility Issues

    Our lab has and Airport Extreme (802.11g). Intermittently (once a week to a couple of times a day) our airport extreme will stop allowing new connections. Here's what appears to happen. The airport still appears in the the list of networks in the airport icon in the menu bar, but when I try to connect it whirls for a while and then says connection timed out. If I go to the Airport Admin Utility the base station doesn't appear there even though all of the rest of the ones on our network do (I should at this point, mention that we both ethernet and WiFi layers on our network--the base station operates as an access point in bridge mode). The only solution is to power cycle the base station. A couple of extra tidbits.
    * Base station firmware is current at version 5.7.
    * We never have more than about 8 users connected to the base station.
    * This inability to connect is independent of what computer is trying to connect and even occurs with iPod touches.
    * This problem has occurred for a couple of years (multiple firmware versions).
    * I also have similar problems on a network at home that has the new Airport express/extreme N arrangement on a cable internet connection.
    * Sometimes this seems to fix itself after 30 minutes or so of just ignoring it.
    * The restoration of the ability of the airport to accept connections after the power cycle is always immediate.
    So couple of questions:
    1) Do other people see this problem?
    2) Is this some problem with the WAN network connection impairing the ability of the base station to establish WiFi connection that eventually resets itself after something times our or resets?
    3) Any suggestions as to what to do about it?

    Yes, I have the exact same problem.
    It's intriguing because I share the connection with my landlord who is often away. The base station is connected in his suite and we seem to never have any problem when only my wife and I are connected on it. I use a iMac 21.5" and my wife a 13" White MacBook (5.2). When he is home (about 1 week per month), that's when the connection will randomly disconnect exactly as you described. He uses a iMac 24" and occasionally an old iBook.

  • SQLException:Connection timed out- after upgrading from oracle9i to 10g

    Hi,
    Recently we upgraded from oracle 9i to 10g.
    We are using Oracle JDBC Driver version - 10.1.0.5.0 .
    In the application, when RMI server starts, the connectionpool (developed using stack) will be filled with 10 instances of fresh connections.
    After keeping the RMI server idle for some time ( >24 hours ) , the first transaction sent to the Database (using the connection instance popped out from stack(connectionpool) ) terminates with following exception and from the second transaction onwards everything works normally.
    Exception------
    java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
    at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
    at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
    at util.DatabaseManager.fetchData(DatabaseManager.java:255)
    at util.TextRequestImpl.presentText(TextRequestImpl.java:105)
    at util.TextRequestServer.presentText(TextRequestServer.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
    at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
    at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
    at util.DatabaseManager.fetchData(DatabaseManager.java:255)
    ... 13 more
    If am connecting to oracle9i(with Oracle JDBC Driver version - 9.0.2.0.0) ,everything works fine.
    Can anyone help me out to solve this issue?

    I attempted several upgrades and we decided it was better to implement the content under 10g fresh rather than attempt an upgrade.
    After 3-5 attempts through patching non of them provided us with re-produceable steps and we had different errors each time - mind you this was a few months back after initial release of upgrade patches.

  • EROOR CONNECTION TIMED OUT

    Hi all,
    we r using RECEIVER JDBC adapter. whenever we leave JDBC adapter idle for some time & try process more messages after that.
    we face a follwowing error :->>>
    Java.SQLException:Communication link failure.(COnnection timed out(errorno:238))
    What can i do to resolve this problem...
    To make it work again we have to make it INACTIVE & ACTIVE again.....

    Kulwinder,
    In  your Receiver JDBC adapter there is an option<b> Disconnect From Database After  Processing Each Message.</b>
    Select this option and you will not face the issue further.
    Regards
    Bhavesh

  • TCP active open: Failed connect()    Error: Connection timed out SMTP

    Hi,
    Messaging server version is,
    ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
    libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
    SunOS bglbbmr1-a-fixed 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
    17-Dec-2008 10:47:40.08 1730.8e.741
    tcp_local Q 4 [email protected] rfc822;[email protected] [email protected] /mta/queue/queue/tcp_local/013/ZUg0i1t9I0ZG~.00 <[email protected]>; TCP active open: Failed connect() Error: Connection timed out SMTP/xyz.my-domain.in
    I have been getting this above error on my mail server from last
    4-5 days. I am getting complaints from end users that the users can't
    send any mails using Outlook but I did check with my test user I can
    send mail by using webmail.
    The Failed MX lookup Errors also getting in my logs the error detail given bellow.
    17-Dec-2008 10:47:39.65 1730.91.737
    tcp_local - Y TCP|0.0.0.0||209.85.143.114|25 SMTP/airtelmail.in/aspmx.l.google.com
    17-Dec-2008 10:47:39.92 1754.41.255
    tcp_notify - Y SMTP/infomedia18.in/infomedia18.in
    17-Dec-2008 10:47:39.92 1754.41.256
    tcp_notify Q 7 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/017/ZXg0i1t3U_ZoD.00 <[email protected]>; Failed MX lookup; try again later
    17-Dec-2008 10:47:39.94 1754.41.257
    tcp_notify Q 6 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/010/ZXg0i1t3U_ZoF.00 <0KBZ003MRGU7MQ30@my-domain> Failed MX lookup; try again later
    I tried stopping and starting msg service using stop-msg and start-msg to sort out this above problem but no result. :(
    When I do check the tcp_local queue it has been growing every day as well the tcp_notification queue also.
    /opt/SUNWmsgsr/sbin/imsimta qm su
    Messages
    Channel Queued Size (Kb) Oldest
    tcp_notify 10741 1080610.61 16 Dec, 00:59:24
    tcp_local 8334 733849.31 15 Dec, 00:19:00
    tcp_lmtpcn 0 0.00
    tcp_be 0 0.00
    reprocess 0 0.00
    process 0 0.00
    conversion 0 0.00
    Totals 19075 1814459.92
    This queues are increasing day by day.
    One more thing is that I cant see a service/channel called CONVERSION running on my server when i do use this command.
    ps -aef | grep conversion
    root 6144 6000 0 11:14:28 pts/1 0:00 grep conversion
    When i try to start it using imsimta qm utility, output shows as
    qm.maint>; start conversion
    QM-I-STARTED, channel was not stopped
    qm.maint>;
    Later I stopped and started conversion channel
    qm.maint>; stop conversion
    QM-I-STOPPED, channel stopped
    qm.maint>; start conversion
    QM-I-STARTED, channel started
    qm.maint>;
    I can see that on other servers the conversion channel is running and few msges are in queue. I do have other servers which running the same messaging server. But I am not getting why don't on this server. Where both servers having the same configuration.
    Please, help me to sort out this issue.
    Thanks in advance....
    BSK

    Thanks Mr. Shane,
    The server which is running conversion channel.
    ps -eaf|grep conversion
    mailserv 16824 8472 3 17:08:11 ? 0:48 /opt/SUNWmsgsr/lib/conversion
    mailserv 28728 8472 0 17:17:30 ? 0:00 /opt/SUNWmsgsr/lib/conversion
    root 1057 26387 0 17:18:12 pts/1 0:00 grep conversion
    more /opt/SUNWmsgsr/config/conversions
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    The server which doesnt show running conversion channel
    #more /opt/SUNWmsgsr/config/conversions
    !in-channel=*; in-type=*; in-subtype=*; in-disposition=*;
    ! parameter-symbol-0=NAME; parameter-copy-0=*;
    ! dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    ! message-header-file=2; original-header-file=1;
    ! override-header-file=1; override-option-file=1;
    ! command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    Is this above information u r asking?
    As u wrote erlier, the conversion channel works some times and some times doesn't work.
    Thanks lot...
    BSKADAM

Maybe you are looking for

  • ICloud on my iPad does not work in iOS 8

    Hi all, I have a problem with iCloud after upgrade to iOS 8 on my iPad. I have updated from IOS 7 to 8 without turning on the iCloud Drive feature (because of the Mavericks on my Macbook Pro in that time). Applications like “Pages”, “Numbers”, “MindN

  • I am getting error while doing MFBF for semifinisg good

    Hi, i am getting error while doing MFBF for semifinisg good Existing standard cost estimate cannot be used Message no. RM175 Diagnosis This error appears under the following circumstances: The existing standard cost estimate cannot be used for backfl

  • Files searching in Time Capsule

    Hi, Is it possible to search for all backed-up audio files (perso note: wav and mp4) between 1st August 2010 and 23 December 2010. In other words, and to be more general, is it possible to recover all these files between these 2 desktops dates and ho

  • Upgraded to Yosemite can I upgrade cs2 to cs5 and get it to work

    I just upgraded my computer not realizing cs2 would no longer run on Yosemite, can I upgrade my software and get it to work or do I need to buy the whole new software?  I am not looking to go to the cloud. Thanks.

  • Shortclosing the PO

    Dear Sir, While shortclosing the PO I am getting following error " Runtime error COMPUTE_BCD_OVERFLOW has occurred" Pl help in understanding and solution Thanks & Regards NJ