<?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 Newbie NoClassDefFoundError com/siebel/data/SiebelException tJavaRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237148#M25669</link>
    <description>I try to expand a tJavaRow Component 
&lt;BR /&gt;I copy the siebel.jar into \lib\java Folder 
&lt;BR /&gt;I added this Code (Advanced Settings) 
&lt;BR /&gt;------------------------------------------------------------------ 
&lt;BR /&gt;import com.siebel.data.SiebelBusComp; 
&lt;BR /&gt;import com.siebel.data.SiebelBusObject; 
&lt;BR /&gt;import com.siebel.data.SiebelDataBean; 
&lt;BR /&gt;import com.siebel.data.SiebelException; 
&lt;BR /&gt;------------------------------------------------------------- 
&lt;BR /&gt;I added this Code (Basic Settings) 
&lt;BR /&gt;------------------------------------ 
&lt;BR /&gt;String connStr = "siebel.tcpip.none.none://xx.xx.xx.xx:2321/siebeagm01/CustomAppObjMgr_deu"; 
&lt;BR /&gt; String loginId = "sadmin"; 
&lt;BR /&gt; String loginPwd = "xxxxxx"; 
&lt;BR /&gt; String langId = "deu"; 
&lt;BR /&gt; SiebelDataBean sdb = new SiebelDataBean(); 
&lt;BR /&gt; SiebelBusObject bo; 
&lt;BR /&gt; SiebelBusComp bcOrder; 
&lt;BR /&gt; SiebelBusComp bcOrdBu; 
&lt;BR /&gt; 
&lt;BR /&gt; try { 
&lt;BR /&gt; sdb.login(connStr, loginId, loginPwd, langId); 
&lt;BR /&gt; System.out.println("successfull connection."); 
&lt;BR /&gt; 
&lt;BR /&gt; bo = sdb.getBusObject("CRMT DC Order"); 
&lt;BR /&gt; bcOrder = bo.getBusComp("CRMT DC Order Entry ? Orders DC521"); 
&lt;BR /&gt; bcOrder.activateField("Primary Organization Id"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu = bo.getBusComp("CRMT DC Order Business Unit"); 
&lt;BR /&gt; bcOrder.activateField("Organization Id"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.clearToQuery(); 
&lt;BR /&gt; bcOrder.setSearchSpec("Id", "1-23DR-1850"); 
&lt;BR /&gt; bcOrder.executeQuery(false); 
&lt;BR /&gt; 
&lt;BR /&gt; if (bcOrder.firstRecord()) { 
&lt;BR /&gt; System.out.println("Found record."); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.newRecord(false); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.setFieldValue("Organization Id", "0-R9NH"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.writeRecord(); 
&lt;BR /&gt; 
&lt;BR /&gt; System.out.println("S_ORDER_BU record created."); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.setFieldValue("Primary Organization Id", "0-R9NH"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.writeRecord(); 
&lt;BR /&gt; 
&lt;BR /&gt; System.out.println("S_ORDER update successfull."); 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt; } catch (SiebelException e) { 
&lt;BR /&gt; System.out.println("Connection not successfull."); 
&lt;BR /&gt; // TODO Auto-generated catch block 
&lt;BR /&gt; e.printStackTrace(); 
&lt;BR /&gt; } finally { 
&lt;BR /&gt; bcOrdBu = null; 
&lt;BR /&gt; bcOrder = null; 
&lt;BR /&gt; bo = null; 
&lt;BR /&gt; 
&lt;BR /&gt; try { 
&lt;BR /&gt; sdb.logoff(); 
&lt;BR /&gt; } catch (SiebelException e) { 
&lt;BR /&gt; System.out.println("Logoff not successfull."); 
&lt;BR /&gt; // TODO Auto-generated catch block 
&lt;BR /&gt; e.printStackTrace(); 
&lt;BR /&gt; } 
&lt;BR /&gt; } 
&lt;BR /&gt; sdb = null; 
&lt;BR /&gt;------------------------------------------------------------------------------------------- 
&lt;BR /&gt; 
&lt;BR /&gt;I got this error Message: 
&lt;BR /&gt;----------------------------------------------------------------------------------- 
&lt;BR /&gt;Starte Job customer_upload_0_2 am 16:57 22/06/2010. 
&lt;BR /&gt;java.lang.NoClassDefFoundError: com/siebel/data/SiebelException 
&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.siebel.data.SiebelException 
&lt;BR /&gt; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt; at java.security.AccessController.doPrivileged(Native Method) 
&lt;BR /&gt; at java.net.URLClassLoader.findClass(Unknown Source) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;Could not find the main class: richard.customer_upload_0_2_0_1.customer_upload_0_2. Program will exit. 
&lt;BR /&gt;Exception in thread "main" 
&lt;BR /&gt;Job customer_upload_0_2 endet am 16:57 22/06/2010. 
&lt;BR /&gt;------------------------------------------------------------------------------------------------ 
&lt;BR /&gt;any suggestions ? 
&lt;BR /&gt;Richard</description>
    <pubDate>Sat, 16 Nov 2024 13:22:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:22:53Z</dc:date>
    <item>
      <title>Newbie NoClassDefFoundError com/siebel/data/SiebelException tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237148#M25669</link>
      <description>I try to expand a tJavaRow Component 
&lt;BR /&gt;I copy the siebel.jar into \lib\java Folder 
&lt;BR /&gt;I added this Code (Advanced Settings) 
&lt;BR /&gt;------------------------------------------------------------------ 
&lt;BR /&gt;import com.siebel.data.SiebelBusComp; 
&lt;BR /&gt;import com.siebel.data.SiebelBusObject; 
&lt;BR /&gt;import com.siebel.data.SiebelDataBean; 
&lt;BR /&gt;import com.siebel.data.SiebelException; 
&lt;BR /&gt;------------------------------------------------------------- 
&lt;BR /&gt;I added this Code (Basic Settings) 
&lt;BR /&gt;------------------------------------ 
&lt;BR /&gt;String connStr = "siebel.tcpip.none.none://xx.xx.xx.xx:2321/siebeagm01/CustomAppObjMgr_deu"; 
&lt;BR /&gt; String loginId = "sadmin"; 
&lt;BR /&gt; String loginPwd = "xxxxxx"; 
&lt;BR /&gt; String langId = "deu"; 
&lt;BR /&gt; SiebelDataBean sdb = new SiebelDataBean(); 
&lt;BR /&gt; SiebelBusObject bo; 
&lt;BR /&gt; SiebelBusComp bcOrder; 
&lt;BR /&gt; SiebelBusComp bcOrdBu; 
&lt;BR /&gt; 
&lt;BR /&gt; try { 
&lt;BR /&gt; sdb.login(connStr, loginId, loginPwd, langId); 
&lt;BR /&gt; System.out.println("successfull connection."); 
&lt;BR /&gt; 
&lt;BR /&gt; bo = sdb.getBusObject("CRMT DC Order"); 
&lt;BR /&gt; bcOrder = bo.getBusComp("CRMT DC Order Entry ? Orders DC521"); 
&lt;BR /&gt; bcOrder.activateField("Primary Organization Id"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu = bo.getBusComp("CRMT DC Order Business Unit"); 
&lt;BR /&gt; bcOrder.activateField("Organization Id"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.clearToQuery(); 
&lt;BR /&gt; bcOrder.setSearchSpec("Id", "1-23DR-1850"); 
&lt;BR /&gt; bcOrder.executeQuery(false); 
&lt;BR /&gt; 
&lt;BR /&gt; if (bcOrder.firstRecord()) { 
&lt;BR /&gt; System.out.println("Found record."); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.newRecord(false); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.setFieldValue("Organization Id", "0-R9NH"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrdBu.writeRecord(); 
&lt;BR /&gt; 
&lt;BR /&gt; System.out.println("S_ORDER_BU record created."); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.setFieldValue("Primary Organization Id", "0-R9NH"); 
&lt;BR /&gt; 
&lt;BR /&gt; bcOrder.writeRecord(); 
&lt;BR /&gt; 
&lt;BR /&gt; System.out.println("S_ORDER update successfull."); 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt; } catch (SiebelException e) { 
&lt;BR /&gt; System.out.println("Connection not successfull."); 
&lt;BR /&gt; // TODO Auto-generated catch block 
&lt;BR /&gt; e.printStackTrace(); 
&lt;BR /&gt; } finally { 
&lt;BR /&gt; bcOrdBu = null; 
&lt;BR /&gt; bcOrder = null; 
&lt;BR /&gt; bo = null; 
&lt;BR /&gt; 
&lt;BR /&gt; try { 
&lt;BR /&gt; sdb.logoff(); 
&lt;BR /&gt; } catch (SiebelException e) { 
&lt;BR /&gt; System.out.println("Logoff not successfull."); 
&lt;BR /&gt; // TODO Auto-generated catch block 
&lt;BR /&gt; e.printStackTrace(); 
&lt;BR /&gt; } 
&lt;BR /&gt; } 
&lt;BR /&gt; sdb = null; 
&lt;BR /&gt;------------------------------------------------------------------------------------------- 
&lt;BR /&gt; 
&lt;BR /&gt;I got this error Message: 
&lt;BR /&gt;----------------------------------------------------------------------------------- 
&lt;BR /&gt;Starte Job customer_upload_0_2 am 16:57 22/06/2010. 
&lt;BR /&gt;java.lang.NoClassDefFoundError: com/siebel/data/SiebelException 
&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.siebel.data.SiebelException 
&lt;BR /&gt; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt; at java.security.AccessController.doPrivileged(Native Method) 
&lt;BR /&gt; at java.net.URLClassLoader.findClass(Unknown Source) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;Could not find the main class: richard.customer_upload_0_2_0_1.customer_upload_0_2. Program will exit. 
&lt;BR /&gt;Exception in thread "main" 
&lt;BR /&gt;Job customer_upload_0_2 endet am 16:57 22/06/2010. 
&lt;BR /&gt;------------------------------------------------------------------------------------------------ 
&lt;BR /&gt;any suggestions ? 
&lt;BR /&gt;Richard</description>
      <pubDate>Sat, 16 Nov 2024 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237148#M25669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie NoClassDefFoundError com/siebel/data/SiebelException tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237149#M25670</link>
      <description>One Step further.&lt;BR /&gt;tlibraryload with siebel.jar let disappear the message,&lt;BR /&gt;&lt;BR /&gt;now i get this message&lt;BR /&gt;&lt;BR /&gt;Exception&amp;gt;&lt;BR /&gt;&amp;lt;Major No.&amp;gt;4096&amp;lt;/Major No.&amp;gt;&amp;lt;Minor No.&amp;gt;-1&amp;lt;/Minor No.&amp;gt;&amp;lt;Message&amp;gt;Error loading translatable messages: &lt;BR /&gt;com.siebel.locale.enu.messages.JCAMessages_enu&amp;lt;/Message&amp;gt;&amp;lt;DetailedMessage&amp;gt;Unknown&amp;lt;DetailedMessage&amp;gt;&lt;BR /&gt;&amp;lt;/Exception&amp;gt;&lt;BR /&gt;	at com.siebel.data.SiebelDataBean.login(SiebelDataBean.java:224)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.tMysqlInput_1Process(customer_upload_0_2.java:1434)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.runJobInTOS(customer_upload_0_2.java:1722)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.main(customer_upload_0_2.java:1585)&lt;BR /&gt;&amp;lt;Exception&amp;gt;&lt;BR /&gt;&amp;lt;Major No.&amp;gt;4096&amp;lt;/Major No.&amp;gt;&amp;lt;Minor No.&amp;gt;-1&amp;lt;/Minor No.&amp;gt;&amp;lt;Message&amp;gt;Error loading translatable messages: &lt;BR /&gt;com.siebel.locale.enu.messages.JCAMessages_enu&amp;lt;/Message&amp;gt;&amp;lt;DetailedMessage&amp;gt;Unknown&amp;lt;DetailedMessage&amp;gt;&lt;BR /&gt;&amp;lt;/Exception&amp;gt;&lt;BR /&gt;Exception in component tJavaRow_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;	at com.siebel.data.SiebelDataBean.logoff(SiebelDataBean.java:259)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.tMysqlInput_1Process(customer_upload_0_2.java:1481)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.runJobInTOS(customer_upload_0_2.java:1722)&lt;BR /&gt;	at richard.customer_upload_0_2_0_1.customer_upload_0_2.main(customer_upload_0_2.java:1585)&lt;BR /&gt; disconnected&lt;BR /&gt;Job customer_upload_0_2 endet am 11:33 30/06/2010.</description>
      <pubDate>Wed, 30 Jun 2010 10:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237149#M25670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-30T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie NoClassDefFoundError com/siebel/data/SiebelException tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237150#M25671</link>
      <description>Maybe depends that is not present in the connect string the language parameter in example : 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;------------------------------------&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;String connStr = "siebel.tcpip.none.none://xx.xx.xx.xx:2321/siebeagm01/CustomAppObjMgr_deu";&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;i.e :&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;dataBean.login=("siebel://GatewayServer/EnterpriseName/AppObjMgr,SiebelServer”,strJdbLoginUser,strJdbLoginPwd, “enu”); 
&lt;BR /&gt;One doubt : with which version of Siebel you work ?&amp;nbsp;</description>
      <pubDate>Sat, 30 Jan 2016 05:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Newbie-NoClassDefFoundError-com-siebel-data-SiebelException/m-p/2237150#M25671</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-01-30T05:52:42Z</dc:date>
    </item>
  </channel>
</rss>

