Thursday, July 30, 2015

Siebel genbscript Error: "Couldn't enumerate buscomps "

This Error "Couldn't enumerate buscomps <Initial>" might occur when you try to generate Browser Scripts using genbscript utility in Siebel.
Below is a screenshot of the same error:

The Error usually occurs when you get a fully compiled srf from one environment and try to use it in a different environment.

The error occurs due to missing [DataSources] definition for EBC's defined in the source environment.






Normally, DataSources are defined in the application cfg file in a local db while the same are defined in Administration - Server Configuration > Enterprise Profile Configuration view in the server.

To find the exact missing DataSource, we have to capture the logs for the session running the genbscript.exe

Steps to Increase Log level & find the DataSource name:

  1. Create an Environment variable on the machine where you are running the utility SIEBEL_LOG_EVENTS = 5
  2. Run the genbscript utility to get the error message.
  3. Open siebel.log in the [Siebel root]\client\log directory.
  4. Go to the line for the same error and then navigate to the steps prior to the error message.
  5. You will find the name of the missing DataSource definition.
Next, you need to create a dummy DataSource definition in the application cfg file like below:

Add under [DataSources]

TESTSOURCE = TESTSOURCE (where TESTSOURCE is the name of the missing DataSource from the log file)

Add after [ServerDataSrc]

[TESTSOURCE ]

Now, try running the genbscript utility using the same cfg file where you added the DataSource and it should run fine without any errors.

Sunday, July 26, 2015

Siebel: Troubleshoot Siebel eMail Response

Communications Inbound Receiver (CommInboundRcvr) and Communications Outbound Receiver (CommOutboundRcvr) Server components are used to process incoming emails and outgoing emails.
Below are the basic diagnostics steps performed to collect the necessary logs for further troubleshooting:






  • Increase logging for Communications Inbound Receiver (CommInboundRcvr) component:

    1. Login to the Siebel application as SADMIN.
    2. Navigate to "Administration - server configuration>Components view.
    3. Query and select "Communications Inbound Receiver" component.
    4. Increase the log level in the events tab.
    5. Bounce the Siebel server.
    6. The Communications Inbound Receiver tasks starts automatically and process incoming emails for the active Response groups.
    7. Logs are generated in SIEBEL_ROOT\siebsrvr\log directory.



  • Capture the Inbound Emails:
    1. Login to the Siebel application as SADMIN.
    2. Navigate to Communications Administration > Communications Drivers and Profiles view.
    3. Select the Internet SMTP/POP3 server communications driver.
    4. In the "Drivers parameters" applet, set the below parameter:
      • Delete Processed Messages = "FALSE"
    5. Bounce the "Communications Inbound Receiver" component.
    6. Successfully processed email messages are stored in SIEBEL_ROOT\SiebSrvr\bin\processed directory.
    7. Failed emails are stored in SIEBEL_ROOT\SiebSrvr\bin\failed directory.

  • Capture SMTP/POP3 protocol:
    1. Login to the Siebel application as SADMIN.
    2. Navigate to Communications Administration > Communications Drivers and Profiles view.
    3. Select the Internet SMTP/POP3 server communications driver.
    4. In the "Drivers parameters" applet, set the below parameter:
      • LogDebug = "TRUE"
    5. logs are generated at SIEBEL_ROOT\SiebSrvr\log directory. check for POP3SMTP*.log file or IMAPSMTP*.log.

  • Event Fields files
    • As the Siebel eMail response downloads the email messages from the monitored mailbox, the Internet SMTP/POP3 server component driver parses them and generated EventFields file for each inbound email message. They are temporarily stored in SIEBEL_ROOT\SiebSrvr\bin\queued\<eMail Response group name> directory. These are passed to the workflow process to handle the incoming message.

  • Capture the Outbound Emails:
    1. Login to the Siebel application as SADMIN.
    2. Navigate to Communications Administration > Communications Drivers and Profiles view.
    3. Select the Internet SMTP/POP3 server communications driver.
    4. In the "Drivers parameters" applet, set the below parameter:
      • Save Sent Messages = "FALSE"
    5. Failed emails are stored in SIEBEL_ROOT\SiebSrvr\bin\sent directory.




123Siebel

Search 123Siebel