Alberto Ochoa wrote:
> 
> Once you change the avalon.conf.xml file, do you need to do anything else
> but re-running the run.sh file?
> 
> I inlcuded the forwarding servlet into the avalon.conf.xml file but james is
> not forwarding.
> 
> Do i need to do anything else?
> 

nop... just update the /conf/JAMES.conf.xml and restart Avalon. Check
mailet inatialization in /log/mailet.log. You should be able to see
something like:

2000.06.06 12:13:44 481 (INFO) from Mailets: LinearProcessor init...
2000.06.06 12:13:44 491 (INFO) from Mailets: Mailet Null instantiated
2000.06.06 12:13:44 501 (INFO) from Mailets: Matcher
RecipientIs=badboy@badhost instantiated
2000.06.06 12:13:44 511 (INFO) from Mailets: Mailet Forward instantiated
2000.06.06 12:13:44 511 (INFO) from Mailets: Matcher
RecipientIs=administrator@localhost instantiated
2000.06.06 12:13:44 541 (DEBUG) from default: PicoListserv: james sub
james-on unsub
james-off-org.apache.james.transport.LinearProcessor@e2b22
...

> When you build new servlets do you recompile your source code into a new
> JAMES.jar?

you can simply make a separate jar and place it in the classpath.
/lib/mymailet.jar for example.
We should add some 
    <mailetRepositories>
        <repository> ../var/mail/mailet </repository>
    </mailetRepositories>
    <mailetpackages>
       
<mailetpackage>org.apache.james.transport.mailets.</mailetpackage>
    </mailetpackages>
 and a costom classloader?

Federico Barbieri
<[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

  • conf.xml Alberto Ochoa
    • Federico Barbieri

Reply via email to