on 10-22-2005 12:35 AM
I am using Landscape service to get the system information from system landscape directory. I added the service reference inside my web dynpro application using NW studio. When I deploy this service I get following error:
-
Oct 21, 2005 3:06:16 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
[023]Deployment finished with warning
Settings
URL to deploy : file:/C:/DOCUME1/sam/LOCALS1/Temp/temp61301XYZ_Web_Dynpro.ear
Result
=> deployed with warning : file:/C:/DOCUME1/sam/LOCALS1/Temp/temp61301XYZ_Web_Dynpro.ear
Finished with warnings: development component 'XYZ_Web_Dynpro'/'local'/'LOKAL'/'0.2005.10.21.15.05.52':
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application local/XYZ_Web_Dynpro and wait. Reason: Clusterwide execption: server ID 7099050:<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : Got problems during deployment
-
I wrote a sample iView without using dynpro & added the service reference as "landscape" inside the portalapp.xml & that iView worked fine.
So I know that the service name is correct & the service is running on the portal.
All I need to find out is how do I specify the reference of that service in my web dynpro application.
Hi,
Right click on your project -> Properties -> Web Dynpro references -> on sharing reference tab click "Add" and add the following:
PORTAL:sap.com/<your service name>
Regards
Yoel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have exactly the SAME problem
I tried putting PORTAL:sap.com/<your service name> in the sharing reference as well as in the service reference. But I still get the error during deployment.
I also tried putting it in "service referece". Same error.
I also tried just sap.com/<your service name>. But it didn't help either.
The service is called "landscape". This service lets you query system landscpae objects. I have used this exact code in a plain iView & it worked fine. Problem is I am able to configure the landscape service within web dynpro application. i am able to compile my code.
Here is the code
ILandscapeService service =
(ILandscapeService)
PortalRuntime.getRuntimeResources().getService(
ILandscapeService.KEY);
;
IEPSystem system = service.getEPSystem("sapTest");
LOG.debug("Repo name = " + system.getAttribute
("RepoName"));
User | Count |
---|---|
84 | |
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.