The files are generally the persistent storage used by ActiveMQ. Seeing that
you disabled persistence, I find this very odd. Could it be that another
embedded broker is starting up?

BTW, I'd recommend using the 4.x version as the 3.x version is pretty old.



ARUNA wrote:
> 
> Hi,
> 
> I am very new to activeMq , 
> When I start my tomcat instance and try to use a application using JMS it
> is atomatically creating a folder in the 
> ActiveMq folder which is there in tomcat bin and writing .dat files in
> that directory
> 
> some thing like 
> 
> \TC001\bin\ActiveMQ\ID_3FSWD018-1925-1160748042679-6_0\
>  with derbydb,journal  as the sub folders and also derby.log file.
> 
> The derbydb contains log,seg0,tmp folder..
> 
> In seg0 folder there are .dat files...
> 
> I Dont understand why this is happening....
> 
> 
> If there is some configuration that needs to be changed to disable this
> please let me know
> 
> This is the activeMq file 
> 
> <?xml version="1.0"?>
> <!DOCTYPE beans PUBLIC "-//ACTIVEMQ//DTD//EN"
> "http://activemq.codehaus.org/dtd/activemq.dtd";>
> 
> <beans>
>       <broker>
>               <connector>
>                       <serverTransport 
> uri="vm://localhost?broker.persistent=false" />
>               </connector>
>               <persistence>
>                       <vmPersistence />
>               </persistence>
>       </broker>       
> </beans>
> 
> and other xml file with spring configured with activeMq
> 
> <?xml version="1.0"?>
> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
> "http://www.springframework.org/dtd/spring-beans.dtd";>
> 
> <beans>
>       <bean id="com.liferay.portlet.messageboards.service.jms.MBMessageQCF"
> class="org.activemq.pool.PooledConnectionFactory"
>       persistent="false">
>               <property name="connectionFactory">
>                       <bean class="org.activemq.ActiveMQConnectionFactory">
>                               <property name="brokerURL">
>                                       
> <value>vm://localhost?broker.persistent=false</value>
>                               </property>
>                       </bean>
>               </property>
>       </bean>
>       <bean 
> name="com.liferay.portlet.messageboards.service.jms.MBMessageQueue"
> class="org.activemq.message.ActiveMQQueue" autowire="constructor">
>               <constructor-arg>
>               
> <value>com.liferay.portlet.messageboards.service.jms.MBMessageQueue</value>
>               </constructor-arg>
>       </bean>
> </beans>
> 
> 
> Thanks in advance
> 

-- 
View this message in context: 
http://www.nabble.com/creation-of-.dat-files-in-ActiveMq-directory-which-is-in-tomcat-bin-tf2437422.html#a6798578
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to