Skip to Content

Usage of Deployment service

Hi,

I want to use the deployment service as described in the documentation to get and display informations about the deployed components of my application.

In the documentation I found the following example:

// get deployable object for deployed application ?Test? using factory

// class WDDeployableObject

IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject(?Test?);

When I try to do this (assumed my Webdynpro projekt has the name "Test"), I get an exception which says that the deployable object "Test" has not properly been deployed.

Using "local/Test"

IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject(?local/Test?);

I get the WDDeployableObject instance I expect.

Do I always have to prepend "local/" to the object name or on what circumstances does it depend?

Background of the question. I want to write a Webdynpro application (utility) that can get and display deployment information about any other deployed Webdynpro application.

Thanks in advance

Helmut

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2004 at 09:49 AM

    Hi Helmut,

    as far as i know, you have always to prepend the "local/" (or whatever) prefix to the object name. If you are using development components, the "local/" will be replaced by the vendor you defined for the DC. By the way, you can investigate the server state (including actual applications) using the utility class WDServerState, for example String[] dpos = WDServerState.getDeployableObjects();

    Hope that helps.

    Best regards,

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.