on 05-15-2007 11:19 AM
Hi All
I have a Service to get the server node on which the application is running - <b>com.sap.portal.runtime.system.clusterinformation.clusterinformation</b>.
In portal its simple to get this service but how this can be done in webdynpro ?
In Portal we have used Portal Runtime to obtain the service object.
IClusterInformation clusterInfo =
(IClusterInformation) PortalRuntime
.getRuntimeResources()
.getService(
"com.sap.portal.runtime.system.clusterinformation.clusterinformation");
How can this be done from Webdynpro ?
Pls help.
Suitable points will be rewarded
Kindly send me the pdfs related to this if you have any
Regards
Sonal Mangla
Message was edited by:
Sonal Mangla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shraddha
I have written something like
IClusterInformation clusterInfo =
(IClusterInformation) WDPortalUtils.getServiceReference("com.sap.portal.runtime.system.clusterinformation.clusterinformation");
String serverJ2eeDirectory =
clusterInfo.getSAPJ2EEServerDirectory();
But it is giving the following error
com.sapportals.portal.prt.service.clusterinformation.ClusterInfoDispatcher incompatible with com.sapportals.portal.prt.service.clusterinformation.IClusterInformation
Am i wrong anywhere or have i missed anything
Pls help
Regards
Sonal Mangla
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.