On Thu, 2009-08-13 at 12:59 -0700, asawilliams wrote: > It is getting hung up in the SocketFactory::createSocket on line 137. I > seems like the ntdll.dll might be part of the problem (it is in the call > stack). There is a broker running, but the program seems to be running some > code before the main() where it is getting hung up. >
That line is the catch, the question is, where is the exception thrown from? There isn't any code in the provided example that would create a socket before the main method is called, so I am at a loss to explain the issue. You may want to do some more debugging to see what's going on, I've never seen this sort of behavior before. Regards Tim. > > Timothy Bish wrote: > > > > On Wed, 2009-08-12 at 14:53 -0700, asawilliams wrote: > >> I found the location where my program is getting stuck. SocketFactory is > >> throwing an exception but the DECAF_CATCH_EXCEPTION_CONVERT function is > >> where the thread is getting stuck. > > > > Without some line numbers for where the exception is thrown I can't > > really help you out to much. Is there a broker running? > > > > Regards > > Tim. > > > >> > >> > >> Timothy Bish wrote: > >> > > >> > On Tue, 2009-08-11 at 14:11 -0700, asawilliams wrote: > >> >> I am able to compile/build the vs2005-activemq-example in vs2008, but > >> >> when I > >> >> try to run it, a console shows up and its blank. I should at least > >> see > >> >> the > >> >> "Starting the example:", but I dont even get that. I have not changed > >> >> the > >> >> original code and here are the versions of the includes: > >> >> apr 1.3.8 > >> >> apr util 1.3.9 > >> >> activemq-cpp-library-3.0.1 > >> > > >> > We haven't tested the CPP client with versions of APR later than 1.3.5 > >> > > >> > Not sure what could be going wrong that aren't at least seeing the > >> > initial output from the example. You might want to run in the debugger > >> > and see where the code is stalling. > >> > > >> > Regards > >> > Tim. > >> > > >> > > >> > -- > >> > Tim Bish > >> > http://fusesource.com > >> > http://timbish.blogspot.com/ > >> > > >> > > >> > > >> > > >> > > >> > > > > > > > -- Tim Bish http://fusesource.com http://timbish.blogspot.com/