Good Morning !!!

We are using the Tomee 7.0.1 and when I try to shutdown with 
Catalina.bat stop, on commandline, it is not shutting down, instead it
restarts the OpenEJBContainer. 

Please find activeMQ configuration as below:

<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

  <broker xmlns="http://activemq.apache.org/schema/core";
          useJmx="true"
          brokerName="${com.vignette.jvmid}Broker"
          useShutdownHook="false"
          persistent="true"
          start="false"
          schedulerSupport="false"
          enableStatistics="false"
          offlineDurableSubscriberTimeout="259200000"
          offlineDurableSubscriberTaskSchedule="3600000">

    <persistenceAdapter>
      <jdbcPersistenceAdapter createTablesOnStartup="true"
dataSource="#activemq-ds">
        <adapter><postgresql-jdbc-adapter/></adapter>
      </jdbcPersistenceAdapter>
    </persistenceAdapter>

    <transportConnectors>
      <transportConnector name="nio" enableStatusMonitor="true"
uri="nio://${com.vignette.appserverhost}:${com.vignette.activemqport}?daemon=true"/>
    </transportConnectors>

  </broker>
  
  <bean id="activemq-ds"
class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName">
      <value>java:openejb/Resource/vignette.jdbc.VgnNonTxDataSource</value>
    </property>
  </bean>

Please find the stacktrace image attached with this email. This is while
debugging the activeMQ Code 
how it restarts the activeMQ again due to OpenEJBInstance#init() method
invocation while stop call. 

Please find attached thread dump and activemq enabled log file. 

It is becoming blocker for us, now looking forward response on this. 

Thanks
-Rakesh

activemq.log
<http://tomee-openejb.979440.n4.nabble.com/file/n4680923/activemq.log>  
threaddump.txt
<http://tomee-openejb.979440.n4.nabble.com/file/n4680923/threaddump.txt>  
<http://tomee-openejb.979440.n4.nabble.com/file/n4680923/stacktrace.png> 





--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomee-Restart-fails-due-to-not-shutting-down-Active-MQ-Tomee-7-0-1-using-activemq-5-13-3-embeded-tp4680923.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to