Unexpected Connection Error connection closed
<p>I have a report that has a subreport within it. I am passing the data to the report in the standard way from java having retrieved it from an MS SQL DB using two separate stored procedures (one for the main report and one for the subreport). This report works fine initially but when one tries to drill down - hence changing the display of the subreport I get the connection closed message.</p>
<p>I have tried to debug it to find out where the connection gets closed but it is very difficult without source code. I was able to determine the stack crawl from the excepton:</p>
<pre>
Stack crawl from exception (QueryEngineException) trap:
org.apache.catalina.startup.Bootstrap at localhost:58772
Thread [main] (Running)
Daemon Thread [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (Running)
Daemon Thread [http-8080-Acceptor-0] (Running)
Daemon Thread [TP-Processor1] (Running)
Daemon Thread [TP-Processor2] (Running)
Daemon Thread [TP-Processor3] (Running)
Daemon Thread [TP-Processor4] (Running)
Daemon Thread [TP-Monitor] (Running)
Daemon Thread [http-8080-1] (Running)
Daemon Thread [http-8080-3] (Suspended (exception QueryEngineException))
ResultSetRecordReader.a(FieldBindingInfo) line: not available
Rowset.a(RowsetColumn, boolean, int) line: not available
Rowset.z9() line: not available
Rowset.Aa() line: not available
Rowset.z3() line: not available
Rowset.bL(boolean) line: not available
Rowset.zM() line: not available
Rowset(RowsetBase).zA() line: not available
QueryInfo.vE() line: not available
DFQuery.for() line: not available
a.do(a$b) line: not available
a.a(ExecuteOptions) line: not available
j(m).b() line: not available
j.b() line: not available
j(m).o() line: not available
j(m).a(Context) line: not available
ContextNode.a(j, int, int, int) line: not available
ContextNode.a(j, int, int) line: not available
j.case(int, int) line: not available
h.<init>(j, int) line: not available
DataContext.a(DataContext$DataContextPosition, GlobalFormulaState$Snapshot, boolean, int, boolean) line: not available
DataProcessor2.a(a) line: not available
DataProcessor2.a(a, boolean) line: not available
DataProcessor2.new(boolean) line: not available
DataProcessor2.try(boolean) line: not available
DataProcessor2.int(boolean) line: not available
DataProcessor2.I() line: not available
DataProcessor2.if(SubreportObject, boolean) line: not available
DataProcessor2.a(SubreportObject, boolean) line: not available
ObjectFormatter.a(Object, IHandleDataRequest, ObjectFormattingOptions, ObjectFormattingResults) line: not available
ObjectFormatter.a(Object, ObjectFormattingOptions, ObjectFormattingResults) line: not available
WideSectionFormatter(u).a(ReportObject, FormattedObjectState, FormattedObjectState, TwipPoint, TwipSize, int) line: not available
WideSectionFormatter(u).e() line: not available
WideSectionFormatter(u).for() line: not available
WideSectionFormatter(aa).a(ObjectFormattingResults) line: not available
ObjectFormatter.a(IRow, ObjectFormattingOptions, ObjectFormattingResults) line: not available
ObjectFormatter.a(ObjectFormattingOptions, ObjectFormattingResults) line: not available
v.a(DataPosition, ObjectFormattingResults, v$a) line: not available
v.a(DataPosition, ObjectFormattingResults) line: not available
v(ai).for(ObjectFormattingResults) line: not available
v(ai).for() line: not available
v(ColumnFormatter).for() line: not available
v(aa).a(ObjectFormattingResults) line: not available
SinglePageFormatter(ai).a(ai, ObjectFormattingResults) line: not available
SinglePageFormatter(ai).a(ObjectFormattingResults, DataPosition) line: not available
SinglePageFormatter(ai).a(DataPosition, ObjectFormattingResults) line: not available
SinglePageFormatter(ah).a(DataPosition, ObjectFormattingResults) line: not available
SinglePageFormatter(ReportColumnFormatter).a(DataPosition, ObjectFormattingResults) line: not available
SinglePageFormatter.a(DataPosition, ObjectFormattingResults) line: not available
SinglePageFormatter(ai).for(ObjectFormattingResults) line: not available
SinglePageFormatter(ai).for() line: not available
SinglePageFormatter(ColumnFormatter).for() line: not available
SinglePageFormatter.for() line: not available
SinglePageFormatter(aa).a(ObjectFormattingResults) line: not available
PageFormatter.do(boolean, boolean) line: not available
PageFormatter.X(int) line: not available
PageFormatter.moveToPageN(int) line: not available
PageFormatter.nextPage() line: not available
PageFormatter.byte(GroupPath) line: not available
PageFormatter.char(GroupPath) line: not available
PageFormatter.moveToGroupPath(GroupPath) line: not available
ReportViewingRequestHandler.new(FetchReportViewingRequest) line: not available
JRCCommunicationAdapter.do(int, int, String, ISecurityContext, IXMLSerializable) line: not available
JRCCommunicationAdapter.if(int, int, String, ISecurityContext, IXMLSerializable) line: not available
JRCCommunicationAdapter.a(JRCCommunicationAdapter, int, int, String, ISecurityContext, IXMLSerializable) line: not available
JRCCommunicationAdapter$2.a() line: not available
JRCCommunicationAdapter$2.call() line: not available
ThreadGuard.syncExecute(ECallable<V,E>) line: not available
JRCCommunicationAdapter.for(int, int, String, ISecurityContext, IXMLSerializable) line: not available
JRCCommunicationAdapter.int(int, int, String, ISecurityContext, IXMLSerializable) line: not available
JRCCommunicationAdapter.request(int, int, String, ISecurityContext, IXMLSerializable) line: not available
a.a(int, Object) line: not available
a.execute(Command) line: not available
RemoteAgent$a.execute(Command) line: not available
CommunicationChannel.a(ISecurityContext, String, int, int, IXMLSerializable, RequestPriority) line: not available
RemoteAgent.a(int, int, IXMLSerializable, RequestPriority) line: not available
ReportSource(ds).a(int, int, IXMLSerializable) line: not available
ReportSource.a(int, IXMLSerializable) line: not available
ReportSource.findGroup(IFindGroupRequestContext) line: not available
AdvancedReportSource.findGroup(IFindGroupRequestContext) line: not available
s.a(ab, t) line: not available
ab.a(EventListener, t) line: not available
bw.broadcast(ar, t) line: not available
am.a(t) line: not available
t.if(IBroadcaster) line: not available
e.a(boolean) line: not available
e.a(HttpServletRequest, HttpServletResponse, ServletContext, Writer, t, ViewerRenderer, boolean) line: not available
e.if(HttpServletRequest, HttpServletResponse, ServletContext, Writer, t, ViewerRenderer) line: not available
CrystalReportViewerUpdater.a(HttpServletRequest, HttpServletResponse, ServletContext, Writer) line: not available
CrystalReportViewerUpdater(ServerControl).processHttpRequest(HttpServletRequest, HttpServletResponse, ServletContext, Writer) line: not available
CrystalReportViewerServlet.do(HttpServletRequest, HttpServletResponse) line: not available
CrystalReportViewerServlet.doPost(HttpServletRequest, HttpServletResponse) line: not available
CrystalReportViewerServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse) line: 710
CrystalReportViewerServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 803
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 290
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
StandardWrapperValve.invoke(Request, Response) line: 230
StandardContextValve.invoke(Request, Response) line: 175
FormAuthenticator(AuthenticatorBase).invoke(Request, Response) line: 433
StandardHostValve.invoke(Request, Response) line: 128
ErrorReportValve.invoke(Request, Response) line: 104
StandardEngineValve.invoke(Request, Response) line: 109
CoyoteAdapter.service(Request, Response) line: 261
Http11Processor.process(Socket) line: 844
Http11Protocol$Http11ConnectionHandler.process(Socket) line: 581
JIoEndpoint$Worker.run() line: 447
Thread.run() line: 613
Daemon Thread [http-8080-2] (Running)
Daemon Thread [AWT-AppKit] (Running)
Daemon Thread [Thread-11] (Running)
Daemon Thread [Background Batch Spiller 0] (Running)
Daemon Thread [Background Batch Spiller 1] (Running)
Daemon Thread [Background Batch Spiller 2] (Running)
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java (Sep 10, 2009 5:27:11 PM)
Local variables at first stackframe above:
this ResultSetRecordReader (id=1033)
a JavaBeanConnection$RSRecord (id=1070)
if JdbcCrystalResultSet (id=1071)
arg0 FieldBindingInfo (id=1034)
bindByName true
bindType ValueType (id=183)
do 2
caseSensitive false
fieldInfo DbFieldInfo (id=1040)
dataType ValueType (id=183)
do 2
fieldKind FieldKind (id=948)
a 1
fieldSize 2
m_Alias null
m_Attributes 0
m_Description "GroupID" (id=1075)
m_Name "GroupID" (id=1041)
m_Precision 0
m_Properties null
m_Type FieldType (id=951)
table TableInfo (id=1076)
m_Alias "stpARSGetARS2DataByDivision" (id=1080)
m_Description "stpARSGetARS2DataByDivision" (id=1081)
m_IsConstant false
m_IsLinkable true
m_Name "stpARSGetARS2DataByDivision" (id=1082)
m_OverriddenQualifiedName "" (id=219)
m_Properties null
m_QualifiedName "stpARSGetARS2DataByDivision" (id=1083)
m_Qualifiers null
m_Type TableType (id=1084)
fieldName "GroupID" (id=1041)
fieldOrdinal 0
occurrence 0
These are the two calls to pass the data:
CRJavaHelper.passResultSet(clientDoc, rsp2, SubRptTblAlias, SubRptName);
CRJavaHelper.passResultSet(clientDoc, rsp, TblAlias, "");
It should be noted that I am not closing the connection, the resultset or the proc used to retrieve the data.
</pre>
<p>Can anyone tell me what I am doing wrong or if this is a bug?</p>
<p>Jim Connolly</p>
Edited by: James E Connolly on Sep 11, 2009 3:03 AM
Hi MercuryMan,
Whether you have checked your environments as my first reply. If not, please check it, and let me know the result.
In addition, please check if the links are useful for you:
http://blogs.msdn.com/b/jpsanders/archive/2009/01/07/you-receive-one-or-more-error-messages-when-you-try-to-make-an-http-request-in-an-application-that-is-built-on-the-net-framework-2-0.aspx
http://stackoverflow.com/questions/2862817/an-existing-connection-was-forcibly-closed-by-the-remote-host
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support
Similar Messages
-
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? -
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 -
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. -
Repository Error Message Closed Connection
Often when I have the OWB Client open with 2 hours for example (without work) and I start again to work with it I receive the error:
Internal Error: SQL Exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
Repository Error:SQL Exception..
Class Name: CacheMediator.
Method Name: executeTransactionControlStatement.
Method Name: -1.
Repository Error Message: Closed Connection.
And I cant make COMMIT...
Why is it???
I want to the Connection to OWB doesnt close. Could I configure a parameter????Hi!
The results of these queries are:
select username, profile from dba_users
It has all the UserName with Profile = DEFAULT
select * from dba_profiles
PROFILE RESOURCE_NAME RESOURCE_TYPE LIMIT
DEFAULT COMPOSITE_LIMIT KERNEL UNLIMITED
DEFAULT FAILED_LOGIN_ATTEMPTS PASSWORD UNLIMITED
DEFAULT SESSIONS_PER_USER KERNEL UNLIMITED
DEFAULT PASSWORD_LIFE_TIME PASSWORD UNLIMITED
DEFAULT CPU_PER_SESSION KERNEL UNLIMITED
DEFAULT PASSWORD_REUSE_TIME PASSWORD UNLIMITED
DEFAULT CPU_PER_CALL KERNEL UNLIMITED
DEFAULT PASSWORD_REUSE_MAX PASSWORD UNLIMITED
DEFAULT LOGICAL_READS_PER_SESSION KERNEL UNLIMITED
DEFAULT PASSWORD_VERIFY_FUNCTION PASSWORD NULL
DEFAULT LOGICAL_READS_PER_CALL KERNEL UNLIMITED
DEFAULT PASSWORD_LOCK_TIME PASSWORD UNLIMITED
DEFAULT IDLE_TIME KERNEL UNLIMITED
DEFAULT PASSWORD_GRACE_TIME PASSWORD UNLIMITED
DEFAULT CONNECT_TIME KERNEL UNLIMITED
DEFAULT PRIVATE_SGA KERNEL UNLIMITED
I think the problem could be the firewall...
I explained the problem our System Administrator and He said me that He increased the TIMEOUT of the sqlnet1 protocol to 8 hours but we have the same problem...
Do He Have to configure other parameter?
Thanks! -
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 -
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. -
Estimados,
Les consulto, luego de intentar verificar mi numero para bajar la aplicacion de whatsapp me aparece el siguiente mensaje: Error inesperado: net.rim.device.api.io.ConnectionClosedException: Connection closed, podrían ayudarme con esto?
Saludos,Estimado Usuario, lamentablemente este foro es solo para el idioma Ingles, sin embargo lo podemos ayudar en el foro especializado en Español, esta es la dirección donde gustosamente lo podemos atender:
http://foros.blackberry.com/t5/Foros-de-Soporte-General/ct-p/bscf_es
Muchas gracias
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
P2V Failed with the Error : "Connection closed at byte 11086778368. Giving"
hi,
P2v gets failed with the error: Connection closed at byte 11086778368. Giving up
i checked the p2v log from /tmp/
10826600K .......... .......... .......... .......... .......... 12% 18.5M 60m9s
10826650K .......... .......... .......... .......... .......... 12% 22.0M 60m9s
10826700K .......... .......... .......... .......... .......... 12% 22.1M 60m9s
10826750K .......... .......... .......... .......... .......... 12% 21.5M 60m9s
10826800K .......... .......... .......... .......... .......... 12% 4.69K 61m26s
10826850K .......... .......... .......... .......... .......... 12% 15.7M 61m26s
10826900K .......... .......... .......... .. 12% 1.50K=8m52s
13:29:53 (19.9 MB/s) - Connection closed at byte 11086778368. Giving up
please suggest if anybody had come across with problem....Raja Kondar wrote:
P2v gets failed with the error: Connection closed at byte 11086778368. Giving upDo you have enough drive space on the target server? You'll need at least 3x as much drive space as is available on the physical box you're converting. For example, if your physical server has a 72GB disk, you'll need ~200GB of free disk space on the Oracle VM Server. -
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) -
SFTP MGET of large files fails - connection closed - problem with spool file
I have a new SFTP job to get files from an FTP Server. The files are large (80mg, 150mg). I can get smaller files from the ftp site with no issue, but when attempting the larger files the job completes abnormally after 2 min 1 sec. each time. I can see the file is created on our local file system with 0 bytes, then when the FTP job fails, the 0 byte file is deleted.
Is there a limit to how large an ftp file can be in Tidal? How long an ftp job can run?
The error in the job audit is Problem with spool file for job XXXX_SFTPGet and an exit code of 127 (whatever that is).
In the log, the error is that the connection was closed. I have checked with the ftp host and their logs show that we are disconnecting unexpectedly also.
Below is an excerpt from the log
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.055 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=12
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.055 : Transmit 44 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.055 : Remote window size decreased to 130808
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.071 : RepeatCallback received 84 bytes
DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.071 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.071 : Received message (type=105,len=37)
DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.071 : AddMessage(12) - added to store
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Reply : Name=SSH_FXP_ATTRS,Type=105,RequestID=12
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Send : Name=SSH_FXP_OPEN,Type=3,RequestID=13
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.071 : Transmit 56 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.071 : Remote window size decreased to 130752
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.087 : RepeatCallback received 52 bytes
DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.087 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.087 : Received message (type=102,len=10)
DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.087 : AddMessage(13) - added to store
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Reply : Name=SSH_FXP_HANDLE,Type=102,RequestID=13
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Send : Name=SSH_FXP_READ,Type=5,RequestID=14
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.087 : Transmit 26 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.087 : Remote window size decreased to 130726
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.118 : RepeatCallback received 0 bytes
DEBUG [SFTPChannelReceiver] 6 Feb 2015 14:17:33.118 : Connection closed: (code=0)
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : Disconnected unexpectedly ( [errorcode=0])
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.CheckState()
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.GetMessage(Int32 requestId)I believe there is a limitation on FTP and what you are seeing is a timeout built into the 3rd party application that tidal uses (I feel like it was hardcoded and it would be a big deal to change but this was before Cisco purchased tidal) there may have been a tagent.ini setting that tweaks that but I can't find any details.
We wound up purchasing our own FTP software (ipswitch MOVEit Central & DMZ) because we also had the need to host as well as Get/Put to other FTP sites. It now does all our FTP and internal file delivery activity (we use it's api and call from tidal if we need to trigger inside a workflow) -
Hi,
Couple of web services have been defined in XI which are being accessed by the external system (Non-SAP) to communicate with XI and XI is communicating with the SAPCRM system via ABAP Proxies.
In the last couple of weeks, when the webservices are being accessed, XI is sending across an error stating Underlying Connection Closed.
This is happening mostly when the webservices are being accessed for the first time after a gap of some hours.
After that, expected response is being sent back and no error is occurring.
On using the transaction sm21 to check the system logs, it has been seen that the message server is stopping and starting on its own.
Could anyone please suggest as to how do I go about finding out the cause for this error in the XI system and also how to rectify it?
Thanks,
Ravi KiranHi:
We have the same problem.
We are trying to connect to SAP XI, information is processed correctly, but always get the following exception:
System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequestrequest)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at test2.ref1.XI_50621c11404e36feba4faefdde56c8cf_Service.Envio_Confirmacion_Pick_WMS(T_pXML Envio_Confirmacion_Pick_wms_out) in C:\Documents and Settings\Hansell\My Documents\Visual Studio 2008\Projects\test2\test2\Web References\ref1\Reference.cs:line 214
at test2.Program.Main(String[] args) in C:\Documents and Settings\Hansell\My
Documents\Visual Studio 2008\Projects\test2\test2\Program.cs:line 51
We are tried changing the property keepalive = false, but error persist.
We are using .net framework 3.5 sp1.
Please help us.
Thanks. -
Connection closed by remote host on SOAP Receiver Scenario
Hi Experts,
I implemented a RFC to SOAP Receiver scenario, consuming an external
Web Service with SSL security, using SAP PI 7.1. I configured the SOAP
Receiver Adapter with Proxy e Proxy User, and it shows the
message u201CConnection closed by remote hostu201D. I have checked with
Network team, about the firewall restrictions, and they told me it was
pass by firewall. I installed the SOAP UI on the PI DEV Server to test
the SOAP Requets and it worked. Only on the PI it shows this error
message. I traced log at SLL service in the Sap Netweaver Administrator
and I didnu2019t get success.
Long text error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
java.io.EOFException: Connection closed by remote
Please, could you help me about this error?
Fábio FerriHi Fabio,
You need to set higher trace level in order to get more information in your trace file.
If you think it is related to security then set logging level of components com.sap.aii.security.lib and com.sap.aii.af.security to DEBUG in Visual Admin's log configurator. Also set com.sap.aii.af.mp.soap and com.sap.aii.messaging to DEBUG level.
And then try sending messages and see whether you have received more informaiton in trace file, but don't forget to revert back the change once you finish testing otherwise it will filled up your diskspace.
Best regards,
Pinkle
Maybe you are looking for
-
Dear Gurus, Synchronization from SLD to LMDB is working fine, but data is not written to Software ==> Product Instance section tab. What could be the problem ? Normally it should gather automatically, but pushed me to select manually lots of componen
-
Loading single digit months with SQLLDR
How can I load dates with the month having a single digit using sqlldr?? 62305220507 in this example the date is 23-Jun0-05 22:05:07 111804115452 in this example the date is 18-Nov-04 11:54:52 I've tried the date mask mmddyyhh24miss but only the doub
-
IPhoto 6 is crashing frequently. What can I do?
I've had a new iMac for about a week now and my iPhoto 6 has started crashing a lot. Usually it's when I am closing the program a message comes up saying it had to close unexpectedly, but sometimes when I'm just browsing thru photos. Another problem
-
[SOLVED]Can Some Processes Not Run In Background
Hi, Can some process just not run in the background? I have an irc bot and I want irssi to continue running even after I exit. I do $irssi ctrl-z bg But after bg it says [1] irssi & [1] irssi STOPPED I've also tried sending the kill CONT signal but i
-
Mismatch between sound and video
When I watch a movie in iTunes of Apple TV (2gen) and I want to move it few seconds/ minutes and more backwards then it like "losing its mind", the video jumps forward (a lot forward) and the sound stays the same, so ther is mismatchment between soun