users@glassfish.java.net

Re: GlassFish/OpenESB - problem starting sun-smtp-binding [SOLVED]

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Jun 2008 14:37:35 PDT

Hi Jonas,

You can find further information and a "fixed" jar file for download here:

https://open-jbi-components.dev.java.net/issues/show_bug.cgi?id=548

If you want to create one yourself, in short here's what I did:

1. Download missing library from http://www.slf4j.org/ (e.g. slf4j-api.jar)
2. unpack exsisting jar (e.g. "jar xvf smtpbc.jar")
3. Add the new jar in the lib folder
4. modify the jbi.xml file, adding a <path-element> pointing at the new library (e.g. <path-element>lib/slf4j-api-1.5.0.jar</path-element> )
5. create a new jar with the modifications (e.g. "jar cvfm smtpbc2.jar META-INF/MANIFEST.MF META-INF/* lib/*"). This will retain the manifest file as there are some bits in there that probably should be kept...
6. Deploy the new jar

Hope this helps!

Bjorn
[Message sent by forum member 'babram' (babram)]

http://forums.java.net/jive/thread.jspa?messageID=280077