Diego,

> Running James on top of JBoss is of the greatest interest to 
> me. However, your jboss-setup file did not reach the list. 
> Can you copy-paste it into a mail?

Here it is in plain text:

Introduction

This document describes the process for launching Phoenix in the JBoss
application server.
Procedure

Setup instructions (Windows based, but *nix equivalent is obvious):

- Copy phoenix distribution to Jboss directory:

  copy %PHOENIX_HOME%\* %JBOSS_HOME%\phoenix

- Copy phoenix loader to Jboss deployment dir (using Jboss 'default'
server as example):

  copy %PHOENIX_HOME%\bin\phoenix-loader.jar
%JBOSS_HOME%\server\default\deploy

- Copy phoenix loader config file to Jboss deployment dir (using Jboss
'default' server as example):

  copy %PHOENIX_HOME%\conf\phoenix-service.xml
%JBOSS_HOME%\server\default\deploy

- Edit the phoenix kernel configuration file to use the hosted JMX
system manager:

  <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
 
class="org.apache.avalon.phoenix.components.manager.HostedSystemManager"
            logger="manager" >
  </component>

And don't forget to copy your app to the apps directory. I think that's
everything - if I've forgotten anything just holler.


> It seems that you need Phoenix in between JBoss and James. 
> Would it be possible to avoid this? Which are the James' 
> dependencies on Phoenix? Have you encountered any conflict 
> between the server facilities of JBoss and Phoenix (i.e. 
> logging, JMX server, class loading, etc)?

James needs to run in an Avalon capable container so it is not easy to
remove Phoenix.  Depending on which Jboss features you need, you may be
able to run e.g. Tomcat under Phoenix and not use JBoss at all.  I did
hit classpath issues, but I resolved these by having JMXLauncher add a
new classloader for the phoenix/lib directory.  Note that the Phoenix
now support a configurable classloader mechanism and I have not tried
JMXLauncher with this. For logging there were no issues, Jboss uses
log4j , Phoenix uses logkit. For JMX, if you follow the instructions
above the Phoenix and James blocks will be registered with the JBoss JMX
server.  There is a problem with some Mbeans not being viewable in the
JBOss JMX console but I don't know the cause.

Cheers
Steve


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to