Return-Path: Delivered-To: apmail-james-server-dev-archive@www.apache.org Received: (qmail 21727 invoked from network); 2 Apr 2004 11:45:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 11:45:58 -0000 Received: (qmail 23048 invoked by uid 500); 2 Apr 2004 11:45:55 -0000 Delivered-To: apmail-james-server-dev-archive@james.apache.org Received: (qmail 23015 invoked by uid 500); 2 Apr 2004 11:45:55 -0000 Mailing-List: contact server-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "James Developers List" Reply-To: "James Developers List" Delivered-To: mailing list server-dev@james.apache.org Received: (qmail 22992 invoked from network); 2 Apr 2004 11:45:55 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 2 Apr 2004 11:45:55 -0000 Received: (qmail 18356 invoked by uid 65534); 2 Apr 2004 11:45:53 -0000 Received: from unknown (EHLO gmx.net) (212.152.175.178) by mail.gmx.net (mp015) with SMTP; 02 Apr 2004 13:45:53 +0200 X-Authenticated: #22270883 Message-ID: <406D5203.6060800@gmx.net> Date: Fri, 02 Apr 2004 13:44:03 +0200 From: astrograph User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Developers List Subject: Re: http://wiki.apache.org/james/Embedded References: <406D218E.5010506@gmx.net> In-Reply-To: <406D218E.5010506@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ok, I worked out part of my problem... the file location is not correct %JBOSS_HOME%\phoenix\conf\kernel.xml because when following "1.2. Binary Way" the file is located e.g. at: %JBOSS_HOME%\james-2.2.0a17\conf\kernel.xml there seems to be a discrepancy in "1.2. Binary Way", first there is mentionend, that one should install the binary distribution in %JBOSS_HOME%.. further down there are the commands: copy %JAMES_HOME%\bin\phoenix-loader.jar %JBOSS_HOME%\server\default\deploy copy phoenix-service.xml %JBOSS_HOME%\server\default\deploy copy JMXLauncher.jar %JBOSS_HOME%/server/default/deploy but in the phoenix-service.xml file relative paths are given to the James installation directory in the following way: ../james-2.2.0a17/ ../james-2.2.0a17/conf/kernel.xml ..james-2.2.0a17/apps/ ../james-2.2.0a17/logs/phoenix.log/ false which obviously do not point to %JBOSS_HOME%/james-2.2.0a17 but to %JBOSS_HOME%/server/default/james-2.2.0a17 ??? so, should the %JBOSS_HOME% path include the /server/default/ directories or not??? anyway - I installed James in C:\someDirectory\jboss\server\default\james-2.2.0a17 With the given phoenix-service.xml I had another problem. Somehow the jars were not found... I commented the classpath element, and put the JMXLauncher.jar and the phoenix-loader.jar in the %JBOSS_HOME%/lib directory and now the Phoenix:Launcher service is started (it is visible in the JMX console). After placing logkit-1.2.jar, james.jar, excalibur-io-1.1.jar, and excalibur-i18n-1.0.jar in JBoss�s lib directory (why should it work without these libraries in JBoss classpath?) James is started, but then fails with following exception: ERROR 2004-04-02 13:35:29.073 [Phoenix.] (): There was an error running phase "startup" for Block named "thread-manager". (Reason: Component named "thread-manager" failed to pass through the Creation stage. (Reason: java.lang.NoClassDefFoundError: org/apache/james/util/thread/DefaultThreadPool).). org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "thread-manager" failed to pass through the Creation stage. (Reason: java.lang.NoClassDefFoundError: org/apache/james/util/thread/DefaultThreadPool).. ... hmm, why doesn�t fin Phoenix the org/apache/james/util/thread/DefaultThreadPool class? It is in James.jar, which tried to put into James lib directory (it is already in the JBoss lib directory...). BTW: how about embedding James in a different App Server, any ideas about Oracle Application Server (IAS)??? cheers, Philipp > hi, > > I intend to embed my James application in JBoss, when following 1.2 in > http://wiki.apache.org/james/Embedded it seems that Phoenix has to be > installed like in 1.1.2? Or am I missing something? > > wbr > > Philipp > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org > For additional commands, e-mail: server-dev-help@james.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.org