OSB::Operational Settings in the Customization File

Hi,
In OSB, I was wondering is there any way to put in the Operational Settings (like Monitoring and Aggregation Interval) as well as SLA Alerts in the Customization File that we generate from the sbconsole.
I dont seem to be getting the values as <Monitoring> is enabled or not, in the Customization File that we create.
Hope the question is clear.
Regards

Hi,
You can use customization files to make changes to environment values as well as to change references within resources. It is not meant to change the Operational Settings or any other configuration.
Regards,
Anuj

Similar Messages

  • Account in the Customization File

    Hi,
    I'm working on a project in which we need to configure an Account when the Customization File is executed. But whenever I try to generate a Customization File , having selected the Accounts as one of the elements to be in it, it ignores them an generates a Customization File without any Account configuration. Would you know if there is an automatic way to set the configurations of an Account?
    I'm using AquaLogic Service Bus - BEA Workspace Studio.
    Thanks in advance
    Edited by: user151564158 on Mar 17, 2010 6:19 AM

    You can't have Account customized through customization file. This is simply not supported. Try searching forum. It has already been discussed here.

  • OSB HowTo: Adding an endpoint using the customization file.

    Hi Guys,
    I want to add a new endpoint URL using the OSB customization file. My use case is, that we have single endpoints in the test environment but multiple (cluster) endpoints in the integration environment. So I though i can use the following Snippet to do so:
    <cus:envValueAssignments>
         <xt:envValueType>Service URI</xt:envValueType>
         <xt:location>1</xt:location>
         <xt:owner>
              <xt:type>BusinessService</xt:type>
              <xt:path>service/BusinesService</xt:path>
         </xt:owner>
         <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">http://myAdditionalClusterURL</xt:value>
    </cus:envValueAssignments>
    But I get the Error: "URI index 1 is not valid" which makes perfect sense. It is invalid, because I want to ADD and not EDIT it.
    So my question is, what is the right approach to achieve this.
    Kind Regards

    Hi,
    You have to add the new endpoint in "SERVICES URI TABLE":
    <cus:envValueAssignments>
    <xt:envValueType>Service URI Table</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>YOUR_BUSINESS_PATH</xt:path>
    </xt:owner>
    <xt:value xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:tableElement>
    <tran:URI>endpoint_0</tran:URI>
    <tran:weight>1</tran:weight>
    </tran:tableElement>
    <tran:tableElement>
    <tran:URI>http://myAdditionalClusterURL</tran:URI>
    <tran:weight>0</tran:weight>
    </tran:tableElement>
    </xt:value>
    </cus:envValueAssignments>
    The configuration plan must contain all endpoints, new and previously endpoint added.
    Regards.

  • Is there a way to export with the same settings as the preview files?

    I really like the quality of the preview files and was wondering what settings premiere uses by default for creating these previews on a HD project. I also played the mpeg files in VLC and they look just so much better than the highest possible quality h.264 (what I usually use). I did notice however that quicktime doesn't take these files, even with the mpeg component installed.

    Not sure what your question has to do in respect to Apple networking, but if you're asking can you use your Xbox 360 on a wireless network (regardless of the router's manufacturer) to access different Xbox Live! accounts, then the answer is yes.

  • How to configure OSB Tracing level from Customization File?

    Hi,
    I want to configure the OSB Tracing level from the customization file rather than from the console.
    I check the oracle documentation for OSB tracing and could not find anything related to OSB tracing property that we could configure from OSB workshop.
    Is it possible to do so ?
    Any pointers will be highly helpful.
    Thanks,
    Anugoonj
    Edited by: Anugoonj Ranjan on Jan 20, 2011 1:27 PM

    Customization file is for replacing environment values that differ between domains and NOT for changing Operational Settings. You may use "Configuration" section of OSB Dashboard to effectively change Operations Settings for resources instaed of doing it one-by-one on console -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/configuration.htm#CACGEFAE
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jan 20, 2011 6:10 PM

  • Modify OSB Proxy "HTTPS required" setting through customization file

    Is it possible to modify the "HTTPS Required" setting on the OSB Proxy service? We have different settings to be used for different environments like . DEV, IT, UAT, PROD etc
    My understanding of the OSB customization is as below, and I get a feeling that its not possible through the customization.
    There are 3 types of customizations possible: EnvVariables, FindAndReplaceString, ReferenceType
    EnvVariables allows only pre-defined set of variables to be changed thru the customization file. , HTTPS setting is not there in the list.
    Allowed variables are listed @ http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/customization.htm
    FindAndReplaceString: it’s possible to change the value of the xml elements in the proxy file, but since its boolean value for HTTPS, we cannot use this option, it would replace other settings as well.
    ReferenceType: is used to refer to alternate references like xquery or business services in the proxy service.

    I know that ALSB used to provide APIs for SOME customizations, monitoring and control of services. I have not tried APIs in OSB for a long time and dont know if the APIs are still the same or if some of them have been deprecated. But I can say that the APIs for customization of end point values will definitely be available.
    However, I do not think there will be an API for marking HTTPS as enabled in proxy configuration, that you will need to do using the sbconsole UI or by importing an updated version of service.
    You can find the APIs here:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e15033/toc.htm
    http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/app_apis.htm#OSBAG739
    If you do need more info then search for ALSB APIs and you will get older docs but they might have more details.

  • Modify the contents of xquery resource using customization file

    I have a xquery resource that stores constants that are environment specific.
    Is there a way to use the 'customization file' feature in OSB to replace the contents of the file instead of having separate xquery resources for each environment ?

    You cannot do this using the customization feature..

  • OSB customization file

    Hi All,
    Can anybody help,by using customization file I am able to change the target server but In customization file for each business service we have some envValueAssignments
    like Service URI and Service URI Table.
    <cus:envValueAssignments>
    <xt:envValueType>Service URI</xt:envValueType>
    <xt:location>0</xt:location>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>HelloWorld/BusinessService/DevBS</xt:path>
    </xt:owner>
    <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">http://dev_localhost:8011/helloworldservice/helloworld</xt:value>
    </cus:envValueAssignments>
    <cus:envValueAssignments>
    <xt:envValueType>Service URI Table</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>HelloWorld/BusinessService/DevBS</xt:path>
    </xt:owner>
    <xt:value>
    <tableElement xmlns="http://www.bea.com/wli/sb/transports">
    <URI>http://dev_localhost:8011/helloworldservice/helloworld</URI>
    <weight>0</weight>
    </tableElement>
    </xt:value>
    </cus:envValueAssignments>
    I replaced in both Service URI and Service URI Table it working file.Even if I replaced only Service URI also it is working fine.Please conform it requires in both place or one required.
    Regards
    Mani

    Mani,
    You can use both Service URI and Service URI Table, to update your business service url.
    But when the customization file contains both, the Service URI related settings override the Service URI Table settings. You can test this by just commenting out the service URI section and executing the file.
    It is up to you decide how you would like to maintain your env configurations you would like to use for your business service.
    Use one of the below options:
    1. Use both the service URI and service URI table and keep them in sync in the customization file
    ( Adv - You have the master copy of the customization file, which you can modify later to suit your needs in the future, like adding more urls, weighted urls, etc..
    Disadv - having the same details in multiple places in the file might cause confusion at times.)
    2. Use only one of the above and remove the other to avoid confusion.
    ( Adv - You have the stripped down version of the customization file that has just the stuff you need.
    Disadv - If you need to add additional configuration, then you might have to regenerate the customization file again.)
    Hope this helps.
    Thanks,
    Patrick
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • 'the preferences file is corrupt and has been reset to the default settings' - cs4 Mac

    greetings!
    every time i start illustrator i encounter a new error.
    "the preferences file is corrupt and has been reset to the default settings."
    "the corrupt file will be backed up as Adobe illustrator Prefs.err"
    this problem manifested after i added some more .ai and .ase files to my swatches directory. i do not believe anything else changed.
    not sure how to diagnose the problem. is there a debug mode or something? perhaps an offending file.
    an option would be to try remove each added swatch file or folder individually, but this would be a very very time consuming process for me.
    i use cs4 on a Macbook pro  running Snow Leopard - 10.6.2 and would appreciate your advice.
    thank you
    -s

    s,
    Every time you close down Illy, the current preferences (which may have been changed while you worked on files) are saved, and every time you start up Illy, those preferences will be used.
    Usually, preference corruption probably occurs randomly, caused by the OS, but if something in your files change the preferences to something that is not viable you will get an error like that.
    You may press Cmd+Option+Shift during startup, which will replace the current preferences with the defaults, and probably you will get rid of the error message. It is probably not a cure, though.
    If the error is persistent, the cure would be to get rid of the offending things in the files you work with.

  • OSB 12c Customization Files

    Is there a way we can change the  JCA file properties  like “SchemaName” in DB adapter JCA file  using the Customization file.
    Thanks
    Matt

    I do not think you can change that with customization.

  • Defining polling interval on customization file

    Hello everyone,
    I have a requirement: define a polling interval (in this specific case for a email polling proxy, however it would be useful for a file polling proxy as well) in a customization file.
    It seems a simple task, however i could not find a way to perform...
    I've searched here in the forums and have found nothing (if someone finds a thread about this please provide the link).
    I've googled a bit as well, and the result was the same...
    In this blog post http://wesselj.blogspot.pt/2012/01/oracle-service-bus-good-bad-and-ugly.html we can read:
    "+(...) Customization files. Inflexible, verbous and complex to maintain. Not everything can be customized with the customization files, some like passwords are reasonable, *but things like polling interval for file integration would be nice to be able to change between environments*.+"
    And in this document http://docs.oracle.com/cd/E11036_01/alsb30/pdf/consolehelp.pdf , in the customization topic (page 29-1), there is nothing mentioning polling interval...
    The environment installed is OSB 11gR1.
    Any suggestions on how to perform this task?

    Any ideas?

  • The tab list drop down arrow has disappeared and can't be restored through the customize dialog.

    The dropdown arrow used to be there, as well as the tab scroll arrows when many tabs are open. But both suddenly disappeared. When I bring up the customize dialog, I can then see the drop down arrow in the tab bar, but if I click restore default set and close the customize dialog, there is still no dropdown arrow. If I open the customize dialog and drag the arrow into the dialog, it shows up there. But if I try to drag it back to the tab bar and then click Done, it still does not appear.

    You will only see the "List All Tabs" button in Firefox 12+ if there are that many tabs open that you get the Tab bar scroll buttons appearing.
    * Permanent List-all-tabs Button: https://addons.mozilla.org/firefox/addon/permanent-listalltabs/
    Alternatively you can add code to the userChrome.css file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #tabbrowser-tabs ~ #alltabs-button { visibility:visible!important; }</nowiki></pre>

  • The preferences file is corrupt: adobe illustrator cs4

    greetings!
    every time i start illustrator i encounter a new error.
    "the preferences file is corrupt and has been reset to the default settings."
    "the corrupt file will be backed up as Adobe illustrator Prefs.err"
    this problem manifested after i added some more .ai and .ase files to my swatches directory. i do not believe anything else changed.
    not sure how to diagnose the problem. is there a debug mode or something? perhaps an offending file.
    an option would be to try remove each added swatch file or folder individually, but this would e a very very time consuming process for me.
    i use cs4 on a Macbook pro running Snow Leopard - 10.6.2 and would appreciate your advice.
    thank you
    -s
    Message was edited by: Shenzi

    The problem is that you're not getting rid of the corrupt Illustrator preferences. To do that, go to User/Library/Preferences and drag the entire Adobe Illustrator CS4 Settings folder to the trash (or to another drive if you want to keep it for some reason). Illustrator will then create a new Preferences folder the next time it's started. It's unlikely the problem was caused by swatches files, but if the error comes back after deleting prefs, then you'll need to determine which swatch file is causing it.

  • Publishing with a new screen resolution changes the EXE file size quite dramatically

    Does anyone know why if you change the screen resolution and
    the re-publish a movie why the resulting EXE grows in size quite
    dramatically. Is there any way to avoid this to keep file sizes
    down?
    Thanks
    Alastair

    Yes it did help, in the respect that I felt confident that it wasn't anything to do with my project settings. The published files became corrupted when they were copied across to our intranet server. 
    thankyou
    Alison McLeavy
    Electronic Health Record Program
    Mater Health Services
    t: (07) 3163 6144    e: [email protected]
    f: (07) 3163 2685     w: www.mater.org.au

  • Where is the standby file method/property in SMO.Database

    Hello,
    I'm trying to locate the method / property in SMO.Database for StandByFile (undo backup file). I'm able to set it during a restore using SMO.Restore.StandByFile, but I'm currently building a empty DB from the properties of an exisitng DB and this is a property
    I need to at least read from if not modify directly.
    Hoping for some help.
    EDIT: Adding small part of script for context
    # Restore the database
    function Restore-Database ($srv, $dname, $src, $dst, $stby){
    try {
    $SMORestore = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Restore
    if ($stby) {
    Write-Host 'Restoring' ([System.IO.Path]::GetFileName($src)) 'to' $dname 'with standby...'
    $SMORestore.StandbyFile = $tmpdir + $tmpdbname + '_standby.bak'
    } else {
    Write-Host 'Restoring' ([System.IO.Path]::GetFileName($src)) 'to' $dname 'with recovery...'
    $SMORestore.Action = "Database"
    $SMORestore.NoRecovery = $false
    $SMORestore.ReplaceDatabase = $true
    $SMORestore.Database = $dname
    $SMORestore.Devices.AddDevice($src, "File")
    $filearray = $SMORestore.ReadFileList($srv)
    foreach ($file in $filearray){
    $newfile = New-Object Microsoft.SqlServer.Management.Smo.RelocateFile
    $newfile.LogicalFileName = $file.LogicalName
    $newfile.PhysicalFileName = $dst + ([System.IO.Path]::GetFileName($file.PhysicalName))
    $SMORestore.RelocateFiles.Add($newfile) | Out-Null
    $SMORestore.SqlRestore($srv)
    Write-Host ([System.IO.Path]::GetFileName($src)) 'successfully restored to' $dname
    } catch {
    $_.Exception
    if ($Error.Count -gt 0) {
    $error[0] | fl -force
    } #Restore-Database $DSTServer $tmpdbname $bkup $tmpdir $false # - $bkup = .bak not defined | $stby = bool
    and another piece
    function New-Database ($refdb, $dstsrv, $tname, $tdir) {
    Write-Host 'Creating database' $tname 'based on settings from' $refdb.name '...'
    $dstdb = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Database -ArgumentList $dstsrv, $tname
    # Loop through the original db's filegroup to grab all the settings for the new filegroup
    try {
    foreach ($group in $refdb.filegroups) {
    $fg = New-Object -TypeName Microsoft.SqlServer.Management.Smo.FileGroup -ArgumentList $dstdb, $group.name
    $dstdb.FileGroups.Add($fg)
    if ($group.IsDefault -eq $true) {
    $fgdefault = $group.Name
    # Loop through the data files in the filegroup and grab the settings for the new files
    foreach ($file in $group.Files) {
    $datafile = new-object -TypeName Microsoft.SqlServer.Management.Smo.DataFile -ArgumentList $fg, $file.name
    $fg.Files.Add($datafile)
    $file
    $datafile.FileName = $tdir + ([System.IO.Path]::GetFileName($file.FileName))
    $datafile.Size = $file.Size
    $datafile.IsPrimaryFile = $file.IsPrimaryFile
    $datafile.GrowthType = $file.GrowthType
    $datafile.Growth = $file.Growth
    $datafile.MaxSize = $file.MaxSize
    # Loop through the log files in the filegroup and grab the settings for the new files
    foreach ($file in $refdb.LogFiles) {
    $logfile = New-Object Microsoft.SqlServer.Management.Smo.LogFile -ArgumentList $dstdb, $file.name
    $dstdb.LogFiles.Add($logfile)
    $file
    $logfile.Name = $file.name
    $logfile.FileName = $tdir + ([System.IO.Path]::GetFileName($file.FileName))
    $logfile.Size = $file.Size
    $logfile.GrowthType = $file.GrowthType
    $logfile.Growth = $file.Growth
    $logfile.MaxSize = $file.MaxSize
    } catch {
    $_.Exception
    # Create the database
    try {
    $dstdb.Create()
    Write-Host 'Database' $tname 'created successfully'
    } catch {
    if ($Error.Count -gt 0) {
    $error[0] | fl -force
    break
    # Make sure the right filegroup is the default
    If ($dstdb.FileGroups[$fgdefault].IsDefault -ne $true){
    Write-Host 'Setting' $fgdefault 'filegroup as default'
    $fgdef = $dstdb.FileGroups[$fgdefault]
    $fgdef.IsDefault = $true
    $fgdef.Alter()
    $dstdb.Alter()
    } #New-Database $srcdb $DSTServer $tmpdbname $tmpdir

    How were you able to see the tuf in your ldf? Using a simple text editor i'm unable to see mine.
    if you open that file with text editor, you can't use "find" functionality because its not an ASCII text. It took some time for me to locate the text which you are seeing in image which I posted.
    Also how certain are you that it is not possible, do you have experience programming with SMO? Not that I don't believe you but I have spent some time developing a ps script that somewhat hinges on this, so not happy if it was all for not.
    I have NEVER worked with SMO and have no experience. But Since I have spent 10 years of my life working with Microsoft with SQL Server Product support team, I can tell you that it's not stored in any table in database. It's part of LDF and there is no way
    to get that without parsing the LDF file.
    Here is one of the blog written by my friend, who was working in my team.
    http://blogs.msdn.com/b/batala/archive/2011/07/21/how-to-see-the-standby-file-path-when-we-restore-the-database-in-standby-mode.aspx
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

Maybe you are looking for