activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cecchinoSMI <marco.cecch...@gmail.com>
Subject Re: First chance exception
Date Thu, 06 Feb 2014 09:35:04 GMT
I'm using ActiveMq 5.8.0 


the code interested is yours (from one example):


#include <activemq/library/ActiveMQCPP.h>
#include <decaf/lang/Thread.h>
#include <decaf/lang/Runnable.h>
#include <decaf/util/concurrent/CountDownLatch.h>
#include <decaf/lang/Integer.h>
#include <decaf/lang/Long.h>
#include <decaf/lang/System.h>
#include <activemq/core/ActiveMQConnectionFactory.h>
#include <activemq/util/Config.h>
#include <cms/Connection.h>
#include <cms/Session.h>
#include <cms/TextMessage.h>
#include <cms/BytesMessage.h>
#include <cms/MapMessage.h>
#include <cms/ExceptionListener.h>
#include <cms/MessageListener.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <memory>

using namespace activemq::core;
using namespace decaf::util::concurrent;
using namespace decaf::util;
using namespace decaf::lang;
using namespace cms;
using namespace std;

class HelloWorldProducer : public Runnable {
private:

    Connection* connection;
    Session* session;
    Destination* destination;
    MessageProducer* producer;
    int numMessages;
    bool useTopic;
    bool sessionTransacted;
    std::string brokerURI;

private:

    HelloWorldProducer(const HelloWorldProducer&);
    HelloWorldProducer& operator=(const HelloWorldProducer&);

public:

    HelloWorldProducer(const std::string& brokerURI, int numMessages, bool
useTopic = false, bool sessionTransacted = false) :
        connection(NULL),
        session(NULL),
        destination(NULL),
        producer(NULL),
        numMessages(numMessages),
        useTopic(useTopic),
        sessionTransacted(sessionTransacted),
        brokerURI(brokerURI) {
    }

    virtual ~HelloWorldProducer(){
        cleanup();
    }

    void close() {
        this->cleanup();
    }

    virtual void run() {

        try {

            // Create a ConnectionFactory
            auto_ptr<ConnectionFactory> connectionFactory(
                ConnectionFactory::createCMSConnectionFactory(brokerURI));

            // Create a Connection
            connection = connectionFactory->createConnection();
            connection->start();

            // Create a Session
            if (this->sessionTransacted) {
                session =
connection->createSession(Session::SESSION_TRANSACTED);
            } else {
                session =
connection->createSession(Session::AUTO_ACKNOWLEDGE);
            }

            // Create the destination (Topic or Queue)
            if (useTopic) {
                destination = session->createTopic("IFACOM-CMS");
            } else {
                destination = session->createQueue("IFACOM-CMS");
            }

            // Create a MessageProducer from the Session to the Topic or
Queue
            producer = session->createProducer(destination);
            producer->setDeliveryMode(DeliveryMode::NON_PERSISTENT);

            // Create the Thread Id String
            string threadIdStr =
Long::toString(Thread::currentThread()->getId());

            // Create a messages
            string text = (string) "Hello world! from thread " +
threadIdStr;

            for (int ix = 0; ix < numMessages; ++ix) {
                std::auto_ptr<TextMessage>
message(session->createTextMessage(text));
                message->setIntProperty("Integer", ix);
                printf("Sent message #%d from thread %s\n", ix + 1,
threadIdStr.c_str());
                producer->send(message.get());
            }

        } catch (CMSException& e) {
            e.printStackTrace();
        }
    }

private:

    void cleanup() {

        if (connection != NULL) {
            try {
                connection->close();
            } catch (cms::CMSException& ex) {
                ex.printStackTrace();
            }
        }

        // Destroy resources.
        try {
            delete destination;
            destination = NULL;
            delete producer;
            producer = NULL;
            delete session;
            session = NULL;
            delete connection;
            connection = NULL;
        } catch (CMSException& e) {
            e.printStackTrace();
        }
    }
};

class HelloWorldConsumer : public ExceptionListener,
                           public MessageListener,
                           public Runnable {

private:

    CountDownLatch latch;
    CountDownLatch doneLatch;
    Connection* connection;
    Session* session;
    Destination* destination;
    MessageConsumer* consumer;
    long waitMillis;
    bool useTopic;
    bool sessionTransacted;
    std::string brokerURI;

private:

    HelloWorldConsumer(const HelloWorldConsumer&);
    HelloWorldConsumer& operator=(const HelloWorldConsumer&);

public:

    HelloWorldConsumer(const std::string& brokerURI, int numMessages, bool
useTopic = false, bool sessionTransacted = false, int waitMillis = 30000) :
        latch(1),
        doneLatch(numMessages),
        connection(NULL),
        session(NULL),
        destination(NULL),
        consumer(NULL),
        waitMillis(waitMillis),
        useTopic(useTopic),
        sessionTransacted(sessionTransacted),
        brokerURI(brokerURI) {
    }

    virtual ~HelloWorldConsumer() {
        cleanup();
    }

    void close() {
        this->cleanup();
    }

    void waitUntilReady() {
        latch.await();
    }

    virtual void run() {

        try {

            // Create a ConnectionFactory
            auto_ptr<ConnectionFactory> connectionFactory(
                ConnectionFactory::createCMSConnectionFactory(brokerURI));

            // Create a Connection
            connection = connectionFactory->createConnection();
            connection->start();
            connection->setExceptionListener(this);

            // Create a Session
            if (this->sessionTransacted == true) {
                session =
connection->createSession(Session::SESSION_TRANSACTED);
            } else {
                session =
connection->createSession(Session::AUTO_ACKNOWLEDGE);
            }

            // Create the destination (Topic or Queue)
            if (useTopic) {
                destination = session->createTopic("IFACOM-CMS");
            } else {
                destination = session->createQueue("IFACOM-CMS");
            }

            // Create a MessageConsumer from the Session to the Topic or
Queue
            consumer = session->createConsumer(destination);

            consumer->setMessageListener(this);

            std::cout.flush();
            std::cerr.flush();

            // Indicate we are ready for messages.
            latch.countDown();

            // Wait while asynchronous messages come in.
            doneLatch.await(waitMillis);

        } catch (CMSException& e) {
            // Indicate we are ready for messages.
            latch.countDown();
            e.printStackTrace();
        }
    }

    // Called from the consumer since this class is a registered
MessageListener.
    virtual void onMessage(const Message* message) {

        static int count = 0;

        try {
            count++;
            const TextMessage* textMessage = dynamic_cast<const
TextMessage*> (message);
            string text = "";

            if (textMessage != NULL) {
                text = textMessage->getText();
            } else {
                text = "NOT A TEXTMESSAGE!";
            }

            printf("Message #%d Received: %s\n", count, text.c_str());

        } catch (CMSException& e) {
            e.printStackTrace();
        }

        // Commit all messages.
        if (this->sessionTransacted) {
            session->commit();
        }

        // No matter what, tag the count down latch until done.
        doneLatch.countDown();
    }

    // If something bad happens you see it here as this class is also been
    // registered as an ExceptionListener with the connection.
    virtual void onException(const CMSException& ex AMQCPP_UNUSED) {
        printf("CMS Exception occurred.  Shutting down client.\n");
        ex.printStackTrace();
        exit(1);
    }

private:

    void cleanup() {
        if (connection != NULL) {
            try {
                connection->close();
            } catch (cms::CMSException& ex) {
                ex.printStackTrace();
            }
        }

        // Destroy resources.
        try {
            delete destination;
            destination = NULL;
            delete consumer;
            consumer = NULL;
            delete session;
            session = NULL;
            delete connection;
            connection = NULL;
        } catch (CMSException& e) {
            e.printStackTrace();
        }
    }
};

int main(int argc AMQCPP_UNUSED, char* argv[] AMQCPP_UNUSED) {

    activemq::library::ActiveMQCPP::initializeLibrary();
    {
    std::cout << "=====================================================\n";
    std::cout << "Starting the example:" << std::endl;
    std::cout << "-----------------------------------------------------\n";


    // Set the URI to point to the IP Address of your broker.
    // add any optional params to the url to enable things like
    // tightMarshalling or tcp logging etc.  See the CMS web site for
    // a full list of configuration options.
    //
    //  http://activemq.apache.org/cms/
    //
    // Wire Format Options:
    // =========================
    // Use either stomp or openwire, the default ports are different for
each
    //
    // Examples:
    //    tcp://127.0.0.1:61616                      default to openwire
    //    tcp://127.0.0.1:61616?wireFormat=openwire  same as above
    //    tcp://127.0.0.1:61613?wireFormat=stomp     use stomp instead
    //
    // SSL:
    // =========================
    // To use SSL you need to specify the location of the trusted Root CA or
the
    // certificate for the broker you want to connect to.  Using the Root CA
allows
    // you to use failover with multiple servers all using certificates
signed by
    // the trusted root.  If using client authentication you also need to
specify
    // the location of the client Certificate.
    //
    //     System::setProperty( "decaf.net.ssl.keyStore",
"<path>/client.pem" );
    //     System::setProperty( "decaf.net.ssl.keyStorePassword", "password"
);
    //     System::setProperty( "decaf.net.ssl.trustStore",
"<path>/rootCA.pem" );
    //
    // The you just specify the ssl transport in the URI, for example:
    //
    //     ssl://localhost:61617
    //
    std::string brokerURI ="tcp://92.104.242.137:61613?wireFormat=stomp";

    //============================================================
    // set to true to use topics instead of queues
    // Note in the code above that this causes createTopic or
    // createQueue to be used in both consumer an producer.
    //============================================================
    bool useTopics = false;
    bool sessionTransacted = false;
    int numMessages = 2000;

    long long startTime = System::currentTimeMillis();

    HelloWorldProducer producer(brokerURI, numMessages, useTopics);
        HelloWorldConsumer consumer(brokerURI, numMessages, useTopics,
sessionTransacted);

    // Start the consumer thread.
    Thread consumerThread(&consumer);
    consumerThread.start();

    // Wait for the consumer to indicate that its ready to go.
    consumer.waitUntilReady();

    // Start the producer thread.
    Thread producerThread(&producer);
    producerThread.start();

    // Wait for the threads to complete.
    producerThread.join();
    consumerThread.join();

    long long endTime = System::currentTimeMillis();
    double totalTime = (double)(endTime - startTime) / 1000.0;

    consumer.close();
    producer.close();

    std::cout << "Time to completion = " << totalTime << " seconds." <<
std::endl;
    std::cout << "-----------------------------------------------------\n";
    std::cout << "Finished with the example." << std::endl;
    std::cout << "=====================================================\n";

    }
    activemq::library::ActiveMQCPP::shutdownLibrary();
}




and this is the debug:





'test_producer.exe' (Win32): Loaded 'C:\Users\Marco\Documents\Visual Studio
2012\Projects\test_producer\Debug\test_producer.exe'. Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Users\Marco\Documents\Visual Studio
2012\Projects\test_producer\Debug\libapr-1.dll'. Cannot find or open the PDB
file.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded
'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5054_none_509208cabcb9216b\msvcr90.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Symbols
loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nlaapi.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\NapiNSP.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\pnrpnsp.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wshbth.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Program Files (x86)\National
Instruments\Shared\mDNS Responder\nimdnsNSP.dll'. Cannot find or open the
PDB file.
'test_producer.exe' (Win32): Loaded
'C:\Windows\SysWOW64\nimdnsResponder.dll'. Cannot find or open the PDB file.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winrnr.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'.
Symbols loaded.
'test_producer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL'.
Symbols loaded.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F4E4.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F4E4.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F41C.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F41C.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F304.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0379F304.
The thread 0x2334 has exited with code 0 (0x0).
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0407F494.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0407F494.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0407F3CC.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x0407F3CC.
The thread 0x2100 has exited with code 0 (0x0).
The thread 0x2480 has exited with code 0 (0x0).
The thread 0x274c has exited with code 0 (0x0).
The thread 0x14fc has exited with code 0 (0x0).
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD8.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD8.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: cms::CMSException at memory location 0x003EEF28.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: cms::CMSException at memory location 0x003EEF28.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::lang::exceptions::ClassCastException at memory location
0x003EE854.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::lang::exceptions::ClassCastException at memory location
0x003EE854.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD0.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD0.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::io::IOException at memory location 0x03C4F3BC.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::io::IOException at memory location 0x03C4F3BC.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
The thread 0x2598 has exited with code 0 (0x0).
The thread 0x147c has exited with code 0 (0x0).
The thread 0x21dc has exited with code 0 (0x0).
The thread 0x23d4 has exited with code 0 (0x0).
The thread 0x1fb4 has exited with code 0 (0x0).
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD8.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD8.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: cms::CMSException at memory location 0x003EEF28.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: cms::CMSException at memory location 0x003EEF28.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::lang::exceptions::ClassCastException at memory location
0x003EE854.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::lang::exceptions::ClassCastException at memory location
0x003EE854.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD0.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::util::NoSuchElementException at memory location
0x003EEDD0.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::io::IOException at memory location 0x046FF254.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: decaf::io::IOException at memory location 0x046FF254.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
First-chance exception at 0x7626C41F in test_producer.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000.
The thread 0x25a4 has exited with code 0 (0x0).
The thread 0x24c0 has exited with code 0 (0x0).
The thread 0x239c has exited with code 0 (0x0).
The thread 0x1f34 has exited with code 0 (0x0).
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\nlaapi.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\NapiNSP.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\pnrpnsp.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\wshbth.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Program Files (x86)\National
Instruments\Shared\mDNS Responder\nimdnsNSP.dll'
'test_producer.exe' (Win32): Unloaded
'C:\Windows\SysWOW64\nimdnsResponder.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winrnr.dll'
'test_producer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'
The thread 0x1460 has exited with code 0 (0x0).
The program '[9748] test_producer.exe' has exited with code 0 (0x0).




--
View this message in context: http://activemq.2283324.n4.nabble.com/First-chance-exception-tp4677476p4677535.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message