Hi,
Do you know some admin application in portal which show all services that are running
I created a simple portal service and when I try to get it with this code:
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
{
try {
response.write("!!!BEGIN OF TEST<br/>");
String srvID = IPCDProvider.KEY;
IPCDProvider service = (IPCDProvider)
PortalRuntime.getRuntimeResources().getService(srvID);
response.write("<p>Name = " + service.getKey());
} catch (Exception e) {
// TODO: handle exception
response.write("END WITH ERROR!!!<br/><br/>");
response.write("ERROR:::" + e);
}
I receive error : ERROR:::com.sapportals.portal.prt.service.ServiceException: Service not found: pcd.PCDProvider
I want to check that my service is deployed and running