On 05/30/2012 12:27 PM, Ioan Eugen Stan wrote:
2012/5/30 Eric Charles<e...@apache.org>:
On 05/29/2012 03:03 PM, Ioan Eugen Stan wrote:

Hi,

I'm almost done with Debian package for James. The current set-up
installs everything in /usr/share/apache-james just like unpacking the
zip archive there.


On my Ubuntu, I have run 'mvn package -Dmake-deb' and successfully installed
apache-james_3.0-beta5-SNAPSHOT_all.deb. Well done!

Thanks,

I've found some issues already. To use mysql I have to copy the jar to
conf/lib and it's not clean. Also it seems not to load it on the
classpath, but I will double check this.


you mean not clean to have files manually copied in /usr/share/apache-james/conf/lib? What is the standard way to manage java classpath under debian?

About the mysql jdbc driver in additional jar, we talked about it on (http://markmail.org/thread/xahe3bwambjti6o4) and you opened and resolved JAMESAPP-8 for this. Does it still give issues?


(I didn't try to run it yet)


How do I configure James to store application created files (the
database and mails ) under /var instead of /usr/share/apache-james/var
? This is required to allow the package to uninstall cleanly.


There are a few place to take into consideration:

- james-database.properties : you can define an absolute path for
database.url=jdbc:derby:../var/store/derby;create=true

- mailbox-maildir.properties : you can define an absolute path for
maildir.folder=../var/store/maildir/%domain/%user

- for the amq storage, I have opened JAMES-1413. It should be more
generalized to allow configuration (as well as absolute as relative)

- the mailrepository paths must also be considered


Improvements on my list:

- make symbolic links for james service to /etc/init.d and register
james as a service
- add james-cli to path

I've commented on https://issues.apache.org/jira/browse/JAMES-1343 on
how to create&    install the package. It should work on any distro

capable of installing a *deb.

Cheers,


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org





--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to