Undemploying Portal component
Hi,
I have deployed an abstarct portal component in the Portal. Even after undeploying the component from System admin- support-portal runtime- Administration Console, the the compoent is not removed.
Only after server restart, it is removed.
Is there any way to undeploy a component without restarting the server. As it is expensive to restart the server each time a component is to be undeployed.
Thanks in Advance,
Regards
Veerabhadram
Hi,
Please check the below link for undeployment.
http://help.sap.com/saphelp_nw04/helpdata/en/28/2c3c1bf823204c8370bfacbe54133b/frameset.htm
Regards,
Raghu
Similar Messages
-
Error while consuming web service in portal component
Hi All,
I am working on a portal application which uses web services in portal component via web service.
I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
Portal Runtime Error
An exception occurred while processing a request for :
iView : Test_portal_service_app.Test_portal_service_app
Component Name : Test_portal_service_app.Test_portal_service_app
com.sap.portal.ivs.global.ume.UMECLient.
Exception id: 11:17_03/07/08_0028_2739150
See the details for the exception ID in the log file
I did not use any ume attributes or ume api methods in the portal component .
I have also added sharingreference= portalserviceapplication name in deploymentdescriptor of the portal application which has the portal component.
Please provide any suggestion for the possible cause of error .
Urgent!!!!
Thanks.Hi all,
Please throw some light into this issue i am getting the following exception.
com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
I have given the proxy settings in the com.sap.portal.ivs.httpservice in the portal and also
defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
I am calling service in the following manner.
IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
IService service = runtime.getService(IWS_P_Service.KEY);
IWS_P_Service ws_service = (IWS_P_Service)service;
Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
// working upto here
response.write("working");
ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
double result = cvu_res.getChangeVolumeUnitResult();
response.write(result+"");
It is working upto "working".
If any body has any solutions please post.
Thanks -
Error Reading Property File in Portal Component
Hello,
I have created a portal component that calls an api that is located in a jar file. The documentation on the Portal Component Structure specifies putting the jar file in the PORTAL-INF/lib directory, which I have done. The problem is, my jar file reads a property file using ResourceBundle, but it doesn't find the property file. I have placed the property file in the jar file, and throughout the portal component structure, but it just can't find it. Has anyone else done something similar? If so, where did you put your property file(s) for external jars that are used in the portal component.
EP6 SP2 Patch27
thanks,
KeithHi,
I had similar issues and moved the property files to PORTAL-INF/classes.
Best Regards
Frank -
How to access a web service(.wsdl) from portal component.
Hi ,
Is there any document/tutorial available on how to access a webservice from portal component ?
I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
but the urls in the link are not working...
i want to know the steps to access webs service and sample code if some body has already done that..
Thanks for the help.
LakshmiHi Lakshmi,
See the links below:
http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
Hope this helps.
Regards,
Pooja. -
Anonymous access to Portal Component over direct URL.
Hi All,
Im having a few Issues with enabling anonymous access to a portal component.
Here is a mock of our portalapp.xml file
<?xml version="1.0" encoding="iso-8859-1"?>
<application>
<application-config>
<property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
<property name="startup" value="true"/>
<property name="releasable" value="true"/>
<property name="Vendor" value="com.ourdomain"/>
<property name="SecurityArea" value="OurSecurityArea"/> -->
</application-config>
<components>
<component name="MyComponent">
<component-config>
<property name="ClassName" value="com.ourdomain.MyClass"/>
<property name="ComponentType" value="servlet"/>
<property name="SafetyLevel" value="no_safety"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application>
I want to be able to access the servlet over a URL like...
http://host:port/irj/servlet/prt/portal/prtroot/MyApp.MyComponent
I have added the Default User Group Everyone to the no_safety area of our com.ourDomain Security Zone.
However when try to navigate to the URL we are first faced with a SAP Portal login page. on successful login the servlet is then shown.
Note: I was able to get the Same Servlet working within an iView when the iViews Authentification Scheme was set to anonymous...However i am under instruction to get it working without the iView...
As Background, The servlet is to be a sink for accepting data sent via an HTTP Post.
Any help with this or pointers in the right direction would be greatly appreciated.
-PaulHi Darrell,
Thankyou for that, yes it has helped....And I can now access the servlet directly without need to login.
I figured that there was something that i was missing.....
-Paul -
Error while running a portal component.
Hi,
I am not able to access portal service from an abstract portal component that I created in the same project as the portal service. Here is the error I am getting:
Portal runtime error.
"An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 11:45_15/01/09_0068_15350950
Refer to the log file for details about this exception."
Here is the portalapp.xml:
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config/>
<components>
<component name="AOSTestComp">
<component-config>
<property name="ClassName" value="com.gfc.ume.service.AOSTestComp"/>
</component-config>
<component-profile/>
</component>
</components>
<services>
<service name="OfficeListService">
<service-config>
<property name="className" value="com.gfc.ume.service.OfficeListService"/>
<property name="startup" value="false"/>
</service-config>
</service>
</services>
</application>
Here is the code for the service:
public interface IOfficeListService extends IService
public static final String KEY = "OfficeListService";
public String testMyService(String user);
Here is the code for the component:
package com.gfc.ume.service;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.runtime.IPortalRuntimeResources;
import com.sapportals.portal.prt.runtime.PortalRuntime;
import com.sapportals.portal.prt.service.IService;
public class AOSTestComp extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
IService aService = runtimeResources.getService(IOfficeListService.KEY);
IOfficeListService myService = (IOfficeListService)aService;
response.write(myService.testMyService("Longivity"));
Thanks
TonyTony,
this is Java Web Dynpro forum.You already have posted this same question twice in Portal forums. This is third time. please dont do so. We have to keep SDN clean (no redundancy).
Regards,
Yogesh Varma -
Portal Component receives GET from other app out of the Enterprise Portal?
Hello.
I want to design a portal component, to which i can send GET-Parameters via URL.
The sending application runs out of the enterprise Portal and has a simple HTML-form (The portal component generates HTML and JAVA-Script for a Flex Application in the Enterprise Portal which should point to a specific document named in the params. The params will be written into the generated HTML document after calling).
Is this possible without authetification and how would the URL looks like, which is used to call the enterprise portal?
Pls help me.
With best regards
Edited by: Björn Karpenstein on Aug 15, 2008 11:02 AM
Edited by: Björn Karpenstein on Aug 15, 2008 11:03 AM
Edited by: Björn Karpenstein on Aug 15, 2008 11:05 AMHi Björn,
you can access request parameters with the following code in the standard methods of your Portal Component:
// IPortalComponentRequest request;
request.getServletRequest().getParameter("ParamName");
The direct URL of your Portal Component without a specific iView is:
http://
If your component should be directly accessable without authentication you must add the following property in your portalapp.xml in the the component-profile section:
<component-profile>
<property name="AuthScheme" value="anonymous"></property>
</component-profile>
Best regards,
Stefan Brauneis -
Event Handling in Abstract Portal Component
Hi Friends,
I am using HTMLB Classlib in an Abstract Portal Component to develop a Dropdownlistbox. Now I want to handle the event of change of selection in this dropdown. However, this event is not getting captured. Sample code is as follows:
public class dropdownsimple extends AbstractPortalComponent
public void onClick(Event event)
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IPageContext myContext1 = PageContextFactory.createPageContext(request, response);
Form myForm = myContext1.createFormDocument("CRMForm");
GridLayout myGrid = new GridLayout();
DropdownListBox drp = new DropdownListBox("drp");
drp.addItem("Key 1","Item 1");
drp.addItem("Key 2","Item 2");
drp.setOnSelect("onClick");
myGrid.addComponent(1, 1, drp);
myForm.addComponent(myGrid);
myContext1.render();
I am able to see the dropdown box along with values when I preview the PAR iView created from this component. Please let me know how to capture the event of change of selection in the dropdown?
Edited by: Shetul Chothani on Jun 21, 2011 6:37 AMHi,
Change this line
drp.setOnSelect("onClick");
to
drp.setOnSelect("click");
and leave the line
public void onClick(Event event)
as it is, and it should work just fine.
I.e., if you name your event "fooBar", the event handler should be named "onFooBar"
Cheers,
Robin -
Hi all,
We are stumped with a problem in our QA Enterprise Portal (7.3.1 Sp7) that throws a portal runtime error when we preview a Business Objects document iview. The Business Objects Server versions are 4.0 SP5 and/or 4.1 SP3.
The error is caught in the the defaultTrace file, /usr/sap/QNW/J00/j2ee/cluster/server0/log
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: There is no portal component associated with the following context:
pcd:portal_content/com.summit.SES_BI/com.summit.iviews/Daily_Margin
at com.sap.portal.prt.component.PortalComponentContext.<init>(PortalComponentContext.java:93)
Here is what we have tried
* Confirmed the iviews exist in the PCD, by browsing to the content folders and right lick, preview on the iview.
* Our PRD and DEV systems work correctly and are on same versions of EP Runtime and java. 7.3.1.7.0.201..
* Occurs with all Businessobjects iviews from the QA portal and all doc types, webis, dashboards. Tried creating new iview.
* Reapplied the com.sap.businessobjects.iviews.templates.epa to the Portal from t he BI 4.1 SP3 distribution
* Deleted and recreated the BI portal system connector using the SAP BOBJ system template set path to http://bi-qas:8080/BOE
* Set the embed key value in the BI system connector property and in the custom global.properties file, restarted tomcat and SIA services
* Set permissions for everyone end user on the content folders and the BI system connector
* Confirmed Single sign on configured correctly between BI and Portal
* Confirmed that the QA BI server is configured correctly by directing the working DEV Portal to the QA BI server.
* Performed actions in note 1709737
We are certainly stuck and the defaultTrace file is not very informative. Any suggestions are greatly appreciated
Lee LewisThis is resolve with note 1615838 - SAP Netweaver Enterprise Portal 7.3 iView creation with BI 4.0 results in exceptions.
The note includes a file portalapp.xml that need to be inserted into com.sap.businessobjects.iviews.par that is included in the BI server distribution.
Then deploy the ear file.....
Odd thing is that the note mentions 4.0 and we are on 4.1 SP3...
Environment
SAP BusinessObjects BI Platform 4.0 SP02 Patch 4 or lower
SAP Netweaver Enterprise Portal 7.3
Lee Lewis -
Error in service call of Portal Component
Hi
When user trying to access the ITS screen through portal he is getting the following error.
Portal runtime error with exception id.
I
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
With the same exception id i could see the another error...
com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Exception occured in layer CommonTopLayer
All other users can access it successfully..
What could be the problem.
Please suggest us.
Thanks & Regards
Sowmya.hi,
i had the same exception.....
and find some notes mentioned in other thread:
Note 1063785 - Runtime of Remote Delta Links fails...
but seems still not work.
any suggestion? or some support package maybe..?
Edited by: fishy 61 on Oct 13, 2009 4:18 AM -
Difference between Abstract portal Component and JSPDyn page.
Hi Experts,
What is the difference between Abstract portal Component and JSPDyn page.
Thanks,
Jay.Hi,
The PDK provides two methods for creating a portal component:
Abstract Portal Component
The Abstract Portal Component class offers a lean method for writing HTML commands to the Web client as well as for basic event handling. It is an implementation of the IPortalComponent, which is the central abstraction of the Portal Component API.
DynPage
The Page Processor Component, which extends the Abstract Portal Component, returns a DynPage. It provides more sophisticated event handling. Controls that produce events (such as buttons and checkboxes) have an event attribute that contains the name of the event handling method. This event handling method is invoked by the DynPage when it occurs.
The JSPDynPage is an implementation of the DynPage and allows the use of the DynPage in combination with JSP (Java Server Pages).
The PDK documentation and examples focus on the DynPage. Easier event handling and the separatation of content development (JSP) from application development (Java) make the DynPage a better choice for components with interaction and changing content.
For more details, Refer thes thread,
https://fortress.wa.gov/dop/portal/irj/portalapps/com.sap.portal.pdk.basic.portalcomponentimplementation/docs/jspdynpage.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0b3e9d5-b2af-2a10-20ba-9f6ce6b1a27f
Hop it helps..
GS
Edited by: Sathishkumar GS on Apr 14, 2008 2:07 PM -
How to access the webservice in portal component
hai
how to access the webservice in portal component.
anyone knows give the solution
Rds
ShanthakumarHai
Please check this link.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/connectivity&
Regards -
Creating iViews Based on Remote Portal Component iViews
Hi,
Does anybody know if Portal 7.0 EHP 2 supports creating a local iview for a remote transactional iview? I saw this SAP Help link, but it is not really clear on Transactional iviews.
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f7/34fe8694c84512a2c62cc6d145736e/frameset.htm
Thanks
SathishHi Prasanna,
this needs some clarifying concerning wordings:
1.) An iView is an "instance" of a portal component. Within the Portal, you have deployed different applications, each app consists of one ore more components (and/or services, but services are faceless).
2.) The "traditional" way to implement such a component is to do it directly via HTMLB, JSPDynPages etc. Deploy this app within the portal and then you can create an iView build directly on this component.
3.) Alternatively, you have components at hand, which import other applications / or web stuff. The most simple for example is an URL-iView. This is an iView using a component which just retrieves the content from some URL given. A more complex example is the ApplicationIntegrator, which does the same plus passing login params etc.
4.) One possibility is to integrate WebDynpro-Applications via a specific WebDynpro iView. The combination of this has the added value that from WebDynpro Applications you are able to use the Portal Services, so you have a far more tight integration.
5.) With all this at hand, the rest should be self declaring: Yes, you can develop "normal" J2EE-Apps, based on "good old JSP/Servlet + EJB" technology and integrate it via URL/AppIntegrator iViews. But you can also use WebDynpro for your frontend and EJB's for your backend with the advantage of tighter integration.
Hope it helps
Detlev -
How to Call Webservice in Portal Component?
Hi Experts,
Currently, I have a URL of WSDL file, how can I consume this webservice in portal component. I know that we can call webservice via webdynpro application/standalone proxy/deployable proxy, but it seems different in portal component.
Thanks & Best Regards,
JamesAccessing an External Web Services in Portal
Accessing an External Web Services in Portal
http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
Consuming Web Service from ABAP
Consuming Web Service from ABAP -
How can I include a portal component look and feel in a java servlet
Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?
Hi José,
I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
Regards,
Guru.
PS: Give points for helpful replies.
Maybe you are looking for
-
Mid-2010 battery dead after 629 cycles?!?
Hi, My mid-2010 Macbook Pro 15" battery is seemingly dead after only 629 cycles. It says that the condition is "replace now" and the green indicator lights flash when I press the button on the side. It was working fine, and then I didn't use the comp
-
Firewire 400 port??
Why don't the new MacBook Pro's have a firewire 400 port??
-
Cannot get drivers and updates for my PC
I'm finally upgrading my hp pavilion d4500e cto desktop pc from XP to Windows 7 (I don't like Win 8 so got Win 7 Prof). Before upgrading, I want to update the BIOS if needed and save off the drivers and updates to external storage. I went to the Sup
-
My ipad mini 3 is not showing that it is connected to the wifi, but it is saying it is not connected to the internet. I have reset network settings and then reset all settings and it has not worked. I have tried to change it to static and change th
-
Colored spot like water spot on my turned-on retina screen
few month ago, i've got my Macbook Pro with 15 inch Retina display, and everything was very good until someday and suddenly a small colored spot has appeared on my turned-on screen, and it's exactly looks like a spot of water on a bright screen, when