You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2006/11/14 12:22:02 UTC

[jira] Updated: (AMQ-1018) Tomcat JVM hangs when it tried to get ConnectionFactory object

     [ https://issues.apache.org/activemq/browse/AMQ-1018?page=all ]

james strachan updated AMQ-1018:
--------------------------------

    Fix Version/s: 4.0.3
                       (was: 4.0.2)

> Tomcat JVM hangs when it tried to get ConnectionFactory object
> --------------------------------------------------------------
>
>                 Key: AMQ-1018
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1018
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>         Environment: Tomcat 5.5.9, Activemq 4.0.1
>            Reporter: Suvarna Raju Madhey
>            Priority: Critical
>             Fix For: 4.0.3
>
>         Attachments: StackTrace
>
>
> I have deployed my application in Tomcat 5.5.9, which uses Activemq 4.0.1. 
> To get ConnectionFactory I have written a method called getConnectionFactory.
> Following way i am tring to lookup..
> Context ctx = new InitialContext();
> Context ctx2= (Context) initCtx.lookup("java:comp/env");
> ConnectionFactory cf = (ConnectionFactory) ctx2.lookup("jms/ConnectionFactory");
> 3 iterations of start and stop works successfully. But when I start the application 4th time, it executes Context ctx2 = (Context)initCtx.lookup("java:comp/env"); then it goes to next line. After that it never returns ConnectionFactory. After I notice that the application hangs..
> Please find the stack which i got by running "kill -3 <tomcat-process-pid>
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira