Siebel: Increase-Decrease log level script
Here is an example of how to automatically increase the log level of a Siebel Component (in this example where SRBroker is used, restart of the component is needed).Create the…
Here is an example of how to automatically increase the log level of a Siebel Component (in this example where SRBroker is used, restart of the component is needed).Create the…
Here is the code: import java.io.*; import com.siebel.data.*; import com.siebel.data.SiebelException; import com.siebel.data.SiebelPropertySet; import com.siebel.data.SiebelService; public class BasicDataBeanTest { public static void contacts_add() { SiebelDataBean m_dataBean = new SiebelDataBean(); //Create Siebel…
Some useful commands for srvrmgr:
C:\sba80\siebsrvr\BIN>
srvrmgr /g <siebel_gateway_host_address> /e <siebel_enterprise_name> /s <siebel_server_name>
/u SADMIN /p SADMIN
list servers
set server SBLAPP1
unset server SBLAPP1
unset server
list component groups
disable component group Workflow
assign component group Remote to server <siebel_server_name>
enable component group Remote for server <siebel_server_name>
shutdown appserver <siebel_server_name>
startup appserver <siebel_server_name>
[stop and restart system service...]
list evtloglvl for component eCommunicationsObjMgr_enu
change evtloglvl Error=5 for component eCommunicationsObjMgr_enu
change evtloglvl GenericLog=1, Performance=1, Trace=0, TaskConfig=0, SrmRouting=0, SQLParseAndExecute=1,
SQLSlowQuery=4, Perf=1, ProcReq=1 for comp WorkMon
activate component definition GenNewDb for server <siebel_server_name>
spool c:\spool.txt
spool off (more…)