I am currently running the Lastest JAMES distribution that was compiled from
the cvs source using ant.

We've created a pair of custom mailets and added them on the james.conf.xml
file where the pipeline is outlined.

I've added our custom jar into the run.sh classpath variable and upon
running the script I get this error message.

++++++ERROR++++

Scanning jars for new Blocks...
Reading configuration
Avalon 2.2-dev


2000.07.06 03:15:08 125 Channel default opened
Main: org/apache/james/transport/AbstractMailet
java.lang.NoClassDefFoundError: org/apache/james/transport/AbstractMailet
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:97
)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:244)
        at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:279)
        at
org.apache.avalon.loader.AvalonClassLoader.loadClass(AvalonClassLoade
r.java:57)
        at
org.apache.avalon.loader.AvalonClassLoader.loadClass(AvalonClassLoade
r.java:45)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at
org.apache.james.transport.MailetLoader.getMailet(MailetLoader.java:3
7)
        at
org.apache.james.transport.LinearProcessor.init(LinearProcessor.java:
66)
        at
org.apache.james.transport.JamesSpoolManager.init(JamesSpoolManager.j
ava:80)
        at org.apache.james.James.init(James.java:165)
        at org.apache.avalon.engine.Avalon.initBlock(Avalon.java:151)
        at org.apache.avalon.engine.Avalon.init(Avalon.java:120)
        at org.apache.avalon.loader.Main.main(Main.java:88)

++++ERROR++++

Then i took out the class path variable for the new jar and instead placed
the jar into the blocks folder where the loader will pick a new jar  and got
this error message

+++++ERROR++++
Avalon runner

parser            : org.apache.xerces.parsers.SAXParser
configurationPath : ../conf/
logFile           : ../logs/avalon.log
libPath           : ../lib/
blockPath         : ./blocks/

Scanning jars for new Blocks...
  Found new jar: SDMailets.jar
  Installing SDMailets configuration file into ../conf/ from template

Unknown Exception
java.lang.NullPointerException:
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:117)
        at java.util.jar.JarFile.getInputStream(JarFile.java:266)
        at
org.apache.avalon.loader.AvalonConfiguration.getAvalonConfiguration(A
valonConfiguration.java:72)
        at org.apache.avalon.loader.Main.main(Main.java:80)
+++++ERROR++++

What is the process if you are using customized mailets?
We want to make sure the files work ok before updating CVS.

Thank you
Alberto Ochoa




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

Reply via email to