Refer Portal service in EP7.3

Hello all,
step 1 : migrated  Portal service par 7.0 to 7.3 Dc  (susezp/scsusezp/dc_portalservice_ear) by using Portal Dcs under track added required code.
step2 :migrated  portal component par 7.0 to 7.3 Dc  (susezp/scsusezp/dc_s2p_announcement_ear) by using Portal Dcs under track added required code.
portal service DC  added under dependencies of portal component DC.
now  i have deployed portal component getting below error :
Caused by: com.sap.engine.services.servlets_jsp.server.deploy.impl.exceptions.WCEApplicationNotStartedException: The application [pg.com/susezp~scsusezp~dc_s2p_announcement_ear] is configured to have ALWAYS start up mode. Currently it is in STOPPED status - because of this it will not be started implicitly by the Web Container service and any internal operation that needed this application to be running will fail. The reason for STOPPED status is because the application failed to start during cluster startup. The error is: 5625350
startApp
2
Application pg.com/susezp~scsusezp~dc_s2p_announcement_ear cannot be started. Reason: it has hard reference to the following resources, which are currently not available on the system: hard to SAPPORTAL/pg_portal_service_ear (public) (f=true, cl=true); .
In order to start the application, components that provide the missing resources should be successfully deployed.
it is showing portal service in stopped but if saw in NWA  java application  portal service is showing status as started.

Is the reference you are using (SAPPORTAL/pg_portal_service_ear) right for sure? It looks your service has another one, since EP cant find it
cheers

Similar Messages

  • How to create Web Services Using EP7

    Hi
    I got a chance to work on Web Service using EP7 and i am new to web services
    This is the first time i am working on Web Services
    so please can you guide me where to start and how to start.
    if possible reffer some links regarding web services.
    regards
    mmukesh

    Hi Mukesh,
    Please refer to the document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60046fb9-ac5b-2910-08a6-b7b04b463c62
    Thanks
    Sarang

  • How to acces portal services in webdynpro

    Hi I want to access portal services from webdynpro,  i red that for that we have to  provide sharing reference in webdynpro application. which will be
    PORTAL :< Vendor name>/<Full qualified name of the portal service>
    my question is how to find out vendor name and Full qualified name of the portal service from par

    Hi,
    Web Dynpro applications can access portal services in one of the following ways:
    ●      Directly: The application can get an instance of the service on the machine on which the Web Dynpro application is running.
    ●      Via the Service Factory: The application can request an instance of the service from the service factory. The service factory provides a conduit to portal services to ensure that the proper service is called, even in cases when the Web Dynpro application and the portal are running on different machines.
    Only services written in a remote-safe manner are available via the service factory. These services include the following portal services:
    Page Service
    Tray Service
    Page Service
    The page service provides information about the page in which the application is running, and enables you to perform the following tasks:
    ●      Getting a list of the atomic names of the visible iViews in the page.
    You may want to use this method to avoid updating the user interface of an iView when it is not visible.
    IWDPageService pageService = (IWDPageService)
        WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    // String array receives iView names
    String[] iViews = pageService.getVisibleIViews();
    ●      Hiding/showing iViews in the page
    IWDPageService pageService = (IWDPageService)
        WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    // display iView Search
    pageService.showIView("Search");
    // hide iView Details
    pageService.hideIView("Details");
    Changes to the visibility of iViews are not saved. When a user refreshes the page, the original settings are restored.
    Tray Service
    The tray service enables you to add a menu item to an iView or page tray, and to specify a Web Dynpro action to execute when the menu item is selected.
    The following is an example of adding an iView and page menu item:
    IWDTrayService trayService = (IWDTrayService)
        WDPortalUtils.getService(WDPortalServiceType.TRAY_SERVICE);
    if (trayService != null) {
        // Add iView tray menu item
        trayService.addIViewItem("addItemComment", "Add Comment",
        wdThis.wdGetAddItemCommentAction(), null);
        // Add page tray menu item
        trayService.addPageItem("addItemComment", "Add Comment",
        wdThis.wdGetAddItemCommentAction(), null);
    Generally, tray menu items are added in the wdDoModifyView() method. Make sure to add the menu item once; otherwise, duplicate menu items are displayed.
    Procedure
    This section describes how to call a portal service.
    For services whose interfaces are provided by Web Dynpro (such as IWDPageService and IWDTrayService), you do not need to perform Steps 1 and 2.
           1.      Make a sharing reference to the service, by doing the following:
                                a.      Right-click the Web Dynpro development component or Web Dynpro project, and select Properties.
    The Properties dialog box opens.
                                b.      From the left pane, select Web Dynpro References.
                                c.      In the Sharing references tab, add a reference to the portal service with the following format:
    PORTAL:<Vendor name>/<Fully qualified name of the portal service application>
    For example, the following shows a reference to the navigation service:
    This graphic is explained in the accompanying text
           2.      To build the project, add the JAR file containing the service to the classpath of the project in the IDE.
    Do not store the JAR file of the service in the libfolder of your development component or Eclipse project. This causes classloader problems at runtime.
           3.      Get an instance of the service.
    To call a portal service directly, without the service factory, call WDPortalUtils.getServiceReference() with the key for the service, as in the following example:
    IUserObjectBasedNavigation obnService = (IUserObjectBasedNavigation)
        WDPortalUtils.getServiceReference(IUserObjectBasedNavigation.KEY);
    To call a portal service via the service factory, call WDPortalUtils.getService() with the WDPortalServiceType constant for the service, as in the following example:
    INavigationService navService = (INavigationService)
        WDPortalUtils.getService(WDPortalServiceType.NAVIGATION)
    If more than one Web Dynpro controller needs to use the same portal service, you can store the portal service reference in a controller context node. All other controllers that need to use the service must define a context node and map it to the context node with the service reference.
    A portal service can be called only when the portal platform and the Web Dynpro application are running on the same machine.
    It is recommended not to use your Web Dynpro-based portal content in a global or federated portal scenario.
    Refer This Link for More Information:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm]
    I Hope This Information Might Be Helpful For you.
    Regards,
    Sharma.

  • How to create the Portal Service in Portal 7.3,

    Dear Experts,
    how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration
    Thanks,
    Sagar Pande

    Hi Sagar,
    Procedure
      1.  Open the SAP NetWeaver Administrator by either of the following methods:
           a. Use the URL to your AS Java (hostname:port) to access the AS Java home page and use the link to SAP NetWeaver Administrator.
           b. Alternatively, add nwa to the AS Java URL to access SAP NetWeaver Administrator directly. (hostname:port/nwa).
      2  Go to   Operations Management   Systems   and click the Start & Stop link.
        The Start & Stop: Java EE Instances window opens.
      3  Click the Java EE Application bar and select the relevant application in the Application List.
        The Portal Services pane displays the services associated with the selected application.
      4  Use the buttons Start Service or Stop Service.
    Refer to Portal 7.3 help
    http://help.sap.com/saphelp_nw73/helpdata/en/f6/ac978061ac4b24a87a1f821313c4fe/frameset.htm
    Br,
    Venky

  • How to Create Portal Service in Portal 7.3

    Dear Experts,
    how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration
    Thanks,
    Sagar Pande

    Hi Sagar,
    Procedure
      1.  Open the SAP NetWeaver Administrator by either of the following methods:
           a. Use the URL to your AS Java (hostname:port) to access the AS Java home page and use the link to SAP NetWeaver Administrator.
           b. Alternatively, add nwa to the AS Java URL to access SAP NetWeaver Administrator directly. (hostname:port/nwa).
      2  Go to   Operations Management   Systems   and click the Start & Stop link.
        The Start & Stop: Java EE Instances window opens.
      3  Click the Java EE Application bar and select the relevant application in the Application List.
        The Portal Services pane displays the services associated with the selected application.
      4  Use the buttons Start Service or Stop Service.
    Refer to Portal 7.3 help
    http://help.sap.com/saphelp_nw73/helpdata/en/f6/ac978061ac4b24a87a1f821313c4fe/frameset.htm
    Br,
    Venky

  • Trouble creating a portal service

    Hi,
    We are trying to create a portal service with the DeveloperStudio (7.1) and are having lots of problems. We are creating the project with the "Portal Application Project" and then creating the service via "Portal Application Object".  This worked well in the old 7.0 environment.
    We can find the services via nwa and it says there that they are running but we have no indication that they have really started, because the functionality isn't be used. The logger is not being fired either.
    Checking the traces we are finding strange warnings like "Web Model Builder: WEB-INF/web.xml is not Java EE 5 compatible, because of this annotations will not be processed." or "BcaClassFinder.addResources Can not open zip fileD:\usr\sap\CE1\J00\j2ee\cluster\server0\temp\deploy\work\deploying\TestServices.ear1215787665722\META-INF\sda-dd.xml it is not a valid zip archive"
    We created another service without any code from us and we are still getting strange errors.
    We also changed the permissions for the service to "Everyone" and this still didn't help.
    Our functionality can be packed in some other sort of service - it doesn't have to a portal service. The main requirement is that the service is restarted after a server restart.
    Does anyone have a clue what the problem might be or what sort of a service might be more appropriate?
    Thanks.
    Dick

    add the user & password at the end of ur URL
    refer the following thread.
    external service configration+adding webservice with basic authentication

  • Fully qualified name of the portal service application

    Hi,
    I want to Access portal Services from Web dynpro, for Which we have to provide Sharing reference,
    this would be
    PORTAL:<Vendor name>/<Fully qualified name of the portal service application>
    my question is how to find out "Fully qualified name of the portal service application"
    regards,
    Venki.

    Venki,
    Please refer this thread.
    Re: Changes are not getting reflected in theme
    We cannot access the portal service in the browser as the service wont produce any http request. Instead you can access & utilize  the service in the the portal component such as JSP Dunpage etc.  which will produce the http request and display the result or o/p  on the broswer.
    Ramganesan Karuppaiyah

  • How to log exceptions and imp logging info in Portal Service via ILogger?

    Hi Experts,
    I m trying to use ILogger for my application.
    Information about my application:
    I have created a Portal Service and exposed it as a Web Service which is deployed as a PAR file on to the SAP J2EE Engine.
    I need to use the Logging facility of ILogger in this Portal Service.
    I have written the following code in the Init() function of the Portal Service
    public void init(IServiceContext serviceContext)
           mm_logger = serviceContext.getLogger("com.persistent.pankaj");
    I have put the logger.xml in the logger folder of PORTAL-INF
    my logger.xml is as follows:
    <Server>
    <Logger name="testLog" loggerInterface="com.sapportals.portal.prt.logger.ILogger" locationName="com.sap.portal.testLog" pattern="%d # %20t %15s %m #" isActive="true">
    <LoggerClass className="com.sapportals.portal.prt.logger.SimpleFileLogger" level="INFO">
    <param filename="logs/com.persistent.pankaj.log" append="true">
    </param>
    </LoggerClass>
    </Logger>
    </Server>
    On deploying my portal service as a web service
    I m unable to get the logs.
    I even dont know where will i get the log file, means wat is the exact location where i can check my log results
    I m a newbie for this
    Please help me out
    Help will be rewarded n appreciated
    -pankaj

    Hi Pankaj,
    In your init method try this code to create the logger:
    ILogger logger = PortalRuntime.getLogger("testLog");
    In your logger.xml the logger name was testLog and not com.persistent.pankaj so while creating logger you should use testLog in the above code.
    By default all the logs are written to defaultTrace.log files, to check them read this:
    Portal Runtime Logs
    If you want to log in a seperate logfile then you should set a seperate log destination, which is not recommended on productive systems due to performance problems.
    Also read these to know how to set seperate log destinations:
    Netweaver Portal Log Configuration & Viewing (Part 3)
    Netweaver Portal Log Configuration & Viewing (Part 1)
    Netweaver Portal Log Configuration & Viewing (Part 2)
    Regards,
    Praveen Gudapati

  • Error during startup of portal service after SPS11

    Hi Guys,
    After installation of SPS11 to our 2004s portal system we have problem with startup of our Portal service.
    Before SPS11 we had SPS9 system and everything was working correctly.
    Our service is connecting to Database during its initialization.
    This is part of our code:
    Properties p = new Properties();
    p.put("java.naming.factory.initial", "com.sap.engine.services.jndi.InitialContextFactoryImpl");
    try
         Context ctx = new InitialContext(p);
         _ds = (DataSource)ctx.lookup(POOLNAME);
         Connection conn = _ds.getConnection();
         conn.close();
         LogWriter.traceInfo(LogWrapper.trace,"Connection established.");
    } catch (NamingException ex)
    The error is:
    #1.5#000802A2BF4A00580000038200003E3000042C1F016BDC9A#1174411586934#System.err#sap.com/irj#System.err#Guest#2####a813ff20d70611dbbcd7000802a2bf4a#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of SABMILLER.
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at cz.sap.statemanagement.StateLogRetriever.<init>(StateLogRetriever.java:73)
    The probleam appears only during startup of portal!
    If you deploy service on running portal it is started without any problems.
    We tried to apply note (Note 960199 - 2-Phase Init Mechanism for Portal Services is Deprecated) but without success.
    This is modification of our portalapps.xml as described in Note.
        <service name="StatemanagementLogService">
          <service-config>
            <property name="className" value="cz.sap.statemanagement.StatemanagementLogService"/>
            <property name="startup" value="true"/>
            <property name="twophaseinit" value="always"/>
          </service-config>
    Please could you help us with this problem?
    Anyone has an idea what is wrong?
    Thanks a lot
    Ondrej

    Hi Nirmal,
    thanks you for your quick response. This is what the installer returns when I use your suggested command:
    Mar 7, 2012 2:35:56 PM [Error]: The parameter jce_policy_zip in externally supplied configuration is invalid.
    I looked up the parameters for the STARTUP:
    rootdir [guiport] [httpport] [guistart] [guimode] [config] [sid] [instanceNr]
    Thus the jce_policy_zip is not a valid parameter.
    However, after deleting the file specified I could just run STARTUP again and this worked.
    Thanks
    Marcel
    Edited by: M. Rabe on Mar 7, 2012 2:57 PM

  • Get current user in portal service context

    hi guys,
    We want to implement a portal service which will check user's role from LDAP, and we need to get the current user id.
    We know for class IPortalComponentRequest, there is method getUser().getUserId(), is there any similar method for IServiceContext? or any way for us to get user id in portal service?
    regards,
    Guo Feng

    Hi Feng,
    Implement
    public String getParameter(IPortalComponentRequest arg0, String arg1)
    eg in your implementation class and add the following code.
    IUserContext userContext = arg0.getUser();
    String username = userContext.getLogonUid();
    String full_name = userContext.getDisplayName();
    HTH

  • Error while creating a Portal Service

    Hi All,
    I have created a portal service as illustrated in the following link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0b57e590-0201-0010-a29f-abd37a436f54
    I get the following error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : SnowServiceAccess.SnowComponent
    Component Name : SnowServiceAccess.SnowComponent
    com.sap.portal.tutorial.service.ISnowService.getAllStationPictures()Ljava/util/Hashtable;.
    Exception id: 06:51_10/05/06_0001_604684950
    See the details for the exception ID in the log file
    Any idea ???
    Thanks,
    Shiraz

    Shiraz,
    can you let me know what is the exact exception, that is logged in the log file ?
    May be you might have missed out some jar files.
    kiran

  • Need info on Accessing portal services within a Web Dynpro application

    Hi,
    I need information on Accessing portal services within a Web Dynpro application.I want to explore this topic.Can anyone give useful links?
    Thanks in advance.
    Rajani N

    Hi
    how to reference  a portal service with web dyn pro ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how%20to/how%20to%20access%20a%20portal%20service%20within%20a%20web%20dynpro%20java%20application.pdf
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html
    Best Regards
    Jakub Krecicki

  • Consuming a webservice from a portal service...

    Hello all,
    I am playing around with the example code for imlimenting a federated search (found in the km section) and was trying to use a webservice call to google as an example of a the federated search.
    I generated a client side portal service (from the goodle wsdl) and I am now trying to access it form the search virtual index service I wrote...
    I someone can point me in the correct direction that would be great... I was looking at the following blog Accessing an External Web Services in Portal which helped setup the webservice but I find the code used to access it does not help. For one thing I can not find the IServiceName class anywhere in the portal or j2ee javadoc or jat files.
    Cheers,
    D.

    Hi ,
    I am getting the problems while consuming the web services in portal component.
    I am not able to call the methods of web services.
    look at my code.
    IListServiceName client=
    (IListServiceName) PortalRuntime.getRuntimeResources ().getService (IListServiceName.KEY);
         GetListResponse glr= client.getList();
    frist line is working fine.
    In my web service i have a method called GetList().
    Any way i have to call that method and get the result.
    But there are other classes which are automatically generated when i consumed the web service, like      GetListResponse().
    When i try to call client.GetList(); it gives the error at run time, No error in the code but the errors are coming at run time.
    Where is the problem? other things like proxy settings, etc i have done.
    What could be the problem? Can any one suggest.
    Regards
    Bala

  • Error in Portal service

    Hi All,
    i am trying to connect Crystal report  through portal service.
    but getting following error,
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.xyz.fol.fxyzcrystalreports/com.xyz.rol.rcrystalreports/crystal_iview_COPY_0_0
    Component Name : com.sap.portal.appintegrator.sap.CrystalReport
    Exception in SAP Application Integrator occured: Unable to process template 'apsuser=<MappedUser>&apspassword=<MappedPassword>&apsauthtype=Enterprise&sf=<supplierid>', because 'supplierid' is an invalid terminal property of the Root context..
    Exception id: 02:51_09/08/07_0062_306388250
    See the details for the exception ID in the log file
    what may be the reason, any solutions?
    Thanks in advance
    Regards,
    Murali

    Hi,
    Please check if you have made a copy of the Crystal report Iview using plain copy method. If so use Delta copy...
    Also please check again if the system connection tests and user is valid and working.
    Regards,
    Rohan
    *reward points if useful

  • Urgent- Issues in Creation of Web Service extending Portal Service

    Hi Experts,
    I am facing following issues,
    1.I've created Portal Service and extended it as Web Service, this web service I am not able to view in Webservice Navigator.
    2.When I am trying to send request to WS from EP Web Service checker in NWDS I am getting an error that "The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.PortalUMEService or the service was not found"
    Any Help from you is highly appreciated.
    Regards,
    Maruti Prasad

    hi  Marti ,
    I have few pdf Reg this i did sample WSDl and tested its workingf fine
    plese send me e  mail  i will send you
    Regards ,
    venkat

Maybe you are looking for

  • I need help with Sunbird Calendar, how can I transfer it from one computer to the other and to my iphone?

    I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone? Thank you in advance,

  • Program error when attempting to edit a vector smart object. Help?

    I'm running Photoshop CS6 (13.0.1) 64bit on a MacBook Pro running OS X Lion. About 60% of the time when I try to double click a vector smart object instead of opening it up in Illustrator I get an error that says, "Could not edit original smart objec

  • In segment IDOC attribute I occurred instead of SEGMENT

    Hi I am trying to post an IDOC thru XI, using XSLT(ABAP Engine) to convert an incoming message to IDOC format. Though the IDOC output is well formed, the message fails with an error message(see below). Has anyone experienced this problem before? I am

  • Better approach time series calculations

    Hi, I have a technical answer. In your opinion, to improve performances, is better calculate YTD, QTD, PY.... etc., values using Time Series functions available in OBIEE (YearToDatel, AGO, PERIODROLLING...) or put them in ETL Flow so OBIEE Server onl

  • Adobe Media Server License for sale

    Adobe Media Server 5 Professional (All Platforms,Universal English) Legally owned by a US based company. License will be transferred to the new owner >>> http://kb2.adobe.com/cps/152/tn_15281.html Price is negotiable. For more info email:  [email pro