Closed connection error when connection isn't being closed

Hi,
Currently I am trying to connect to an Oracle 11g database via JDBC. However, everytime I run the code I get the following error:
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
The error comes from running the below code.
public static Connection connect(String url, String username, String password) {
Connection conn = null;
//String url = "";
// Load the driver
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
} catch (ClassNotFoundException cnfe) {
System.err.println("Oracle driver class cannot be found");
cnfe.printStackTrace();
System.exit(1);
// Get the connection
try{
conn = DriverManager.getConnection(url, username, password); *// This is the offending line*
} catch (SQLException sqle) {
System.err.println("Problem connecting, possibly incorrect " +
"username/password or problem communicating with the database");
sqle.printStackTrace();
System.exit(1);
}java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
// Turn auto commit off
try{
conn.setAutoCommit(false);
} catch (SQLException sqle) {
System.err.println("java.sql.SQLException: Closed Connection // This is the offending line
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)Problem turning off auto commit");
sqle.printStackTrace();
System.exit(1);
return conn;
but the connection is never closed, this is the first time connect is called so it is never opened either.
// This is the offending line
The URL I am using to connect is:
jdbc:oracle:oci8:@mydatabase:1158
The database is stored on a server. I have previously tested the code on a machine with the database stored locally and had no problems. However, ran into this problem now when the database is external. Incase this information helps the software is being run under Linux via Netbeans. The previous testing was performed using Netbeans under Windows.
Any help would be much appreciated.
Thanks,
Martin

Hi i am using the following code and i am getting the same error ....
public class DBConnection {
     private static Connection con=null;
     public DBConnection() {
               System.out.println("In db Connection..");
     public static Connection getConnectionObj(){
          if(con==null){
               con= new DBConnection().getConnection();
               System.out.println("In db Connection.. if");
               return con;
          else{
               System.out.println("In db Connection..else");
               return con;
     private Connection getConnection(){
          Properties prop=new Properties();
          FileWriter fw=null;
          FileInputStream fis=null;
          try{
                       File file=new File("Connection.properties");
               fis=new FileInputStream(file);
               prop.load(fis);
               System.out.println(prop.getProperty("DriverName"));
               System.out.println(prop.getProperty("URL"));
               Class.forName(prop.getProperty("DriverName"));
               System.out.println(prop.getProperty("DriverName"));
               System.out.println(prop.getProperty("URL"));
               con=DriverManager.getConnection(prop.getProperty("URL"),prop.getProperty("UserName"),prop.getProperty("Password"));
               fis.close();
          }catch(Exception e){
               e.printStackTrace();
               if(fw!=null){
                    try {
                         fw.close();
                    } catch (IOException e1) {
                         // TODO Auto-generated catch block
                         e1.printStackTrace();
               if(fis!=null){
                    try {
                         fis.close();
                    } catch (IOException e1) {
                         // TODO Auto-generated catch block
                         e1.printStackTrace();
          return con;
}I am not using the connection pool.
For the first request it is working fine but later request's it is giving the closed connection error.
Thanks in advance.
Edited by: EJP on 10/10/2011 20:28: added {noformat}{noformat} tags: please use them                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Error when connecting to MDM from different lan

    Hi,
    I got "Image Server Login Error" when connecting with client to server from different LAN, server is up, and i can connect to it when i in the same LAN. Ports 20003, 20004, 20005 for MDM server discovering and repository port 2345 is accessible through router. Running SP2 5.5.24.06.
    Rem: it's not a port problem, when port 2345 is closed i got "WinSock error on connect"
    PS: When I used MDM SP1 i connected to him properly in the same case.

    Hi Dmitry,
    If your repository is set to port 2345, then 4 subsequent ports should be openned also, i.e. 2346-2349.
    Regards, Lev

  • SSL error when connecting in SAP HANA Cloud Portal tutorial

    Hi,
    I'm going through the tutorial for SAP HANA Cloud Portal - SAP HANA Cloud Portal Developers Tutorial
    Unfortuanatelly I have problems with deploying public destinations (page 9).
    When I try to deploy the destination for the CRM back from the command console using neo command with relevant parameters and entering my password I get the following error:
    ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuraiton/api/rest; server certificate might be invalid or untrusted.
    Logfiles.
    Session log
    2014-08-18 15:53:59,579 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://configapi.hanatrial.onedemand.com], timeout = 0 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,582 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] 2014-08-18 15:53:59,729 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to configapi.hanatrial.onedemand.com/216.128.6.149:443 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection closed 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable. 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:54:00,037 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads
    Console log
    2014-08-18 15:53:56,080 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Starting execution of command [get-destination] 2014-08-18 15:53:56,086 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] init() finished for [1] ms 2014-08-18 15:54:00,038 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] cleanup() finished for [0] ms 2014-08-18 15:54:00,046 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleClient: (!) ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuration/api/rest; server certificate might be invalid or untrusted com.sap.jpaas.infrastructure.console.exception.ValidationException at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:97) at com.sap.jpaas.infrastructure.console.command.UnsecuredRemoteCommand.getHttpClient(UnsecuredRemoteCommand.java:57) at com.sap.core.connectivity.config.cmd.ConfigurationConsoleCommand.createHttpClient(ConfigurationConsoleCommand.java:254) at com.sap.core.connectivity.config.cmd.GetAction.download(GetAction.java:79) at com.sap.core.connectivity.config.cmd.GetAction.run(GetAction.java:52) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:295) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:260) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:235) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:85) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:304) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:95) ... 8 more Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:284) ... 9 more
    BR
    Beata

    Hi Beata,
    The CRM scenario is working again. We had to re install the Connector and deploy a new proxy app.
    Therefore you would need to download the code from the GitHub repository again. The changes you need to do on your side:
    1. Redeploy the new crm__public destination file - the updated destination now points to the new location of the proxy application
    2. Update the code of the registration form scripts (form.js and form.spec.xml).
    Regards,
    Ido

  • I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I think I solved the problem by initiating the update in a different way, from the itunes panel where I can click to start the update, instead of saying yes when asked if I want to update when itunes launches in response to the iphone being plugged into the computer.

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • Error when connecting to terminal

    Hello,
    I have a BB 8100, Desktop manager 4.6.
    Synchronization was working correctly 3-4 weeks ago.
    Today, when I tried to synchronize, I had this error message:
    0 x 80040fb3
    I tried to debug this with the procedure of modifying Last name, first name, etc.... with no success
    I tried several time to synchronize again but without success.
    Now, the situation is even worse!
    New message when I connect my BB to my computer. When I launch Desktop manager, I have the following error:
    "Error when connecting to terminal. Make sure that your terminal is correctly connected, then try again"
    I can not anymore try to synchronize!
    This is very strange, it never happened before.
    Nevertheless, Desktop Manager recognize my BB, as I can read on the buttom left part of the screen: Terminal connected (code Pin) recognized xxxxxx.
    HELLLLP!
    Thanks
    Solved!
    Go to Solution.

    Hello RianaZaire,
    Unfortunately, I still have the same error Message.
    I have not been able to solve the situation.
    I reinstall twice the software.
    I tried to connect my Blackberry to my computer with a new cable.
    I still have the same error message.
    I don't know what to do.
    Maybe somebody will read our messages, and help us!
    Maybe this information has a link with my blackberry problem:
    I also have a problem with an another device. (a TOMTOM GPS system), which happened almost at the same time.
    Usually, when I connect this device, it will directly open the GPS sofware ( where I can download the new updating stuff). But since this Blackberry problem, I can not do it anymore. Impossible to connect the TOMTOM onto it. It is not recognize onto my computer.
    For information, I also do synchronization of my adress book between my phone and TOMTOM.
    HELP HELP

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • Error When connecting proxy

    Hi,
    When I try to connect proxy in application, it is not connecting instead when I check whether it is going through proxy or not it is telling that it is establishing direct connection only. Here I have posted part of the coding. Please If any error give me a hint.
                System.setProperty("ProxySet", "true");
                SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
                proxy=new Proxy(Proxy.Type.HTTP,addr);here in this code part I am checking whether is connecting with proxy or not.
    URL u = new URL(url);
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);
    try
                    URI uuu = uu.getURL().toURI();
                    List l=ProxySelector.getDefault().select(uuu);
                    for (Iterator iter = l.iterator(); iter.hasNext(); )
                         Proxy proxy = (Proxy) iter.next();
                         System.out.println("proxy hostname : " +proxy.type());
                         InetSocketAddress add = (InetSocketAddress)proxy.address();
                         if(add == null)
                             System.out.println("No Proxy");
                         else
                             System.out.println("proxy hostname : " +add.getHostName());
                             System.out.println("proxy port : " +add.getPort());
    catch (URISyntaxException ex)
                    Logger.getLogger(StartThread.class.getName()).log(Level.SEVERE, null, ex);
    }Output is:
    proxy hostname : DIRECT
    No Proxy

    Re: Error When connecting proxy You didn't get any error when you created the connection. Your title is misleading. Probably you are misleading yourself - see below.
    System.setProperty("ProxySet", "true");That does nothing. There is no such property, contrary to widespread belief.
    SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
    proxy=new Proxy(Proxy.Type.HTTP,addr);... and using java.net.Proxy has nothing to do with system properties in any case.
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);Here you are opening a URLConnection via the proxy. As you got output from the code further down it is clear that this step must have succeeded. So all the code below is pointless.
    URI uuu = uu.getURL().toURI();Here you are getting the URI you created the connection for.
    List l=ProxySelector.getDefault().select(uuu);Here you are getting the Proxies the default ProxySelector would have given you for that URI. Nothing to do with the URLConnection you created, and nothing to do with the Proxy you created either.
    InetSocketAddress add = (InetSocketAddress)proxy.address();So here you are testing the proxy address for the system's default proxy for that URI. Again, nothing to do with what you did above.
    What you should be doing here is using the URLConnection you have already created. Not testing an address.

  • Error when connect to OracleDB (RAC)

    Hi all
    I've installed Oracle RAC 10.2.0.3 for sun 64 bit
    When I connect to this server sometime (~20%) it appear error (80% is OK)
    Oracle client: Oracle 9i client
    Oracle client tool: sqlplus, SQLNav5....
    Test on some pc, server
    Network from client to server = 1Gbps
    This is param in tnsnames.ora
    MYDB =
    (DESCRIPTION = (FAILOVER=ON) (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.3)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.8)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mydb1)
    (SERVER = DEDICATED)
    when I use single server (connect string only use one host), it never have error.
    Error:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(FAILOVER=ON)(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.3)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=mydb1)(SERVER=DEDICATED)(CID=(PROGRAM=C:\Program Files\Quest Software\SQL Navigator 5\SQLNav5.exe)(HOST=HOMEPC)(USER=Administrator))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 13-NOV-2007 09:57:18
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12545
    TNS-12545: Connect failed because target host or object does not exist
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Connect failed because target host or object does not exist
    nt secondary err code: 1001
    nt OS err code: 0
    Can you help me.
    Rgds.

    I stopped reading when I got to:
    I've installed Oracle RAC 10.2.0.3 for sun 64 bit
    Oracle client: Oracle 9i client
    That really says it all ... or should.

  • I'm having trouble restoring my ipod. The software starts to download but it stops saying that there is a connection problem when there isn't. What can I do?

    I'm having trouble restoring my ipod. The software starts to download but it stops saying that there is a connection problem when there isn't. What can I do?

    Disable the computer's security software during the download and update.

  • Error when connecting to system

    Hi,
    I have been off topic for quite a while and when I wanted to pick up today, I couldn't connect to the HANA server anymore. I haven't changed any settings since last setup, all I get is the "Error when connecting to system" in the Quick Lauch of the infornation modeler.
    Any suggestions?
    THX
    Markus

    Hello,
    did you connect since upgrade to SP03?
    You might be looking for this thread.
    SAP In-Memory Developer Center - planned downtime 2011-11-15, 10-11am PST
    Tomas

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • When the system status says icloud is OK but it reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    When the system status says icloud is OK but logon reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    Yes i am hoping staff here will look into things, even if i can not get the speeds back what i previously had for near 6 months it would be nice to know why i can not and why the download has dropped by around 10Mb and why my upload is now inconsistant.
    Ironically the post concerned got edited because i actually posted the full rather silly reply the Indian call centre made babbling on about down rates rather than the uprate i queried with them.
    Bit of a shambles really no real way on BTs web site to contact anyone with regards to broadband issues.
    The form which you kindly suggested and i appreciated your help ended up in the hands of someone who either did not bother to read the query or just had such a poor grasp of English they did not understand the query.
    Pretty pathetic really when BT are the largest telco in the UK. I think ill be taking my broadband business elsewhere regardless at the end of my 18 month contract, while im sure staff here are wonderful and may even yet help me, i do not particularly want to go through the almost like pulling teeth pain of getting any future issue looked at.
    They are great at quickly fixing voice line problems and have a great test on their site. Broadband side of things and support for that though seems a shambles.

  • URGENT - INTERNAL SERVER ERROR when connecting to site

    i'm getting INTERNAL SERVER ERROR when connecting to site. everything was ok till yesterday night but since today morning, nobody has been able to log in the site.
    i looked at the Apache Listener log files in IAS_HOME/Apache/Apache/logs
    the error_log file contained the following :-
    [Fri Jan 26 08:32:04 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:05 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/p
    age
    [Fri Jan 26 08:32:58 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:58 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/I
    sItWorking
    [Fri Jan 26 08:33:13 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:33:13 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/page
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    then i tried to kill all the httpd processes and restart the apache and the error log was populated with the following :-
    [Fri Jan 26 09:35:48 2001] [warn] child process 16269 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16270 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16271 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16272 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16273 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16274 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16275 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16276 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16277 still did not exit, sending a SIGTERM
    ,same messages continue for different
    ,process ids followed by
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Attempt to free unreferenced scalar.
    Attempt to free unreferenced scalar.
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:35:53 2001] [error] child process 16269 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16270 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16271 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16272 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16269 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16270 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16271 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16272 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16273 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16274 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:38:10 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:38:44 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:38:44 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:39:06 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:39:30 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:42:17 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:42:17 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    Any ideas or suggestions anyone ....??
    what could have possibly changed since yesterday to effect the site ??
    any help would be greatly appreciated ...
    null

    A couple of questions:
    1) Did you try shutting down apache with the sript?
    2) When killing the httpd processes did you also kill the associated java processes?
    null

  • I getting error when connecting my new iPod in my car. Getting error that usb is not recognized.

    I getting error when connecting my new iPod in my car. Getting error that usb is not recognized.

    Not all car systems are compatible with the iPod touch.  Does the documentation/website for the car system say it is compatible with an iPod with iOS 5?

Maybe you are looking for

  • HT1920 I have two apple ID accounts. How do I merge them into one?

    Hi all I have realised that I have two AppleID accounts - one set up many years ago with an old email address. The other my current ID I use all the time. How do I go about merging the two into the account I use now? MS

  • Problem in ALV export to Excel (Local File)

    Hi guys, I'm using the option export data do local file, option excel, but some strange behave is happening... Some columns are exported without the last digit... Ideas? Regards, LMS

  • Duplicate Emails - Outlook 2007

    Hi We had configured Pop account in Outlook 2007 and set email remove from server after receiving to outlook. Also using BlackBerry Torch Device email. There was no problem with duplicate emails because no email on the mail server. Working both fine

  • Sequence settings for MPEG

    Hello Which is the best sequence settings in Premier Pro CS4 to work with MPEG files (720 x 480)? I wish someone can help me because there are no presets available for this format and my redering times are huge. Thank you in advance.

  • Release procedures

    Hi,   I have to set release purchase procedure for purchase order based on Value. we  have created 3 groups like M1, M2 , M3.. I want the set the release procedure in such a way that if the value of the P.O is more than 2 lakhs only then the release