PCD Index
I'm trying to open the PCD for searching of iViews and Pages. I followed SAP documentation. Enabled the portalRolesSearch service in
Index Management Service. I made the PCD visible in the root directory. Restarted portal as needed. I then created the index,
but it appears to be stopped and I cannot get it started.
If I try to reindex from the Index Admin screen, I get message: "Operation failed Method not supported on PCDSearchIndex."
When I try to reindex from the Index Monitoring screen, I get a runtime error:
pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/
com.sap.portal.system_admin_ws/com.sap.portal.system_configuration/com.sap.km.AdminConfig/
com.sap.km.AdminSystemIndexes/relatedItems/RelatedLinks/com.sap.km.CrawlerIndexMonitor
Component Name : com.sap.km.cm.crawlerindexmonitor"
Is there something that I missed? I had this working on our Sandbox, but had to delete the index for other reasons.
Now I can't get it to work on Dev or Sandbox.
Anyone know what I missed or what the fix would be?
Thanks,
Shelly
On: EP6, sp15
Hello,
as far as I know it is not neccessary and possible to reindex a portal roles search index. Such an index has its resources already stored in the system and does not need to start crawlers to collect them as it is done for Trex indexes.
You only have trouble if you cannot find something if you are searching in this index.
Regards,
Achim
Similar Messages
-
PCD Index Error in Trex Search
Dear all
I have tried to configure as mentioned in the URL
<b>Configuring the Search for Portal Pages and iViews</b>
http://help.sap.com/saphelp_nw04/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/frameset.htm .
I am getting the following error.
<i><b>Search Failure</b></i>
<i>Error during search occurred com.sapportals.wcm.WcmException
An unexpected severe error occurred during the search call. If the situation persists, inform your system administrator.</i>
When I remove the index which is created for the PCD and created dummy index for any of the KM folder then its work fine.This scenario is working fine for the administrator and it is not working for the anonymous users.
Can anybody help in this...
Regards
GeogiHi Robert,
Thanks for your reply.I have done the same way U mentioned in the last reply.
I have changed the https host name to http,then restarted servlet engine and trex server.After that i have done re-indexing on my particular repository.
Now it is showing the below status:
<b>return code :8005
Time out reached
To be preprocessed: 780
Document status: To be preprocessed and preparation failed
indexed : 175
Errors :315(preparation failed).</b>its taking too much time to re-index and now errors are going on increasing.
shall I remove the full alternate host name and delete the old index and create new index.will it work?
what is the solution for the above condition?
Waiting for your reply.
Thanks in Advance
Amit kumar koyal -
IndexmanagementService XIndexing documents failed on PCDSearchIndex
Hi,
I have an issue with and index created to search through the pcd. I have created an index as defined in the following link and have selected Portal Content in my index datasource.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/content.htm
When I click on reindex, I get the following error message:
Operation failed Method not supported on PCDSearchIndex.
If I open the Application Log, I get the following error message every minute.
IndexmanagementService XIndexing documents failed. Method not supported on PCDSearchIndex. Continue crawling...
Anyone has an idea on how to fix this issue?
Thanks
RenaudHi Renaud,
no need to fix here, just don't try to reindex manually
PCD Index function is completely different than other indexes in CM / TREX.
See also your referenced docu page: 'A schedule for automatic indexing is not required.'
Background: PCD search index perform a search against the user's role content.
When a user logs into portal, the content of the user roles is completely loaded into the PCD cache and kept in memory. Thus performing a search is very fast as it happens in memory (no need to load content from DB or filesystem).
So you'd better not try to index or crawl the PCD repoitory. Those methods are
not supported and implemented - as stated in the log.
Regards, Peter -
Hi all,
I want to index a few iViews, so the users are able to find them through portal search.
For this reason the pcd-folder is now visible in km content and the index service "portalRolesSearch" is enabled,
like discribed in the thread: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3322
But now, when I create an index with the service "portal roles search" and try to define a datasource, I'm not able
to save this index. There comes an error "Error while saving null".
Do I need one more setting to enable search for one folder out of the pcd?
I am able to save the datasource pcd, but while indexing there also appears an error.
Can you please help further?
Thanks in advance!
LydiaHi,
can anybody please help further?
Thanks,
Lydia -
Best way to index portal content
Hi all,
I am searching for a nice way to index the content of the portal.
Using the standard functionality (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/9d1405fa743ef0e10000000a1553f7/frameset.htm) does not lead to sufficient results, since all roles which are located in PCD are indexed and are found by the enduser.
This could lead to the situation that the enduser might open a page which leads to an error or a blank page.
The other possibility is to use the PCD roles search (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/frameset.htm). This only offers results of roles which are assigned to the user.
However, content of iViews (e.g. URL iViews) are not indexed and so the user can only search for the ID / description of the page (which is okay, but content search is also important).
Is there no other possibility to search for portal content?
Thanks for any hints...
Best Regards
Philipp KölschHi,
it seems that the current ways of indexing portal content are not really sufficient... I hope that there are better solutions in the future...
Best Regards
Philipp Kölsch -
Hi,
I've developed a small project to read content from pcd, in this case, to get roles attributes. I've followed this tutorial http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?QuickLink=index&overridelayout=true, but I keep getting a NoClassDefFound for IPCDContext and PCDSearchConrols(if i choose to use this objet instead). I've added a DC of the External Library type to my project wich contained all the jars needed. Here's the code for my project:
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import java.lang.Object;
import com.sap.portal.directory.Constants;
import com.sap.portal.pcm.admin.PcmConstants;
import com.sap.security.api.IRole;
import com.sap.security.api.IUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDUMException;
import com.sap.teste.wdp.IPrivateShowRoleView;
import com.sapportals.portal.pcd.gl.IPcdContext;
import com.sapportals.portal.pcd.pcm.roles.IPortalRole;
import com.sapportals.portal.pcd.gl.IPcdAttribute;
import com.sapportals.portal.pcd.gl.IPcdContext;
import com.sapportals.portal.pcd.gl.IPcdSearchResult;
import com.sapportals.portal.pcd.gl.PcdSearchControls;
import com.sap.portal.pcm.admin.IAdminBase;
import com.sap.portal.pcm.admin.IAttributeSet;
import com.sap.portal.pcm.admin.ValidationException;
import com.sap.tc.webdynpro.progmodel.api.WDValueServices;
import com.sap.tc.webdynpro.progmodel.api.WDVisibility;
import com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.pcd.gl.IPcdSearchResult;
public void wdDoInit()
IUser user = null;
try{
user = WDClientUser.getCurrentUser().getSAPUser();
catch(WDUMException e){
wdContext.currentContextElement().setResult(e.getMessage());
Hashtable env = new Hashtable();
env.put(IPcdContext.SECURITY_PRINCIPAL, user);
env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
InitialContext iCtx = null;
try
String iRoleDir = "pcd:portal_content/mmmarques/role_teste3";
iCtx = new InitialContext(env);
IPcdContext attrSet = (IPcdContext) iCtx.lookup(iRoleDir);
attrSet.getAttributes("").get("com.sap.portal.pcd.gl.CreatedAt").get().toString();
attrSet.getAttributes("").get("com.sap.portal.pcd.gl.LastChangedBy").get().toString();
attrSet.getAttributes("").get("com.sap.portal.pcd.gl.LastChangedAt").get().toString();
attrSet.getAttributes("").get("com.sap.portal.pcm.Title").get().toString();
catch (Exception e) {
wdContext.currentContextElement().setResult("failed");
If anybody could help, I would be very grateful. Thanks in advanceAlso, when I try to build my external library DC I get the following warnings:
createPublicParts:
[pppacker] Packing public part 'ExternalLibs'
[pppacker] Packed 1 file for entity activation.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.rf.framework_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.rf.global.service.mime_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.rf.global.service.pipeline_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.rf.global.service.urlgenerator_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.sf.framework_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity bc.util.public_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.navigation.api_service_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.navigation.helperservice_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.navigation.service_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.pcd.roleservice_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.themes.lafservice_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.portal.usermanagementapi.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.security.api.ep5.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity com.sap.security.api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity gl_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.command_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.repository.service.accessstatistic_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.repository.service.app.subscription_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.repository.service.timebasedpublish_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.service.actioninbox_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity km.shared.ui.util_api.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity mail.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity ojdbc14.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity poi-3.0-rc4-20070503.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity poi-contrib-3.0-rc4-20070503.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity poi-scratchpad-3.0-rc4-20070503.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity prtapi.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity prtconnection.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity prtjndisupport.jar (Archive/Java Library)
[pppacker] Packed 1 file for entity tcepbcpcmadminapijava.jar (Archive/Java Library)
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.usermanagementapi.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.timebasedpublish_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.mime_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtconnection.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.framework_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\gl_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-3.0-rc4-20070503.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtapi.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.util.public_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.service_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.helperservice_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\activation.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.sf.framework_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.themes.lafservice_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.pcd.roleservice_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.security.api.ep5.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.security.api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\tcepbcpcmadminapijava.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtjndisupport.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.command_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.ui.util_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-contrib-3.0-rc4-20070503.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.pipeline_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.service.actioninbox_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.app.subscription_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.urlgenerator_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.api_service_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.accessstatistic_api.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\ojdbc14.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\mail.jar
[pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-scratchpad-3.0-rc4-20070503.jar
[pppacker] Packed 31 entities for public part 'ExternalLibs'
[timer] Packing of public part 'ExternalLibs' finished in 0.047 seconds
Edited by: babonhas8 on Jul 22, 2011 11:16 AM -
Couldn't create index errorcode 0
Hi Expert,
I would like to create index for web repository.
1. create HTTP system
2. create web site
3. create web repository
4. create crawler parameter
and tried to create index by select TREX Search service and crawler in step4.
but found this msg. " Index could not be created; creating index failed: no error (Errorcode 0) "
(also TREX Search and Classification and TREX Classification service)
before I tried to create web index, I created PCD content successfully!.
I checked TREX monitor,HTTP Server and Name Server is Green.
How can I check the crawler status, does it collect data successfully?
Please kindly suggest me.
Regards,
Kanok-on K.The URL of the TREXWebServer wasn't correct
-
Hi All,
I am trying to search for portal iviews, pages & roles using TREX.
I created the index & assigned the PCD folder (I have done all the pre-requisites for PCD search)....
Then when i opened the Index Administration page, the status for the index was red. I tried reindexing it, but the application log showed me errors,
<b>
"XIndexing documents failed. Method not supported on PCDSearchIndex..Continue crawling... "</b>
<b>My portal is at SP16, with KMC SP16 PL3...
TREX is up at SP16 PL2....
</b>
Please help me out.....
Thanks,
Sandip
Message was edited by: Sandip AgarwalClosing the thread...
-
Hello,
So far I have made a Index for a data source to look for documents, and within BW I have created a Business Object, added a search class an created and Index to allo TREX to look for that information.
Is it possible for the EP to look for indexes inside ECC or BW?
Hoy do you mport or tell an IVIEW that it´s possible to search ECC and BW indexes?
Kind RegardsHi buddy,
Do follow the following steps to create a WD Page in the PCD.
1. Logon to the portal with a user have content administration privileges.
2. Browse to Portal Content. Expand the node named "Web Dynpro Applications".
3. Browse the expanded node until you find your WD application.
4. Right click the application and select the option Copy.
5. Now browse to the project folder where you want to create the iview under the node Portal Content.
6. Right click the folder and select the option Paste as PCD Object.
7. Give the appropriate name and id and click next.
8. Click Finish to complete the process.
9. Open the newly created object and preview to see your work.
Hope this helps,
Good Luck!!!
GLM -
Indexing a Web Repository (CNN Website)
Hello All,
Am working to configure a Web Repository for Indexing with CNN site.
Following SAP document -> https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/77f6aa90-0201-0010-b681-e013540efb3b
The configuiration is all done as per the above mentioned documetn but its not working.
Getting exception as:
Link target is not available
The target of the link CNN-TECH you tried to navigate to is not available. Its repository might be disconnected or the target may have been renamed, moved, or deleted. Contact your system administrator if you think the target /CNN_WebRepository/CNN-TECH/TECH/ should be available.
Also cross checked possibilities as mentioned in these posts but no solution:
https://www.sdn.sap.com/irj/scn/thread?messageID=2135428
https://www.sdn.sap.com/irj/scn/thread?messageID=1293140
Investigations done:
1. Suspecting this to be a proxy issue, have configured proxy in System Admin-> Service Config -> httpservce
2. Following this link on help.sap site (Case B), also created HTTP System and user mapping with index_service user - http://help.sap.com/saphelp_nw04s/helpdata/en/ae/46833ceb3da02ce10000000a114027/frameset.htm
None of these changes helped me.
In addition, I am getting similar exception when I configured Web Repository with a Intranet page thinking in this case proxt will not be required.
Link target is not available
The target of the link Intranet_Home you tried to navigate to is not available. Its repository might be disconnected or the target may have been renamed, moved, or deleted. Contact your system administrator if you think the target /CWIntranet/Intranet_Home/index.html should be available
Any ideas?
Awaiting Reply.
Thanks,
RituHi Ritu,
I am currently facing a similar issue to the original problem you had.
I am trying to create a link to some iViews in my PCD but it displays the following message:
Link target is not available
The target of the link S&OP Calendar you tried to navigate to is not available. Its repository might be disconnected or the target may have been renamed, moved, or deleted.
Could you explain how you resolved this issue? It was working before!
Thanks,
Oloy. -
Create PCD folder using web dynpro Java
Hi All ,
I would like to create pcd folder structure using web dynpro java
i.e. My folder at top level and under this there will be iviews , roles , worksets etc.
Is it possible using WDJ ?
I have checked the below link , but for folders I did not get anything.
http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/frameset.htm
Can you please help me ?
Thanks,
SandipHi,
Please refer to the following document
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
The same can be implemented in webdynpro also.
Regards,
Raju Bonagiri
Edited by: Raju Bonagiri on Sep 3, 2010 8:36 AM -
Proxy error while creating index
hi all
i've configured Trex name server in j2ee visual admin,and ialso configure the prosy server in the following path
System Administration ® System Configuration ® Service Configuration ® Applications (Content Catalog) ® com.sap.portal.ivs.httpservice ® Services ® Proxy
by giving host name
but while creating index the following error occured
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fadministrator!2fsuper_admin!2fsuper_admin_role!2fcom.sap.portal.system_administration!2fcom.sap.portal.system_configuration!2fcom.sap.km.AdminConfig!2fcom.sap.km.AdminSystemIndexes!2fcom.sap.km.IndexAdmin. Reason: Error reading from remote server -
Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
and in SysAdmin/SysComfig/Km/Trex Monitor the following error is displaying
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy.
Reason: Error reading from remote server
Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
can any one give me the appropriate solution for the above,its very urgent.
awaiting for replies
Regards
Gnana
Note:also tell me how to rate for replies coz through this forums i solved many problemsHi Gnana,
as there seem to be no replies here and I do not have one either, please submit a support message to SAP and be prepared to grant system access.
Regards,
Karsten -
Pcd Search services (Portalrolessearch )
I can´t see in my Index Management services the service (
Portalrolessearch).
This service is an PCD search service.
How can I make it available ?hi
Go to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Repository Managers (Show advanced option) -> PCD repository.
Choose the Edit option and deactivate the Hide in Root Folder.
Click OK to save your entry
also have a look at this weblog
/people/ganesh.natarajan/blog/2006/03/14/searching-for-portal-objects
Regards
Ganesh N
Reward useful answers -
Dear Experts,
We have a requirement wherein we need to restrict access to worksets within a portal role based on the department. We followed steps as given below:
At the Role level
1) Create property for Role with id com.mindtree.portal.pcd.gl.FilterAssignment.
2) Assign value com.mindtree.GroupFilter to this property.
At the workset level
1) Create property for Role with id com.mindtree.group.
2) Assign value "Admin" to this property.
We created a component following the article [Filtering Portal Content Based on User Attributes|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5021a57d-0601-0010-6097-ec94a09c626d].
But still the workset is visible to all employees and is not getting filtered based on the department.
Please suggest.
Best Regards
Gaurang DayalDear Prashant,
Thanks for writing.
I'm using IUSER to fetch the user department.
Please find the code for getObjectInstance below:
String filterExpression = "";
env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
IUser user = (IUser) env.get(IPcdContext.SECURITY_PRINCIPAL);
boolean superAdmin = false;
// Get the role associated with the role name super_admin_role
IRole role = null;
String roleName = "super_admin_role";
IRoleFactory rfact = UMFactory.getRoleFactory();
try
role = rfact.getRoleByUniqueName(roleName);
catch (UMException e)
log.severe("FILTER SERVICE: Error = " + e.toString());
//check to see if the user is a member of the super admin role, if so, set superAdmin = true
if(user.isMemberOfRole(role.getUniqueID(),true))
superAdmin = true;
if (user != null)
String dept = user.getDepartment();
if(dept==null)
dept="none";
//override to check if the user is a member of the super admin role
if (!superAdmin)
if ((dept != null) && (!dept.equals("")))
filterExpression = "(|(" + CountryFilterService.ATTRIBUTE_KEY + "=" + dept + ")(" + CountryFilterService.ATTRIBUTE_KEY + "=ALL))";
return filterExpression;
Please let me know if you need some other details.
Best Regards
Gaurang Dayal -
Fetch PCD and UME roles and worksets
Hello,
I want to fetch PCD and UME roles and worksets of the logged in user in a web dynpro java application. Can some one help ?
Regards
Mrinalinihi mriNalini
check this wiki links for web dynpo java
[Retrieving all iViews,pages,worksets from PCD |http://wiki.sdn.sap.com/wiki/display/WDJava/RetrievingalliViewsfromPCD]
[web dynpro java home page wiki|http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21]
[Get Current Logged In User, using Web Dynpro for Java |http://wiki.sdn.sap.com/wiki/display/Snippets/GetCurrentLoggedInUser%2CusingWebDynprofor+Java]
and
[Fetching all the Portal Roles Assigned to the Current Logged in User, Using Web Dynpro for Java|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ef07f8-3e6c-2b10-9cb7-81d4ef2e294a?QuickLink=index&overridelayout=true] ( document)
hope these links solve your problem
Regards,
Maheshchandra
Maybe you are looking for
-
1- My itunes account was for uae store and i change it to the usa store by an itunes gift card , When i change it i lost all of my purchased and i cant do any updates for the apps and games what should i do to get them back . 2- Can I Transfer the
-
Show captions in Aperture Slideshow
I am creating a movie consisting of a few Aperture slideshow segments, and other clips. I want to show captions on some of the slides of Aperture; how do I do that? I see how to add them into the metadata, but what is it that makes them viewable as t
-
Does Oracle B2B supports file (inbound and outbound) via Odette FTP?
I am unable to find any documentation on whether B2B can receive/send files via OFTP. If it is supported, please point me to any documentation on this topic. Thanks Shanthi
-
I just got an ipod a few weeks ago, but i was wondering, how do you update contacts, and mark to do reminders on your calendar? is there any specific software i have to have for it to work?
-
Hi due to OTN ad : "All OTN members are entitled to a 20% discount on Oracle Certified Professional (OCP) certifications" I registered for taking an exam using this discount but unfortunately, in registration confirmation there was no discount. It wo