Return-Path: Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 10202 invoked by uid 500); 17 Aug 2003 09:19:01 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 10189 invoked from network); 17 Aug 2003 09:19:00 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 17 Aug 2003 09:19:00 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oJhz-0001jf-00 for ; Sun, 17 Aug 2003 11:20:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@avalon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oIg8-0001S2-00 for ; Sun, 17 Aug 2003 10:14:20 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oIf3-000701-00 for ; Sun, 17 Aug 2003 10:13:13 +0200 From: "Liu Wudong" Subject: want help to run the phoenix examle HelloWorldServer!! Date: Sun, 17 Aug 2003 16:12:55 +0800 Lines: 50 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I download the HelloWorldServer example files from phoenix CVS, hoping to run it in phoenix v4.0.4 I got the following problem when I put final SAR file in phoenix's apps directory and start up phoenix: In the log file, it's said: ERROR 2003-08-17 16:03:42.913 [Phoenix.] (): Component named "HelloWorld" failed to pass through the Initialization stage. (Reason: java.lang.NoSuchMethodError: org.apache.avalon.excalibur.thread.ThreadPool.execute(Ljava/lang/Runnable;)L org/apache/avalon/excalibur/thread/ThreadControl;). ERROR 2003-08-17 16:03:42.913 [Phoenix.] (): There was an error running phase "startup" for Block named "HelloWorld". (Reason: Component named "HelloWorld" failed to pass through the Initialization stage. (Reason: java.lang.NoSuchMethodError: org.apache.avalon.excalibur.thread.ThreadPool.execute(Ljava/lang/Runnable;)L org/apache/avalon/excalibur/thread/ThreadControl;).). org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "HelloWorld" failed to pass through the Initialization stage. (Reason: java.lang.NoSuchMethodError: org.apache.avalon.excalibur.thread.ThreadPool.execute(Ljava/lang/Runnable;)L org/apache/avalon/excalibur/thread/ThreadControl;).... ... In HelloWorld block, the initialize part is as follow: public void initialize() throws Exception { final ServerSocketFactory factory = m_socketManager.getServerSocketFactory( "plain" ); m_serverSocket = factory.createServerSocket( m_port, 5, m_bindTo ); m_connectionManager.connect( m_connectionName, m_serverSocket, this ); } I'm puzzled about this situation, because I didn't change any code of downloaded file. But I wrote the assembly.xml, config.xml and environment.xml by myself, referencing the files in the James 2.1. who can throw me a light? or are there any tutorial on how to run the example? thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org