[richfaces-issues] [JBoss JIRA] Moved: (RF-11154) JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Aug 1 07:09:24 EDT 2011


     [ https://issues.jboss.org/browse/RF-11154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč moved RFPL-1568 to RF-11154:
---------------------------------------

              Project: RichFaces  (was: RichFaces Planning)
                  Key: RF-11154  (was: RFPL-1568)
             Workflow: GIT Pull Request workflow   (was: jira)
    Affects Version/s: 4.1.0.Milestone1
                           (was: 4.1.0.Milestone1)
          Component/s: examples
                           (was: examples)
        Fix Version/s: 4.1.0.Milestone1
                           (was: 4.1.0.Milestone1)


> JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7
> -------------------------------------------------------------------------------
>
>                 Key: RF-11154
>                 URL: https://issues.jboss.org/browse/RF-11154
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: examples
>    Affects Versions: 4.1.0.Milestone1
>         Environment: richfaces-showcase 4.1.0.-SNAPSHOT, container JBoss AS 7.0.0.Final
>            Reporter: Juraj Huska
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.0.Milestone1
>
>
> When I am deploying showcase multiple times during running test suite(this multiple deployment is needed in Arquillian, since for every test class is application deployed again), I am encountering with java.lang.OutOfMemoryError: PermGen space error which in my opinion caused by this:
> {code}
>  WARN  [org.hornetq.jms.client.HornetQConnection] (Finalizer) I'm closing a JMS connection you left open. Please make sure you close all JMS connections explicitly before letting them go out of scope!
> 13:03:33,712 WARN  [org.hornetq.jms.client.HornetQConnection] (Finalizer) The JMS connection you didn't close was created here:: java.lang.Exception
> 	at org.hornetq.jms.client.HornetQConnection.<init>(HornetQConnection.java:152)
> 	at org.hornetq.jms.client.HornetQTopicConnection.<init>(HornetQTopicConnection.java:35)
> 	at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:682)
> 	at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:145)
> 	at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:140)
> 	at org.richfaces.demo.push.JMSMessageProducer.initializeMessaging(JMSMessageProducer.java:86)
> 	at org.richfaces.demo.push.JMSMessageProducer.sendMessage(JMSMessageProducer.java:66)
> 	at org.richfaces.demo.push.MessageProducerRunnable.run(MessageProducerRunnable.java:57)
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
> {code}
> When I am deploying showcase.war which is without Push example(4.0.0.Final), so no JMS communication is opened, no Perm Gen error is thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list