[JBoss-user] Re: CachedConnectionManager and JMS (3.2.2RC2 v. 3.2.2RC1)

2003-08-01 Thread paul morgan
Thanks Scott, closing the QueueSession was the solution -- perhaps once I learn how to 
read I'll be OK ... well, maybe not.

Once again, thanks!

Paul



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] CachedConnectionManager and JMS (3.2.2RC2 v. 3.2.2RC1)

2003-07-31 Thread paul morgan
I just moved from 3.2.2RC1 to RC2 and am now receiving the following message (I've 
included the stack trace at the end):

10:51:25,608 INFO  [CachedConnectionManager] Successfully closed a connection for you. 
 Please close them yourself: [EMAIL PROTECTED]

Has far as I can tell, I'm closing the connection.  Following is a code snippet:

QueueConnection  connection = null;

try {
connection = (this.getQueueConnectionFactory()).createQueueConnection();
QueueSession  session = 
connection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);  
MapMessage  message = session.createMapMessage();

// The code to set the message.

(session.createSender( this.getNotificationQueue() )).send( message );
}
catch( JMSException exception ) {
throw new NotificationFailedException( NotifierBean#forwardToNotifier -- 
 , exception );
}
finally {
if (connection != (QueueConnection) null) {
try {
connection.close();  connection = (QueueConnection) null;
}
catch( JMSException exception ) {
System.err.println( NotifierBean#forwardToSMSNotifier --  + 
exception );
}
}
}

Anyone have any idea what I might be doing wrong (the normal case), or might this be a 
JBoss bug?

Thanks,

Paul

10:51:25,608 INFO  [CachedConnectionManager] Successfully closed a connection for you. 
 Please close them
yourself: [EMAIL PROTECTED]
java.lang.Exception: Stack Trace
at 
org.jboss.resource.connectionmanager.CachedConnectionManager.closeAll(CachedConnectionManager.java:376)
at 
org.jboss.resource.connectionmanager.CachedConnectionManager.popMetaAwareObject(CachedConnectionManager.java:199)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:190)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:323)
at org.jboss.ejb.Container.invoke(Container.java:700)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy60.notify(Unknown Source)
at com.mv.worddance.web.task.Notifier.notify(Notifier.java:237)
at com.mv.worddance.web.task.Notifier.perform(Notifier.java:188)
at com.mv.worddance.web.TaskDispatcher.dispatch(TaskDispatcher.java:232)
at com.mv.worddance.web.TaskDispatcher.doPost(TaskDispatcher.java:179)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:229)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.catalina.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:75)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)