HTTPS and UWL and port 50001

When we click on the Manager Self Service tab in SAP portal when using https/ssl (https://server.company.com/irj/portal), all iViews appear correctly except for the UWL which is requested in a non-secure way over port 50000.
http://server.company.com:50000/webdynpro/dispatcher/sap.com/tckmcbc.uwl.ui~wd_ui/UWL
If I add the https port to the URL (50001), the UWL opens fine and secure:
https://server.company.com:50001/irj/portal
https://server.company.com:50001/webdynpro/dispatcher/sap.com/tckmcbc.uwl.ui~wd_ui/UWL
Any ideas on why this would be? For some reason, if I don't put a port on there and use https, the UWL iView changes to the http/port 50000 location. But if I use https and include port 50001, the UWL opens with the secure link.
Is there a setting somewhere that would cause the UWL to go to http and port 50000 unless I specifically tell it to go to port 50001?
Other webdynpro pieces open up fine, such as the team calendar:
https://server.company.com/webdynpro/dispatcher/sap.com/ess~lea/TeamView
Note: UWL config has the same problem as the UWL itself:
/webdynpro/dispatcher/sap.com/tckmcbc.uwl.ui~wd_admin/Configuration
Unless I specifically put port 50001, it'll go to http and port 50000, which is unsecured.
Hopefully this explanation makes sense.

Hello
Curious if there was any resolution to this issue - our situation is very similar, although I have not configured the portal to support HTTPS.  We are accessing via a load balancer (HTTPS) which then sends the request to the HTTP port of the portal. 
Accessing the UWL by chaning the URL manually to HTTPS as you experienced works fine:
https://loadbalancer.domain.net/webdynpro/dispatcher/sap.com/tckmcbc.uwl.ui~wd_ui/UWL

Similar Messages

  • Https front end and http backend

    Hi there....I am having a small issue....I have a web app that is https based....I have installed the cert on the CSS, and DNS for this app points to the VIP....the client is wanting to have an https front end, and then load balance in http to the backend servers....the issue I am running into is that this only works if I have an active port 80 rule on that same VIP....if I suspend the port 80 rule and only leave the port 443 rule active on that VIP, it doesn't work....please see appropriate config portions below....Thanks in advance!
    Sandeep
    ANy suggestions? I have been trying this for a couple of days now...it works fine if the backend sessions are also https, but the client has changed their requirement....
    ssl-proxy-list SSL1
    ssl-server 1
    ssl-server 1 rsakey app1-test
    ssl-server 1 rsacert app1-test
    ssl-server 1 vip address 10.19.55.10
    ssl-server 1 cipher rsa-with-rc4-128-md5 10.19.55.10 81
    backend-server 1
    backend-server 1 port 81
    backend-server 1 server-ip 10.19.55.132
    backend-server 1 ip address 10.19.55.132
    backend-server 2
    backend-server 2 port 81
    backend-server 2 server-ip 10.19.55.133
    backend-server 2 ip address 10.19.55.133
    backend-server 3
    backend-server 3 port 83
    backend-server 3 server-ip 10.19.55.132
    backend-server 3 ip address 10.19.55.132
    backend-server 4
    backend-server 4 port 83
    backend-server 4 server-ip 10.19.55.133
    backend-server 4 ip address 10.19.55.133
    backend-server 5
    backend-server 5 port 85
    backend-server 5 server-ip 10.19.55.132
    backend-server 5 ip address 10.19.55.132
    backend-server 6
    backend-server 6 port 85
    backend-server 6 server-ip 10.19.55.133
    backend-server 6 ip address 10.19.55.133
    active
    service webserver002:81
    ip address 10.19.55.132
    port 81
    keepalive port 2199
    keepalive type tcp
    protocol tcp
    active
    service webserver003:81
    ip address 10.19.55.133
    port 81
    keepalive port 2199
    keepalive type tcp
    protocol tcp
    add ssl-proxy-list SSL1
    active
    service webserver002:83
    ip address 10.19.55.132
    port 83
    add ssl-proxy-list SSL1
    keepalive port 2399
    keepalive type tcp
    protocol tcp
    active
    service webserver003:83
    ip address 10.19.55.133
    port 83
    keepalive port 2399
    keepalive type tcp
    protocol tcp
    add ssl-proxy-list SSL1
    active
    service webserver002:85
    ip address 10.19.55.132
    port 85
    add ssl-proxy-list SSL1
    keepalive port 2599
    keepalive type tcp
    protocol tcp
    active
    service webserver003:85
    ip address 10.19.55.133
    port 85
    keepalive port 2599
    keepalive type tcp
    protocol tcp
    add ssl-proxy-list SSL1
    active
    service SSL_Front
    slot 2
    type ssl-accel
    keepalive type none
    add ssl-proxy-list SSL1
    active
    owner app1-test
    content app-test_back
    vip address 10.19.55.10
    add service webserver002:81
    add service webserver003:81
    add service webserver002:83
    add service webserver003:83
    add service webserver002:85
    add service webserver003:85
    balance aca
    protocol tcp
    port 81
    active
    content app1-test_front
    vip address 10.19.55.10
    application ssl
    add service SSL_Front
    protocol tcp
    port 443
    advanced-balance ssl
    balance aca
    active

    Thanks for the quick reply....there is another port 80 rule setup for that vip....I was using that to test with the app until I got the front end https rules working....
    my port 80 rules just says listen to 10.19.55.10 on port 80 and load balance btwn the webervers on port 8x in the back end...
    I am trying to do https front end and http backend....
    no where in my SSL config have I configured port 80....but when I suspend that rule it all fails....
    I am wondering if the backend server sessions are happening properly?
    I don't fully get what you mean by "You need to have the rule in port 443 to match traffic coming from the client and the clear text rule (port 81) to match traffic already decrypted coming from the SSL module"
    Haven'tI done that?
    Thanks again!
    Sandeep

  • How do I connect my iMac to an LG TV which has an HDMI, USB, and RGB IN port ?

    I am trying to screen share between my iMac and an LG television which has USB, HDMI, and RGB IN ports; is there a cable which will enable me to do this ?

    Depending on what you mean by "sharing" you also may be a good candidate for an AppleTV. Connecting content stored on your Mac is pretty easy with one, you can display photo's, movies & music  through it. In addition you can use your LG as a simple external display using Airplay assuming your iMac has Airplay capabilities. If any of that interests you then look at Apple's web site on AppleTV, you can buy them refurbished from Apple's online store for $75.00.
    https://www.apple.com/appletv/
    http://store.apple.com/us/browse/home/specialdeals/appletv

  • How do I connect my MacBook Pro to an LCD TV (with HDMI and S-Video ports)?

    How do I connect my MacBook Pro to an LCD TV (with HDMI and S-Video ports)?  I assume I would need to use the DVI to Video adapter that came with my computer to connect to my LCD tv.  I'm just not sure which port I should use on the TV.  The HDMI port is being used for digital cable.
    Also, does anyone know if this can be done wirelessly? 

    For a 2010+ MBP you can connect with a Displayport to HDMI, which will include Audio.
    With older MBP you will need a displayport to HDMI, if you want audio to the actually TV, then you will need to get a cable with either digital out from MBP to the HDMI, or USB audio mixed into the HDMI
    eg
    http://eshop.macsales.com/item/NewerTech/CBLMDPHDMID/

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

  • Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.

    Hi All,
    I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    awebsctl.log file has below errors:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
    Catalog Website is working.
    Thanks & Regards, Kedar

    Hi Jason,
    Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
    IIS Website: Default Web Site
    Port Number: 80
    with default value for Web Application Name configured.
    For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate. 
    Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
    Possible cause: The designated Web Site is disabled in IIS. 
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    For more information, refer to Microsoft Knowledge Base.
    And awebsctl.log has the below error lines:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    STATMSG: ID=8100
    What should I check from IIS side?
    Application Catalog Website is functioning properly.
    Thanks & regards,
    Kedar
    Thanks & Regards, Kedar

  • How can I connect my 2009 Mac Mini to a TV that only has the Component inputs available? My Mac Mini has a Mini DisplayPort and Mini-DVI port. Thanks.

    How can I connect my 2009 Mac Mini to a TV that only has the Component inputs available? My Mac Mini has a Mini DisplayPort and Mini-DVI port. Thanks.

    Composite is analogue with one connector. That is why it is called composite
    Component is analogue with three connections. I think one for each color
    Here is the one for component. I misread composite for component
    http://www.amazon.com/DVI-I-Component-DisplayPort-Female-Adapter/dp/B003OBOJC2

  • How to add 1 more column in standard portal UWL and map the values.

    Hi
    I have one issue/requirement, please help me out on that also.
    In portal UWL, i want to add one more column TICKET ID COLUMN, and ticket id value I  will be putting as work item ID of abap Workflow, so whenever  approver opens his portal UWL, in first column i want to show ticket ID say 00012345, so how to add this ticket ID column in standard portal UWL and how to put/map  value of work item in that column.
    My idea behind this is, when ever say employee wants to know the status about his ticket ID, he can simply ask his manager regarding the ticket status by referring to that ticket ID which manager can easily find in his portal UWL in that extra TICKET ID COLUMN .
    Do I have to change anything in SAP inbox also ? Do i have to add 1 more colum in sap R/3 inbox also ? and will adding 1 more colum in sap inbox (R/3 inbox), will create automatically one more ticket ID colum in portal UWL also ?
    please let me know , as i do not want to add 1 extra column in R/3 inbox, just i want in portal UWL extra ticket ID column should come and i want to put workitem ID generated at the start of workflow, in that colum in portal UWL
    please help me on this.
    Thanks...
    Edited by: User Satyam on May 29, 2011 6:16 AM

    Hi Satyam,
    These are called custom attributes.  Here is a powerpoint that may be able to assist you with the documentation that the other poster gave you too.
    Always remember too when you make a change on the backend R/3 side, you must reregister your UWL connector.  And yes, the column must be available on the backend R/3 side.  We can't create on the fly columns in the UWL, that have no reference to the backend system in this case.
    Beth Maben
    EP - Senior Support Consultant II
    AGS Primary Support
    Global Support Centre Ireland
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • HTTP sender adapter and receiver adapter

    Hi guys,
    I have a scenario that I have to communicate with an HTTP server with XML over HTTP.
    When the communication is opened by me I will use an HTTP receiver adapter and give the connection parameters.
    a) Do I have to use a different HTTP receiver communication channel for each different type of XML that I want to send??
    b) When the communication is opened from the HTTP server, they have to type the URL in order to invoke the correct scenario on my side, right? I know that I do not have to use an HTTP sender adapter. They have to call the http URL, followed by the sender business system, sender interface name/namespace etc.
    That means that the URL in the format: http://XIhostname:port/ is not enough right?
    Is there a way to figure out from the type of the XML sent which scenario will be executed in XI?
    Because it is difficult for them to use different URL when they are sending me different type of XML's, i.e. different requests.
    Evaggelos

    >>Do I have to use a different HTTP receiver communication channel for each different type of XML that I want to send??
    Yes,receiver adapter is linked to receiver agreement,if you have different inbound interfaces then it means you need to have diferrent receiver agreement,hence different receiver communication channels.
    >>That means that the URL in the format: http://XIhostname:port/ is not enough right?
    No,its not,there is a test tool on SDN called "HTTP test tool".just search for that and download on your desktop,it will help you generate the correct URL as well as test the scenario by sending sample HTTP request.
    One thing you need to keep in mind is that HTTP scenarios don't require and sender communication channel or sender agreement.they only need configurations on receiver side
    Thanx
    Aamir
    FYI:Here is the test tool
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Edited by: Aamir Suhail on Jul 3, 2008 12:18 PM

  • UWL and webDynpro For Java

    Hi
      Experts
        I am making webDynpro application in which I have to give a form with in UWL of Portal.In that one form will be appear in user 's UWL and if it clicks on <b>ok</b> then all data will be get saved and this form will be go to another user 's UWL for cross checking the input and go on.. till HOD.
    Is this possible? How can I Make It?
    I have only knowledge of webdynpro for java.
    (Don't know anything of ABAP)
    Please Help Me.....
    Regards
    Sunny.

    Hi
    Some useful links are
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm</a>
    Thanks
    SMitha

  • What is the model number and how many ports in the back?

    What is the Model number and how many ports int he back?

    You can compare your yourself here:
    http://www.apple.com/wifi/
    The AirPort Express is Model Number A1394
    The AirPort Extreme is Model Number A1408

  • UWL and POWL configuration

    Hi all,
    we recently upgraded our SRM 5.0 system to SRM 7.0.
    I'm working on the initial configuration of the system and need some inputs on UWL configuration.
    We are not using solution manager.
    Can someone send me the links for UWL and POWL configuration in SRM 7.0?
    Also whose responsibility is UWL and POWL configuration?

    Hi,
    UWL configuration is explained here http://wiki.sdn.sap.com/wiki/display/EP/Portal7.0andSRM6.0Integration(PartIII)
    Also you could use http://help.sap.com/saphelp_srm70/helpdata/en/48/56d4a5e2b61ed2e10000000a421937/frameset.htm
    No POWL configuration is needed.
    Regards,
    Nikhil
    Edited by: Nikhil RGupta on Aug 4, 2011 10:05 AM

  • MDM Workflows and UWL in CE 7.11

    Hello,
    I am working with MDM Workflows and UWL in CE 7.11.
    For configuring the UWL, we need to set some property of MDM Result Set iView to
    connect and display MDM workflows for an MDM repository in EP 7.0.
    But in CE 7.11 the concept of Result Set iView is replaced by ResultSet component which we use as a used component in the custom wrapper (DC).
    How to use ResultSet component  to configure UWL in CE 7.11 ?
    Thanks in Advance..
    Regards,
    Yogita.

    Hi Yogita,
    Here is a document for you.l  It shows how to configure MDM & BPM.  From within this there is information in regards to the Universal Worklist:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d7ad1f-6b27-2d10-448e-9c115ce7f5b3?
    You may also want to raise a post for this in MDM forum.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Port 135 and 25913 and how to run Solaris Container Manager?

    What are these ports 135 and 25913 and how to I run Solaris Container Manager .
    thanks

    Hi Zeealee,
    zeealee wrote:
    What are these ports 135 and 25913 and how to I run Solaris Container Manager .I haven't heard of those ports being used with SunMC before, sorry (but maybe my memory is just bad). The features of Solaris Container Manager (SCM) have now almost been entirely superseded by [Oracle Enterprise Manager Ops Center|http://www.oracle.com/us/products/enterprise-manager/opscenter/index.html] (forum here), but if you're still looking to try SCM, the manual can be found here, and if you said "yes" to SCM when you installed your SunMC Server, then you should see it in your SunMC web interface:
    https://<sunmc_server>:6789 --> SunMC 4.0 --> Manage Solaris Container
    If you'd like a demo of how you perform Container/LDOM operations in Ops Center, let me know and I'll set it up.
    Regards,
    [email protected]

  • UWL and notification service

    I am currently investigating UWL and its features.
    The scenario I am facing is a portal application where users need to be notified on a portal iview (a customized UWL based iview?) about events like file uploading in a KM folder(s) or they would get a custom notification due to a specific business rule. Previously I did some "experiments" by using the RecentNotification iView with not satisfactory results...
    Do you think UWL could be the solution for our needs? I found that docs and infos on SAP sdn are a bit limited and "messy" about this subject so... any suggestion would be much appreciated. Best scenario could be a step-by-step tutorial.
    thanks in adavance for yr support
    From Italy
    Massimiliano Turco

    Hi Max!
    Basicly yes, chapter 6.4 describes the basics of a repository service. However, this isn't too detailed for someone seeking a solution.
    Here's an example of a repository service:
    package com.xxx;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.StringTokenizer;
    import com.sap.netweaver.bc.rf.util.event.IEventBroker;
    import com.sapportals.portal.prt.logger.ILogger;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sapportals.wcm.WcmException;
    import com.sapportals.wcm.crt.component.IReconfigurable;
    import com.sapportals.wcm.crt.component.StartupException;
    import com.sapportals.wcm.crt.configuration.ConfigurationException;
    import com.sapportals.wcm.crt.configuration.IConfiguration;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.manager.IRepositoryManager;
    import com.sapportals.wcm.repository.manager.IResourceEvent;
    import com.sapportals.wcm.repository.manager.IResourceEventReceiver;
    import com.sapportals.wcm.repository.manager.ResourceEvent;
    import com.sapportals.wcm.repository.service.AbstractRepositoryService;
    import com.sapportals.wcm.repository.service.ServiceNotAvailableException;
    import com.sapportals.wcm.util.events.IEvent;
    * Class <code>XXXRepositoryService</code> implements a respository service
    * that listens for several events on a defined directory.
    public class XXXRepositoryService extends AbstractRepositoryService implements IReconfigurable, IResourceEventReceiver {
       * The name of the configuration attribute that defines the maximum number of
       * news articles to aggregate.
      public static final String CONFIG_ARTICLECOUNT = "articleCount";
       * The name of the configuration attribute that defines the destination
       * directory in KM.
      public static final String CONFIG_KMDESTDIR = "kmDestDir";
       * The name of the configuration attribute that defines the destination file
       * in KM.
      public static final String CONFIG_KMDESTFILE = "kmDestFile";
       * The name of the configuration attribute that defines the news directory
       * in KM.
      public static final String CONFIG_KMXXXDIR = "kmNewsDir";
       * The name of the configuration attribute that defines the KM service user.
      public static final String CONFIG_KMUSER = "kmUser";
       * The name of the configuration attribute that defines the supported
       * languages.
      public static final String CONFIG_LANGUAGES = "languages";
      // the logger for this service
      private static final ILogger _LOGGER = PortalRuntime.getLogger();
      // The type/name of the repository service.
      private static final String _TYPE = "com.xx.XXXRepositoryService";
      // The destination directory in KM.
      private String _kmDestDir;
      // The destination file in KM.
      private String _kmDestFile;
      // The news directory in KM.
      private String _kmNewsDir;
      // The KM service user unique name.
      private String _kmUser;
      // The supported languages.
      private String[] _languages;
         // Storing repository managers for later unregistering
         private Collection registeredRepositoryManagers = null;
       * Create a new instance of <code>NewsRepositoryService</code>
      public XXXRepositoryService() {
        super();
         _LOGGER.info(_TYPE + ": constructor called.");
       * (non-Javadoc)
       * @see com.sapportals.wcm.repository.service.IRepositoryService#getServiceType()
      public String getServiceType() {
        return _TYPE;
       * (non-Javadoc)
       * @see com.sapportals.wcm.util.events.IEventReceiver#received(com.sapportals.wcm.util.events.IEvent)
      public void received(IEvent event) {
        try {
              _LOGGER.info(_TYPE + ": event received, checking...");
          if ((event != null) && (event instanceof IResourceEvent)) {
            final IResourceEvent resourceEvent = (IResourceEvent) event;
            final IResource eventObject = resourceEvent.getResource();
            final String eventPath = eventObject.getRID().getPath();
            if ((eventObject != null) && (eventPath.startsWith(_kmNewsDir)) && (!eventPath.startsWith(_kmDestDir))) {
              ManageNewsAggregation.work(ManageXXX.getEP5serviceUser(_kmUser), _kmNewsDir, _kmDestDir, _kmDestFile, _articleCount, _languages);
              _LOGGER.info(_TYPE + ": xxx successfully");
        } catch (Throwable t) {
          _LOGGER.severe(t, _TYPE + ": unable to handle event " + event.getDescription() + " caused by " + t.getMessage());
       * (non-Javadoc)
       * @see com.sapportals.wcm.crt.component.IReconfigurable#reconfigure(com.sapportals.wcm.crt.configuration.IConfiguration)
      public void reconfigure(IConfiguration config) throws ConfigurationException {
        stateHandler.preReconfigure();
        try {
          parseConfig(config);
        } catch (ConfigurationException ex) {
          stateHandler.postReconfigure(ex);
          throw ex;
        this.config = config;
        stateHandler.postReconfigure();
       * (non-Javadoc)
       * @see com.sapportals.wcm.repository.service.AbstractRepositoryService#startUpImpl(java.util.Collection)
      protected void startUpImpl(Collection repositoryManagers) throws ConfigurationException, StartupException {
         _LOGGER.info(_TYPE + ": parsing config...");
        parseConfig(config);
         _LOGGER.info(_TYPE + ": done parsing config.");
        try {
              _LOGGER.info(_TYPE + ": startUpImpl(): iterating repository managers: " + repositoryManagers.size());
          Iterator itRepMan = repositoryManagers.iterator();
          while (itRepMan.hasNext()) {
            IRepositoryManager repMan = (IRepositoryManager) itRepMan.next();
            registerMeFor(repMan);
              _LOGGER.info(_TYPE + ": registered for repository manager: " + repMan.getID());
          _LOGGER.info(_TYPE + ": startup completed");
          registeredRepositoryManagers = repositoryManagers;
        } catch (WcmException e) {
          _LOGGER.severe(e, _TYPE + ": error during startup");
          throw new StartupException(e.getMessage(), e);
       * (non-Javadoc)
       * @see com.sapportals.wcm.repository.service.AbstractRepositoryService#shutDownImpl()
      protected void shutDownImpl() {
         try {
              _LOGGER.info(_TYPE + ": shutDownImpl(): iterating repository managers: " + registeredRepositoryManagers.size());
           Iterator itRepMan = registeredRepositoryManagers.iterator();
           while (itRepMan.hasNext()) {
              IRepositoryManager repMan = (IRepositoryManager) itRepMan.next();
              unregisterMeFrom(repMan);
              _LOGGER.info(_TYPE + ": unregistered from repository manager: " + repMan.getID());
           _LOGGER.info(_TYPE + ": shutdown completed");
         } catch (WcmException e) {
           _LOGGER.severe(e, _TYPE + ": error during shutdown");
        _LOGGER.info(_TYPE + ": stopped");
       * (non-Javadoc)
       * @see com.sapportals.wcm.repository.service.AbstractRepositoryService#addRepositoryAssignment(com.sapportals.wcm.repository.manager.IRepositoryManager)
      protected void addRepositoryAssignment(IRepositoryManager mgr) throws ServiceNotAvailableException {
        try {
          registerMeFor(mgr);
        } catch (WcmException e) {
          throw new ServiceNotAvailableException("Cannot register repository service " + _TYPE + " caused by: " + e.getMessage());
       * (non-Javadoc)
       * @see com.sapportals.wcm.repository.service.AbstractRepositoryService#removeRepositoryAssignment(com.sapportals.wcm.repository.manager.IRepositoryManager)
      protected void removeRepositoryAssignment(IRepositoryManager mgr) throws WcmException {
        unregisterMeFrom(mgr);
        _LOGGER.info(_TYPE + ": removed registration from repository manager: " + mgr.getID());
       * Register this repository service for the specified repository manager.
       * @param mgr The repository manager.
       * @throws WcmException When the service cannot be registered.
      private void registerMeFor(IRepositoryManager mgr) throws WcmException {
        // register for all events
        mgr.getEventBroker().register(this, ResourceEvent.CREATE_CHILD_TEMPLATE, IEventBroker.PRIO_MIN, true);
        mgr.getEventBroker().register(this, ResourceEvent.SET_TEMPLATE, IEventBroker.PRIO_MIN, true);
        mgr.getEventBroker().register(this, ResourceEvent.COPY_TEMPLATE, IEventBroker.PRIO_MIN, true);
        mgr.getEventBroker().register(this, ResourceEvent.MOVE_TEMPLATE, IEventBroker.PRIO_MIN, true);
        mgr.getEventBroker().register(this, ResourceEvent.RENAME_TEMPLATE, IEventBroker.PRIO_MIN, true);
        mgr.getEventBroker().register(this, ResourceEvent.DELETE_TEMPLATE, IEventBroker.PRIO_MIN, true);
       * Unregister this repository service from the specified repository manager.
       * @param mgr The repository manager.
       * @throws WcmException When the service cannot be unregistered.
      private void unregisterMeFrom(IRepositoryManager mgr) throws WcmException {
        // unregister all events
        mgr.getEventBroker().unregister(this, ResourceEvent.CREATE_CHILD_TEMPLATE);
        mgr.getEventBroker().unregister(this, ResourceEvent.SET_TEMPLATE);
        mgr.getEventBroker().unregister(this, ResourceEvent.COPY_TEMPLATE);
        mgr.getEventBroker().unregister(this, ResourceEvent.MOVE_TEMPLATE);
        mgr.getEventBroker().unregister(this, ResourceEvent.RENAME_TEMPLATE);
        mgr.getEventBroker().unregister(this, ResourceEvent.DELETE_TEMPLATE);
       * Parse the configuration object and extract the desired attributes.
       * @param config The configuration object.
       * @throws ConfigurationException
      private void parseConfig(IConfiguration config) throws ConfigurationException {
        String tmp = null;
        //     KM service user
        _kmUser = config.getAttribute(CONFIG_KMUSER);
        // news directory     
        tmp = config.getAttribute(CONFIG_KMNEWSDIR);
        if ((tmp == null) || (tmp.length() < 1))
          throw new ConfigurationException("Attribute " + CONFIG_KMXXXDIR + " must not be empty");
        else
          _kmNewsDir = tmp;
        // destination directory
        tmp = config.getAttribute(CONFIG_KMDESTDIR);
        if ((tmp == null) || (tmp.length() < 1))
          throw new ConfigurationException("Attribute " + CONFIG_KMDESTDIR + " must not be empty");
        else
          _kmDestDir = tmp;
        // destination file
        tmp = config.getAttribute(CONFIG_KMDESTFILE);
        if ((tmp == null) || (tmp.length() < 1))
          throw new ConfigurationException("Attribute " + CONFIG_KMDESTFILE + " must not be empty");
        else
          _kmDestFile = tmp;
        // article count
        tmp = config.getAttribute(CONFIG_ARTICLECOUNT);
        try {
          _articleCount = Integer.parseInt(tmp);
        } catch (NumberFormatException e) {
          _articleCount = 0;
          throw new ConfigurationException("Attribute " + CONFIG_ARTICLECOUNT + " must be a valid number");
        // languages
        tmp = config.getAttribute(CONFIG_LANGUAGES);
        if ((tmp == null) || (tmp.length() < 1))
          throw new ConfigurationException("Attribute " + CONFIG_LANGUAGES + " must not be empty");
        else {
          StringTokenizer st = new StringTokenizer(tmp, ",");
          _languages = new String[st.countTokens()];
          int i = 0;
          while (st.hasMoreTokens()) {
            _languages[i++] = st.nextToken();
         _LOGGER.info(_TYPE + ": configuration is _kmUser=" + _kmUser);
         _LOGGER.info(_TYPE + ": _kmNewsDir=" + _kmNewsDir);
         _LOGGER.info(_TYPE + ": _kmDestDir=" + _kmDestDir);
         _LOGGER.info(_TYPE + ": _kmDestFile=" + _kmDestFile);
         _LOGGER.info(_TYPE + ": _articleCount=" + _articleCount);
    This code registeres certain event handlers in the KM, on which the received-method is called. Depending on the event type you may start some processing like creating notifications.
    Many links about implementing repository services can be found here: https://www.sdn.sap.com/irj/sdn/thread?threadID=45636.
    Cheers,
      Jürgen

Maybe you are looking for

  • AS2 open another scene and play a label inside a mc

    I'm looking for a piece of AS2 script that will open a different scene and play a label from inside a mc. So it should be something like... On release go to scene x and play x label from inside x mc. I can get to the scene via the button "on release

  • How can I Create a software analog trigger for a counter (6602)

    Hi ? I need a software trigger (variable trigger level) for a rising trigger slope of a PWM signal. So is there any possibility to start the PWM measurement at a special PWM-voltage level? Or could I at, in front of the Counter an AnalogIn and genera

  • Purpose of a finally clause ??

    What is the purpose of a finally clause? Could you give a short example?

  • Help installing windows 8.1

    Hello, I'm new to your community. I am from Georgia(country in eastern Europe). In my country there is no lenovo support centre and I decided that in this place i can get support which i'm searching for. I have lenovo g510 notebook. i am new user so

  • Automatic population table form

    I have table form. I need to automatic populate certain fields of this table form with values based on selections made by users in their select lists. As in this example http://htmldb.oracle.com/pls/otn/f?p=31517:106:3816553832235531::::: Suppose, 1