Skip to Content
0
Former Member
Oct 05, 2005 at 09:16 AM

NoClassDefFoundError: javax/mail/MessagingError

32 Views

Hallo,

I have same problem as mentioned in

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=http%3A//forums.sdn.sap.com/thread.jspa%3FthreadID%3D41966

But problems remains same even if I acces mail session via:

InitialContext ctx = new InitialContext();
javax.mail.Session session = ctx.lookup("java:comp/env/mail/MailSession");

.. as Detlev Beutner suggested. Detlev (or anybody), have got an idea whats wrong?

My portalapps.xml:

<?xml version="1.0" encoding="utf-8"?>
<application>
  <application-config>
	<property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, com.sapportals.portal.javamail"/>
    <property name="PrivateSharingReference" value="SAPJ2EE::library:mail"/>
  </application-config>
<components/>
<services>
  <service name="RFServiceWrapper">
   <service-config>
    <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
    <property name="startup" value="true"/>
   </service-config>
  </service></services>
</application>

Best regards,

Josef Motl