Phoenix's DefaultThreadPool

"Igor A. Deruga" <[email protected]> Sun, 7 Nov 2004 19:50:11 +0300
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Dear fellow programmers!
I have a piece of code that uses phoenix classes. But it doesn't work as it is 
supposed to (to my mind):
//--------------------------------------start of code------------------------
		System.out.println("Trying with max="+new Integer(max_threads).toString()+
			"and min="+ new Integer(min_threads).toString() + " and name=" + name);
		try {
			final DefaultThreadPool threadPool = new DefaultThreadPool(name, 
					min_threads, max_threads);
			System.out.println("Created a DefaultThreadPool instance.");
//--------------------------------------end of code------------------------

This code produces the following output:

//--------------------output--------------------
run:
     [java] hello!
     [java] test
     [java] Starting the server
     [java] Trying to create factory.
     [java] Classloader has been retrieved.
     [java] Creating new instance.
     [java] Trying to create factory.
     [java] Classloader has been retrieved.
     [java] Creating new instance.
     [java] Getting server socket factory
     [java] Prepared a SocketFactory
     [java] created insecure sockets
     [java] Executing overloaded "connect" method.
     [java] Initializing ThreadManager!!!!!!!!!!!!!!
     [java] Configuring ThreadPool
     [java] Trying with max=100 and min=20 and name=default
BUILD SUCCESSFUL
Total time: 4 seconds
//--------------------end of output--------------------

Which means that it enters DefaultThreadPool constructor and... the program 
exits. :(
The question is: WHY?!

It's  my fault, probably a small misspelling.... but where?

Sincerely
	Igor