cancel
Showing results for 
Search instead for 
Did you mean: 

service not found

Former Member
0 Kudos
104

Hi all,

When I try to Run my application Its saying that..

Could not find portal application pcdservice.

Here is my code..

public static IContentService getPcdService() {

return (IContentService)PortalRuntime.getRuntimeResources().getService("pcdservice");

}

public static IPCDManager getPcdManager() {

return (IPCDManager)PortalRuntime.getRuntimeResources().getService("pcdmanager");

}

Can anyone tell me which jar files I have to add to resolve this?

Here is my Portalapp.xml

<application-config>

<property name="ServicesReference" value="htmlb,pcdservice,pcdmanager,pcdadmin"/>

</application-config>

Is it correct or there is someother way to specify it.

I tried this one also.

-


<application-config>

<property name="SharingReference" value="htmlb,pcdservice,pcdmanager,pcdadmin"/>

</application-config>

-


<application-config>

<property name="PrivateSharingReference" value="htmlb,pcdservice,pcdmanager,pcdadmin"/>

</application-config>

-


Required pcdservice and pcdmanager portal services not

available in..

System Administrator->Support->PortalRuntime->Application Console->see dropdown.

Any help will be appreciated.Thank in advance.

Regards,

Karthick

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Karthick,

seems you are using some EP5 definitions and try to deploy them on EP6... See for general rules how to create proper SharingReferences (ServiceReferences are deprecated).

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

I've ClassLocator and I find out the jar files earlier.

But still I am getting the same error.

Whats the right way to solve this?

Could you please guide me on this?

Regards,

Karthick