on 12-01-2011 5:58 AM
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
Hi Ritushree,
Yor approach is not correct. You need to do a JNDI lookup for the service.
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/42/9ddd0cbb211d72e10000000a1553f6/frameset.htm
Thanks
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.