Skip to content

Instantly share code, notes, and snippets.

View jmesnil's full-sized avatar

Jeff Mesnil jmesnil

View GitHub Profile
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
in hornetq-configuration.xml:
<!-- jms.queue.blah will received all messages sent to blah.# addresses -->
<queues>
<queue name="jms.queue.blah">
<address>blah.#</address>
</queue>
</queues>
in hornetq-jms.xml:
~/RedHat/Workspace/hornetq$ more /Users/jmesnil/RedHat/Workspace/JBPAPP_5_1/testsuite/output/log/test.log
2010-06-15 15:10:58,424 DEBUG [org.jboss.test.jca.test.AdminObjectUnitTestCase] ==== setUp org.jboss.test.jca.test.AdminObjectUnitTestCase ====
2010-06-15 15:10:58,425 DEBUG [org.jboss.test.jca.test.AdminObjectUnitTestCase] JBossTestServices.setUp()
2010-06-15 15:10:58,459 DEBUG [org.jboss.test.jca.test.AdminObjectUnitTestCase] initialContext.getEnvironment()={jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=127.0.0.1:1099, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2010-06-15 15:10:58,459 INFO [org.jboss.test.jca.test.AdminObjectUnitTestCase] jbosstest.beancount: 5
2010-06-15 15:10:58,459 INFO [org.jboss.test.jca.test.AdminObjectUnitTestCase] jbosstest.iterationcount: 10
2010-06-15 15:10:58,460 INFO [org.jboss.test.jca.test.AdminObjectUnitTestCase] jbosstest.threadcount: 5
2010-06-15 15:10:58,460 INFO [org.jboss.test
### Eclipse Workspace Patch 1.0
#P hornetq
Index: src/main/org/hornetq/ra/HornetQRAManagedConnection.java
===================================================================
--- src/main/org/hornetq/ra/HornetQRAManagedConnection.java (revision 9314)
+++ src/main/org/hornetq/ra/HornetQRAManagedConnection.java (working copy)
@@ -26,8 +26,10 @@
import javax.jms.Connection;
import javax.jms.ExceptionListener;
import javax.jms.JMSException;
### Eclipse Workspace Patch 1.0
#P hornetq
Index: src/main/org/hornetq/ra/HornetQRAManagedConnection.java
===================================================================
--- src/main/org/hornetq/ra/HornetQRAManagedConnection.java (revision 9314)
+++ src/main/org/hornetq/ra/HornetQRAManagedConnection.java (working copy)
@@ -26,8 +26,10 @@
import javax.jms.Connection;
import javax.jms.ExceptionListener;
import javax.jms.JMSException;
### Eclipse Workspace Patch 1.0
#P hornetq
Index: src/main/org/hornetq/ra/HornetQRASession.java
===================================================================
--- src/main/org/hornetq/ra/HornetQRASession.java (revision 9314)
+++ src/main/org/hornetq/ra/HornetQRASession.java (working copy)
@@ -1622,6 +1622,9 @@
*/
public void checkState() throws JMSException
{
else
{
Transaction tx = context.getTransaction();
boolean depage = tx.getProperty(TransactionPropertyIndexes.IS_DEPAGE) != null;
if (!depage && message.storeIsPaging())
{
getPageOperation(tx).addMessageToPage(message);
if (startedTx)
[java] [Thread-16 (group:HornetQ-server-threads22221156-509017110)] 17:57:20,301 WARNING [org.hornetq.core.protocol.core.ServerSessionPacketHandler] Sending unexpected exception to the client
[java] java.util.ConcurrentModificationException
[java] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
[java] at java.util.AbstractList$Itr.next(AbstractList.java:343)
[java] at org.hornetq.core.postoffice.impl.PostOfficeImpl$PageMessageOperation.pageMessages(PostOfficeImpl.java:1204)
[java] at org.hornetq.core.postoffice.impl.PostOfficeImpl$PageMessageOperation.beforeCommit(PostOfficeImpl.java:1168)
[java] at org.hornetq.core.transaction.impl.TransactionImpl.commit(TransactionImpl.java:260)
[java] at org.hornetq.core.transaction.impl.TransactionImpl.commit(TransactionImpl.java:221)
[java] at org.hornetq.core.server.impl.ServerSessionImpl.commit(ServerSessionImpl.java:543)
[java] at org.hornetq.core.protocol.core.ServerSessionPacketHa
Tue Jul 13 14:26:06 CEST 2010: Received message: 1
Tue Jul 13 14:26:06 CEST 2010: Committing send batch of 1 messages after 63 ms (status: outOfOrderErrors=0, tx=2, rx=1, outstanding=1)
Tue Jul 13 14:26:06 CEST 2010: Received message: 2
Tue Jul 13 14:26:06 CEST 2010: Acknowledging 2 message(s) after 62 ms
Tue Jul 13 14:26:06 CEST 2010: Committing send batch of 209 messages after 51 ms (status: outOfOrderErrors=0, tx=211, rx=2, outstanding=209)
13 juil. 2010 14:26:07 org.hornetq.core.logging.impl.JULLogDelegate warn
ATTENTION: Sending unexpected exception to the client
java.lang.StackOverflowError
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1175)
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names