users@glassfish.java.net

GlassFish/OpenESB - problem starting sun-smtp-binding

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 May 2008 11:29:42 PDT

Hello,

First of all, apologies if this is not the right place but I can't add any new posts in the OpenESB forum (https://open-esb.dev.java.net/servlets/ForumMessageList?forumID=1689).

So to the problem... Installed software:

[b]GlassFish (glassfish-v2ur2)
OpenESB (v2.1.0)
Netbeans 6.1[/b]

I'm trying to add SMTP BC (https://open-esb.dev.java.net/SMTPBC.html).

When it is started the following exception occur:

[i]JBIFW1136: Binding sun-smtp-binding cannot be initialized. The LifeCycle init() method threw a java.lang.NoClassDefFoundError exception. The exception message is: org/slf4j/LoggerFactory
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory[/i]


Ok so I added the slf4j libs from http://www.slf4j.org/download.html, version 1.5.0 but am now getting the following error:

[i]JBIFW1136: Binding sun-smtp-binding cannot be initialized. The LifeCycle init() method threw a java.lang.StackOverflowError exception. The exception message is: null
java.lang.StackOverflowError
        at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:153)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:219)
        at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)[/i]

The last four lines are repeating in an endless loop, hence the overflow...

Has anyone come across this? I'll have tried with a previous version of the slf4j lib (1.4.3) to no avail.

My goal is to be able to have service capable of sending emails integrated with the bus.

Many Thanks!
/Bjorn
[Message sent by forum member 'babram' (babram)]

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