-
1. Re: javax.jms.JMSException: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]
jbertram Jan 29, 2016 5:23 PM (in response to yoav-golan)As the stack-trace indicates, the connection failed for some reason. Without more data I can't say why or offer any kind of solution.
-
2. Re: javax.jms.JMSException: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]
yoav-golan Jan 29, 2016 5:28 PM (in response to jbertram)this is the standalone configration. could it be missing ttl setting ?
<subsystem xmlns="urn:jboss:domain:messaging:1.3">
<hornetq-server>
<persistence-enabled>true</persistence-enabled>
<security-enabled>false</security-enabled>
<jmx-management-enabled>true</jmx-management-enabled>
<journal-type>ASYNCIO</journal-type>
<journal-sync-non-transactional>false</journal-sync-non-transactional>
<journal-file-size>10240000</journal-file-size>
<journal-min-files>2</journal-min-files>
<connectors>
<netty-connector name="netty" socket-binding="messaging">
<param key="use-nio" value="false"/>
</netty-connector>
<in-vm-connector name="in-vm" server-id="0"/>
</connectors>
<acceptors>
<netty-acceptor name="netty" socket-binding="messaging">
<param key="direct-deliver" value="false"/>
<param key="use-nio" value="false"/>
</netty-acceptor>
<in-vm-acceptor name="in-vm" server-id="0"/>
</acceptors>
<security-settings>
<security-setting match="#">
<permission type="send" roles="basic_user_role"/>
<permission type="consume" roles="basic_user_role"/>
<permission type="createNonDurableQueue" roles="basic_user_role"/>
<permission type="deleteNonDurableQueue" roles="basic_user_role"/>
</security-setting>
</security-settings>
<address-settings>
<address-setting match="jms.topic.ca">
<dead-letter-address>jms.queue.DLQ</dead-letter-address>
<expiry-address>jms.queue.ExpiryQueue</expiry-address>
<redelivery-delay>0</redelivery-delay>
<max-size-bytes>4294967296</max-size-bytes>
<page-size-bytes>2508560</page-size-bytes>
<page-max-cache-size>2</page-max-cache-size>
<address-full-policy>PAGE</address-full-policy>
<message-counter-history-day-limit>10</message-counter-history-day-limit>
</address-setting>
<!--default for catch all-->
<address-setting match="#">
<dead-letter-address>jms.queue.DLQ</dead-letter-address>
<expiry-address>jms.queue.ExpiryQueue</expiry-address>
<redelivery-delay>0</redelivery-delay>
<max-size-bytes>512857600</max-size-bytes>
<page-size-bytes>51285760</page-size-bytes>
<address-full-policy>PAGE</address-full-policy>
<message-counter-history-day-limit>10</message-counter-history-day-limit>
</address-setting>
</address-settings>
<jms-connection-factories>
<connection-factory name="InVmConnectionFactory">
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/ConnectionFactory"/>
<entry name="java:/ca/jms/ConnectionFactory"/>
</entries>
</connection-factory>
<connection-factory name="RemoteConnectionFactory">
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="RemoteConnectionFactory"/>
<entry name="java:jboss/exported/jms/connectionFactory"/>
</entries>
</connection-factory>
<pooled-connection-factory name="hornetq-ra">
<transaction mode="none"/>
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
</jms-connection-factories>
<jms-destinations>
<jms-topic name="ca.adminevents">
<entry name="topic/caAdmin"/>
<entry name="java:jboss/exported/topic/caAdmin"/>
</jms-topic>
<jms-topic name="ca">
<entry name="topic/ca"/>
<entry name="java:jboss/exported/topic/ca"/>
</jms-topic>
<jms-queue name="CaToBONY">
<entry name="queue/CaToBONY"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="BONYToCa">
<entry name="queue/BONYToCa"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="CaToGSCC">
<entry name="queue/CaToGSCC"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="GSCCToCa">
<entry name="queue/GSCCToCa"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="CalypsoToSwift">
<entry name="queue/CalypsoToSwift"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="SwiftToCa">
<entry name="queue/SwiftToCa"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="DLQ">
<entry name="queue/DLQ"/>
<durable>false</durable>
</jms-queue>
<jms-queue name="ExpiryQueue">
<entry name="queue/ExpiryQueue"/>
<durable>false</durable>
</jms-queue>
</jms-destinations>
</hornetq-server>
</subsystem>
-
3. Re: javax.jms.JMSException: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]
jbertram Jan 29, 2016 5:43 PM (in response to yoav-golan)Again, without more information (e.g. the circumstances of the failure on both the client and the server, what was logged on the server (if anything), overall use-case, etc.) I can't help you much.
-
4. Re: javax.jms.JMSException: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]
yoav-golan Jan 29, 2016 5:49 PM (in response to jbertram)this is the client log run on other jvm and other machine in a company intranet. I don't have now the server log . failures occur for every sometimes over the day.I just want to know if this could be because of missing ttl setting as a result of net problems