Setting monitoring level for a Proxy Service programmatically

Hi there -
We've successfully created a Weblogic ALSB domain from scratch using WLST.
Now we'd like to adjust the monitoring level of our Proxy Services programmatically.
Are there any code samples illustrating how to achieve that?
The setServiceLogLevel() method of the ServiceConfigurationMBean looks promising, but I couldn't get it working and there doesn't seem to be any documentation in the API for this one or sample code available elsewhere.
Any hints are appreciated!
Cheers,
Jan

Anybody having luck using the setService*Level methods?
wls:/test/domainRuntime/DomainServices/ServiceConfiguration> ls('o')
-r-x setServiceLogLevel Void : com.bea.wli.config.Ref,com.bea.wli.sb.management.configuration.operations.LogSeverityLevel
-r-x setServiceLoggingEnabled Void : com.bea.wli.config.Ref,Boolean(isEnabled)
-r-x setServiceMonitoringEnabled Void : com.bea.wli.config.Ref,Boolean(isEnabled)
-r-x setServicePipelineAlertLevel Void : com.bea.wli.config.Ref,com.bea.wli.sb.management.configuration.operations.AlertSeverityLevel
-r-x setServicePipelineAlertingEnabled Void : com.bea.wli.config.Ref,Boolean(isEnabled)
-r-x setServiceReportingStatus Void : com.bea.wli.config.Ref,Boolean(isEnabled)
-r-x setServiceSLAAlertLevel Void : com.bea.wli.config.Ref,com.bea.wli.sb.management.configuration.operations.AlertSeverityLevel
Or where to find the documentation for com.bea.wli.sb.management.configuration.operations.LogSeverityLevel and the likes?
Looks like something internal, though:
wls:/test/domainRuntime/DomainServices/ServiceConfiguration> import com.bea.wli.sb.management.configuration.operations
Traceback (innermost last):
File "<console>", line 1, in ?
ImportError: No module named operations
Cheers,
Jan

Similar Messages

  • OSB & WLST: changing operational settings for a proxy service via WLST

    Hi all,
    we are trying to change the operational settings for a proxy service via WLST.
    In details we would like to change the "Logs" level (Monitoring section).
    We have a lot of deployed services and our 'deployer people' need an automatic way (via WLST for example) for doing that instead of using the OSB console.
    Thanks in advance
    ferp

    Hi,
    OSB is the Oracle Service Bus. Oracle Service Bus is a configuration-based, policy-driven enterprise service bus.
    The OSB is deployed into an Oracle WebLogic Server instance.
    OSB uses also WLST functionality provided by WebLogic Server.
    Best regards
    ferp

  • Setting Importance Level for a email message using javax.mail.* API

    Setting Importance Level for a email message using javax.mail.* API
    From what I understand we can set Flag on Email Message. How can we set Importance Leve: High/Low for an email message?
    Thanks
    Purvi

    Most of the message Flags work only for IMAP mailboxes. POP3 supports only the DELETED flag. It must be understood that Javamail is a framework which provides all the features available in a standard mailing system. But whether or not a particular feature works is a functionality of the particular implementation being used.
    Thus for example POP3 cannot differentiate read from unread messages in a mailbox though Javamail provides that feature.

  • How to restrict acess to a single user for a proxy service in OSB

    how to restrict acess to a single user for a proxy service in OSB

    A.     Go to Proxy Service and Click on the Security tab
    B.     Click on Transport Acess Control Policies to Edit.
    C.     Click on Add Conditions to Restrict the users.
    D.     In the Predicate List Select the User Category
    E.     Give the User Name to which you want to give access.

  • OWSM user name token service policy for a proxy service at OSB

    Hi Friends,
    I am facing an issue while trying for the OWSM user name token service policy Authentication for a proxy service at OSB. I am using the PS4 SOA suite with AIA foundation pack. very first I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security->security provide configuration. Inside the security provide configuration we have to key store section and I expand that and we have a configure button inside the keys tore. I click that button and it open a new page. In that page I got the Java key store (JKS) as the default key store and in the access Attributes I keep the default key store path and fill password and confirm password fields. Then in Identity certificates I fill the signature key and Encryption key with key Alias as 'orakey' and same password which I am mentioned at access Attributes. I got the message like the key store is created successfully. Then I restarted the server and again I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security. In security I choose the credentials. In credentials we have create key. In the create key I add the key as hari-key and provide the hari as a user and his password.
    While trying to test the proxy service i am getting the [OSB Security - OWSM: 387253] Failed to initialize OWSM Credential Manager. Please validate the Key store Configuration.
    can anyone please look at this and suggest me how can I proceed for this.
    Thanks
    Hari

    anyone please respond to the above request.
    Thanks
    Hari

  • T5SSCXSSSERVICES - Set Data Tracking for Individual Self-Services

    Hi,
    We have a requirement for BI Report to fetch data from table :T5SSCXSSSERVICES
    The above table could be filled with data when we perform any activities in ESS and MSS.
    I wanted to know what are all required configuration to get data in to the table T5SSCXSSSERVICES
    I understand below mentioned configuration are required:
    IMG Node 1: Activate Data Tracking for All Self-Services
    IMG Node2: Set Data Tracking for Individual Self-Services
    Is it required to activate Business FunctionS et - HR Administartive Servcices?
    Guide me with more inputs,
    Regards
    Ramanathan

    Hi Ramanathan,
    I am facing the same doubt now, are you able to share your experience on how to populate  T5SSCXSSSERVICES ? Appreciate that, and thank you in advance.
    Regards
    Kir Chern

  • How to launch Web administration service and set trace level for web dispac

    Experts,
    Can some one help on how to setup trace level for Web dispatcher? and how to launch web administration interface.
    Thanks in advance.

    Hi Sam,
    You can launch the Web Dispatcher Interface through the follwing link:
    http://host:port/sap/wdisp/admin
    The Username & Password are created when the profile is run for the first time. The userid is ICMADM
    This link points to the web disaptcher administration interface & its usage.
    You can set the trace level once you login to the interface.
    http://help.sap.com/saphelp_nw70/helpdata/en/4f/3bee29d9764e988bdeecdb4d484722/frameset.htm
    Hope it is helpful.
    Regards,
    Abhishek

  • Different workmanager for different proxy service

    Hi All,
    I want to use two seperate workmanager for my two proxy service, one of them will be ignore stuck thread = true and alternate will be false.
    but when I am using them all time its using only one.
    I am testing one more scenario, i have another proxy service which is using another Oracle AQ for polling, and i configured the dispatch policy default.
    the expected behaviour was to see the stuck thread. but when I monitor the thread list. I am finding the second thread regarding DEQUQUE also comes in same workload manager.
    Is there any way to use different workload manager for different services.
    Regards,
    Abhishek

    Hi Ashish,
          I Can give you one more option you no need to create different Material master records .
             1.   You main tain Material Usage Indicater at order level path is Spro ->IMG> Sales and distribution-->Sales --> Sales documents ---> Sales documents Header ---> Define Usage Indicators.
    You can Define Material usage 1.Delux rooms 2.Non Delux rooms.
    2. You take field Material Usage in to Price condition table, put the table in the access sequence of Service price condition type and finally maintain condition record with Material Usage key combination.(Here you can maintain different rates for delux and nondelux.
    3. Now if you enter Material Usage as Delux while creating order the system will take the price based on the key field, If you enter Non delux it will pick up specific price.
    4.You can put Material usage field in incompletionlog
    I hope it will Help you
    Regard,
    Murali.

  • Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

    I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage.  I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure
    Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly.  If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has been scanned
    and whether it is clean or not once it has been copied to local storage (I don't know if the service does a real-time scan when new files are added, or only runs on a schedule)?  

    Hi,
    I would suggest you have a look at this article:
    http://azure.microsoft.com/blog/2014/10/30/microsoft-antimalware-for-azure-cloud-services-and-virtual-machines/, please note the Microsoft Antimalware Client and Service is not installed by default in cloud service, please try to use the PowerShell
    cmdlet, Set-AzureServiceAntimalwareExtension to enable antimalware in your cloud service. Here's some more info:http://msdn.microsoft.com/en-us/library/azure/dn771718.aspx
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java.lang.OutOfMemoryError when editing a routing note for a Proxy Service?

    Hi,
    Does anyone know why I am getting a java.lang.OutOfMemoryError in the AqualLogic Service Bus logs which freezes the browser (IE) when I try to edit a route node of a proxy service? I can change the name of the node but when I try to edit the node itself, the interface freezes and the out of memory thrown by the Service Bus. I have tried restarting the server etc..... The java memory allocated should already be adequate as it is set to 512Mb. All I can think of doing next is to uninstall the Service Bus and reinstall.
    The logs I am getting can be seen below.....
    Welcome, weblogic Connected to : servicebus Home WLS Console Logout Help AskBEA
    weblogic session Created 9/01/08 13:46 No Conflicts 3 Change(s) 1 Active Session(s)
    The source of this error is com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.OutOfMemoryError at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:699) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:268) at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:288) at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:427) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:708) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:183) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:186) Caused by: java.lang.OutOfMemoryError
    Thanking you in advance for any help/insight.

    Okay, I fixed the "Incompatible initial and maximum heap sizes specified" issue now. The problem was that in the lh.bat script the parameter -Xmx128M was hardcoded and overwrote my own -Xmx setting.
    I now set JAVA_OPTS to "-Xms1400m -Xmx1400m" which is the maximum that Java accepts without complaining about too little memory. However, I still get the OutOfMemoryError and in addition to that I now also get this error:
    com.waveset.util.Shutdown: Sorry!  This repository has been shut down by an administrator.  Please try to get another instance.
    I've googled already but found only two sites and those weren't really helpful. So, any help is very much appreciated!
    Thanks,
    David

  • OSB - Setting http Authorization header with Proxy Service

    Hi,
    I have the following scenario:
    PS1 -> PS2 -> BS (with a SA configured to pass through)
    I need to set the Authorization http header based on some information in payload, so:
    PS1 receives the payload and route to PS2, where username/password are extracted and using a java call out the base64 hash is generated.
    In the PS2 route i'm trying to set the Authorization header using the set Transport Headers option.
    When i do a request to test this operation, osb show me a beautiful CredentialNotFound exception.
    I have tryied to set the Authorization header in the route on the PS1, without success.
    Someone can help me ?

    I can't set the Proxy Service to do the authentication. I will try to explain better:
    I have a Business Service which have a Service Account associated to pass through the Authorization header to the service provider do the validation.
    I front of this business service i have a Proxy Service which route the requests to the BS.
    All partners send this Authorization header, but now, i have one that will not send no matter what.
    The username and passwrod will come into the payload (and will be variable).
    In some point before the proccess i need to extract the information from payload and set the Authorization header.
    Ty for you time.
    Edited by: GSanches on 09/07/2010 09:59

  • Setting Reservation Levels for a VM

    The vcloud usage meter says this:
    Net points = (vGB hours X points per 1 GB reserved RAM)/hours per month
    During one 30-day calendar month, a Service Provider uses the vCloud Service Provider Bundle – Premier Edition to configure his or her virtual machine with 16 vGB for 15 days and 48 vGB for the remaining 15 days. The reservation level for the virtual machine is set at 75 percent for the entire month.
    15 days x 24 hours x 16 vGB x 0.75 = 4,320 vGB hours
    15 days x 24 hours x 24 vGB (48 vGB x 0.75 but capped at 24GB) = 8,640 vGB hours
    Total vGB hours = 12,960 vGB hours
    Total points = 12,960 vGB hours ÷ 720 hours/month x 7 points (for Premier) = 126 points
    Where do I "set the reservation level" for a VM?  Is this talking about setting individual VM reservations in vCenter Server, or about doing something in the vCloud Usage meter itself?

    Hi. The reservation level is set for each VM, using a vSphere Client or API.

  • Set Logging level for my application

    I've got an web-based application (ADF/EJB) and I'm trying to configure the logging level.
    I'm using the Java Logging API and no matter what I change, short of hardcoding a call in to set the global logging level, I can't alter what level it is using. I've tried changing in the WebLogic console and all that does is change the logging level for WebLogic. I've tried adding properties files but they don't seem to be read.
    Any Ideas?

    Hey Mark,
    I have no idea if this will help, but I was wanting to print out only my DML operations on commit and I got this post on my thread.
    You could probably do this with -Djbo.debugoutput=adflogger and then fuss with the logging configuration, or perhaps by turning on JDBC loggingDouble-click your View Controller project-> Run/Debug/Profile -> Edit ,and then type the -Djbo.debugoutput=adflogger into your Java Options, but I don't know anything after that.
    Good luck.
    Will

  • Setting approval level for credit management in SD

    Dear Gurus,
    I have a case like this:
    My client would like to use credit management in SD. They have few approval levels for for credit limit release.
    Exp: With SD has amount under from 1000$, Mr. A has the right to approve and release it
            With SD has amount bigger than 1000$, Mr. A  have to release it and then Mr. B check again afterwards Mr. B can reject and release it up to his decision.
    As I see in SAP, maybe there is only one level for check and after release the SO doesn't need other approve anymore. But I am still concerning about how to find or config to satisfy this requirement.
    Thank for nice support!

    In our case we have maintained a view named as "ZVW_OAR_WF_CTRL" which is created by our ABAPer.
    The fields in this view are
       FIELD NAME                              DATA ELEMENT         TYPE         LENGTH
    1) MANDT                                          MANDT                         CLNT             3
    2)PROCESS                                      ZDE_WF_PROCESS      CHAR           2
    3)KKBER                                           ZDE_KKBER                  CHAR          4
    4)GRUPP_F                                       ZDE_GRUPP_CM_FROM CHAR         4
    5)GRUPP_T                                       ZDE_GRUPP_CM_TO      CHAR         4
    6)LEVELS                                         ZDE_WF_LEVEL              CHAR         5
    7)VALUE_F                                       ZDE_NETWR_AK_FROM   CURR       15
    8)VALUE_T                                       ZDE_NETWR_AK_TO         CURR       15
    9)APPR                                            ZDE_PLANS                       NUMC      8
    10)APPR_AD1                                  ZDE_PLANS1                    NUMC       8
    11)APPR_AD2                                  ZDE_PLANS1                   NUMC        8
    12)BOX_AC_APPR                           ZDE_AD_SMTPADR_BOX  CHAR       241
    13)BOX_AC_REJC                            ZDE_AD_SMTPADR_REJ   CHAR      241
    14)NEXT_LEVEL                              ZDE_WF_LEVEL_NXT         CHAR       5
    You can ask your ABAPer such that your view contains the above mentioned fields and in the the approvers you have to enter the "Pernr id" s of approver s which can be taken from HR people.

  • OSB: Associate work manager for a proxy service

    Hi,
    Can anyone please tell me how to associate workmanager(already present in the weblogic admin console) to a proxy service?
    Thanks.
    Kalpana.

    In the proxy service configurations you will find "Dispatch Policy" there you can associate work managers with the proxy service

Maybe you are looking for