Connection CLosed Error due to submit statement.
Hi friends,
I have a Method which calls this function
CALL FUNCTION 'Z_SLOT_TRIGGER_PRODUCTS'
EXPORTING
iv_rspar = lt_rspar
iv_variant = lv_variant.
The Function module Z_slot_trigger_prouducts has a form in which there is a submit statement
Submit the slotting transaction to background & process the transaction immediatly
SUBMIT z_slot_products
USING SELECTION-SET gv_variant
WITH SELECTION-TABLE p_lt_rspar_tmp
AND RETURN.
During the debuging i see that when it reaches this submit statement it is giving an error as below in the inbound queue:
ThISend: bad tm type / connection closed (no data)
Can anyone please help me with this error. Thanks in advance.
Check the documentation of the submit statement:
When the SUBMIT statement is executed, the system runs an authorization check for the authorization group specified in the program attributes.
Similar Messages
-
FTP Adapter ORABPEL-11407 Connection closed error.
Hiiii friends
I have configured the connection factory for FTP Adapter (not defined any connection pool). My BPEL process poll the ftp location to get the file.
But no bpel instance is getting generated and domain.log shows the following error. Can you help me in this issue ?
+<2009-06-26 04:09:59,140> <INFO> <default.collaxa.cube.engine.deployment> Process "ReadEmp" (revision "1.0") successfully loaded.+
+<2009-06-26 04:10:10,666> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::init - Initializing the JCA activation age+
nt, processId='bpel://localhost/default/ReadEmp~1.0/
+<2009-06-26 04:10:10,667> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and+
initializing inbound JCA endpoint for:
process='bpel://localhost/default/ReadEmp~1.0/'
+<2009-06-26 04:10:10,667> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and+
initializing inbound JCA endpoint for:
process='bpel://localhost/default/ReadEmp~1.0/'
domain='default'
WSDL location='ReadEmpPL.wsdl'
portType='GetEmpOp_ptt'
operation='GetEmpOp'
+activation properties={portType=GetEmpOp_ptt}+
+<2009-06-26 04:10:10,678> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for p+
ortType=GetEmpOp_ptt, operation=GetEmpOp
+<2009-06-26 04:10:10,763> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> ENDPOINT ACTIVATION CALLED IN FTP ADAPTER+
+<2009-06-26 04:10:10,765> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed e+
ndpointActivation for portType=GetEmpOp_ptt, operation=GetEmpOp
+<2009-06-26 04:10:10,765> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created+
+<2009-06-26 04:10:40,516> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> PollWork::run exiting, Worker thread will die+
+<2009-06-26 04:20:11,382> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Poller raising Alert for exception : ORABPEL-11407+
Connection closed error.
Connection closed for Host: corpdevapp10.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
+<2009-06-26 04:20:41,429> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created+
I am not sure what exactly is happening here. I have already established the successful connection with the same FTP server using different FTP clients.sounds like the ftp server closed the connection. did you try to use other ftp clients from the same machine where the bpel engine is running?
Mark -
Random Connection Closed Errors using UCP
Hey All;
I am trying to figure out why we are seeing quite a few random connection closed errors in our applications that are using Oracle UCP ver 11.2.0.1.0 connection pooling.
The errors happen at arbitrary jdbc usage source code locations (e.g.: spots that check a connection's auto commit mode, spots that spool through a result set, spots that do yada..) that consume a connection, and are not affiliated with what is being done with the connection (SQL being ran).
The architecture is Tomcat 7, hitting Oracle 10g Enterprise Edition Release 10.2.0.4.0 (RAC). The structure of the code (it's a web app) is such that we have a servlet filter that assigns a http request thread a connection from the pool on an incoming request, then that same connection is closed at the completion of that request's handling. No code uses connections other than code related to handling an http request. And, no threads are spawned off of that request handling thread. And, no code whatsoever (other than the servlet filter's finally block) ever closes a DB connection.
Also, the number of connections in the pool is quite adequate for the usage of the pool. That is, the ceiling is likely never hit. Even if it were---- having an outstanding connection suddenly 'closed out' wouldn't be the proper behavior there.
What are the things that can cause a connection to be 'closed out from under you' ? Meaning, the connection is valid when taken from the pool, but arbitrarily in the middle of usage--- it gets closed.
I am pretty stumped at this point.
Any ideas?
Thanks--Here are a few sample stacks. Keep in mind that the line of code where the exception actually happens is arbitrary. We see the exception happen at ANY line that is a consumer of a connection. For example... it could happen that it blows up on the 'Nth' iteration while trucking through a result set. Suddenly at say... iteration 143 the connection is suddenly closed out from under the connection's handle.
As far as threads are concerned, each http request that creates a controller servlet instance is assigned it's own connection to use through the handling of that request. That connection instance is assigned as a ThreadLocal instance. Any DB usage that thread has is via that connection. The servlet filter ensures the handle is assigned when the request comes in, then is cleaned up as that request is completely handled in the same filter's finally block (this is a pattern that dozens of web apps we have have been using for going on 10 years now). This is not an ejb app. Straight Tomcat 7 web app using MVC pattern where C is a servlet.
The curious thing here in my mind is that we only have two apps in our collection that are using this new UCP pooling driver (most other are using a tomcat pool). And, only those two are seeing this behavior.
I am not balking at the threads concern--- it's just hard to square that with how we handle threading in such a 'single thread per http request' manner.
And, if it were the case that the pool is handing out the same connection handle to more than one thread because of having multiple entrant threads to the pool accessor method---- it's difficult to buy that it's that common for us to have multiple entrant threads at the same moment in those very short time span it takes for a pool to hand out a connection (given the traffic usage pattern for the app).
Here are the 'known deltas' I am aware of between the two apps that have this behavior, and the couple of dozen we have that do not:
1) these two apps are on Tomcat 7 (most others are Tom 5, Resin, or JBoss)
2) these two apps are using the Ora UCP pool. (most others use Tomcat pool)
~~~~~~~~~ Stack 1 ~~~~~~~~~~~~~~~~~~
01-Dec-2010 12:34:13.479 [ERROR] JDBCExceptionReporter: The connection is closed: The connection is closed
01-Dec-2010 12:34:13.479 [ERROR] PartsGroupingPanel: getDealersInventoryRow() pvid FO03348
org.hibernate.exception.GenericJDBCException: could not inspect JDBC autocommit mode
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.JDBCContext.afterNontransactionalQuery(JDBCContext.java:228)
at org.hibernate.impl.SessionImpl.afterOperation(SessionImpl.java:437)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1134)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.dmotorworks.partinventory.dao.ClientParametersDAO.getAllDealers(ClientParametersDAO.java:20)
~~~~~~~~~ Stack 2 ~~~~~~~~~~~~~~~~~~
01-Dec-2010 11:23:54.889 [ERROR] PartsSearchDAO: getDealerInventoryLineItemsNofN()
java.sql.SQLException: The connection is closed: The connection is closed
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:526)
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:510)
at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:245)
at $Proxy0.prepareStatement(Unknown Source)
at com.dmotorworks.partinventory.dao.PartsSearchDAO.getDealerInventoryLineItemsNofN(PartsSearchDAO.java:246) -
TNS: connection closed error with SQL*net
Hi all,
I've got a new installation of Oracle 11.1.0.6.0 enterprise (Linux). It works fine with direct sqlplus connections but I'm having problems with SQL*net and JDBC thin client connections.
The database is built correctly and works fine:
user@cthulhu bash[61]: sqlplus user/pwd
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 12:59:53 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for Linux: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
SQL>
but if I try to connect using SQL*net I get errors. I have my TNS listener configured and it starts without errors, reporting the database as a service, and tnsping is fine:
user@cthulhu bash[62]: tnsping cthulhu_mar
TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 04-AUG-2008 13:02:07
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.30)(PORT=1521)) (CONNECT_DATA=(SID=mar)))
OK (10 msec)
user@cthulhu bash[63]: sqlplus user/pwd@cthulhu_mar
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 13:02:41 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12537: TNS:connection closed
Enter user-name:
In listener.log:
Mon Aug 04 13:02:41 2008
04-AUG-2008 13:02:41 * (CONNECT_DATA=(SID=mar)(CID=(PROGRAM=sqlplus)(HOST=cthulhu)(USER=marbur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.30)(PORT=41754)) * establish * mar * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
This is a new instance of Oracle so there is no problem with listener.log being too large (as I've seen elsewhere). I've also tried increasing PROCESSES and SESSIONS in the initSID.ora file without any impact. The listener ports are open through the firewall (and disabling it temporarily makes no difference).
Any suggestions?!
Thanks, MattThis means nothing to me, but it could to someone else......
from listener trace:
2008-08-04 16:19:05.135381 : nlpcaini:env[161] = OLDPWD=/u01/app/oracle/product/11.1.0/db_1
2008-08-04 16:19:05.135407 : nlpcaini:env[162] = ORA_NET2_DESC=12,15
2008-08-04 16:19:05.135432 : nlpcaini:env[163] = ORACLE_SPAWNED_PROCESS=1
2008-08-04 16:19:05.135465 : nlpcaini:exit
2008-08-04 16:19:05.135498 : nsc2addr:normal exit
2008-08-04 16:19:05.135536 : nsbeqaddr:entry
2008-08-04 16:19:05.135566 : nsbeqaddr:connecting...
2008-08-04 16:19:05.135603 : nsopen:entry
2008-08-04 16:19:05.135633 : nsmal:entry
2008-08-04 16:19:05.135667 : nsmal:1012 bytes at 0x81a8538
2008-08-04 16:19:05.135694 : nsmal:normal exit
2008-08-04 16:19:05.135722 : nsopenmplx:entry
2008-08-04 16:19:05.135749 : nsmal:entry
2008-08-04 16:19:05.135779 : nsmal:2020 bytes at 0x81a8930
2008-08-04 16:19:05.135804 : nsmal:normal exit
2008-08-04 16:19:05.135831 : nsiorini:entry
2008-08-04 16:19:05.135861 : nsbal:entry
2008-08-04 16:19:05.135889 : nsbgetfl:entry
2008-08-04 16:19:05.135918 : nsbgetfl:normal exit
2008-08-04 16:19:05.135966 : nsmal:entry
2008-08-04 16:19:05.135995 : nsmal:84 bytes at 0x81b3dd8
2008-08-04 16:19:05.136020 : nsmal:normal exit
2008-08-04 16:19:05.136057 : nsbal:normal exit
2008-08-04 16:19:05.136085 : nsiorini:exit (0)
2008-08-04 16:19:05.136112 : nscpxget:entry
2008-08-04 16:19:05.136139 : nscpxget:normal exit
2008-08-04 16:19:05.136168 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=81a8538, nsntx=81a8930
2008-08-04 16:19:05.136196 : nsopenmplx:normal exit
2008-08-04 16:19:05.136225 : ntpcon:entry
2008-08-04 16:19:05.136253 : ntpcon:toc = 6
2008-08-04 16:19:05.136283 : ntpcon:exit
2008-08-04 16:19:05.136313 : nsopen:opening transport...
2008-08-04 16:19:05.136341 : ntpcon:entry
2008-08-04 16:19:05.136367 : ntpcon:toc = 1
2008-08-04 16:19:05.136404 : sntpcall:entry
2008-08-04 16:19:05.157048 : sntpcall:detaching from parent with additional fork
2008-08-04 16:19:05.157304 : sntpcall:hdl[IR]=17, hdl[IW]=16
2008-08-04 16:19:05.157350 : ntpcon:exit
2008-08-04 16:19:05.157390 : nserror:entry
2008-08-04 16:19:05.157428 : nsoptions:entry
2008-08-04 16:19:05.157459 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
2008-08-04 16:19:05.157488 : nsoptions:Vectored IO not supported.
2008-08-04 16:19:05.157518 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
2008-08-04 16:19:05.157545 : nsoptions:normal exit
2008-08-04 16:19:05.157574 : nsnainit:entry
2008-08-04 16:19:05.157603 : nsnainit:normal exit
2008-08-04 16:19:05.157642 : nsopen:global context check-in (to slot 6) complete
2008-08-04 16:19:05.157675 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
2008-08-04 16:19:05.157706 : nsfull_opn:entry
2008-08-04 16:19:05.157735 : nsfull_opn:cid=6, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x0
2008-08-04 16:19:05.157761 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
2008-08-04 16:19:05.157790 : nsfull_opn:normal exit
2008-08-04 16:19:05.157816 : nsopen:normal exit
2008-08-04 16:19:05.157854 : nsevreg:entry
2008-08-04 16:19:05.157884 : nsevreg:begin registration process for 6
2008-08-04 16:19:05.157912 : nsevregPrePost:entry
2008-08-04 16:19:05.157940 : nsevregPrePost:normal exit
2008-08-04 16:19:05.157968 : nsevreg:sgt=0, evn=1, evt[2]=0x0
2008-08-04 16:19:05.157996 : nsevreg:begin notification process for 6
2008-08-04 16:19:05.158022 : nsevregAffectNotif:entry
2008-08-04 16:19:05.158050 : nsevregAffectNotif:exit (0)
2008-08-04 16:19:05.158078 : nsevreg:rdm=0, sgt=0, evt[0]=0x800, [1]=0x800, [2]=0x0, nrg=0
2008-08-04 16:19:05.158105 : nsevreg:registering for 0x800
2008-08-04 16:19:05.158135 : ntpctl:entry
2008-08-04 16:19:05.158162 : ntpctl:exit
2008-08-04 16:19:05.158203 : nsevreg:normal exit
2008-08-04 16:19:05.158260 : nsbeqaddr:error exit
2008-08-04 16:19:05.158289 : nsbequeath:error exit
2008-08-04 16:19:05.158342 : nsglhe:exit -
Connection closed error when using binding
Hi,
I am running WLS 7.0.1.0 with TopLink 9.0.3 as the persistence layer for
EJB1.1 beans with CMP. When I use bind parameters I get a connection
closed exception the second time the query is invoked.
This is the query I see on server console when it is invoked the first
time. This query returns the expected results:
[TopLink]: ServerSession(91035)--Connection(887977)--SELECT
LAST_CHANGED_ID, ALIAS_NAME, REFERENCE_ID, ALIAS_TYPE,
REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE, TLINK_VERSION, LAST_CHANGED_DATE,
DELETED_FLAG FROM GLOBAL_ALIAS WHERE (DELETED_FLAG =
bind => [N]
However, when I run the same query the second time I get the
following error:
[TopLink Error]: ServerSession(91035)--Connection(0)--null--EXCEPTION
[TOPLINK-4002] (TopLink (WLS CMP) - 9.0.3.1 (Build 426)):
oracle.toplink.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: Connection has already
been closed.
INTERNAL EXCEPTION: java.sql.SQLException: Connection has already been
closed.
ERROR CODE: 0
Then when I execute the query again the third time I see the following
sql query and it
works fine.
[TopLink]: ServerSession(91035)--Connection(889939)--SELECT
LAST_CHANGED_ID, ALI
AS_NAME, REFERENCE_ID, ALIAS_TYPE, REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE,
TLINK_V
ERSION, LAST_CHANGED_DATE, DELETED_FLAG FROM GLOBAL_ALIAS WHERE
(DELETED_FLAG =
bind => [N]
Does WebLogic close its connection to the database pool after each
transaction? Is there something that needs to be done on the database?
Any help will be greatly appreciated.
Thanks in Advance,
Anup.Hi. Our transaction coordinator does prevent any code from using a
pool connection that was part of a transaction, after that transaction
ends. Applications must obtain and use pool connections totally
within or totally outside a UserTransaction, to prevent unintended
or unclear interference of the transaction contents and/or locking.
Joe Weinstein
PS: Also post any followup to the ejb newsgroup, because this issue
is more at the EJB level than JDBC.
Anup Vachali wrote:
Hi,
I am running WLS 7.0.1.0 with TopLink 9.0.3 as the persistence layer for
EJB1.1 beans with CMP. When I use bind parameters I get a connection
closed exception the second time the query is invoked.
This is the query I see on server console when it is invoked the first
time. This query returns the expected results:
[TopLink]: ServerSession(91035)--Connection(887977)--SELECT
LAST_CHANGED_ID, ALIAS_NAME, REFERENCE_ID, ALIAS_TYPE,
REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE, TLINK_VERSION, LAST_CHANGED_DATE,
DELETED_FLAG FROM GLOBAL_ALIAS WHERE (DELETED_FLAG =
bind => [N]
However, when I run the same query the second time I get the
following error:
[TopLink Error]: ServerSession(91035)--Connection(0)--null--EXCEPTION
[TOPLINK-4002] (TopLink (WLS CMP) - 9.0.3.1 (Build 426)):
oracle.toplink.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: Connection has already
been closed.
INTERNAL EXCEPTION: java.sql.SQLException: Connection has already been
closed.
ERROR CODE: 0
Then when I execute the query again the third time I see the following
sql query and it
works fine.
[TopLink]: ServerSession(91035)--Connection(889939)--SELECT
LAST_CHANGED_ID, ALI
AS_NAME, REFERENCE_ID, ALIAS_TYPE, REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE,
TLINK_V
ERSION, LAST_CHANGED_DATE, DELETED_FLAG FROM GLOBAL_ALIAS WHERE
(DELETED_FLAG =
bind => [N]
Does WebLogic close its connection to the database pool after each
transaction? Is there something that needs to be done on the database?
Any help will be greatly appreciated.
Thanks in Advance,
Anup. -
Connection closed Error in Webdynpro - JDBC
Hi everybody !!
I have a WebDynpro Application that uses an Oracle database to display users. I'm using a Datasource configured in Visual Admin to connect WD and Database. Datasource properties are defaults properties.
My code to call the Datasource is:
public static Connection getConexionJDBC() throws JDBCException
Connection conn = null;
try
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(ConnectionConstantsJDBC.DS_DEFAULT);
conn = ds.getConnection();
return conn;
catch (Exception e)
throw new JDBCException(ConnectionConstantsJDBC.MESS_ERROR_OPEN_CONN_JDBC + "(datasource por defecto)." + e.getMessage(), e);
The application runs ok all day, but when I get to work in the morning, the application return me that error. Connection closed.
To solve it, i have to restart de Datasource or the WAS Server, after of this, the application runs ok again, and so every day of the week. I've checked that the connections close OK when are completed using.
So, somebodu knows whats happening?
Thank you.
FernandoHi Fernado,
Currently i have done same implementation in an java code.But i am unable to call using component controller.
Please let me know how to call the java class by Controller.
Thanks
MG -
Hi,
Am trying to submit a program whose result has to be sent to a sap spool.When i tried to do so its throwing an error as "Execption condition cntrl_error' raised.How to get rid of this error.
DATA: gi_seltab TYPE TABLE OF rsparams,
low TYPE d,
gw_seltab LIKE LINE OF gi_seltab.
gw_seltab-selname = 'CREDAT'.
gw_seltab-kind = 'S'.
gw_seltab-sign = 'I'.
gw_seltab-option = 'BT'.
low = sy-datum - 2.
gw_seltab-low = low.
gw_seltab-high = sy-datum.
APPEND gw_seltab TO gi_seltab.
SUBMIT rseidoc2
TO SAP-SPOOL
WITHOUT SPOOL DYNPRO
VIA JOB gv_name NUMBER gv_number
WITH SELECTION-TABLE gi_seltab and return .Your code is too simple. It will crash whenever any field contains an apostrophe. cfqueryparam will solve this.
Also, you say that some of your datatypes are yes/no. You are trying to insert text into those fields. I don't know if that is possible or not because I never use those datatypes.
I debug problems like these as follows. First run this:
insert into table (
field1
<!--- , field2
, field3
etc
, fieldx
--->
values (
value1
<!--- , value2
, value3
etc
, valuex
--->
If that works, uncomment the fields and values one at a time until it crashes. Then you'll know what field caused the problem. -
TNS : Connection closed error
I am using Toad 9.7.2 which is configured for use of Oracle databse 10 g stored on Network. It was running fine. But after installing oracle 11g on my computer. The toad is not not connecting to any of the database.
Kindly guide how to solve this issue.You have installed 11g that’s and it seems that its looking for entries in tnsnames.ora file under “ORACLE_HOME/network/admin”
Update tnsnames.ora file with your database entries, it will connect.
Hope this helps,
Regards,
Satishbabu Gunukula
http://oracleracexpert.blogspot.com
[Click here to upgrade oracle 8i to 10g.|http://oracleracexpert.blogspot.com/2009/08/upgrade-oracle-8i-to-10g.html] -
TDS Connect Failure Error 17832 - Login Packet used to open the connection is structually invalid
I have a package which uses TDS, Tabular Data Stream, to connect from a VAX VMS system to SQL server and it works for all flavors of SQL server. Except for one server. When I try to connect to this server the application gets disconnected after sending the
Login 7.x message. The server is running Windows 2008 R2 Standard, SP1, 64-bit and is in a domain. SQL Server is 2008 R2 (10.50.4000). SQL Server is configured for "SQL Server and Windows Authentication mode" in Server Properties,
Security, Server authentication. It is set to "allow remote connections to this server". The TCP/IP Client Protocol is enabled in SQL Server Network Configuration, Protocols for MSSQLSERVER. The SQL log shows 2 Logon source errors
upon the connection attempt :
Error: 17832, Severity 20, State 11.
The login packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library. [CLIENT: 172.19.20.122]
I took a dump of the login packet from the client side package and included it here:
Sending Login7.x message
Sending PktTyp=10 LstPkt=01 PktNum=0001 PktSiz=00B8
0000 b0 00 00 00 01 00 00 71 00 10 00 00 07 00 00 00
0010 a8 00 00 00 00 00 00 00 e0 03 00 00 68 01 00 00
0020 04 09 00 00 56 00 06 00 62 00 02 00 66 00 02 00
0030 6a 00 06 00 76 00 0c 00 00 00 00 00 8e 00 0c 00
0040 a6 00 00 00 a6 00 05 00 00 06 5b e4 96 08 00 00
0050 00 00 b6 00 00 00 4c 00 54 00 56 00 56 00 53 00
0060 42 00 51 00 41 00 b0 a5 b1 a5 47 00 41 00 4e 00
0070 53 00 4b 00 45 00 69 00 68 00 65 00 2d 00 70 00
0080 61 00 2d 00 73 00 71 00 6c 00 30 00 31 00 54 00
0090 44 00 53 00 5f 00 53 00 45 00 52 00 56 00 49 00
00a0 43 00 45 00 53 00 48 00 38 00 34 00 44 00 42 00
0000 q h V b f j
v
0040 [ L T V V S B Q A G A N S K E i h e - p
0080 a - s q l 0 1 T D S _ S E R V I C E S H 8 4 D B
I found other sites which discussed the connection ring buffers and so, I queried them for any information which might help:
select cast(record as xml) xml_record from sys.dm_os_ring_buffers where ring_buffer_type = 'RING_BUFFER_CONNECTIVITY';
xml_record:
<Record id="53" type="RING_BUFFER_CONNECTIVITY" time="1697484630">
<ConnectivityTraceRecord>
<RecordType>ConnectionClose</RecordType>
<RecordSource>Tds</RecordSource>
<Spid>0</Spid>
<SniConnectionId>32E3FDFC-2BF2-4EB8-82D2-AE05E73AFCBC</SniConnectionId>
<SniProvider>7</SniProvider>
<RemoteHost>172.19.20.122</RemoteHost>
<RemotePort>1069</RemotePort>
<LocalHost>156.144.249.81</LocalHost>
<LocalPort>1433</LocalPort>
<RecordTime>11/7/2014 15:13:42.729</RecordTime>
<TdsBuffersInformation>
<TdsInputBufferError>0</TdsInputBufferError>
<TdsOutputBufferError>0</TdsOutputBufferError>
<TdsInputBufferBytes>184</TdsInputBufferBytes>
</TdsBuffersInformation>
<TdsDisconnectFlags>
<PhysicalConnectionIsKilled>0</PhysicalConnectionIsKilled>
<DisconnectDueToReadError>0</DisconnectDueToReadError>
<NetworkErrorFoundInInputStream>0</NetworkErrorFoundInInputStream>
<ErrorFoundBeforeLogin>1</ErrorFoundBeforeLogin>
<SessionIsKilled>0</SessionIsKilled>
<NormalDisconnect>0</NormalDisconnect>
<NormalLogout>0</NormalLogout>
</TdsDisconnectFlags>
</ConnectivityTraceRecord>
<Stack>
<frame id="0">0X0000000001E21F3B</frame>
<frame id="1">0X0000000001E1EE4E</frame>
<frame id="2">0X00000000010D2984</frame>
<frame id="3">0X0000000000A8AB94</frame>
<frame id="4">0X0000000000A8B05E</frame>
<frame id="5">0X0000000000A8AD57</frame>
<frame id="6">0X0000000000F651DE</frame>
<frame id="7">0X0000000000F65395</frame>
<frame id="8">0X0000000000F68925</frame>
<frame id="9">0X0000000000F659D6</frame>
<frame id="10">0X00000000755937D7</frame>
<frame id="11">0X0000000075593894</frame>
<frame id="12">0X00000000779159ED</frame>
<frame id="13">0X0000000077B4C541</frame>
</Stack>
</Record>
I feel the problem is in the configuration of the server's authentication which is requiring something beyond SQL server authentication.
Any help would be appreciated. Thanks in advance.One other item of note is the "SQL Server Network Configuration (32bit) "on this server is empty -- no "Protocols for MSSQLSERVER" branch like the 64-bit "SQL Server Network Configuration".
This is perfectly normal if all you have is a 64-bit instance on the machine. You would only see items here if you have a 32-bit server.
The odd part is the Native Client Configuration shows up under (32bit) with Client Protocols...
Yes, you always have a 32-bit client, which is to be used with 32-bit applications.
In any case, whether server is 32-bit or 64-bit is immaterial when you connect.
I'm afraid that I have not worked with TDS packets so that I can say what is wrong with this package, and I don't think I will try to read the TDS spec to say what the problem may be. But the issue seems to be that whatever you are using to create
the TDS packets is not doing this fully correctly.
Erland Sommarskog, SQL Server MVP, [email protected] -
Connection closed SQL exeption during ResultSet.getMetaData()
Hello Together,
My application runs on WebLogic 10.3.0.0 and uses Oracle 10gXE, JPA is provided by EclipseLink v1.1.2.v20090612-r4475.
Communication with database (through JTA datasource) is fully tested, so I'm sure that datasource "sees" the DB, all necessary tables and rows exist in DB.
According to test case there are 2 threads which work with DB. Here is call sequence:
1)Thread A selects data from table Y
2)Thread A begins unit of work commit
3)Thread A updates table X (but transaction is not committed)
4)Thread B tries to read data from table Y but Connection closed SQL exeption occurs
5)Thread A commits transaction
here is the log
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Register the existing object [email protected]f8>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadObjectQuery(referenceClass=MdsProperty )>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--ServerSession(5223944)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Fine]: 2010-01-29 16:30:00.757--ServerSession(5223944)--Connection(15669174)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT ID, DESCRIPTION, VALUE, PROPERTY, TYPE FROM Mds_properties WHERE (ID = ?)
bind => [28]>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Register the existing object [email protected]f8>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Revert the object's attributes [email protected]87>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finer]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finer]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--begin unit of work commit>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finer]: 2010-01-29 16:30:00.757--ClientSession(4960545)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beginTransaction, status=STATUS_ACTIVE>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query UpdateObjectQuery(com.tsystems.tenergy.smp.mds.persistence.domain.Task@4f9d91)>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.757--ClientSession(4960545)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800757> <BEA-000000> <[EL Fine]: 2010-01-29 16:30:00.757--ClientSession(4960545)--Connection(15775803)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--UPDATE TASK SET TSK_RESULT = ?, TSK_PROCESS_STATE = ?, TSK_END_TS = ?, TSK_CREATE_TS = ?, TSK_CHANGE_TS = ? WHERE (TSK_ID = ?)
bind => [<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:MDSResponse ReadoutTime="2009-09-11T09:29:05Z" TotalTaskNumber="2" TaskNumber="1" ReadoutType="5" ClientID="MDS" xmlns:ns2="http://t-systems.com/t-energy/MDS/MDSResponse" xmlns="http://t-systems.com/t-energy/MDS/CommonMUSTypes" xmlns:ns3="http://t-systems.com/t-energy/MDS/CommonMDSTypes">
</ns2:MDSResponse>
, 4, 2010-01-29 16:30:00.757, 2010-01-29 16:30:00.757, 2010-01-29 16:30:00.757, 73]>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800772> <BEA-000000> <[EL Finest]: 2010-01-29 16:30:00.772--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadAllQuery(referenceClass=MdsProperty sql="SELECT ID, DESCRIPTION, VALUE, PROPERTY, TYPE FROM Mds_properties WHERE (PROPERTY = ?)")>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800772> <BEA-000000> <[EL Fine]: 2010-01-29 16:30:00.772--ClientSession(4960545)--Connection(15775803)--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT ID, DESCRIPTION, VALUE, PROPERTY, TYPE FROM Mds_properties WHERE (PROPERTY = ?)
bind => [MUS.Response.SendToMDSResponseQueue]>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800804> <BEA-000000> <[EL Finer]: 2010-01-29 16:30:00.804--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800804> <BEA-000000> <[EL Finer]: 2010-01-29 16:30:00.804--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commit>
####<29.01.2010 16:30:00 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264771800835> <BEA-000000> <[EL Warning]: 2010-01-29 16:30:00.788--UnitOfWork(4959356)--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Connection closed
Error Code: 0
Call: SELECT ID, DESCRIPTION, VALUE, PROPERTY, TYPE FROM Mds_properties WHERE (PROPERTY = ?)
bind => [MUS.Response.SendToMDSResponseQueue]
Query: ReadAllQuery(referenceClass=MdsProperty sql="SELECT ID, DESCRIPTION, VALUE, PROPERTY, TYPE FROM Mds_properties WHERE (PROPERTY = ?)")
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:332)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:656)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:501)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeCall(AbstractSession.java:872)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:205)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:191)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:262)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:599)
at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2520)
at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2478)
at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:481)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:928)
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:664)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:889)
at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:458)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:952)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2756)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1165)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1139)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:389)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:594)
at com.tsystems.tenergy.smp.mds.persistence.access.impl.MdsPropertyDAOImpl.getPropertyValue(MdsPropertyDAOImpl.java:37)
at com.tsystems.tenergy.smp.mds.persistence.impl.MdsPropertyDomainServiceImpl.getPropertyValue(MdsPropertyDomainServiceImpl.java:54)
at com.tsystems.tenergy.smp.mds.common.configuration.MDSConfiguration.getPropertyValueAsBoolean(MDSConfiguration.java:333)
at com.tsystems.tenergy.smp.mds.common.configuration.MDSConfiguration.isSendMDSResponseToMDSResponseQueue(MDSConfiguration.java:318)
at com.tsystems.tenergy.smp.mds.business.mcs.response.impl.MCSResponseHandlerImpl.handleResponse(MCSResponseHandlerImpl.java:155)
at com.tsystems.tenergy.smp.mds.business.impl.OrderManagerImpl.handleMCSResponse(OrderManagerImpl.java:423)
at com.tsystems.tenergy.smp.mds.service.impl.MDSServiceFacadeBean.processMCSResponse(MDSServiceFacadeBean.java:222)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at com.tsystems.tenergy.smp.common.base.performance.PerformanceMonitor.monitoring(PerformanceMonitor.java:118)
at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy177.processMCSResponse(Unknown Source)
at com.tsystems.tenergy.smp.mds.service.impl.MDSServiceFacadeBean_dv9pfe_MDSServiceFacadeImpl.processMCSResponse(MDSServiceFacadeBean_dv9pfe_MDSServiceFacadeImpl.java:695)
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:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:69)
at $Proxy169.processMCSResponse(Unknown Source)
at com.tsystems.tenergy.smp.mds.access.impl.MCSResponseProcessor.processMessage(MCSResponseProcessor.java:44)
at com.tsystems.tenergy.smp.mds.access.MDSJMSServiceAdaptor.handleMessage(MDSJMSServiceAdaptor.java:41)
at com.tsystems.tenergy.smp.common.access.impl.AbstractJMSServiceAdaptor.onMessage(AbstractJMSServiceAdaptor.java:54)
at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy187.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.sql.SQLException: Connection closed
at weblogic.jdbc.wrapper.ResultSet.getMetaData(ResultSet.java:228)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:580)
... 93 more>
####<29.01.2010 16:30:00 MSK> <Debug> <org.apache.log4j.Category> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-00744D79C091A363E01C> <> <1264771800851> <BEA-000000> <BasePerformanceLoggerImpl> <38; CLOSE; [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'; null; 1264771800851; 1; 18548920; 536870912; 268435456; processMCSResponse; null;
>
####<29.01.2010 16:30:00 MSK> <Info> <EJB> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1264771800929> <BEA-010213> <Message-Driven EJB: MCSResponseAdaptorBean's transaction was rolled back. The transaction details are: Xid=BEA1-00744D79C091A363E01C(12158686),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=30,XAServerResourceInfo[WLStore_mds_domain_MDSFileStore]=(ServerResourceInfo[WLStore_mds_domain_MDSFileStore]=(state=rolledback,assigned=AdminServer),xar=WLStore_mds_domain_MDSFileStore27139645,re-Registered = false),XAServerResourceInfo[ds_mds]=(ServerResourceInfo[ds_mds]=(state=rolledback,assigned=AdminServer),xar=ds_mds,re-Registered = false),SCInfo[mds_domain+AdminServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.ds_mds=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=AdminServer+10.233.103.211:7001+mds_domain+t3+, XAResources={ds_mcs, ds_mds, res.platform.jdbc.scheduler.SchedulerDataSource, WLStore_mds_domain_MDSFileStore, WLStore_mds_domain_MCSFileStore, WLStore_mds_domain__WLS_AdminServer},NonXAResources={})],CoordinatorURL=AdminServer+10.233.103.211:7001+mds_domain+t3+).>
Connection pool has the following properties turned on on Weblogic AS
-Ignore In-Use Connections
-Pinned-To-Thread
-Remove Infected Connections Enabled
Could you please make any suggestions how to prevent java.sql.SQLException: Connection closed exception?
Edited by: user9065803 on Jan 29, 2010 2:04 AMIt's a WebLogic bug. File an official support case. It seems the connection
was destroyed just before your current call to prepare a statement. Maybe
your transaction timed out or something, or got rolled back? You should
get an explanatory exception, not an NPE...
Joe -
I am getting the following error using SQL Plus on Windows "ORA-28865: SSL connection closed"
I have set up my certificates on client and server and have tested the port using TCP and works fine. TCPS fails with ORA-28865. I have attached my trace file which was using level 10
Please any assistance is appreciated
(5888) [11-APR-2015 09:36:28:365] nsnainit: NS Connection version: 315
(5888) [11-APR-2015 09:36:28:365] nsnainit: inf->nsinfflg[0]: 0x41 inf->nsinfflg[1]: 0x41
(5888) [11-APR-2015 09:36:28:365] nsnainit: "or" info flags: 0x41 Translations follow:
native service(s) is (are) wanted
(5888) [11-APR-2015 09:36:28:365] nsnainit: "or" info flags: 0x41 Translations follow:
native service(s) is (are) wanted
"and" info flags: 0x41 Translations follow:
native service(s) is (are) wanted
(5888) [11-APR-2015 09:36:28:365] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:365] nsopen: global context check-in (to slot 0) complete
(5888) [11-APR-2015 09:36:28:365] nsopen: lcl[0]=0xf4ffefff, lcl[1]=0x102000, gbl[0]=0xfabf, gbl[1]=0x1, tdu=2097152, sdu=8192
(5888) [11-APR-2015 09:36:28:365] nsfull_opn: cid=0, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x0
(5888) [11-APR-2015 09:36:28:365] nsfull_opn: nsctx: state=7, flg=0x4001, mvd=0
(5888) [11-APR-2015 09:36:28:365] nsmal: 168 bytes at 0x214d1a0
(5888) [11-APR-2015 09:36:28:365] nsmal: 168 bytes at 0x214dbf0
(5888) [11-APR-2015 09:36:28:365] nsmfr: 239 bytes at 0x20e53a0
(5888) [11-APR-2015 09:36:28:365] nsdo: cid=0, opcode=67, *bl=238, *what=8, uflgs=0x0, cflgs=0x3
(5888) [11-APR-2015 09:36:28:365] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:365] nsdo: rank=64, nsctxrnk=0
(5888) [11-APR-2015 09:36:28:365] nsdo: nsctx: state=14, flg=0x4005, mvd=0
(5888) [11-APR-2015 09:36:28:365] nsdo: gtn=10, gtc=10, ptn=10, ptc=8111
(5888) [11-APR-2015 09:36:28:365] nscon: doing connect handshake...
(5888) [11-APR-2015 09:36:28:365] nscon: sending NSPTCN packet
(5888) [11-APR-2015 09:36:28:365] nspsend: plen=70, type=1
(5888) [11-APR-2015 09:36:28:365] ntzwrite: entry
(5888) [11-APR-2015 09:36:28:365] nzos_Write: entry
(5888) [11-APR-2015 09:36:28:365] nttwr: entry
(5888) [11-APR-2015 09:36:28:365] nttwr: socket 560 had bytes written=99
(5888) [11-APR-2015 09:36:28:365] nttwr: exit
(5888) [11-APR-2015 09:36:28:365] nzos_Write: exit
(5888) [11-APR-2015 09:36:28:365] ntzwrite: exit
(5888) [11-APR-2015 09:36:28:365] nspsend: 70 bytes to transport
(5888) [11-APR-2015 09:36:28:365] nscon: sending 238 bytes connect data
(5888) [11-APR-2015 09:36:28:365] nsdo: cid=0, opcode=67, *bl=238, *what=1, uflgs=0x4002, cflgs=0x0
(5888) [11-APR-2015 09:36:28:365] nsdo: nsctx: state=2, flg=0x4005, mvd=0
(5888) [11-APR-2015 09:36:28:365] nsdo: gtn=10, gtc=10, ptn=10, ptc=431
(5888) [11-APR-2015 09:36:28:365] nsdo: 238 bytes to NS buffer
(5888) [11-APR-2015 09:36:28:365] nsdofls: DATA flags: 0x0
(5888) [11-APR-2015 09:36:28:365] nsdofls: sending NSPTDA packet
(5888) [11-APR-2015 09:36:28:365] nspsend: plen=248, type=6
(5888) [11-APR-2015 09:36:28:365] ntzwrite: entry
(5888) [11-APR-2015 09:36:28:365] nzos_Write: entry
(5888) [11-APR-2015 09:36:28:365] nttwr: entry
(5888) [11-APR-2015 09:36:28:365] nttwr: socket 560 had bytes written=277
(5888) [11-APR-2015 09:36:28:365] nttwr: exit
(5888) [11-APR-2015 09:36:28:365] nzos_Write: exit
(5888) [11-APR-2015 09:36:28:365] ntzwrite: exit
(5888) [11-APR-2015 09:36:28:365] nspsend: 248 bytes to transport
(5888) [11-APR-2015 09:36:28:365] nsdoacts: flushing transport
(5888) [11-APR-2015 09:36:28:365] ntzcontrol: entry
(5888) [11-APR-2015 09:36:28:365] ntzcontrol: Command = 4
(5888) [11-APR-2015 09:36:28:365] ntzcontrol: unknown command 4 - calling underlying protocol adapter
(5888) [11-APR-2015 09:36:28:365] nttctl: entry
(5888) [11-APR-2015 09:36:28:365] ntzcontrol: operation is unsupported
(5888) [11-APR-2015 09:36:28:365] ntzcontrol: exit
(5888) [11-APR-2015 09:36:28:365] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:365] nsdo: nsctxrnk=0
(5888) [11-APR-2015 09:36:28:365] nsdo: cid=0, opcode=68, *bl=2048, *what=9, uflgs=0x0, cflgs=0x3
(5888) [11-APR-2015 09:36:28:365] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:365] nsdo: rank=64, nsctxrnk=0
(5888) [11-APR-2015 09:36:28:365] nsdo: nsctx: state=2, flg=0x4005, mvd=0
(5888) [11-APR-2015 09:36:28:365] nsdo: gtn=10, gtc=10, ptn=10, ptc=8111
(5888) [11-APR-2015 09:36:28:380] nscon: recving a packet
(5888) [11-APR-2015 09:36:28:380] nsprecv: reading from transport...
(5888) [11-APR-2015 09:36:28:380] ntzread: entry
(5888) [11-APR-2015 09:36:28:380] ntznzosread: entry
(5888) [11-APR-2015 09:36:28:380] nzos_Read: entry
(5888) [11-APR-2015 09:36:28:380] nttrd: entry
(5888) [11-APR-2015 09:36:28:380] ntt2err: entry
(5888) [11-APR-2015 09:36:28:380] ntt2err: exit
(5888) [11-APR-2015 09:36:28:380] nttrd: socket 560 had bytes read=0
(5888) [11-APR-2015 09:36:28:380] nttrd: exit
(5888) [11-APR-2015 09:36:28:380] nzos_Read: exit
(5888) [11-APR-2015 09:36:28:380] ntznzosread: encountered "wouldblock" error
(5888) [11-APR-2015 09:36:28:380] ntctst: size of NTTEST list is 1 - not calling poll
(5888) [11-APR-2015 09:36:28:396] nzos_Read: entry
(5888) [11-APR-2015 09:36:28:396] nttrd: entry
(5888) [11-APR-2015 09:36:28:396] nttrd: exit
(5888) [11-APR-2015 09:36:28:396] ntt2err: entry
(5888) [11-APR-2015 09:36:28:396] ntt2err: Read unexpected EOF ERROR on 560
(5888) [11-APR-2015 09:36:28:396] ntt2err: exit
(5888) [11-APR-2015 09:36:28:396] nzos_Read: exit
(5888) [11-APR-2015 09:36:28:396] ntznzosread: SSL connection closed gracefully.
(5888) [11-APR-2015 09:36:28:396] ntznzosread: SSL connection terminated normally.
(5888) [11-APR-2015 09:36:28:396] ntznzosread: returning NZ error 28865 in result structure
(5888) [11-APR-2015 09:36:28:396] ntznzosread: exit
(5888) [11-APR-2015 09:36:28:396] nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=28865, ora[1]=0, ora[2]=0
(5888) [11-APR-2015 09:36:28:396] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:396] nsdo: nsctxrnk=0
(5888) [11-APR-2015 09:36:28:396] nscall: unexpected response
(5888) [11-APR-2015 09:36:28:396] nsvntx_dei: entry
(5888) [11-APR-2015 09:36:28:396] nsvntx_dei: exit
(5888) [11-APR-2015 09:36:28:396] nstimarmed: no timer allocated
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: entry
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: Command = 14
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: exit
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: entry
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: Command = 15
(5888) [11-APR-2015 09:36:28:396] ntzcontrol: exit
(5888) [11-APR-2015 09:36:28:396] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:396] nsfull_cls: cid=0, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x440
(5888) [11-APR-2015 09:36:28:396] nsfull_cls: nsctx: state=1, flg=0x4001, mvd=0
(5888) [11-APR-2015 09:36:28:396] nsclose: closing transport
(5888) [11-APR-2015 09:36:28:396] ntzdisconnect: entry
(5888) [11-APR-2015 09:36:28:396] ntzFreeNTZData: entry
(5888) [11-APR-2015 09:36:28:396] nzos_DestroyCtx: entry
(5888) [11-APR-2015 09:36:28:396] nzos_DestroyCtx: exit
(5888) [11-APR-2015 09:36:28:396] ntzFreeNTZData: exit
(5888) [11-APR-2015 09:36:28:396] nttdisc: entry
(5888) [11-APR-2015 09:36:28:396] nttdisc: Closed socket 560
(5888) [11-APR-2015 09:36:28:396] nttdisc: exit
(5888) [11-APR-2015 09:36:28:396] ntzdisconnect: exit
(5888) [11-APR-2015 09:36:28:396] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:396] nsclose: global context check-out (from slot 0) complete
(5888) [11-APR-2015 09:36:28:396] nadisc: entry
(5888) [11-APR-2015 09:36:28:396] nacomtm: entry
(5888) [11-APR-2015 09:36:28:396] nacompd: entry
(5888) [11-APR-2015 09:36:28:396] nacompd: exit
(5888) [11-APR-2015 09:36:28:396] nacompd: entry
(5888) [11-APR-2015 09:36:28:396] nacompd: exit
(5888) [11-APR-2015 09:36:28:396] nacomtm: exit
(5888) [11-APR-2015 09:36:28:396] nas_dis: entry
(5888) [11-APR-2015 09:36:28:396] nas_dis: exit
(5888) [11-APR-2015 09:36:28:396] nau_dis: entry
(5888) [11-APR-2015 09:36:28:396] nau_dis: exit
(5888) [11-APR-2015 09:36:28:396] naeetrm: entry
(5888) [11-APR-2015 09:36:28:396] naeetrm: exit
(5888) [11-APR-2015 09:36:28:396] naectrm: entry
(5888) [11-APR-2015 09:36:28:396] naectrm: exit
(5888) [11-APR-2015 09:36:28:396] nagbltrm: entry
(5888) [11-APR-2015 09:36:28:396] nau_gtm: entry
(5888) [11-APR-2015 09:36:28:396] nau_gtm: exit
(5888) [11-APR-2015 09:36:28:396] nagbltrm: exit
(5888) [11-APR-2015 09:36:28:396] nadisc: exit
(5888) [11-APR-2015 09:36:28:396] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:396] nsvntx_dei: entry
(5888) [11-APR-2015 09:36:28:396] nsvntx_dei: exit
(5888) [11-APR-2015 09:36:28:396] snsbitts_ts: acquired the bit
(5888) [11-APR-2015 09:36:28:396] nsmfr: 2944 bytes at 0x2152400
(5888) [11-APR-2015 09:36:28:396] nsmfr: 1880 bytes at 0x2151ca0
(5888) [11-APR-2015 09:36:28:396] nscall: connecting...
(5888) [11-APR-2015 09:36:28:396] nladget: entry
(5888) [11-APR-2015 09:36:28:396] nladget: exit
(5888) [11-APR-2015 09:36:28:396] nsmfr: 238 bytes at 0x221def0
(5888) [11-APR-2015 09:36:28:412] nsmfr: 304 bytes at 0x20d8200
(5888) [11-APR-2015 09:36:28:412] nladtrm: entry
(5888) [11-APR-2015 09:36:28:412] nladtrm: exit
(5888) [11-APR-2015 09:36:28:412] nioqper: error from nscall
(5888) [11-APR-2015 09:36:28:412] nioqper: ns main err code: 12537
(5888) [11-APR-2015 09:36:28:412] nioqper: ns (2) err code: 12560
(5888) [11-APR-2015 09:36:28:412] nioqper: nt main err code: 507
(5888) [11-APR-2015 09:36:28:412] nioqper: nt (2) err code: 0
(5888) [11-APR-2015 09:36:28:412] nioqper: nt OS err code: 0
(5888) [11-APR-2015 09:36:28:412] niomapnserror: entry
(5888) [11-APR-2015 09:36:28:412] niqme: entry
(5888) [11-APR-2015 09:36:28:412] niqme: reporting ORA-28865 error
(5888) [11-APR-2015 09:36:28:412] niqme: exit
(5888) [11-APR-2015 09:36:28:412] niomapnserror: exit
(5888) [11-APR-2015 09:36:28:412] niotns: Couldn't connect, returning 28865
(5888) [11-APR-2015 09:36:28:412] niotns: exit
(5888) [11-APR-2015 09:36:28:412] nsbrfr: nsbfs at 0x214d1a0, data at 0x2225ca0.
(5888) [11-APR-2015 09:36:28:412] nsbrfr: nsbfs at 0x214dbf0, data at 0x2227d90.
(5888) [11-APR-2015 09:36:28:412] nsbrfr: nsbfs at 0x214d9e0, data at 0x21531c0.
(5888) [11-APR-2015 09:36:28:412] nigtrm: Count in the NI global area is now 1
(5888) [11-APR-2015 09:36:28:412] nigtrm: Count in the NL global area is now 1CLIENT SQLNET.ORA
TRACE_LEVEL_CLIENT = 10
TRACE_UNIQUE_CLIENT = ON
TRACE_DIRECTORY_CLIENT = C:\Oracle\app\client\product\12.1.0\client_1\network\trace
TRACE_FILE_CLIENT = sqlnet_client.trc
LOG_FILE_CLIENT = sqlnet_client.log
LOG_DIRECTORY_CLIENT = C:\Oracle\app\client\product\12.1.0\client_1\network\log
DIAG_ADR_ENABLED = OFF
TRACE_TIMESTAMP_CLIENT = ON
SQLNET.AUTHENTICATION_SERVICES = (ALL)
SQLNET.AUTHENTICATION_REQUIRED = FALSE
SSL_CLIENT_AUTHENTICATION = FALSE
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:\Oracle\app\client\product\12.1.0\client_1\network\wallets)
ADR_BASE = C:\Oracle\app\client\product\12.1.0\client_1\log
SERVER SQLNET.ORA
SQLNET.AUTHENTICATION_SERVICES= (ALL)
SSL_VERSION = 0
SSL_CLIENT_AUTHENTICATION = FALSE
TRACE_UNIQUE_SERVER = ON
TRACE_DIRECTORY_SERVER = /u01/app/grid/product/12.1.0/12.1.0.2/network/trace
TRACE_FILE_SERVER = sqlnet_server.trc
LOG_FILE_SERVER = sqlnet_server.log
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /u01/app/grid/product/12.1.0/12.1.0.2/owm/wallets/grid)
LOG_DIRECTORY_SERVER = /u01/app/grid/product/12.1.0/12.1.0.2/network/log
SQLNET.AUTHENTICATION_REQUIRED = FALSE
DIAG_ADR_ENABLED = OFF
TRACE_TIMESTAMP_SERVER = ON -
I trace data On Instance DEV_W0 the had Error as below
A *** ERROR => RFC ======> connection closed (no data)
Please Kindly verify the cuase and recommend in this issue .
Edited by: SoeyTH on Dec 6, 2010 3:38 PMYou need to proivde more logs to find what caused.
Is you SAP up? -
I cannot connect to itunes due to error code (-1202)
I cannot connect to itunes due to error code (-1202) can anyoone help?
Hi there bish bash,
You may find the troubleshooting steps in the article below helpful.
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
-Griff W. -
CF 6.1 - JRUN Closed Connection/Server errors occurring on a daily basis
We seem to be having issues with Jrun Closed Connection/Server errors occuring on a daily basis now. The server will stop responding to requests until the ColdFusion service is restarted.
We're using CF 6.1, the following error message is from the log files and seems to be Java/JVM related but I was hesitant to make any changes to the JVM parameters.
Any suggestions on how to resolve this daily issue of restarting CF service? Other than upgrading to more recent version of CF which we'll be doing later this year.
Thanks,
Dave
>>>>>>>>>>>>
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77FCAFF8
Function=[Unknown.]
Library=C:\WINNT\system32\ntdll.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at java.io.WinNTFileSystem.list(Native Method)
at java.io.File.list(File.java:915)
at coldfusion.mail.MailSpooler.refreshSpoolFiles(MailSpooler.java:1484)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:897)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
Dynamic libraries:
0x00400000 - 0x0040F000 C:\CFusionMX\runtime\bin\jrun.exe
0x77F80000 - 0x77FFC000 C:\WINNT\system32\ntdll.dll
0x7C570000 - 0x7C624000 C:\WINNT\system32\KERNEL32.dll
0x7C2D0000 - 0x7C335000 C:\WINNT\system32\ADVAPI32.dll
0x77D30000 - 0x77D9F000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x082A7000 C:\CFusionMX\runtime\jre\bin\server\jvm.dll
0x77E10000 - 0x77E6F000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7D000 C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 C:\CFusionMX\runtime\jre\bin\hpi.dll
0x00770000 - 0x0077E000 C:\CFusionMX\runtime\jre\bin\verify.dll
0x00780000 - 0x00798000 C:\CFusionMX\runtime\jre\bin\java.dll
0x007A0000 - 0x007AD000 C:\CFusionMX\runtime\jre\bin\zip.dll
0x39A70000 - 0x39A7F000 C:\CFusionMX\runtime\jre\bin\net.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A5000 C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.dll
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.dll
0x75150000 - 0x75160000 C:\WINNT\system32\SAMLIB.DLL
0x7CDC0000 - 0x7CE10000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34E000 C:\WINNT\system32\Secur32.dll
0x77BF0000 - 0x77C01000 C:\WINNT\system32\NTDSAPI.dll
0x77950000 - 0x7797B000 C:\WINNT\system32\WLDAP32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.dll
0x7CE20000 - 0x7CF0F000 C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4C000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C154000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77514000 C:\WINNT\system32\RASAPI32.dll
0x774C0000 - 0x774D1000 C:\WINNT\system32\rasman.dll
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD6000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x39FB0000 - 0x39FBC000 C:\CFusionMX\runtime\bin\portscan.dll
0x74FD0000 - 0x74FED000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x3AAC0000 - 0x3AAC5000 C:\CFusionMX\runtime\jre\bin\rmi.dll
0x3B9D0000 - 0x3B9D6000 C:\CFusionMX\runtime\jre\bin\ioser12.dll
0x3BBE0000 - 0x3BC60000 C:\CFusionMX\lib\izmjniado.dll
0x3C270000 - 0x3C278000 C:\CFusionMX\lib\CFXNeo.dll
0x780A0000 - 0x780B2000 C:\WINNT\system32\MSVCIRT.dll
0x780C0000 - 0x78121000 C:\WINNT\system32\MSVCP60.dll
0x3C280000 - 0x3C28B000 C:\CFusionMX\lib\cfregistry.dll
0x3C3A0000 - 0x3C3A8000 C:\CFusionMX\lib\PerfmonClient.dll
0x3C5C0000 - 0x3C5CC000 C:\CFusionMX\lib\cfindex.dll
0x3C5D0000 - 0x3C7C2000 C:\CFusionMX\lib\vdk200.dll
0x3C7D0000 - 0x3C805000 C:\CFusionMX\lib\LIBALLRSEI.dll
0x7CA00000 - 0x7CA23000 C:\WINNT\system32\rsaenh.dll
0x7C740000 - 0x7C7CC000 C:\WINNT\system32\CRYPT32.dll
0x77430000 - 0x77441000 C:\WINNT\system32\MSASN1.dll
0x3EE10000 - 0x3EE3E000 C:\CFusion\CustomTags\GetUserGroups.dll
0x77800000 - 0x7781E000 C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
0x7CF30000 - 0x7D176000 C:\WINNT\system32\SHELL32.dll
0x3F650000 - 0x3F75A000 C:\CFusionMX\runtime\jre\bin\awt.dll
0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
0x3F760000 - 0x3F7B0000 C:\CFusionMX\runtime\jre\bin\fontmanager.dll
0x72800000 - 0x72846000 C:\WINNT\system32\ddraw.dll
0x728A0000 - 0x728A6000 C:\WINNT\system32\DCIMAN32.dll
0x72CF0000 - 0x72D84000 C:\WINNT\system32\D3DIM700.DLL
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
PSYoungGen total 5824K, used 1523K [0x10010000, 0x10800000, 0x138f0000)
eden space 3520K, 26% used [0x10010000,0x100fa4e0,0x10380000)
from space 2304K, 25% used [0x105c0000,0x106528b0,0x10800000)
to space 2304K, 0% used [0x10380000,0x10380000,0x105c0000)
PSOldGen total 29824K, used 22612K [0x138f0000, 0x15610000, 0x30010000)
object space 29824K, 75% used [0x138f0000,0x14f051e0,0x15610000)
PSPermGen total 20736K, used 20580K [0x30010000, 0x31450000, 0x38010000)
object space 20736K, 99% used [0x30010000,0x314293b0,0x31450000)
Local Time = Fri Dec 13 13:50:53 2013
Elapsed Time = 19424
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Server VM (1.4.2-b28 mixed mode)
space 3520K, 26% used space 2304K, 25% used space 2304K, 0% used space 29824K, 75% used space 20736K, 99% used# An error report file has been saved as hs_err_pid2920.log.
# Please refer to the file for further information.CF6, Java 1.4.2 and Windows NT - have not seen those for a long time myself.
Perhaps this is the issue from error report:
PSPermGen total 20736K, used 20580K
object space 20736K, 99% used
I guess Java non heap space Permanent Generation is full the next object trying to load into that space can’t fit, plus all the objects in there are referenced so no objects can be removed so free space can’t be made available. One would need to do some work with Java logging and know what JVM.CONFIG looks like to know if that guess is accurate.
You could try increase that parameter 10Mb or so and see what happens? In JVM.CONFIG, JVM args, -XX:MaxPermSize=NNm where NN = numbers.
Needless to say you are running a lot of end of life product and should plan to migrate to something more current.
HTH, Carl. -
ITunes Cannot connect to iPhone due to unknown error (0xE8000065)
Hello!
When I plugin my iphone to a wall, it refuses to charge (it just keeps making a bleeping noise).
And when I try to connect my iPhone to iTunes, I can't. It just says: iTunes Cannot connect to iPhone due to unknown error (0xE8000065)
Any suggestions? I replaced the battery hoping that would do the trick, but nada.
CheersiPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting
Did you try a different charger and a different cable? If it won't charge the error will go away soon also when the battery dies.
Maybe you are looking for
-
Can't get movie to stop on scenes
Hello All; I would really appreciate anyones help. I have this movie that uses buttons to go from frame to frame. In order for it to be interactive I need it to stop. I use the stop(); function on the frame I want it to stop and wait for user input.
-
Weblogic.policy doesn't work
I always get the below exception output, when starting WebLogic Server with the weblogic.policy file. It seems to me, that I forgot something, but I don't know what. What am I doing wrong here? I did the following: 1. I added the folling property int
-
How to stop a production order processing when a delivey block is placed
Hi, Mine is a MTO scenario. I am using planning strategy 50. So a planned order ---> production order will be created against MRP run against each sales order. When i am placing a delivery block at the header the system is working fine. Its deleting
-
User defined information when Expense Type - OIE
Hi Gurus, I need to customize internet expense report based on expense type to provide more user friendly information on page. Is this possible by personalizatoin or need to do OAF extension for page. Example: Use selects Expense type = 'Per Diem', n
-
BPEL Demo fails on getCustomerSSN with "Not authorized"
Hi there, I installed the BPEL LoanFlowPlus demo (using obant - everything installed without errors) and entered some data in the LoanFlowPlusUI. The BPEL process started, but fails on getCustomerSSN. [2006/11/06 16:01:38] Faulted while invoking oper