<?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>topic error when running a routine via tjavaFlex compnenent in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/error-when-running-a-routine-via-tjavaFlex-compnenent/m-p/2253672#M36931</link>
    <description>hi, 
&lt;BR /&gt;once again i've got a problem .. 
&lt;BR /&gt;I've made a class to "pop" and parse mail files to extract attachment part. 
&lt;BR /&gt;I know that a tPop + tFileinputMail can do the job , but i have some "extra condition" to add 
&lt;BR /&gt;I've put the class in a routine following the exemple done by 
&lt;A href="http://blog.ece.fr/olivier_de_rochebouet/2008/02/26/surveiller-son-serveur-avec-talend-par-reception-d%E2%80%99un-sms/" target="_blank" rel="nofollow noopener noreferrer"&gt;lolive&amp;amp;co&lt;/A&gt; ...and call a method to run it . 
&lt;BR /&gt;but i have the well known error : 
&lt;BR /&gt; 
&lt;PRE&gt;Starting job tryParseRoutine at 13:31 25/09/2008.&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Part&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.tJavaFlex_1Process(tryParseRoutine.java:218)&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.runJobInTOS(tryParseRoutine.java:2666)&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.main(tryParseRoutine.java:2574)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: javax.mail.Part&lt;BR /&gt;	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)&lt;BR /&gt;	at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:323)&lt;BR /&gt;	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)&lt;BR /&gt;	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)&lt;BR /&gt;	... 3 more&lt;/PRE&gt; 
&lt;BR /&gt;If i debug the code , it stop at the entry of the main method ...(aie !!) 
&lt;BR /&gt;but if i just go a step over , the code "restart" and do what 's expected ! 
&lt;BR /&gt;Thanks for your help, 
&lt;BR /&gt;tell me if you need more information ...</description>
    <pubDate>Sat, 16 Nov 2024 14:13:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:13:03Z</dc:date>
    <item>
      <title>error when running a routine via tjavaFlex compnenent</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-when-running-a-routine-via-tjavaFlex-compnenent/m-p/2253672#M36931</link>
      <description>hi, 
&lt;BR /&gt;once again i've got a problem .. 
&lt;BR /&gt;I've made a class to "pop" and parse mail files to extract attachment part. 
&lt;BR /&gt;I know that a tPop + tFileinputMail can do the job , but i have some "extra condition" to add 
&lt;BR /&gt;I've put the class in a routine following the exemple done by 
&lt;A href="http://blog.ece.fr/olivier_de_rochebouet/2008/02/26/surveiller-son-serveur-avec-talend-par-reception-d%E2%80%99un-sms/" target="_blank" rel="nofollow noopener noreferrer"&gt;lolive&amp;amp;co&lt;/A&gt; ...and call a method to run it . 
&lt;BR /&gt;but i have the well known error : 
&lt;BR /&gt; 
&lt;PRE&gt;Starting job tryParseRoutine at 13:31 25/09/2008.&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Part&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.tJavaFlex_1Process(tryParseRoutine.java:218)&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.runJobInTOS(tryParseRoutine.java:2666)&lt;BR /&gt;	at test.tryparseroutine_0_1.tryParseRoutine.main(tryParseRoutine.java:2574)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: javax.mail.Part&lt;BR /&gt;	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)&lt;BR /&gt;	at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:323)&lt;BR /&gt;	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)&lt;BR /&gt;	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)&lt;BR /&gt;	... 3 more&lt;/PRE&gt; 
&lt;BR /&gt;If i debug the code , it stop at the entry of the main method ...(aie !!) 
&lt;BR /&gt;but if i just go a step over , the code "restart" and do what 's expected ! 
&lt;BR /&gt;Thanks for your help, 
&lt;BR /&gt;tell me if you need more information ...</description>
      <pubDate>Sat, 16 Nov 2024 14:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-when-running-a-routine-via-tjavaFlex-compnenent/m-p/2253672#M36931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a routine via tjavaFlex compnenent</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-when-running-a-routine-via-tjavaFlex-compnenent/m-p/2253673#M36932</link>
      <description>it seems that the tRunJob didn't find the libraries for the routine &lt;BR /&gt;Even if i had put the libraries in the Talend's lib and import the right class in the routine , it didn't work !&lt;BR /&gt;It's work by adding libraries with the right clic menu -&amp;gt; edit routine libraries -&amp;gt; and add jar from  the javamail 1.4 lib &lt;BR /&gt;and it work fine and easy now to configure for any mailer .&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 25 Sep 2008 16:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-when-running-a-routine-via-tjavaFlex-compnenent/m-p/2253673#M36932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-25T16:25:37Z</dc:date>
    </item>
  </channel>
</rss>

