If you need to get the webapp details of a particular webapp, then you need
to call WebappAdmin#getStartedWebapp method. You are currently
calling getPagedWebappsSummary which returns an array of webapp data
(wrapped in a WebappsWrapper object) according to the webappSearchString
you use.

Regards,
KasunG


On Thu, Jul 10, 2014 at 5:00 PM, Dimuthu De Lanerolle <[email protected]>
wrote:

> I noticed while retrieving the webapp information by invoking the Web app
> admin service client (WebAppAdminClient class  getWebAppInfo(..)) , it
> throws " java.rmi.RemoteException: More than one service found with the
> given name" exception.
> It seems like this happens due to two distinct JaggeryWebApps (
> productapipublisher and publisher) hosted in the same EMM server and when
> we try to retrieve web info of the publisher Jaggery WebApp.
>
> If the main reason causing this exception is because there are more than
> one service available with the given web app name prefix what could be the
> best possible solution to solve this issue?
>
> Regards
>
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to