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/e /s
/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
enable component group Remote for server
shutdown appserver
startup appserver
[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
spool c:\spool.txt
spool off (moreā¦)