Reconnection to oracle DB

Dear Experts,
I use oracle thin client.
How can my application keep retry of login to database at startup if the database host shutdown? (e.g. ds.setURL("jdbc:oracle:thin:@invalid host:15111:locdb");
If I can create connection pool and execute sql statement successfully, In case the db server reboot , and the connection created are no longer valid, Then , How can my application refresh/reconnect the old connection in the pool to db server ?
Here is my code
import java.io.*;
import java.util.*;
import java.sql.*;
import javax.sql.*;
import oracle.jdbc.driver.*;
import oracle.jdbc.pool.*;
public class myTst{
static OracleConnectionPoolDataSource ds=null;
static OracleConnectionCacheImpl dbPool=null;
public static void main(String[] args)
Connection conn=null;
Statement st=null;
ResultSet rs=null;
try{
ds = new OracleConnectionPoolDataSource();
ds.setURL("jdbc:oracle:thin:@192.168.200.100:15333:locdb");
ds.setUser("abcabc");
ds.setPassword("abcabc");
ds.setLoginTimeout(10);
dbPool = new OracleConnectionCacheImpl(ds);
dbPool.setMaxLimit(3);
dbPool.setCacheScheme(OracleConnectionCacheImpl.
FIXED_RETURN_NULL_SCHEME);
conn = dbPool.getConnection();
st = conn.createStatement();
rs = st.executeQuery("select sysdate from dual");
if(rs.next())
System.out.println("Date : " + rs.getString(1));
rs.close();
st.close();
conn.close();
catch(Exception e){
e.printStackTrace(System.out);
}

user13339672 wrote:
I need a help from you all .
For any java application is there any way that reconnects to oracle database without bouncing the JAVA applications?
How can we avoid these application bounce and is there any parameter recommended in oracle side which can be set at either server level /listener level?
Database version 10g.
Let me know if you want me to elaborate it .Yes, it will be better to elaborate. I do not see why you need to bounce you application to reconnect to Oracle. If it is so, then you need to check the design.

Similar Messages

  • How can i make my java app auto reconnect to Oracle.

    Scenario:
    when i am working with my java app if suddenly Oracle server connection unplugged. Then i got some problems regarding database.
    When they replugged the connection, i need to restart my app again. Then it works fine.
    Question:
    When the database is replugged or restarted, then how can i reconnect to the DB automatically with out restart my app. Please letme know is there any auto reconnect process is there for Oracle.

    If you want your application to reconnect, you would need to add logic that catches the exception that gets thrown when the connection is lost and tries to reconnect.
    Justin

  • Auto Reconnection of Oracle Tuxedo 11.1.1.2.0, 64-bit to Oracle Data Base

    Hi Dear,
    We have Recently Migrated to Oracle Tuxedo 11.1.1.2.0 Running on RHEL 6.3 and connecting Oracle Data Base 11.0.2.0.
    We are informed by the Oracle Tuxedo Support that This tuxedo version Automatically re-connects to the oracle database once the Data base is rebooted.
    Because of the above impression we removed all our reconnection code from our applications.
    But unfortunately the servers are not automatically re-connecting to Oracle DB.
    Can you Please let us know, whether really this version automatically re-connects to Oracle DB??
    If Yes, How?? I mean is there any specific configuration to be done on Tuxedo??
    Thanks in Advance .... :)
    Rgds,
    Plaban

    Plaban,
    There are two ways to manage connections to Oracle Database (or any other XA compliant resource manager) with Tuxedo.
    One way is to use the XA interface. This involves spcifying information about the resource manager in $TUXDIR/udataobj/RM, building TMS servers linked with the resource manager, using the "-r rmname" option on buildserver, and specifying the TMS server names and an OPENINFO string *GROUPS section of the UBBCONFIG file.  When this option is chosen, application servers will not contain any logic to connect to or disconnect from the database and appllication servers will not contain any SQL statments to COMMIT WORK or ROLLBACK WORK.  All of this will be managed by Tuxedo.  If an XA call indicates that the resource manager is unavailable, Tuxedo will try to reconnect to the resource manager when subsequent tranasctional requests are received.  (Note that if a server in an XA-associated group receives requests outside of transaction mode, then Tuxedo will not issue any XA calls and will not know if there are any problems with the database.  You can specify AUTOTRAN=Y if you want to ensure that requests to certain services are processed in transaction mode.)
    In releases prior to Tuxedo 11.1.1.2.0, it was necessary to set the TUXWA4ORACLE environment variable for this automatic reconnection to work when using Tuxedo with Oracle Database. (This was due to different interpretations of the XA standard back when BEA and Oracle were separate companies.) Starting with Release 11.1.1.2.0, it is no longer necessary to set TUXWA4ORACLE when using Oracle Database with Tuxedo.
    There are also special considerations when using Tuxedo with Oracle Real Application Clusters, as described at http://docs.oracle.com/cd/E35855_01/tuxedo/docs12c/ads/adorac.html .
    The other way to use Tuxedo with a database is to not use the XA interface and to manage connections to the database in the application. If this is done, then the application needs code to connect, disconnect, and reconnect to the database and to commit or rollback work where appropriate. If the XA interface is not used, then Tuxedo will not have any involvement with connection or reconnection to the database.
    Regards,
    Ed

  • Auto reconnect with Oracle and Hibernate ?

    Hello,
    Does anyone know i can configure Hibernate to connect automatically to an Oracle base in the case of a cut network.
    Thanks,
    Djelloul OMRANE
    [email protected]

    Google's time
    http://www.hibernate.org/56.html

  • Reconnecting Oracle in the middel of applicaion

    I have a query regarding reconnection with oracle server in the middle of running application.
    on start up of my aaplication i am connecting with oracle server and its getting connected.
    after some time i am removing the network cable in the middle while my application is running.
    after few seconds i plgged it again and tried to reconnect oracle server with client where my application is still running
    but it is not reconnecting and giving error "ORA- 3114 not connected to oracle" while execuiting a query.
    could anyone suggest what may be the cause of the problem and solution.
    i am using ODynaset class to access the database from my mfc application.
    i am properly closing the database while disconnect happens and again opening database using ODatabase object its opening
    successfully but while opening a table through DB class object is failing and giving the ORA - 3114 error.

    The three are the same
    Reconnecting Oracle in the middel of applicaion
    reconnecting oracle database in middle of running application
    Reconnecting oracle in the middle of application

  • Oracle 8i/9i connection string?

    We have two computers:
    Computer X:
    Windows 2000 Advanced Server
    Oracle 9i (9.2.0.1)
    DHCP IP address: 10.140.4.74
    Oracle SID: XXX
    Computer name: ZZZ
    Computer Y:
    Windows 2000 Professional
    Oracle 8i (8.1.7)
    IP address static: 10.140.2.4
    Oracle SID: YYY
    Computer name: YYY
    On client computer we install Oracle 6i Runtime and we make one connection string to Oracle 9i database. Connection String XXX TCP/IP 10.140.4.74 and SID XXX. (Others connection strings thru Oracle Net8 Easy config is deleted.)
    When we start SQL*Plus from client computer and If we enter scott/tiger@YYY Sql*plus will connect to Oracle 8i database?
    If we create form and in ON-LOGON trigger we put
    logon('scott/tiger@YYY'); Form will be connected to Oracle 8i database? But there is NO connection string YYY on client computer?
    Also if we connect thru SQL*Plus on Oracle 9i server to Oracle 9i database and then we try to reconnect to Oracle 8i database with "conn scott/tiger@YYY" it will reconnect to Oracle 8i database.
    How it is possible that we can connect to Oracle 8i database without defined connection string from the client computer or from Oracle 9i server?

    Please try reposting this to the OLEDB forum for best results....

  • How to reconnect after timeout

    Hello,
    after I work on OWB client for some hours it disconnects from DB (even if I am still working on it) and I have to close the client and then re-open it in order to connect to Oracle.
    Is it possible to reconnect to Oracle without to close-reopen the client?
    Thank you in advance.
    Raffy

    Raffaella,
    Can you give more info about your OWB configuration (OWB and DB version)? When does the disconnect happen - is it during periods of prolonged inactivity? In that case you might be interested in checking the sqlnet timeout parameters (in the configuration file sqlnet.ora). For example:
    1. Use the parameter SQLNET.RECV_TIMEOUT to specify the time, in seconds, for a database server to wait for client data after connection establishment. A client must send some data within the time interval.
    For environments in which clients shut down on occasion or abnormally, setting this parameter is recommended. If a client does not send any data in time specified, then the database server logs an ORA-12535: TNS:operation timed out and ORA-12609: TNS: Receive timeout occurred to the sqlnet.log file. Without this parameter, the database server may continue to wait for data from clients that may be down or are experiencing difficulties.
    You can also set this parameter on the clientside to specify the time, in seconds, for a client to wait for response data from the database server after connection establishment. Without this parameter, the client may wait for a long period of time for a response from a database server saturated with requests.
    2. Use the SQLNET.SEND_TIMEOUT parameter to specify the time, in seconds, for a database server to complete a send operation to clients after connection establishment.
    For environments in which clients shut down on occasion or abnormally, setting this parameter is recommended. If the database server is unable to complete a send operation in the time specified, then it logs an ORA-12535: TNS:operation timed out and ORA-12608: TNS: Send timeout occurred to the sqlnet.log file. Without this parameter, the database server may continue to send responses to clients that are unable to receive data due to a downed computer or a busy state.
    You can also set this parameter on the clientside to specify the time, in seconds, for a client to complete send operations to the database server after connection establishment. Without this parameter, the client may continue to send requests to a database server already saturated with requests.
    3. SQLNET.INBOUND_CONNECT_TIMEOUT could also be investigated (this is for the log-in timeouts)
    For more details, check the sqlnet services administration guide: http://download-west.oracle.com/docs/cd/B14117_01/network.101/b10775/profile.htm#NETAG091
    Regards:
    Igor

  • RAC node outage causes SOA Suite 10.1.3.4 BPEL  failure

    Using weblogic 9.2 and the SOA Suite 10.1.3.4. We use a 10g Oracle RAC ( 2 nodes ); the WL cluster has a multi data source of 2 pools, each pool pointing to a single node in the rac, each pool deployed to the cluster, and the multi data source in load-balancing mode.
    So the other night, one of the db nodes had a hardware failure ( ironically, with a remote monitoring / management card ). Annoying, but it should not have caused the BPEL servers to be in "FAILED NOT RESTARTABLE" status the next morning.
    Jun 9, 2009 12:10:07 AM EDT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "esbaqds2": Io exception: The Network Adapter could not establish the connection>
    SEVERE: Destroying JMSDequeuer failed
    oracle.jms.AQjmsException: Connection has been administratively destroyed. Reconnect.
    at oracle.jms.AQjmsSession.preClose(AQjmsSession.java:980)
    at oracle.jms.AQjmsObject.close(AQjmsObject.java:409)
    at oracle.jms.AQjmsSession.close(AQjmsSession.java:1020)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.destroy(JMSDequeuer.java:419)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.destroyWithoutUnsubscribing(JMSDequeuer.java:395)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:175)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:174)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
    at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
    at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
    at weblogic.connector.work.WorkRequest.run(WorkRequest.java:93)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    followed by a 2 GB log file containing 1.3 million iterations of the following within the next 10 minutes before the managed servers failed.
    java.lang.NullPointerException
    at java.lang.String.<init>(String.java:144)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:168)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:174)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
    at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
    at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
    at weblogic.connector.work.WorkRequest.run(WorkRequest.java:93)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Both managed instances of the BPEL cluster failed, even though the 1st node of the Oracle RAC was still available.
    Our 10.3 cluster, also using multi data sources to the same RAC for the OSB components, simply went on about its business using the remaining rac node pool.
    Seems to be a single point of failure...

    We haven't changed the JDBC connection string yet, but we did run a test in the same environment while Oracle support considers the situation.
    For the test, we simply shutdown one node of the RAC and watched to see what happens. Within the space of a minute, the JDBC "Failed Reserve Request Count" was increasing by thousands on every refresh of the screen. We restarted the RAC node after 5 minutes, by which time the "Failed Reserve Request Count" was over 190,000
    The 2 BPEL managed servers remained in Running status and each created a 660 MB log file within that 5 minutes. In the original outage, the nodes were down for about 15 minutes. Most of the logging is being generated from within the oracle.tip.esb classes, not by the weblogic classes. It looks like that once the pool pointing to the downed RAC node becomes disabled, the Oracle BPEL code is still trying to use it even though the multi-source JNDI is the published lookup:
    INFO: JMSDequeuer::createConnection - AQ Topics
    java.sql.SQLException: weblogic.common.ResourceException:
    esbaqds(esbaqds2): Pool esbaqds2 is disabled, cannot allocate resources to applications..
    esbaqds(esbaqds1): Pool esbaqds1 is disabled, cannot allocate resources to applications..
    at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:250)
    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:348)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.createAQConnection(JMSDequeuer.java:559)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:159)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:174)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
    at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
    at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
    at weblogic.connector.work.WorkRequest.run(WorkRequest.java:93)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.common.ResourceException:
    esbaqds(esbaqds2): Pool esbaqds2 is disabled, cannot allocate resources to applications..
    esbaqds(esbaqds1): Pool esbaqds1 is disabled, cannot allocate resources to applications..
    at weblogic.jdbc.common.internal.MultiPool.searchLoadBalance(MultiPool.java:331)
    at weblogic.jdbc.common.internal.MultiPool.findPool(MultiPool.java:202)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:77)
    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:346)
    ... 11 more
    SEVERE: Failed to process deferred message
    oracle.tip.esb.server.dispatch.QueueHandlerException: Error creating "weblogic.common.ResourceException: No good connections available."
    at oracle.tip.esb.server.dispatch.JMSDequeuer.createAQConnection(JMSDequeuer.java:661)
    at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:159)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:174)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
    at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
    at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
    at weblogic.connector.work.WorkRequest.run(WorkRequest.java:93)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • WLS 8.1 Deployment and memory usage

    Running WLS 8.1 SP2 and deploying (always manually) our application using the weblogic.Deployer tool, I am noticing a 6-8MB loss of available heap after each deploy. As you might imagine, these add up, if we redeploy 10 times in a given server instance, we end up with an Out of Memory error.
    This really isn't an issue with our production apps, but is for us during development. Have there been any reports of memory/resource leaks in 8.1 deployments? I had thought it might be the JMS queues that start up and are shut down as part of our ApplicationListener, but it seems (via the console) that there is nothing extra lying around (at least not that's visible). In fact, the deployment seems to do what is promised - the system is in a consistent state after each one - except for this reduction in available memory. Any suggestions would be appreciated.
    Mark

    Mr. Jami Rimpela wrote:
    Hi, I'm using WLS 8.1 SP2 and wondering whether WLS support automatic DB-reconnection
    (to Oracle 9.x) if for some reason Oracle connection crashes while WLS is active
    (up-and-running)? My WLS application is using Database connection pools by the
    way. Hi. At the connection-request time, the pool can be configured to test the connection,
    and replace it if needed. While a connection is in user hands, the pool and weblogic won't
    be able to interfere or interpret any problem so the user code should close the connection
    and obtain a new one (which the pool will verify is good if configured to test).
    Second question: is WebLogic server (Administration or managed server) automatically
    re-started if it for some reason crashes while excecuting?
    Regards!
    Jami

  • ORA-03113 SQLSTATE=08S01 at SQLDisconnect()

    Dear All,
    My application is developed in C++. It does not need to be restarted when network to database server is disconnected or oracle database is shut down because it can retry connecting to oracle database after network is reconnected or oracle database is restarted up.
    However, after the application is shut down, an error log message appears when the SQLDisconnect(hpHdbc) is executed like below:
    "SQLDisconnect() SQLSTATE=08S01 ERROR=[Oracle][ODBC][Ora]ORA-03113:
    end-of-file on communication channel"
    Error log information is also registed in alert.log file of oracle.
    Is there any way to solve the error at reconnecting database in order to avoid getting the error log message after shuting down the application? (Can I modify my application's program to avoid getting the error log message?)
    Thank you in advance!
    Phat

    Dear All,
    My application is developed in C++. It does not need to be restarted when network to database server is disconnected or oracle database is shut down because it can retry connecting to oracle database after network is reconnected or oracle database is restarted up.
    However, after the application is shut down, an error log message appears when the SQLDisconnect(hpHdbc) is executed like below:
    "SQLDisconnect() SQLSTATE=08S01 ERROR=[Oracle][ODBC][Ora]ORA-03113:
    end-of-file on communication channel"
    Error log information is also registed in alert.log file of oracle.
    Is there any way to solve the error at reconnecting database in order to avoid getting the error log message after shuting down the application? (Can I modify my application's program to avoid getting the error log message?)
    Thank you in advance!
    Phat

  • Can we dynamically create Connection pools

    Hi
    In Our production environment we bring down oracle for maintenance everynight.
    Now our requirement is that we do not want to bring weblogic down whenever oracle
    is rolled over.
    Is there a way that weblogic can dynamically reconnect to oracle as soon as oracle
    is back up without restarting?
    If yes, What are the options I have.
    Please help !
    Thanks
    Ratan

    Ratan wrote:
    Hi
    In Our production environment we bring down oracle for maintenance everynight.
    Now our requirement is that we do not want to bring weblogic down whenever oracle
    is rolled over.
    Is there a way that weblogic can dynamically reconnect to oracle as soon as oracle
    is back up without restarting?
    If yes, What are the options I have.
    Please help !
    Thanks
    RatanYes, several. Either run the admin command to refresh the pool, or you could
    set the pool's initial capacity to be zero, and allow shrinking. This means the pool
    will close all it's connections during long periods of non-use. In the morning when
    users come back, the server will recreate connections as needed. Lastly, if you
    simply define your pool to test connections at reserve time, any bad connection
    will be replaced with a new good one before being given to your application.
    Joe

  • OPS$ User question

    Please consider the following case :
    I have a system where all its application users are OPS$ users , which mean that they get there credential from the OS.
    The users are create as followed :
    create user YYYYY
    identified externally
    default tablespace users
    temporary tablespace temporary_ts
    profile APP_PROFILE;We are changing passwords in the windows OS every 90 days.
    Before changing the password in my Win7 PC , i run the following statment :
    SYS> select  u.name username, ctime creation_date, ptime paswd_change_date, exptime expiration_date
      2  from    sys.user$ u, dba_users s
      3  where   u.user#= s.user_id
      4  and     u.ptime < sysdate - 90
      5  and     s.username  like 'OPS$YOAVB%'
      6  order by name;
    USERNAME                       CREATION_ PASWD_CHA EXPIRATIO
    OPS$YOAVB                      23-FEB-10 23-FEB-10Than i changed the password , reconnect to oracle database , and rerun the very same statment again.
    Nothing changed .
    The ptime column did not changed .
    Any idea whey it didnot changed ?
    Thanks

    First of all: referring in any query to a physical table owned by SYS (as signified by the name ending in a $) is a bad idea, as Oracle doesn't guarantee their existence.
    Secondly: you don't seem to realize external authentication means the Oracle password is meaningless, and a place holder only, as passwords can not be null.
    You shouldn't sync the password of the Oracle account with the OS account, as Oracle doesn't check the password, as the OS authenticates the user.
    Sybrand Bakker
    Senior Oracle DBA

  • Reconnection problem to Oracle v805 db

    Hi, my app is suppose to reconnect to the db after the db shutdown and the db starts up again. My code, MS VC++ 6.0 see below, works for Oracle v816 but fails at the open dynaset statement for v805. Any ideas?
    oresult ores ;
    ODatabase = m_odb;
    ores = m_odb.Open((const char *)dbAlias, (const char *)userName,(const char *)password);
    if (!m_odb.IsOpen()) //SUCCESS for v805 and v816
    throw (Exception()) ;
    ODynaset ody;
    String tmpstr(_T("select information from log"));
    ores = ody.Open(m_odb,(const char *)(tmpstr),ODYNASET_DEFAULT);
    if (!ody.IsOpen()) //FAILS for 805 but SUCCESS 816
    throw (Exception()) ;
    I've tried surrounding the code in a OSession and using GetErrorText() and ErrorNumer() but both return nothing/no value.
    Thanks

    David,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Reconnect opening an Oracle Table using SQL Developer 3.0 in Windows 7.

    Downloaded SQL Developer 3.1.07 and placed a copy on both Windows XP Pro. and Windows 7 Pro. No issues using SQL Developer under Windows XP, Oracle 10g client driver. However, under Windows 7 (32-bit or 64-bit PCs), Oracle 10g or 11g client driver, when I click a table name to display the 'Columns, Data, Constraints, ...' fields - I receive a Reconnect message: Your database connection has been reset. Any pending transactions or session state has been lost." I am able to view the Data, Contraints, Grants, ... fields, except for Columns field (no data). Also executing SQL statements to query any of the tables returns expected data. Right-click on database connection shows 'Connect' and 'Reconnect' greyed out, so appears connection exists. So why is the Reconnect message happening? And why can I not see my field definition under Table Columns?

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Oracle Explorer connections times out -- cannot reconnect

    Hello
    How do I reconnect to the database about the connection times out?
    Sometime I go to the Oracle Explorer to check some things out in the database, then switch to coding for a while -- maybe 30 minutes or so.
    When I go back to the tree to check something, it says basically "not connected". I'm assuming it has timed out. However there doesn't seem to be an option to reconnect without closing Visual Studio and reopening it.
    Am I missing something?
    Thanks!
    Horus

    All you need to do is close the connection and reopen it. you do this by right clicking on the connection node in oracle explorer, from the menu that shows up select Close connection. again right click on the connection node in oracle explorer, from the menu that shows up select Open.

Maybe you are looking for