bo = sdb.getBusObject("CRMT DC Order");
bcOrder = bo.getBusComp("CRMT DC Order Entry ? Orders DC521");
bcOrder.activateField("Primary Organization Id");
bcOrdBu = bo.getBusComp("CRMT DC Order Business Unit");
bcOrder.activateField("Organization Id");
I got this error Message:
-----------------------------------------------------------------------------------
Starte Job customer_upload_0_2 am 16:57 22/06/2010.
java.lang.NoClassDefFoundError: com/siebel/data/SiebelException
Caused by: java.lang.ClassNotFoundException: com.siebel.data.SiebelException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: richard.customer_upload_0_2_0_1.customer_upload_0_2. Program will exit.
Exception in thread "main"
Job customer_upload_0_2 endet am 16:57 22/06/2010.
------------------------------------------------------------------------------------------------
any suggestions ?
Richard
One Step further. tlibraryload with siebel.jar let disappear the message,
now i get this message
Exception> <Major No.>4096</Major No.><Minor No.>-1</Minor No.><Message>Error loading translatable messages: com.siebel.locale.enu.messages.JCAMessages_enu</Message><DetailedMessage>Unknown<DetailedMessage> </Exception> at com.siebel.data.SiebelDataBean.login(SiebelDataBean.java:224) at richard.customer_upload_0_2_0_1.customer_upload_0_2.tMysqlInput_1Process(customer_upload_0_2.java:1434) at richard.customer_upload_0_2_0_1.customer_upload_0_2.runJobInTOS(customer_upload_0_2.java:1722) at richard.customer_upload_0_2_0_1.customer_upload_0_2.main(customer_upload_0_2.java:1585) <Exception> <Major No.>4096</Major No.><Minor No.>-1</Minor No.><Message>Error loading translatable messages: com.siebel.locale.enu.messages.JCAMessages_enu</Message><DetailedMessage>Unknown<DetailedMessage> </Exception> Exception in component tJavaRow_1 java.lang.NullPointerException at com.siebel.data.SiebelDataBean.logoff(SiebelDataBean.java:259) at richard.customer_upload_0_2_0_1.customer_upload_0_2.tMysqlInput_1Process(customer_upload_0_2.java:1481) at richard.customer_upload_0_2_0_1.customer_upload_0_2.runJobInTOS(customer_upload_0_2.java:1722) at richard.customer_upload_0_2_0_1.customer_upload_0_2.main(customer_upload_0_2.java:1585) disconnected Job customer_upload_0_2 endet am 11:33 30/06/2010.
Maybe depends that is not present in the connect string the language parameter in example :
------------------------------------
String connStr = "siebel.tcpip.none.none://xx.xx.xx.xx:2321/siebeagm01/CustomAppObjMgr_deu";
i.e :
dataBean.login=("siebel://GatewayServer/EnterpriseName/AppObjMgr,SiebelServer”,strJdbLoginUser,strJdbLoginPwd, “enu”);
One doubt : with which version of Siebel you work ?