Skip to Content
0
Jul 19, 2005 at 05:42 PM

How to check that my portal service is running

225 Views

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