I did find the problem.  

Thanks,
J.D.

-----Original Message-----
From: David Jencks [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 7:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBOSS 3.2RC2 - Connection Manager Info

You should be able to determine where the connection was obtained by
looking at the stack trace beyond what you showed in your first post.  The
connection was obtained in the ejb that is being calling in the stack
trace.  I guess I should try to find its name and the method name and print
them.

david jencks

On 2003.02.18 18:22 "Corbin, James" wrote:
> Ben,
> 
>  
> 
> I have verified wherever there is a getConnection that it is subsequently
> followed by a closeConnection().  Alas, I may have missed one and will
> keep
> looking.
> 
>  
> 
> J.D.
> 
>  
> 
> -----Original Message-----
> From: Benjamin Cox [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 18, 2003 3:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBOSS 3.2RC2 - Connection Manager Info
> 
>  
> 
>   I, too, was getting this error after following the advice in a previous
> posting regarding the TransactionManager attribute of the datasources'
> service.xml file.  The advice was to ignore the log messages asking you
> to
> change it to jboss.tm:service=TransactionManagerService.  
>   By turning the log level up to DEBUG for my EJB classes, I got a more
> informative stack trace and found that there were, in fact, places in my
> code where the connection I had obtained was never closed.  Previous
> versions of JBoss must have been smart enough to close them for us, but
> this
> promotes bad coding habits, so I'm just as happy they've changed this. 
> It's
> kind of like Netscape not rendering badly formed tables anymore.  If
> enough
> people are forced to comply with the specification, we can eventually be
> using XML-generated XHTML for everything.
>   See if this is the case for you, as well.  Search your code base for
> getConnection(), and find out where, if at all, that connection is
> closed.
>   Good luck,
>   
>     Ben
> 
> 
> Corbin, James wrote:
> 
> 
> 
> Hello,
> 
>  
> 
> After moving from 3.2RC1 to 3.2RC2 I started receiving this information
> message in my server log.  I verified I was closing the connection in my
> finally clauses, so I'm not sure why the CachedConnectionManager is
> complaining.  
> 
>  
> 
> Any suggestions?
> 
>  
> 
> J.D.
> 
>  
> 
> 13:21:50,683 INFO  [CachedConnectionManager] Could not find a close
> method
> on alleged connection objects.  Please close your own connections.
> 
> java.lang.Exception: Stack Trace
> 
>         at
>
org.jboss.resource.connectionmanager.CachedConnectionManager.closeAll(Cached
> ConnectionManager.java:357)
> 
>         at
>
org.jboss.resource.connectionmanager.CachedConnectionManager.popMetaAwareObj
> ect(CachedConnectionManager.java:199)
> 
>         at
>
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
> edConnectionInterceptor.java:190)
> 
>         at
>
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
> ssionInstanceInterceptor.java:77)
> 
>         at
>
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
> .java:108)
> 
>         at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
> java:216)
> 
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
> 
>         at
>
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
> 0)
> 
>         at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
> 
>         at
>
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde
> rInterceptor.java:154)
> 
> This electronic message transmission contains information from the
> Company
> that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or
> entity
> named above.  If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents
> of
> this information is prohibited.  If you have received
> this electronic transmission in error, please notify the sender
> immediately
> by replying to the address listed in the "From:" field.
>   
> 
>  
> 
> 
> This electronic message transmission contains information from the
> Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or
> entity named above.  If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents
> of this information is prohibited.  If you have received
> this electronic transmission in error, please notify the sender
> immediately by replying to the address listed in the "From:" field.
> 
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> 
> <head>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
> 
> 
> <meta name=Generator content="Microsoft Word 10 (filtered)">
> 
> <style>
> <!--
>  /* Font Definitions */
>  @font-face
>       {font-family:Tahoma;
>       panose-1:2 11 6 4 3 5 4 4 2 4;}
>  /* Style Definitions */
>  p.MsoNormal, li.MsoNormal, div.MsoNormal
>       {margin:0in;
>       margin-bottom:.0001pt;
>       font-size:12.0pt;
>       font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
>       {color:blue;
>       text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
>       {color:purple;
>       text-decoration:underline;}
> pre
>       {margin:0in;
>       margin-bottom:.0001pt;
>       font-size:10.0pt;
>       font-family:"Courier New";}
> span.emailstyle17
>       {font-family:Arial;
>       color:windowtext;}
> span.EmailStyle19
>       {font-family:Arial;
>       color:navy;}
> @page Section1
>       {size:8.5in 11.0in;
>       margin:1.0in 1.25in 1.0in 1.25in;}
> div.Section1
>       {page:Section1;}
> -->
> </style>
> 
> </head>
> 
> <body lang=EN-US link=blue vlink=purple>
> 
> <div class=Section1>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>Ben,</span></font></p>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>I have verified wherever there is a
> getConnection
> that it is subsequently followed by a closeConnection().&nbsp; Alas, I
> may have
> missed one and will keep looking.</span></font></p>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>J.D.</span></font></p>
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span
> style='font-size:
> 10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2
> face=Tahoma><span
> style='font-size:10.0pt;font-family:Tahoma'>-----Original
> Message-----<br>
> <b><span style='font-weight:bold'>From:</span></b> Benjamin Cox
> [mailto:[EMAIL PROTECTED]] <br>
> <b><span style='font-weight:bold'>Sent:</span></b> Tuesday, February 18,
> 2003
> 3:41 PM<br>
> <b><span style='font-weight:bold'>To:</span></b>
> [EMAIL PROTECTED]<br>
> <b><span style='font-weight:bold'>Subject:</span></b> Re: [JBoss-user]
> JBOSS
> 3.2RC2 - Connection Manager Info</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New
> Roman"><span
> style='font-size:12.0pt'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New
> Roman"><span
> style='font-size:12.0pt'>&nbsp; I, too, was getting this error after
> following
> the advice in a previous posting regarding the TransactionManager
> attribute of
> the datasources' service.xml file. &nbsp;The advice was to ignore the log
> messages asking you to change it to
jboss.tm:service=TransactionManagerService.
> &nbsp;<br>
> &nbsp; By turning the log level up to DEBUG for my EJB classes, I got a
> more
> informative stack trace and found that there were, in fact, places in my
> code
> where the connection I had obtained was never closed. &nbsp;Previous
> versions
> of JBoss must have been smart enough to close them for us, but this
> promotes
> bad coding habits, so I'm just as happy they've changed this. &nbsp;It's
> kind
> of like Netscape not rendering badly formed tables anymore. &nbsp;If
> enough
> people are forced to comply with the specification, we can eventually be
> using
> XML-generated XHTML for everything.<br>
> &nbsp; See if this is the case for you, as well. &nbsp;Search your code
> base
> for getConnection(), and find out where, if at all, that connection is
> closed.<br>
> &nbsp; Good luck,<br>
> &nbsp; <br>
> &nbsp; &nbsp; Ben<br>
> <br>
> <br>
> Corbin, James wrote:<br>
> <br>
> </span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>Hello,</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>After moving from 3.2RC1 to
> 3.2RC2 I
> started receiving this information message in my server log.&nbsp; I
> verified I
> was closing the connection in my finally clauses, so I'm not sure why the
> CachedConnectionManager is complaining.&nbsp; </span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>Any
> suggestions?</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>J.D.</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>13:21:50,683 INFO&nbsp;
> [CachedConnectionManager] Could not find a close method on alleged
> connection
> objects.&nbsp; Please close your own connections.</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
> style='font-size:10.0pt;font-family:Arial'>java.lang.Exception: Stack
> Trace</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
org.jboss.resource.connectionmanager.CachedConnectionManager.closeAll(Cached
ConnectionManager.java:357)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
>
org.jboss.resource.connectionmanager.CachedConnectionManager.popMetaAwareObj
ect(CachedConnectionManager.java:199)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionInterceptor.java:190)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
>
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:77)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:108)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:216)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)</sp
an></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;
> &nbsp;at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
0)</span></font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)</span><
/font></p>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
>
style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;
> at
>
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde
rInterceptor.java:154)</span></font></p>
> 
> <pre style='margin-left:.5in'><font size=2 face="Courier New"><span
> style='font-size:10.0pt'>This electronic message transmission contains
> information from the Company that may be proprietary, confidential and/or
> privileged.</span></font></pre><pre
> style='margin-left:.5in'><font size=2 face="Courier New"><span
> style='font-size:10.0pt'>The information is intended only for the use of
> the individual(s) or entity named above.&nbsp; If you are not the
> intended recipient, be</span></font></pre><pre
> style='margin-left:.5in'><font size=2 face="Courier New"><span
> style='font-size:10.0pt'>aware that any disclosure, copying or
> distribution or use of the contents of this information is
> prohibited.&nbsp; If you have received</span></font></pre><pre
> style='margin-left:.5in'><font size=2 face="Courier New"><span
> style='font-size:10.0pt'>this electronic transmission in error, please
> notify the sender immediately by replying to the address listed in the
> &quot;From:&quot; field.</span></font></pre><pre
> style='margin-left:.5in'><font size=2 face="Courier New"><span
> style='font-size:10.0pt'>&nbsp; </span></font></pre>
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New
> Roman"><span
> style='font-size:12.0pt'>&nbsp;</span></font></p>
> 
> </div>
> 
> <PRE>
> This electronic message transmission contains information from the
> Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or
> entity named above.  If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents
> of this information is prohibited.  If you have received
> this electronic transmission in error, please notify the sender
> immediately by replying to the address listed in the "From:" field.
> </PRE>
> </body>
> 
> </html>
> 
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
This electronic message transmission contains information from the Company that may be 
proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named 
above.  If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this 
information is prohibited.  If you have received
this electronic transmission in error, please notify the sender immediately by 
replying to the address listed in the "From:" field.



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to