logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blok, Eelke" <eelke.b...@numico.com>
Subject RE: building a jar with SMTP appender in it?
Date Wed, 06 Dec 2006 07:34:15 GMT
Hi Jeff,

I'd suggest this is not a log4j-specific problem, but has more to do
with creating custom jar files. I.e., there might be better places to
search for a solution to this one.

Good luck,

-----Original Message-----
From: Jeff Drew [mailto:jeffrdrew@gmail.com] 
Sent: dinsdag 5 december 2006 18:09
To: Log4J Users List
Subject: building a jar with SMTP appender in it?

When I build an application .jar, I include the log4j classes I need.
This works fine. However, I'm now using SMTP appender and get an error.
I have the activation.jar in my .jar in the same path as the jaf1-1
framework does.  Here is the exception.

Any suggestions would be appreciated.



Exception in thread "main" java.lang.SecurityException: no manifiest
section for  signature file entry
        at sun.security.util.SignatureFileVerifier.verifySection
        at sun.security.util.SignatureFileVerifier.process0
        at sun.security.util.SignatureFileVerifier.process
        at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
        at java.util.jar.JarVerifier.update(JarVerifier.java:194)
        at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
        at java.util.jar.JarFile.getInputStream(JarFile.java:362)
        at sun.misc.URLClassPath$5.getInputStream(URLClassPath.java:619)
        at sun.misc.Resource.getBytes(Resource.java:57)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message