Serge,

Thanks a lot for this information - you hit on my big stumbling block - I'd assumed 
that the "dist" task was for creating distributions for upload, not for creating the 
'runtime'.

Entering "ant dist" worked faultlessly but for the "chmod" command on "run.sh" in 
"build.xml" which, for some reason, doesn't appear to be setting the permissions.  
That said, I'm using the latest CVS of ant and not the one supplied in the James 
distribution.

Having built find and manually chmoded run.sh I launched James and it invited me to 
"fill templates with values or overwrite default" and then press ENTER.  I felt this 
was perhaps a little confusing as I then had to locate the configuration file from a 
separate terminal window, edit it and save and then press enter in the original 
launching window.  The message on screen didn't indicate that you had to do that, so 
you could be left wondering whether the program was running slowly or whether there 
was something else you had to do.  How about changing the message to something like:

Templates installed in ../conf/
        Before continuing with Apache-James you must enter at least one DNS number into
        the configuration file "JAMES.conf.xml".  There is documentation in the file to
        show you where to enter the information.  Once you have made the necessary 
changes
        press ENTER at this prompt to complete the launch.

I then ran into a problem with conflicting use of ports 110 and 25, so in the meantime 
I change the configuration file to use different ports, whilst I work out what's 
already grabbed them!

Final point so-far is that I telnetted into port 4555 and that worked fine, but I 
wonder whether it would be helpful to have the system automatically throw you off with 
a helpful message if you try to log in without a password assigned (as is the default 
configuration).  Perhaps a message like:

        No remote user password has been assigned in the JAMES configuration file.
        You will be disconnected automatically.

Hopefully I'll have a chance later on today to actually try and use the system!

Best regards,

Stuart.

P.S.  Is there anyway to setup James so that it can receive mail by regularly 
connecting
        to and downloading mail from another POP3 server?  This would be particularly
        useful for organisations wanting to use James for LANs with only dial-up 
Internet
        access.


On Monday, October 16, 2000, at 03:43 PM, Serge Knystautas wrote:

> Stuart, 
>  
> When you compile from CVS, you should run the "ant dist" task.  This creates 
> a dist directory and puts everything you need to run the system over there. 
> The run.sh you should call is in /dist/bin.  The /res directory is just a 
> miscellaneous directory from where ant can take files and put them in the 
> correct place. 
>  
> You don't need to put all your jars in the classpath in run.sh as the Avalon 
> loader will automatically add all the files in the lib directory (again, 
> we're talking the dist).  You should probably add jndi.jar, ldap.jar, and 
> providerutil.jar (if you're actually doing the LDAP) to the lib directory 
> (if you put it in the CVS lib directory and then run "ant dist", it will 
> copy these to the /dist/lib directory.) 
>  
> Hope this helps.  All this should probably go into a help file.  I'm taking 
> notes. :) 
>  
> Serge Knystautas 
> Loki Technologies 
>  

-------------------------------------------------------------------------
Stuart Roebuck, BSc, MBA        Tel.: 0131 228 4853 / Fax.: 0870 054 8322
Managing Director                       Alpha Numeric Pager: 07654 588898
ADOLOS                                             http://www.adolos.com/

------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to