Java.sql.SQLException: E/A-Exception: Connection ended abnormally
Hi all,
this strange exception occurs in the communication channel monitoring. I see there was a processing error in the communication channel which inserts data from XI. When I look in audit protocol I can see that after a few minutes the connection is ended with an error which says the following:
Error processing request in sax parser: Error when executing statement for table/stored proc. 'LVS' (structure 'STATEMENTNAME'): java.sql.SQLException: E/A-Exception: Connection ended abnormally.
Now my questions are: Why does this error occur? And can someone explain me this error?
Regards
Florian
I think I have the reason for this problem. It's a network problem. The network to this system has a high load. In addition, the JDBC receiver adapter was configured with parameter <i>"Disconnect from Database After Processing Each Message".</i> Now I have deselected the parameter and I have no problems.
Thanks for your efforts
Florian
Similar Messages
-
Error: java.sql.SQLException: Internal Error Invalid Connect String
hi,
facing errror while deploying the process
A problem occured while connecting to server "sfhyd1.softforce.com" using port "8888": bpel_getCustomerAccounts_1.0.jar failed to deploy. Exception message is: java.sql.SQLException: Internal Error:Invalid Connect String
at com.collaxa.cube.engine.util.DBUtils.checkIfFatalConnectionError(DBUtils.java:920)
at com.collaxa.cube.ejb.impl.BaseCubeSessionBean.checkIfFatalConnectionError(BaseCubeSessionBean.java:153)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:462)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: Internal Error:Invalid Connect String
at oracle.lite.poljdbc.POLJDBCErrMsg.throwSQLException(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1398)
at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
at oracle.oc4j.sql.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:45)
at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1596)
at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1541)
at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1486)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
at com.collaxa.cube.engine.adaptors.common.BaseProcessPersistenceAdaptor.storeProcess(BaseProcessPersistenceAdaptor.java:361)
at com.collaxa.cube.engine.adaptors.olite.ProcessPersistenceAdaptor.storeProcess(ProcessPersistenceAdaptor.java:52)
at com.collaxa.cube.engine.data.ProcessPersistenceMgr.storeProcess(ProcessPersistenceMgr.java:76)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:937)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:792)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:455)
... 45 moreYou may possibly modified the oc4j-ra.xml file in the stand-alone directory instead of the file under the OC4J_BPEL directory in midtier.
Currently, we are seeing some issues with the sample in midtier. So you may like to wait for the GA release [ mid May] for trying out this sample.
Otherwise please send a mail to [email protected], you need any early drop of this sample.
HTH.
Thanks,
Rakesh -
While adding / updating user in OIM, I am getting error on random basis.
Sometime the system is allowing to add / update and sometimes it is giving below mentioned error.
Due to this, there is huge impact on production with 30,000+ users in OIM
Please help ASAP.
WARN,29 Aug 2012 14:48:10,813,[XELLERATE.DATABASE],Trying to get the connection count : 0
WARN,29 Aug 2012 14:48:10,816,[XELLERATE.DATABASE],Trying to get the connection count : 1
WARN,29 Aug 2012 14:48:10,820,[XELLERATE.DATABASE],Trying to get the connection count : 2
WARN,29 Aug 2012 14:48:10,823,[XELLERATE.DATABASE],Trying to get the connection count : 3
WARN,29 Aug 2012 14:48:10,826,[XELLERATE.DATABASE],Trying to get the connection count : 4
ERROR,29 Aug 2012 14:48:10,827,[XELLERATE.DATABASE],Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
Database srever is running.
Datasource configuration settings are correct.
ERROR,29 Aug 2012 14:48:10,828,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Got a null connection
java.sql.SQLException: Got a null connection
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
ERROR,29 Aug 2012 14:48:10,829,[XELLERATE.SERVER],Class/Method: tcDataObj/handleError encounter some problems: {1}
com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by [Nested Exception]:
java.sql.SQLException: Got a null connection
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
DEBUG,29 Aug 2012 14:48:10,830,[XELLERATE.SERVER],Class/Method: tcDataBase/getError entered.
DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable entered.
DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable left.
DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/logError entered.
ERROR,29 Aug 2012 14:48:10,831,[XELLERATE.DATABASE],Error: Error Keyword: DAE.DB_READ_FAILED
Description: Could not execute database read. The database encountered a problem with the specified SQL query.
Remedy: Check the database query. Contact your system adminstrator.
Action: E
Severity: H
Help URL:
Detail:
com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.UPDATE_FAILED'Description: Got a null connectionSQL State: Vendor Code: 0Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)Hi Nishith,
max connection pool size is already set to 50 , which is recommended.
Please Advise.
Thanks
Rachit -
Good Day,
I'm encountering this problem
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
here's the java code
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
String userName = "mssoriano";
String passWord = "mssoriano_4319";
conn = DriverManager.getConnection(url, userName, passWord);
and here's my tnsnames.ora
UCSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
(CONNECT_DATA =
(SID = psusldb11)
Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.Hi,
see this example
Connect to Oracle DB via JDBC driver
Frank -
Anybody able to help me with this Java-JDBC Problem?
I'm creating a ResultSet and execute a query which approximatelly delivers me 11.000 rows.
With the given ResultSet i'd like to move through the records forward only.
In my while loop I'm able to reach ~9700 rows and then unexpectedly i get the error:
java.sql.SQLException: I/O Error: Connection reset
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2277)
at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:761)
at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:593)
at ag.oase.jobs.Datenschaufel.Betriebabgleich(Datenschaufel.java:1629)
at ag.oase.jobs.Datenschaufel.main(Datenschaufel.java:183)
Caused by:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:202)
at net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:860)
at net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:707)
at net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:466)
at net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:103)
at net.sourceforge.jtds.jdbc.ResponseStream.readInt(ResponseStream.java:318)
at net.sourceforge.jtds.jdbc.TdsData.readData(TdsData.java:680)
at net.sourceforge.jtds.jdbc.TdsCore.tdsRowToken(TdsCore.java:2968)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2236)
... 4 more
I'm using the jTDS JDBC driver.
I googled a lot but didn't found a solution for this problem?
So please help me!
Thanks in advance
Ren�...OWB repository cannot be installed into Oracle XE.
Cheers
David -
hi...i am tryin to connect to sqlserver2000 ....i wanted a dsnless connection...i have downloaded jtds driver...set the classpath..no joy..i'm connecting to sqlserver's default port 1433..i also confirmed that sqlserver tcp is enabled...still gettin the same err:
java.sql.SQLException: Network error IOException: Connection refused: connect
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
:385)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java
:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at SQLServerConnect.getConnection(SQLServerConnect.java:27)
at SQLServerConnect.displayDbProperties(SQLServerConnect.java:44)
at SQLServerConnect.main(SQLServerConnect.java:80)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSoc
ket.java:304)
at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:255)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
:310)
... 7 more
Error Trace in getConnection() : Network error IOException: Connection refused:
connect
Error: No active Connection
i even tried connecting to the port 1433 thru telnet...err:Could not open connection to the host, on port 1433:connection failed...
i thought it cud b a firewall issue...disabled my windows firewall..no joy..
can ne body help me with this....need to solve this desparately
thanks in advance
judeOld, but still coming up in google searches. Here's the solution that worked for me:
Dynamic Port Allocation explained:
http://support.microsoft.com/kb/823938
How to: Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager)
http://support.microsoft.com/kb/823938
In case that dissappears:
To assign a TCP/IP port number to the SQL Server Database Engine
1. In SQL Server Configuration Manager, in the console pane, expand SQL Server 2005 Network Configuration, expand Protocols for <instance name>, and then double-click TCP/IP.
2. In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear, in the format IP1, IP2, up to IPAll. One of these are for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you wish to configure.
3. If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.
4. In the IPn Properties area box, in the TCP Port box, type the port number you wish this IP address to listen on, and then click OK.
5. In the console pane, click SQL Server 2005 Services.
6. In the details pane, right-click SQL Server (<instance name>) and then click restart, to stop and restart SQL Server. -
Java.sql.SQLException: Listener refused the connection
hi everybody!
i'm new in oracle and java and have a problem working in Oracle 11g ExpressEdition.
i have the next error when i'm trying to start java project using oracle:
incorrect login or password
and the next:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descript
or
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
+531)+
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at tools.db.ConnectionFactory.getOracleConnection(ConnectionFactory.java
+:30)+
at tools.db.DatabaseTools.checkAuthorizationInfo(DatabaseTools.java:24)
at mainforms.LoginForm.jButton1ActionPerformed(LoginForm.java:112)
at mainforms.LoginForm.access$000(LoginForm.java:16)
at mainforms.LoginForm$1.actionPerformed(LoginForm.java:52)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: Listener refused the connection with the
following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descript
or
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:385)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
+... 47 more+
my listener.ora file content:
SID_LIST_LISTENER =
+(SID_LIST =+
+(SID_DESC =+
+(SID_NAME = PLSExtProc)+
+(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
+(PROGRAM = extproc)+
+)+
+(SID_DESC =+
+(SID_NAME = CLRExtProc)+
+(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
+(PROGRAM = extproc)+
+)+
+)+
LISTENER =
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
+)+
+)+
DEFAULT_SERVICE_LISTENER = (XE)
and tnsnames.ora file content:
XE =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
+(CONNECT_DATA =+
+(SERVER = DEDICATED)+
+(SERVICE_NAME = XE)+
+)+
+)+
EXTPROC_CONNECTION_DATA =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+)+
+(CONNECT_DATA =+
+(SID = PLSExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
ORACLR_CONNECTION_DATA =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+)+
+(CONNECT_DATA =+
+(SID = CLRExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
and results of commands:
C:\Users\Admin>lsnrctl service
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2012
+:13+
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service.
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
+"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
CLRExtProc
+(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_7DC8.OR+
+"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
CLRExtProc
+(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_B57B.OR+
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service.
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
+"D000" established:0 refused:0 current:0 max:1022 state:ready+
DISPATCHER <machine: HOME, pid: 3280>
+(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=56207))+
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:1 refused:0 state:ready+
LOCAL SERVER
The command completed successfully
and
C:\Users\Admin>tnsping XE
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2
+012 13:22:40+
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PO
RT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (10 msec)
dont understand what the reason of problem. read many forums and try this and that but can't resolve it (haven't enough knowledges :( ).
will be very thankful for a help everybody.<msg time='2012-05-06T16:58:11.735+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 16:58:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T16:58:44.738+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 16:58:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:02.856+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:02 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:14.900+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:45.008+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:45 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:48.018+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:48 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:02:18.460+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>System parameter file is D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Log messages written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\alert\log.xml
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Trace information written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\trace\ora_108_424.trc
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>
</txt>
</msg>
<msg time='2012-05-06T17:02:18.835+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Started with pid=108
</txt>
</msg>
<msg time='2012-05-06T17:02:18.928+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
</txt>
</msg>
<msg time='2012-05-06T17:02:18.944+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
</txt>
</msg>
<msg time='2012-05-06T17:02:20.582+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2012-05-06T17:02:20.629+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2012-05-06T17:02:48.865+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
</txt>
</msg>
<msg time='2012-05-06T17:02:48.880+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:02:48 * service_register * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:02:51.876+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:02:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:02.062+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:02 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:16.508+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:16 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:22 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:25.541+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:49.620+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:49 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:58.590+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:04:01.616+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:04:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:04:19.656+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:04:19 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:07:14.278+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:07:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:09:59.872+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:09:59 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:10:32.991+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:10:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:12:45.466+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:12:45 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:13:24.607+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:13:24 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:16:37.298+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:16:37 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:21:38.379+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:21:38 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:23:26.768+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:23:26 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:25:03.114+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:25:03 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:25:33.222+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:25:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:01.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:25.270+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:34.302+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:34 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:58.389+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:33:28.929+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:33:28 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:34:17.102+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:34:17 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:37:35.815+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:37:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:38:42.053+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:38:42 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:40:33.452+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:40:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:43:31.090+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:43:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:45:31.522+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:45:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:50:32.603+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:50:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:53:33.251+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:53:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:58:31.321+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:58:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:01.645+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:31.753+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:46.807+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:46 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:03:35.412+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:03:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:05:32.833+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:05:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:10:33.914+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:10:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:12:55.531+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:12:55 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:13:04.554+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:13:04 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:13:37.674+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:13:37 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:14:44.029+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:14:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:18.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:18 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:36.949+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:36 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:51.962+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:16:25.322+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:16:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:17:32.063+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:17:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:18:05.088+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:18:05 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:18:35.113+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:18:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:22:56.145+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:22:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:28:05.164+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:28:05 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:32:56.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:32:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:40:32.214+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:40:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:42:56.223+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:42:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:50:32.253+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:50:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:52:56.264+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:52:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:55:32.367+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:55:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:59:11.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:59:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:00:29.688+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:00:29 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:00:44.689+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:00:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:01:23.703+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:01:23 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:02:56.736+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:02:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:03:47.752+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:03:47 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:04:53.767+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:04:53 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:05:59.798+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:05:59 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:07:39.042+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:07:39 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:08:15.113+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:08:15 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:09:54.206+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:09:54 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:11:36.299+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:11:36 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:12:00.312+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:11:59 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50478)) * establish * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:12:57.354+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:12:57 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:13:51.913+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:13:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:14:24.936+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:14:24 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:14:51.721+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:14:51 * (CONNECT_DATA=(SID=LogistDB)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50621)) * establish * LogistDB * 12505
</txt>
</msg>
<msg time='2012-05-06T19:14:51.750+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
</txt>
</msg>
<msg time='2012-05-06T19:15:15.587+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:15:15 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
</txt>
</msg>
<msg time='2012-05-06T19:17:10.428+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:17:10 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:18:22.597+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:18:22 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:19:09.605+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:19:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * services * 0
</txt>
</msg>
<msg time='2012-05-06T19:20:31.674+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:20:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:21:40.732+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:21:40 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:13.988+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:13 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:46.995+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:46 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:58.999+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:25:32.370+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:25:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:26:44.417+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:26:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:27:50.575+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:27:50 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:28:11.590+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:28:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:31:12.568+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:31:12 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:31:48.599+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:31:48 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:33:00.647+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:33:00 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:35:30.764+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:35:30 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:38:15.875+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:38:15 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:42:55.204+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:42:55 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:43:01.206+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:43:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:43:28.485+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:43:28 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:44:35.170+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:44:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:08.144+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:08 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:32.165+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:41.176+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:41 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:46:14.280+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:46:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:46:47.320+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:46:47 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:47:20.333+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:47:20 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:53:02.663+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:53:02 * service_update * xe * 0
</txt>
</msg> -
Java.sql.SQLException:listener refused the connection with the error
hi my problem is in repository assistant IN 2ND STEP
After i enter the
Repository User name sindhu
Repository User Password tiger (As i kept the password of Oracle 10g)
SYSDBA User name SYS
SYSDBA Password tiger (As i kept the password of Oracle 10g)
Host name Local Host
Port number 1521 (default)
Oracle Service name OracleServiceXE
and i am not clicking the SQL* Plus
and clicking on " Next "
then my prob is
INS0009:Unable to connect to the database with the user SYS
java.sql.SQLException : Listener refused the connection with the following error
ORA-12514, TNS: listener dosenot currently know of service requested in connect descriptor
The Connection Descriptor used by the client was
(DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=
(SERVICE_NAME=ORACLESERVICEXE)))
hope some one will give me a gud solution
Waiting for ur reply
Sindhu...OWB repository cannot be installed into Oracle XE.
Cheers
David -
Java.sql.SQLException: The TCP/IP connection to the host has failed.
Hello. I hope you had a happy new year! Now its back to work.
I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
Thank You."Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
First aid check list for "connection refused":
- Check host name in connect string.
- Check port number in connect string.
- Try numeric IP address of server host in connect string, in case name server is hosed.
- Are there any firewalls between client and server blocking the port.
- Check that the db server is running.
- Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
- Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
- If "telnet" fails: try telnet with the numeric ip address.
- If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
- Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"? -
Hi All,
I am getting the following error when i am running swing program. I have a large volume of data. My resultset is running upto 2 hours. after 2 hours process is stoped and i got the following error on console.I am using Swing and MS SQL Server 2000.
Exception :java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Unspecified error occurred on SQL Server. Connection may have been terminated by the server.
Exception :java.sql.SQLException: General error
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
Exception :java.sql.SQLException: General error
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:419)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:424)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
java.lang.Exception: Invalid handle [null] Database error code:0
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:429)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:434)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closedjava.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:439)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:444)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:449)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:454)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'T'
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:459)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and ExcludedFromAudit = 'F' and SystemPricedFare = 'F'
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID, tblTransaction.TransactionNumber, tblTransaction.PrimeDocumentNumber, tblTransaction.AgentIATACode, tblTransaction.NetRemitInd, tblTransaction.ITBTFare, tblTransaction.TourCode, tblTransaction.FareBasis, tblTransaction.TransactionCode, tblTransaction.TransactionCategory, tblTransaction.InternationalOrDomestic, tblTransaction.NumberOfSectors, tblTransaction.TransactionStatus, tblTransaction.TransactionStatusUserID, tblTransactionCRSCheck.FareCorrect, tblTransactionCRSCheck.TaxCorrect, tblTransactionCRSCheck.CommissionCorrect, tblTransactionCRSCheck.ContractRulesCorrect, tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and tblTransaction.ExcludedFromAudit = 'F' and tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 1 : update tblAudit set NumberOfBatches = 1078 where AuditID = 10001720
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 12 query2 : select BatchID from tblAuditBatch where AuditID = 10001720
Exception :java.sql.SQLException: Invalid handle
Exception :java.lang.Exception: Invalid handle [null] Database error code:0
java.lang.Exception: Invalid handle [null] Database error code:0
at com.select.auditlink.GenerateAuditBatches.updateAuditBatches(GenerateAuditBatches.java:1427)
at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:217)
GenerateAuditBatches.java sql 2 : update tblAudit set NumberOfAuditedBatches = ( select count(*) from tblAuditBatch where AuditID = 10001720 and NumberOfAuditedTransactions = NumberOfTransactions) where AuditID = 10001720
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
GenerateAuditBatches.java sql 3 : update tblAudit set NumberOfAuditedTransactions = ( select count(*) from tblTransaction where AuditID = 10001720 and Audited = 'T') where AuditID = 10001720
Exception :java.sql.SQLException: Invalid handle
Exception :java.sql.SQLException: Connection is closed
Exception :java.sql.SQLException: Connection is closed
Please give me suitable solution of this issue.
Thanks
Rajnish
Message was edited by:
rajnishsunjavajava.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]File must be opened exclusively.
In the Visual Foxpro table, I saw no READ ONLY settings.And also, there are
no delete permission grants and there is no user database sesssion concept.
The ODBC DSN for MYTABLE is setup as:
- Free Tables (not database)
- Null (checked)
- Deleted (checked)If you're using Visual Foxpro database(.DBC), you should see "Exclusive" option too. You can try check it, but I don't know whether your issue will disappear. -
Java.sql.SQLException: Io exception: End of TNS data channel
Hello folks,
Has amyone encountered this exception? If so, could you please shed some light for what might be going wrong?
Here is my confuguration:
400MB RAM
1.2GHTz processor
Win2K Pro
Oracle server 9.0.1
JDBC Thin driver (libs for 9.0.1)
Scenario:
My Java code uses Oracle Spatial to insert SDO_GEOMETRY objects into my DB model.
I have a config file where I store my connection properties, e.g.,
<DBConnection name="twatest">
<JDBCDriver>oracle.jdbc.driver.OracleDriver</JDBCDriver>
<URL>jdbc:oracle:thin:@saturn:1521:saturn</URL>
<Username>user1</Username>
<Password>twatest</Password>
</DBConnection>
We have 2 schemas defined: user1 and twatest.
The problem first occured when I switched from user1 to twatest. Consequent attempt to run the process as user user1 failed! The Java SQL statements do not use schemas (so they default, I suppose, to the default schema for that particular user, in our case being user1-->user1, twatest-->twatest).
The problem happens in the following Java class (search for "HERE" to see where exactly the problem occurs):
package com.vividsolutions.twatest;
import java.util.*;
import java.sql.*;
import oracle.sql.*;
import oracle.sdoapi.OraSpatialManager;
import oracle.sdoapi.geom.*;
import oracle.sdoapi.adapter.*;
import oracle.sdoapi.sref.*;
import com.vividsolutions.twatest.parser.*;
import com.vividsolutions.twatest.config.*;
import com.vividsolutions.twatest.model.*;
* This class is responsible for loading lakes into the SDO Oracle Spatial DB.
public class LakeLoader
static boolean initialized = false;
private static GeometryFactory gF;
private static SRManager srManager;
private static SpatialReference sref;
private static GeometryAdapter sdoAdapter;
public static void loadLake(EdgedLake slake, Connection conn) throws Exception {
com.vividsolutions.jts.geom.Envelope e = slake.getEnvelope();
if (e == null) {
System.out.println("Invalid envilope (feature ID="+slake.getFeatureId()+")! Ignoring...");
return; // ignore lake - it's invalid (no envilope)
if (!initialized) {
initialize(conn);
initialized = true;
Geometry geom;
STRUCT str;
// insert Lake
String lakeQuery = "INSERT INTO lake " +
"(lake_id, area, bounding_box, name, instantiation_date) " +
"VALUES(?,?,?,?,?)";
PreparedStatement ps = conn.prepareStatement(lakeQuery);
int lakeId = getId(Lake.ID, conn);
ps.setInt(1, lakeId);
ps.setDouble(2, Double.parseDouble(slake.getArea()));
// Creates a 2-D rectangle (special case of Polygon geometry).
geom = gF.createRectangle(e.getMinX(), e.getMinY(), e.getMaxX(), e.getMaxY());
ps.setObject(3, sdoAdapter.exportGeometry(STRUCT.class, geom));
ps.setString(4, slake.getName());
ps.setTimestamp(5, new Timestamp(new java.util.Date().getTime()));
ps.executeUpdate(); // <-- HERE I got: java.sql.SQLException: Io exception: End of TNS data channel
//ps.close();
String ringQuery = null;
int ringId = 0;
List shellEdges = slake.getShellEdges();
if (shellEdges != null && shellEdges.size() > 0) { // if there is valid shell, insert it...
// insert shell Rings
ringQuery = "INSERT INTO ring (ring_id, lake_id, type) VALUES(?,?,?)";
ps = conn.prepareStatement(ringQuery);
ringId = getId(Ring.ID, conn);
ps.setInt(1, ringId);
ps.setInt(2, lakeId);
ps.setString(3, Ring.SHELL);
ps.executeUpdate();
//ps.close();
// insert shell ring Edges
insertEdges(shellEdges, lakeId, Ring.SHELL, ringId, conn);
List holeEdges = slake.getHoleEdges();
if (holeEdges != null && holeEdges.size() > 0) { // if there are valid holes, insert them...
// insert hole Rings
ringQuery = "INSERT INTO ring (ring_id, lake_id, type) VALUES(?,?,?)";
ps = conn.prepareStatement(ringQuery);
ringId = getId(Ring.ID, conn);
ps.setInt(1, ringId);
ps.setInt(2, lakeId);
ps.setString(3, Ring.HOLE);
ps.executeUpdate();
//ps.close();
// insert hole ring Edges
insertEdges(holeEdges, lakeId, Ring.HOLE, ringId, conn);
ps.close();
private static void insertEdges(List edges, int lakeId, String ringType,
int ringId, Connection conn) throws Exception {
if (!initialized) {
initialize(conn);
initialized = true;
Geometry geom;
STRUCT str;
// insert shell ring Edges
String edgeQuery = "INSERT INTO edge " +
"(edge_id, lake_id, ring_type, ring_id, edge_sequence, shape) " +
"VALUES(?,?,?,?,?,?)";
int edge_sequence = 0;
for (Iterator it=edges.iterator(); it.hasNext(); ) {
Edge edge = (Edge)it.next();
geom = gF.createLineString(LakeFactory.edgeToArray2D(edge)); // 2-dimensional coordinates
PreparedStatement ps = conn.prepareStatement(edgeQuery);
int edgeId = getId(Edge.ID, conn);
ps.setInt(1, edgeId);
ps.setInt(2, lakeId);
ps.setString(3, ringType);
ps.setInt(4, ringId);
ps.setInt(5, edge_sequence++);
ps.setObject(6, sdoAdapter.exportGeometry(STRUCT.class, geom));
ps.executeUpdate();
ps.close();
* @param key This can be: "lake", "ring", or "edge".
* @param conn The connection to use.
* @return the unique ID corresponding to the given key.
public static int getId(String key, Connection conn) {
int id = -1;
try {
String query = "SELECT "+key+"_SEQUENCE.NEXTVAL FROM DUAL";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
id = rs.getInt(1);
stmt.close();
} catch(SQLException sqle) {
sqle.printStackTrace();
return id;
private static void initialize(Connection conn) throws Exception {
gF = OraSpatialManager.getGeometryFactory();
// Set spatial reference system in which the geometries will be created
srManager = OraSpatialManager.getSpatialReferenceManager(conn);
sref = srManager.retrieve(8307);
gF.setSpatialReference(sref);
sdoAdapter = OraSpatialManager.getGeometryAdapter("SDO", "8.1.6",
null, STRUCT.class, null, conn);
public static void main(String args[]) throws Exception
String[] xmlLakeFiles = {
"lakes101to1400.xml",
"lakes1401to10000.xml",
"lakes10001to20000.xml",
"lakes20001to30000.xml",
"lakes30001to40000.xml",
"lakes40001to50000.xml",
"lakes50001to60000.xml"
PropertyManager pm = new PropertyManager();
int numberOfLoadedLakes = 0;
try {
pm.initialize();
Map modelMap = (Map)pm.get(XMLConfigFile.MODEL_MAP);
LakeModel lakeModel = (LakeModel)modelMap.get(LREConcreteLakeModel.NAME);
Connection connection = ConnectionManager.getConnection();
lakeModel.setConnection(connection);
for (int i=0; i<xmlLakeFiles.length; i++) {
long then = System.currentTimeMillis();
System.out.println("Loading lake "+xmlLakeFiles[i]+"...");
numberOfLoadedLakes = lakeModel.loadModel(xmlLakeFiles);
long now = System.currentTimeMillis();
System.out.println("Loaded "+numberOfLoadedLakes+" lakes!");
System.out.println("Execution time: "+(now-then)/1000+" seconds!");
System.out.println("Loading lake "+xmlLakeFiles[i]+"...done!");
connection.close();
} catch(Exception e) {
e.printStackTrace();
My client class calls LakeLoader.loadLake() method in a loop to load a bunch of Lake objects into the DB. The first lake in the list is created without problems, but when the 2-nd lake is being inserted, I get an exception at the preparedStatement.executeUpdate() statement. This happens consistently.
I tried to find information on this on the net, but seems that this problem only happened when people dealt with LOBs?!
Thank you very much!
GeorgiSuresh -- I'd probably log a TAR with Oracle support for this question if you definitely need it resolved. Support have access to all manner of existing cases, so this may be something they have seen before.
cheers
-steve- -
Could not create pool connection.The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correct userid,password
and HostString using OracleClient, I couldnt able to do with connectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connection pool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied - (Obj
ectel/********@ora8i)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Poller started
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "examplesServer" for domain "examples" running in Development Mode>URL=jdbc:weblogic:oracle:oracle8i(server)
Driver Classname=weblogic.jdbc.oci.Driver
AClname=weblogic.jdbc.connectionPool.oraclePool
intialcapacity=1
MaximumCapacity=10
Capacity Increment=2
Login Delay Seconds=1sec
Refresh Period=15 Minutes
Supports Local Transaction=No
Allow Shrinking=No
Shrink Period=15
Prepared Statement Cache Size=10
TargetServer=ExamplesServer
Properties
user=Objectel
password=superman
Test table=yes
Test Reserved Connections=yes
Test Released Connections=Yes
I could able to connect to oracledataBase if I use
user=scott
password=tiger
with any other database user Iam getting the following error
Could not create pool connection. The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
"Neo Gigs" <[email protected]> wrote:
By end of the error you shown:
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>
You are running the Examples application shipped with WLS, which I guest
the
correct DB to connect with is Cloudscape yet to Oracle, unless you make
changes to the original ConnectionPool in the examples. Anyhow, please
show
us your configuration of the ConnectionPool used when this error pops.
"Raj" <[email protected]> wrote in message
news:[email protected]...
Could not create pool connection.The DBMS driver exceptionwas:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correctuserid,password
and HostString using OracleClient, I couldnt able to do withconnectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connectionpool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logondenied - (Obj
ectel/********@ora8i)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Pollerstarted
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discoveryof
Manag
ed Server... This feature is on by default, you may turn this off bypassing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode> -
Exception java.sql.SQLException: This Connection has either timed out
I am using JRUN 4 & SQL Server 2000
and Driver is Type 4 SQL Server 2000.
Type 4 driver : com.microsoft.jdbc.sqlserver.SQLServerDriver
I am able to connect & fire the query but while insertion record it gives me this error.
Exception java.sql.SQLException: This Connection has either timed out
or been closed, and it has returned to its pool. You must re-acquire the Connect
ion.
java.sql.SQLException: This Connection has either timed out or been closed, and
it has returned to its pool. You must re-acquire the Connection.
at jrun.sql.JRunConnectionHandle.assertConnectionExists(JRunConnectionHa
ndle.java:50)
at jrun.sql.JRunConnectionHandle.rollback(JRunConnectionHandle.java:107)
at krisolshipping.common.LMaintain.postData(LMaintain.java:563)
at krisolshipping.securities.SUser.doPost(SUser.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
226)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
527)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j
ava:451)
Krisol 03 Exception java.sql.SQLException: This Connection has either timed out
or been closed, and it has returned to its pool. at jrunx.scheduler.Worke
rThread.run(WorkerThread.java:66)
You must re-acquire the Connection.
java.sql.SQLException: This Connection has either timed out or been closed, and
it has returned to its pool. You must re-acquire the Connection.Did you by any chance close the connection?
The following appendix in the connection URL is recommended for M$ SQL:
jdbc:microsoft:sqlserver://mssql:1433;SelectMethod=Cursor -
Using Weblogic Platform 7.0 (installed from platform700_win32.exe),
Running a BPM Doamin(WLIDomain with BPM only).
When I try to access my entity bean(CMP), the following exception is getting thrown.
I have seen a similar post in here, but the answer to that post, which says to
provide ACL. does not apply quite well my scenario.
To do this, I right clicked on the connection pool and selected define Ploicy..
It shows two options
RealmAdapterAuthorizer and DefaultAuthorizer; On DefaultAuthroizer i specified
role accessing the resource would be "everyone". - restarted the server - but
still the same error.
Please suggest a solution if any. Do i have to get some service pack for this?
TIA
Ranjith.We have never seen a case yet where this was not a permissions problem.
Do you have a fileRealm.properties file as part of your configuration?
"Ranjith" <[email protected]> wrote in message
news:3f0fdeb3$[email protected]..
>
java.sql.SQLException: Cannot obtain connection after 3600 seconds. ,Exception
= Access not allowed
java.sql.SQLException: Cannot obtain connection after 3600 seconds. ,Exception
= Access not allowed
atweblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:701)
atweblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:623)
atweblogic.jdbc.jts.Connection.prepareStatement(Connection.java:133)
atweblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:139)
atweblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
atservice.samplemgt.v1_0.ejb.entity.BanksampletypeCMP_ckv0ao__WebLogic_CMP_RDB
MS.ej
bFindAll(BanksampletypeCMP_ckv0ao__WebLogic_CMP_RDBMS.java:873)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersi
stenceManager
java:300)
atweblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
java:715)
atweblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
java:688)
atweblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:47
6)
at ... -
Hello friends,
I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread...
When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both Tomcat and the database are running on Solaris 9), I get the following error:
"Error connecting to database - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
However, there is another application running on the same server using the same database server (only the actual databases being used differ) and it is able to access the database without any issues. Both of these are absolutely similar applications and I couldn't think of any reasons why one would work and the other wouldn't. I thought they might be conflicting each other and tried running only the problematic application. But even then, I get the same error.
I know this might not be too relevant but to provide you some more information on the environment, the applications are running on separate Tomcat instances on the same server and they are connected to an Apache web server through Mod jk.
Any help in solving this problem is greatly appreciated!
Thanks!
Regards,
YogaeshYogaesh wrote:
The 'application' that works is also a Tomcat application... It's exactly same as the problematic application in terms of the configuration and stuff... As for the typo errors, I copied the config info and pasted it... So pretty much it should be the same. And to add an additional note, I'm able to connect to the database from my localhost... I mean if I run the problematic application from localhost (without Apache and directly hitting Tomcat) I'm able to access the screens...
The second part of that (localhost) usually isn't all that useful. You know it is a connection failure so that means the code is running and technically successfully (since connection failure is a legitimate runtime error.)
You know it isn't a firewall issue because it connects from another app in tomcat. So it must be a configuration issue.
So something like one of the following.
1. It isn't the same (we already know this but this particular item means that it is not in fact exactly the same because you deliberately or accidently modified it.)
2. It isn't pulling the right config. Maybe you aren't packaging it, maybe it is buffered on the server and it is using that rather than what you think it is.
3. Java code is referring to the wrong name.
Do this, change the configuration so it points to a server that does not exist. Repack, redeploy. If the error is the same (no diff) then you know that it is not running the code that you think it is. If it does change then you know that it can only be 1.
Maybe you are looking for
-
When I try to open firefox a box opens up and tells me firefox is already running in another window and I need to close the window if I want to open firefox in a new window. Firefox is already closed, nothing is left open when I close out firefox. I
-
Error during creating a control record
Hi Experts, we are using EEC6.03 version. system error.. Change before earliest retro. date 01.03.2010 acc. to control rec. to py area CO Error- While creating Control Record, system takes advance period. example- We have given present payroll perio
-
Thin line at top of HD channels
When watching a number of HD channels, there is a very thin line above the picture box. The line looks like it is the bottom of the picture that was accidentally projected ontot he top of the picture. I reset the reciever a few times and it goes awa
-
Legal use of Skype API (Skype4COM.dll library) in ...
Please answer my Question: is it legal (due to Skype licence, and restrictions) to use Skype API (Skype4COM.dll library) for C# with our own, commercial software - dedicated to personal communication for elderly people? Best PawelMarek
-
MISSING JFP1/JFP2 connection pins (pics)
Just got my new MSI motherboard and started installing everything, and come to the final part of connecting all the jumpers and find there are none.... So apart from reaching inside my case and pressing the power button, I think im stuffed. Board is