<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: java.lang.NoClassDefFoundError: javax.activation.DataSource in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646924#M2418271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Romano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem was resolved Thanks for your help !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below solution Worked - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) set ume.logoff.url value to &amp;lt;url to be redirceted to&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) create html file in KM to execute script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPCM.getSAPTop().document.forms\"logoffForm\".submit(); &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;(something like: EPCM.getSAPTop().document.location.href=&amp;lt;new url&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) create KM Navigation iview using above html file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) use WdPortal Navigation inside web dynpro code to navigate to the KM&lt;/P&gt;&lt;P&gt;iview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 17:02:36 GMT</pubDate>
    <dc:creator>asif_hirani</dc:creator>
    <dc:date>2010-02-26T17:02:36Z</dc:date>
    <item>
      <title>java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaq-p/6646906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to send email through my JSP Dynpage Component on Button Click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use below code to send the email : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; STEP 1:  Properties props = System.getProperties();&lt;/P&gt;&lt;P&gt; STEP 2:  props.put("mail.smtp.host", "mailout.company.name"); &lt;/P&gt;&lt;P&gt; STEP 3:  Session session = Session.getDefaultInstance(props, null); &lt;/P&gt;&lt;P&gt; STEP 4:  MimeMessage message = new MimeMessage(session);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at STEP 4: I get &lt;STRONG&gt;Java.lang.NoClassDefFoundError: javax.activation.DataSource&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please help me to get around this error I added activation.Jar in my project through &lt;/P&gt;&lt;P&gt;Project&lt;DEL&gt;&amp;gt;Properties&lt;/DEL&gt;&amp;gt;BuildPath but still keep getting the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 22:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaq-p/6646906</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-01-28T22:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646907#M2418254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only issue that i can see then is whether you havent set CLASSPATH correctly to find activation.jar file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHk on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Shailesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 06:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646907#M2418254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646908#M2418255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shailesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to put activation jar file in jre lib folder just in case &amp;amp; set my classpath ( control panel --&amp;gt; system &lt;DEL&gt;&amp;gt; advanced&lt;/DEL&gt;&amp;gt; environment variable class path to  .;C:\Program Files\Java\jre1.5.0_10\lib\ext\activation.jar still I get the same error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest any other way of resolving this issue, I tried same code in a web dynpro Java DC and it works perfectly fine there, it is only in JSP Dynpage DC i get this issue. I tried inlcuding activation dc in used DC METADATA of my portal DC still keep getting same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help / suggestion would highly be apprecaited !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 07:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646908#M2418255</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-01-29T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646909#M2418256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can whether the JavaBeans(TM) Activation Framework package to be installed as well, since the JavaMail API requires it as a mandatory feature. You can try downloading it from -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[JAF 1.0.2 released|http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/jaf.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should get that resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Shailesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 08:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646909#M2418256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T08:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646910#M2418257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed JAF and set my CLASSPATH to activation.jar in it , but still the problem did not get resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other suggestion ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's Portal DC so you think adding any sharing Refrence / Private Refrence will help here &lt;/P&gt;&lt;P&gt;I tried doing that with values SAPJ2EE::sap.com/activation,  javax.activation , activation &lt;/P&gt;&lt;P&gt;but could never get pass Portal Runtime Exceptions: Could not find portal application as they are not any portal application but simple JAR..&lt;/P&gt;&lt;P&gt;and I am not able to use them to send email... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 22:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646910#M2418257</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-01-29T22:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646911#M2418258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this also:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    Properties props = new Properties();
    props.put("mail.smtp.host", p_mailServer);
    Session mailsession = Session.getDefaultInstance(props, null);
    MimeMessage l_msg = new MimeMessage(mailsession);
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in sharingreference I have: knowledgemanagement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 08:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646911#M2418258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-01T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646912#M2418259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Romano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you exactly refer knowledgeManagement in sharing refrences in PORTALAPP.XML file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;were you able to send the emails sucessfully with that sharing refrence ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Asif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646912#M2418259</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-02-01T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646913#M2418260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it works for me - I would not send it to you ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646913#M2418260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-01T14:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646914#M2418261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you got your points ...Why would you send me now ..Thanks anyways..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding activation.jar in a library project and then adding refrence to that library project in my sharingrefrences as below&lt;/P&gt;&lt;P&gt;    &amp;lt;property name="SharingReference" value="SAPJ2EE::test.com/libs"/&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;property name="SharingAccess" value="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still the Portal DC in which I have my code to send email gives exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could not find portal application SAPJ2EE::test.com/libs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions what could be missing in the way I refrence the JAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 15:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646914#M2418261</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-02-01T15:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646915#M2418262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nono - ;o)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would not send the portalapp.xml if it wouldn't work. It has nothing with the points - now I realized, that you have a standalone CD in SDA, I have a Portal Application Module. I will try to make one and let you know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 07:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646915#M2418262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T07:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646916#M2418263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try next time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 08:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646916#M2418263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T08:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646917#M2418264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Asif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to make a standalone DC that has a AbstractPortalComponent which sends an email:&lt;/P&gt;&lt;P&gt;- created a library project, added activation.jar and mail.jar&lt;/P&gt;&lt;P&gt;- created a standalone DC deployable as SDA, put the library project as used DC for this project&lt;/P&gt;&lt;P&gt;-  the portalapp.xml is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
the edit does not allow me to put the portalapp.xml here, will be in next post...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also worked also this way:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
    &amp;lt;property name="SharingReference" value="knowledgemanagement"/&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Here I created a AbstractPortalComponent called Mailer:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
import java.util.Date;
import java.util.Properties;

import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;

import com.sapportals.portal.prt.component.AbstractPortalComponent;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.component.IPortalComponentResponse;

public class Mailer extends AbstractPortalComponent {

  private static final String MAIL_ENCODING = "windows-1250";

  public void doContent(IPortalComponentRequest request, IPortalComponentResponse response) {
    response.write("started...");
    boolean ok = sendMail("mail.test.com", "toaddress[at]test.com", "fromaddress[at]test.com", "subject...", "body message");
    response.write("ended..." + (ok ? "OK" : "ERROR"));
  }

  public static boolean sendMail(
    String p_mailServer,
    String p_mailTo,
    String p_mailFrom,
    String p_subject,
    String p_body) {
    Properties props = new Properties();
    props.put("mail.smtp.host", p_mailServer);
    Session mailsession = Session.getDefaultInstance(props, null);
    MimeMessage l_msg = new MimeMessage(mailsession);
    try {
      l_msg.setFrom(new InternetAddress(p_mailFrom));
      InternetAddress[] address = { new InternetAddress(p_mailTo)};
      l_msg.setRecipients(Message.RecipientType.TO, address);
      l_msg.setSubject(p_subject, MAIL_ENCODING);
      l_msg.setSentDate(new Date());
      l_msg.setText(p_body, MAIL_ENCODING);
      Transport.send((Message) l_msg);
    } catch (MessagingException e) {
      return false;
    }
    return true;
  }
}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deployed SDA, created an iview, started, got the email.&lt;/P&gt;&lt;P&gt;Portal version is:7.00 SP20 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more questions let me know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 08:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646917#M2418264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646918#M2418265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;application&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;application-config&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;property name="startup" value="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;property name="releasable" value="false"/&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;property name="SharingReference" value="SAPJ2EE::library:activation,SAPJ2EE::library:mail"/&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/application-config&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;components&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;component name="Mailer"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;component-config&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;property name="ClassName" value="Mailer"/&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/component-config&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;component-profile/&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/component&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/components&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;services/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/application&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646918#M2418265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646919#M2418266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Romano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking efforts in replicating the scenario...But all I needed was that one line &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;property name="SharingReference" value="knowledgemanagement"/&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;you had said that in your very first reply that you have sharing reference to &lt;STRONG&gt;knowledgemanagement&lt;/STRONG&gt; and I was not sure how to add that refrence as I saw N ways on google for adding refrences for activation jar, J2EE:sap.com/libraries . com.sap.activation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I went for creating Seprate library DC and adding activation.jar in that library and refrencing that library in my portal DC for the activation jar , but we shouldn't be doing this as J2EE server already has activation jar and we shouldn't redploy that JAR manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all we need is to refrence it...one way it worked was as you suggested &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;lt;property name="SharingReference" value="knowledgemanagement"/&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;other way which also works&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;lt;property name="SharingReference" value="com.sap.netweaver.coll.shared"/&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again .... Romano &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing just see If u can provide any help on this as well as (I will also create seprate thread for this issue). I want to redirect to external url (eg &lt;A href="http://www.google.com)" target="test_blank"&gt;http://www.google.com)&lt;/A&gt; on click of button in web dynpro application, but I am accessing the application through portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried SAP's recommended approach &lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;EXIT PLUG :&lt;/STRONG&gt; &lt;A href="http://help.sap.com/saphelp_nw70ehp1/helpdata/en/83/e7c24122e3c317e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70ehp1/helpdata/en/83/e7c24122e3c317e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it works when i test web dynpro application separately but when I run it through Portal it gave me Error: saying use portal navigation when running inside portal and do not fire exit plug to navigate to external URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) so i tried &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WDPortalNavigation&lt;/STRONG&gt;.navigateAbsolute(	"http://www.google.com", WDPortalNavigationMode.SHOW_INPLACE,(String) null,(String) null,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,(String) null);&lt;/P&gt;&lt;P&gt;this wont work as google.com web page is not part of portal content's (Role/iview)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)WDClientUser.forceLogoffClientUser("http://www.google.com");&lt;/P&gt;&lt;P&gt;again this work's when web dynpro application is tested standalone but when i run it through portal it doesn't work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you provide any help on this ? I am too short of time to make it work..I have SAP message opned for this..it may be silly thing again which i may not be knowing &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 19:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646919#M2418266</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-02-05T19:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646920#M2418267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a WD expert ;o)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 12:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646920#M2418267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-08T12:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646921#M2418268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found this - maybe will be of some help: [How to Redirect to a external URL |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7543392"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 15:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646921#M2418268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-09T15:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646922#M2418269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Romano...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but that will not solve my problem  as the given code in the thread will redirect in external window which I do not want..I want redirect to happend in same window and user should no longer be able to access Portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 21:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646922#M2418269</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-02-09T21:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646923#M2418270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[redirect logoff page of sap portal |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7739730"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 07:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646923#M2418270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T07:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646924#M2418271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Romano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem was resolved Thanks for your help !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below solution Worked - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) set ume.logoff.url value to &amp;lt;url to be redirceted to&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) create html file in KM to execute script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPCM.getSAPTop().document.forms\"logoffForm\".submit(); &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;(something like: EPCM.getSAPTop().document.location.href=&amp;lt;new url&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) create KM Navigation iview using above html file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) use WdPortal Navigation inside web dynpro code to navigate to the KM&lt;/P&gt;&lt;P&gt;iview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 17:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646924#M2418271</guid>
      <dc:creator>asif_hirani</dc:creator>
      <dc:date>2010-02-26T17:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NoClassDefFoundError: javax.activation.DataSource</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646925#M2418272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to hear about a success!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2010 08:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-noclassdeffounderror-javax-activation-datasource/qaa-p/6646925#M2418272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-28T08:28:24Z</dc:date>
    </item>
  </channel>
</rss>

