atom feed55 messages in org.apache.james.server-devGeronimo-JAMES integration
FromSent OnAttachments
David JencksJun 15, 2008 11:30 am 
Robert Burrell DonkinJun 15, 2008 12:25 pm 
Bernd FondermannJun 15, 2008 1:00 pm 
Bernd FondermannJun 15, 2008 1:36 pm 
Robert Burrell DonkinJun 15, 2008 1:46 pm 
Noel J. BergmanJun 15, 2008 5:22 pm 
Stefano BagnaraJun 16, 2008 3:45 am 
Robert Burrell DonkinJun 16, 2008 4:25 am 
Stefano BagnaraJun 16, 2008 5:00 am 
David JencksJun 16, 2008 11:07 am 
Robert Burrell DonkinJun 16, 2008 12:23 pm 
Stefano BagnaraJun 16, 2008 12:24 pm 
Stefano BagnaraJun 16, 2008 12:36 pm 
Stefano BagnaraJun 16, 2008 12:41 pm 
Robert Burrell DonkinJun 16, 2008 12:47 pm 
Stefano BagnaraJun 16, 2008 12:50 pm 
Robert Burrell DonkinJun 16, 2008 12:58 pm 
Stefano BagnaraJun 16, 2008 1:18 pm 
Robert Burrell DonkinJun 16, 2008 1:24 pm 
Rick McGuireJun 16, 2008 1:38 pm 
Robert Burrell DonkinJun 16, 2008 1:46 pm 
David JencksJun 16, 2008 5:09 pm 
Bernd FondermannJun 16, 2008 11:34 pm 
Rick McGuireJun 17, 2008 7:09 am 
Stefano BagnaraJun 17, 2008 8:03 am 
Rick McGuireJun 17, 2008 8:38 am 
Stefano BagnaraJun 17, 2008 8:56 am 
Rick McGuireJun 17, 2008 9:08 am 
Stefano BagnaraJun 17, 2008 11:05 am 
Rick McGuireJun 17, 2008 11:44 am 
Stefano BagnaraJun 18, 2008 4:34 am 
Stefano BagnaraJun 18, 2008 8:49 am 
Bernd FondermannJun 18, 2008 11:20 pm 
Stefano BagnaraJun 19, 2008 4:37 am 
Norman MaurerJun 19, 2008 4:40 am 
Robert Burrell DonkinJun 19, 2008 2:29 pm 
Stefano BagnaraJun 20, 2008 5:46 am 
Robert Burrell DonkinJun 20, 2008 6:11 am 
Stefano BagnaraJun 20, 2008 9:22 am 
Stefano BagnaraJun 20, 2008 9:34 am 
Robert Burrell DonkinJun 20, 2008 12:21 pm 
Robert Burrell DonkinJun 21, 2008 6:15 am 
Stefano BagnaraJun 21, 2008 7:39 am 
Robert Burrell DonkinJun 21, 2008 8:20 am 
Robert Burrell DonkinJun 22, 2008 12:54 am 
Bernd FondermannJun 22, 2008 2:36 am 
Norman MaurerJun 22, 2008 6:23 am 
Stefano BagnaraJun 24, 2008 11:40 am 
Robert Burrell DonkinJun 24, 2008 1:14 pm 
Stefano BagnaraJun 27, 2008 1:18 am 
Robert Burrell DonkinJun 27, 2008 5:10 am 
Stefano BagnaraJun 27, 2008 5:24 am 
Stefano BagnaraJun 29, 2008 11:38 am 
David JencksJul 7, 2008 2:42 pm 
Stefano BagnaraJul 8, 2008 8:05 am 
Subject:Geronimo-JAMES integration
From:David Jencks (davi@yahoo.com)
Date:Jun 15, 2008 11:30:57 am
List:org.apache.james.server-dev

I've been hoping for a Geronimo-JAMES integration since the start of the Geronimo project. Two fairly recent developments in JAMES have now made this a relatively simple task: the maven build and the spring integration code.

- the maven build enables painless connection between the build systems of the two projects, so changes in JAMES get picked up immediately by the geronimo plugin under development - the spring integration enables a non-avalon expert to construct and start a JAMES server

After a couple days work and fixing a few problems in JAMES I now have a geronimo james plugin that runs a james server inside geronimo.

Instructions:

1. Apply patches for JAMES-840, 841, and 842 to james trunk. Get all the jars needed for the build into the private stage repository (JAMES-840). (I realize these instructions are unclear but they are the best I have at the moment)

2. Build JAMES with maven mvn clean install -Plocal

3. Build geronimo trunk (I haven't checked to see if sufficiently up to date geronimo snapshots are available. We also have some private repo issues that may make at least one local build of geronimo necessary).

4. check out svn co https://svn.apache.org/repos/asf/geronimo/plugins/james/trunk

5. build james plugin mvn clean install -Pwith-assembly

6. Fire up the sample server cd james-server/target tar xzf james-server-1.0-SNAPSHOT-bin.tar.gz ./james-server-1.0-SNAPSHOT/bin/gsh geronimo/start-server

I've put the james config files in a geronimo-standard location of var/ james/config. I changed the ports so the server would start without superuser permissions. So far I just know the server starts without errors: I haven't figure out how to test if it can actually do anything.

-----------------------------------

Future directions

Even in its current state this plugin/integration is only viable if the JAMES community - works to resolve the issues noted in JAMES-840, 841, 842 - continues to maintain the maven build

Currently there is minimal integration between geronimo and JAMES. One really obvious integration point would be to use geroniimo supplied datasources. However glancing at the code there appears to be a certain amount of fishing for configuration rather than dependency injection. I'm wondering whether there is any interest in moving to JPA based database access, and whether this would be significantly harder than just changing the datasource source. Obviously this would imply moving JAMES to java 5.

Another issue I came across is use of com.sun mail classes (I started by trying to use the geronimo mail provider before I understood why the stage repo wasn't working for me). Is this intentional? Are you interested in also supporting the geronimo mail implementation?

Finally I came across some comments that DNS is needed (as you can probably tell I know almost nothing about mail). I wondered if any thought had been given to using apacheds in-vm for this.