Month: February 2014

How to customize the Server Busy error in Siebel

Server busy error in Siebel – “Server you are trying to access is either busy or experiencing difficulties.

Customize Server Busy Error in Siebel Open UI

Almost everyone has experienced this server busy error in Siebel HI or Open UI client.

There could be many reasons behind this error message. We will discuss few of such reasons below in brief.

But,

Question is – can we customize this server busy error in Siebel?

Can we display our own custom message instead of our of box message?

Can we display message like ‘Siebel application will be down for 20 minutes. Please retry to open application after 10:30 AM?’

One of our clients also asked us to customize this message when ever application is down.

Sounds interesting?

Well…

In this article we will discuss – how can we customize server busy error in Siebel?

Better to ask, can we do it at all?

If yes, how to do so?

But,

Before that, let us tell you few common reasons behind this error message.

  1. Check Siebel Web Server is running properly or not
  2. Verify server services like Seibel server, gateway are up and running
  3. Check database connectivity – You can use any database client like PLSQL developer / Toad to verify connectivity
  4. There may be issue with data source name or DSN
  5. Replace current repository file with last known working repository file. You may face this server busy error in Siebel if srf file is corrupted.
  6. Replace current siebns.dat file with last known working siebns.dat file

There could be many other reasons behind this error message.

If you can’t find any particular reason, check log files – application server log, SWSE log, SSO agent log.

This is all about when Siebel behaves differently. But what if we want Siebel to behave differently?

What we want to mean here,

Suppose you are doing repository migration or working on upgrade and want to display an user friendly message to all users instead of vanilla message.

For example – ‘We are working on Siebel server. Please try to login after 10:00 AM.’

Does Siebel support this kind of customization?

As per Oracle Support Web, there is no out of box option to customize this message. But Oracle has taken this as change request (CR no: 12-WOBRIV, Doc ID 488861.1) .

So, in future, you may see out of box option to customize server busy error in Siebel HI or Open UI.

Well,

Does that mean we can not do anything right now?

Wait…

We have workaround. 🙂

Steps to configure server busy error in Siebel:

Step 1: Build HTML page with custom message

You know, how to build HTML page with custom message, right?

Don’t worry if you don’t know HTML. You will get enough materials on the internet to learn it.

HTML is easy but very efficient web programming language.

To learn HTML, we would suggest you to refer W3schools.

Now,

You build the custom webpage with custom message, test it and copy it under <Siebel_root>/SWEApp/PUBLIC/ <lang>.

Remember,

You must save the custom webpage with .html extension.

Step 2. Update Default.htm page

Make no mistake:

Before updating Default.htm page, you must keep a copy of vanilla Default.htm. This will help you to revert your changes easily once your work is completed.

Also as per Siebel best practices, it is always advisable to make a copy of out of box object before doing any kind of changes.

To locate the file, navigate to <Siebel_root>/SWEApp/PUBLIC/<lang>.

Now open the file in notepad and replace the string <body onLoad=”GotoUrl(‘start.swe?SWECmd=Start’)”> with <body onLoad=”GotoUrl(‘custom.html’)”>

custom.html‘ is the custom file with custom message.

Step 3. Refresh browser and verify changes

That’s enough!!

Now refresh browser (not mandatory but better to do) and launch the Siebel application.

You should see your custom.html page instead of vanilla web page.

If you still see vanilla web page, go to security section of your browser and mark the option “Empty Temporary Internet Files Folder when browser is closed” – True.

Note: This security option is for Internet Explorer browser. If you use any other browser, you will find similar kind of option.

Now close the webpage and reopen the application.

But,

There is a drawback of this kind of customization.

Once your activities are completed, you have to revert all changes. That means, either replace the string “<body onLoad=”GotoUrl(‘custom.html’)”>” with “<body onLoad=”GotoUrl(‘start.swe?SWECmd=Start’)”>” or use original Default.htm file .

Otherwise you will see your custom webpage every time.

Oh Wait!

Here is the good news.

If you are working on Open UI application, you can capture any webpage response. Also based on webpage response, you can do client side web page redirection to custom web page from your application.

To know more about webpage redirect, read this.

Best part of this kind of configuration is that you do not need to change Default.htm every time. Do it once and update custom message as per requirement.

But remember, we have never tried this solution.

Please let us know if you are trying this solution.

Don’t forget to leave your feedback in the comment section!

Keep in touch, follow TechOneStop on Facebook / Twitter / LinkedIn / Google+.

<< Change icons on screen tabs in Siebel              Highlight required fields in Siebel Open UI >>

SBL-EDC-00190: Error occurred in creating the draft document

Error Message: Error occurred in creating the draft document.(SBL-EDC-00190)
Error Description: This error may occur when you are trying to generate documents in Siebel using ‘Auto Document’ button
Reason: The reason behind this error is that Siebel is not able to locate the file in file system to generate the document.

Solution: Perform below steps to fix this issue
1) Copy the template name that is throwing error
2) Go to  Administration-Document > Proposal templates and query for the template with category

3) If the template does not exist, create a new template with proper template file else upload the file once again for the column ‘Template File Name’.

For more updates, follow ‘TechOneStop‘ on Facebook/Twitter/LinkedIn or Join our website as Follower.
<< Error: SBL-EDC-00196 / SBL-DAT-00472                                                                                     Error: SBL-EAI-08032 >>

SBL-EDC-00196 / SBL-DAT-00472: Error occurred in generating the document structure

Error Message: 
         Error occurred in generating the document structure.(SBL-EDC-00196)
         Generic SSA NOTOK error message.(SBL-DAT-00472)
Error description: You face this issue when generating documents in Siebel using ‘Auto Document’ and ‘Generate Draft’ buttons.
Reason: The reason behind this error is that you don’t have any template, set as default of that category. For example, when you generate document from ‘Agreement’ using ‘Auto Document’ button, then there should be one default template in Admin-Document>Proposal template with category ‘Agreement’. If you do it from ‘Quote’, then category will be ‘Quote’.



Solution: Perform below steps to fix this issue
1) Decide the template which one you want to set as default template of that category
2) Goto Admin-Document > Proposal templates and query for the template with category
3) Check the ‘Default’ is true for the template


Now when you try to generate document, default template will come up first.
For more updates, follow ‘TechOneStop‘ on Facebook/Twitter/LinkedIn.
<< Error: SBL-EAI-04262                                                                                                                 Error: SBL-EDC-00190 >>

SBL-EAI-04262: Error writing XML to file

Error Description: Error writing XML to file ‘\TESTLogResponse.xml’ (SBL-EAI-04262)
Reason: This error comes up when \TESTLOG folder is not accessible from Siebel, either the folder is not added as parameter value for  ‘EAI File Transport Folder List’ or it is not shared properly.
Solution: Perform below steps to fix this issue

1) Go to Admin-Server configuration > Components and query for the parameter ‘EAI File Transport Folder List’, add the folder path under the column ‘Value on Restart’ (For expmple: \TESTLog) and restart the component.
2) Check the folder is shard or not, if not, then share the folder so that Siebel can access it


<< Error: SBL-EAI-50228                                                                                    Error: SBL-EDC-00196 / SBL-DAT-00472 >>

SBL-EAI-50228: File could not be created as the directory specified for the file creation is not valid

Error Message:
File could not be created as the directory specified for the file creation is not valid (SBL-EAI-50228)

Error Description: 
There are several reasons behind this Siebel Open UI error. Few common scenarios where you may face this error message:
    – When Siebel workflow is trying to create or access file outside Siebel file system
    – When EIM / Batch Jobs is trying to update or access files
    – When you try to download or save file from Siebel tools (for example ‘Generate WSDL’ button that generates WSDL file from Siebel tools)

Reason: 

In Siebel Open UI, Oracle has set restriction on downloading files from Siebel application. Now we can not download file on any folder as per our choice. Siebel can access only those folders if their folder paths are set as parameter value of ‘EAI File Transport Folder List’. To check the parameter value, go to Admin-Server configuration > Components and query for the parameter ‘EAI File Transport Folder List’.
Solution: 
Perform below steps to fix this issue
1) Find out the folder location which one is referred by workflow or Job (For example: D:Log of the system ‘TESTENV’)
2) Locate the folder and share it with everyone or specific ids
3) Go to Administration-Server configuration > Components, query for the parameter ‘EAI File Transport Folder List’ and add the folder path under the column ‘Value on Restart’ (For example: \TESTENVLog).
You can add more than one folder location using ‘;’ between two.
4) Restart the component and check new value is displayed under ‘Value’ column or not

Now you try to access the folder path from Siebel, you should not see this message again.
If you face any challenges, please let us know. For more updates on recent activities, follow ‘TechOneStop‘ on Facebook/Twitter/LinkedIn or Join our website as Follower.
                                                                                                                                                    Error: SBL-EAI-04262 >>

USB drive works but does not show in “Safely Remove Hardware”

Symptoms : USB drive works but does not appear in ‘Safely Remove hardware’ in Windows vista/Windows 7

  • USB drive works fine and we can see the device in ‘My Computer’
  • USB drive is displayed in ‘Disk drives’ under device manager
  • But either ‘Safely Remove Hardware’ icon is missing from task bar or right click on the ‘Safely Remove Hardware’ icon does not show any option to remove USB device safely or ‘Safely Remove Hardware’ is not working fine

Solution: Windows Vista/7 does not need clicking on the ‘Safely Remove hardware’ anymore, every time you unplug the device unless OS default setting is changed. In Vista or windows 7, USB drives use ‘Quick removal’ option where internal hardware uses ‘Better performance’ and enables write caching in Windows. To check which option is enabled for your USB drive, perform below steps: 

  • With USB drive plugged in, right click on ‘My computer’ icon and click on Properties
  • On the Properties tab, select ‘Device Manager’ on the left hand sidebar
  • Locate ‘Disk drives’ and expand it on the ‘Device Manager’ popup
  • Right click on the USB drive and select Properties
  • Under ‘Policies’ tab, there will be two option with ‘Quick Removal’ option selected
    Safely Remove Hardware is not working - techonestop.com
If you want ‘Safely Remove Hardware and Eject Media’ icon with safely eject option, select the option ‘Better performance’ and restart the system. But Windows vista/7 does not need safely remove option for USB drives anymore, make sure you have closed all open windows pointing to your USB drive before removing it. To remove the USB, first close all windows pointing to it and wait few seconds for the device to finish writing data. Also try to use same port every time you plug in USB and don’t be hasty to unplug the device. It may cause hardware issue.
If you have any issue related to USB drive/hardware, please let us know. We will try to provide you the best solution.
To get more updates on recent activities, follow ‘TechOneStop’ on Facebook/Twitter/LinkedIn or join our website as followers.