Skip to Content
0
Former Member
Dec 01, 2011 at 05:58 AM

Portalruntime.getResource is null in j2ee application deployed in sap j2ee

25 Views

Hi ,

I have a j2ee application that is deployed in sap j2ee engine . The j2ee engine and portal servers are the same. I want to retrive the portal runtime resource for UWL, but i am getting null from the below statement - PortalRuntime.getRuntimeResources().

System.err.println("portal runtime : "+ PortalRuntime.getRuntimeResources());

IUWLService uwlService = (IUWLService) PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);

\

\

Please do suggest how to retrieve the UWLService in a j2ee application that runs in sap portal.

Thanks.

Ritushree Saha